Goudont - Final release. Noob Friendly | Quests | Minigames | All 25 skills

[quote=“skitzboi2k9, post:40, topic:544767”]I always get this error whenever I try to create an account how do I fix it, I have JDK 6 also?
[/quote]

The create account isn’t actually functional, to create an account simply login with desired username/pass =)

Edit: Also I’ve been trying to find where I can modify the Magic exp rate i’ve modified addHitExp but that doesn’t reference the magic skill and as I thought the multiplier was unchanged. Any ideas? and also any ideas on where I should look for the other skills or what their methods could be?

Okay so I got the client working fine but I have a question
How do I change the XP rates on the skills and also how do I change the skill levels?

make sure the username is one word. for example: if your name is “noob goudont”, you would change that to either “noob” or “goudont”.

Make sure you’re compiled and you’ve restarted your server.

That’s not really an error, the log4j never actually gave me problems. It’s basically something that always appears when the server is fully online (eg, some one has connected or someone is able to connect)

[quote=“headyGains, post:41, topic:544767”]The create account isn’t actually functional, to create an account simply login with desired username/pass =)

Edit: Also I’ve been trying to find where I can modify the Magic exp rate i’ve modified addHitExp but that doesn’t reference the magic skill and as I thought the multiplier was unchanged. Any ideas? and also any ideas on where I should look for the other skills or what their methods could be?[/quote]
If you search through the files, you’ll find specific magic combat related files.
Most of it is handled through MagicCombat.java and PlayerVsNpc.java

[quote=“skitzboi2k9, post:42, topic:544767”]Okay so I got the client working fine but I have a question
How do I change the XP rates on the skills and also how do I change the skill levels?[/quote]
For skill experience given, it’s scattered out through the whole server files, such as actionbuttonpackethandler.java, buttonhandler.java, firemaking.java, cooking.java, itempackethandler.java… there’s a lot, you just have to look for them.

So the client and everything loads up fine for me. but i binded the ip to me and sent the client to a friend, i’ve tested the cache download and such and it works 100% for me but for my friend it doesnt want to work… on the left side is when he tries to run the jar client, on the right is when he tries to run the run.bat. Both of which work perfect for me, and i have java jdk/jre 1.8.0_15 or whatever it is atm. he has jdk/jre 7 any help please? Also how do i lower the stats from 126 to 99? and when i do that will the combat drop to 126/138 again? Also, lets not forget, nice release and thanks for any help you provide me and thanks for the release ^.^(ik people asked about the skills before but they also asked more questions and i just dont think i understood a definitive answer, apologies for the spammed question)

Compile on JDK 1.8 and run on JRE 1.8.
Easiest solution.
Or compile on JDK 1.8 and target 1.7

[quote=“sk8rdude461, post:45, topic:544767”]Compile on JDK 1.8 and run on JRE 1.8.
Easiest solution.
Or compile on JDK 1.8 and target 1.7[/quote]

What do you mean compile on JDK1.8 and target 1.7? I’m lost there sorry. (I’m way under a beginner coder lol)

Arab Hamza,
ill help you with v6 :rolleyes:
Pm me on skype swaG

[quote=“darkzelot, post:46, topic:544767”][quote author=sk8rdude461 link=topic=663645.msg4449077#msg4449077 date=1410339390]
Compile on JDK 1.8 and run on JRE 1.8.
Easiest solution.
Or compile on JDK 1.8 and target 1.7
[/quote]

What do you mean compile on JDK1.8 and target 1.7? I’m lost there sorry. (I’m way under a beginner coder lol)[/quote]
Use the target parameter…
javac -target 1.7

Explain a bit more please, I don’t get what you’re saying with left and right side. Wut? and your skill raising/lowering is explained below

Also how do i lower the stats from 126 to 99? and when i do that will the combat drop to 126/138 again? Also, lets not forget, nice release and thanks for any help you provide me and thanks for the release ^.^(ik people asked about the skills before but they also asked more questions and i just dont think i understood a definitive answer, apologies for the spammed question)

Skills.java. Replace all numbers that are 127 to 99.
Also, replace all numbers that are 126 to 99. That way, the server knows that the maximum level should not exceed 99, and that the maximum level is 99 only, which will keep the regular combat level as well.

im sorry but its not working the downloading i download it but it will not load

What do you mean by that? Like, it’s not downloading for you or is there something wrong after you download it, that the files don’t load?

I have the problem that when i attack a monster my character instantly runs away how do i fix this? i’ve been looking in the NpcPacketHandler but couldn’t see what was not correct.

[Edit]

I fixed that he runs away automatically but now he doesn’t do any damage, for example: if i click on a rockcrab he just stand in front of the rock crab and does nothing.

for the running away part thing i did this in NpcPacketHandler

	final int fDistance = distance;
	player.setTickEvent(new Event(0) {
		@Override
		public void execute() {
			int distance = Misc.getDistance(player.getLocation().getX(), player.getLocation().getY(), npc.getLocation().getX(), npc.getLocation().getY());
			if(distance <= fDistance || distance >= fDistance) {
				player.Nid = npc.getIndex();
				player.AttackingNpc = false;
				player.setTickEvent(null);
			}
			this.setTick(1000);
		}
	});

I changed the player.attackingNpc from true to false and that fixed that he ran away but yeah now he doesn’t attacks…

[quote=“razendevil, post:52, topic:544767”]I have the problem that when i attack a monster my character instantly runs away how do i fix this? i’ve been looking in the NpcPacketHandler but couldn’t see what was not correct.

[Edit]

I fixed that he runs away automatically but now he doesn’t do any damage, for example: if i click on a rockcrab he just stand in front of the rock crab and does nothing.

for the running away part thing i did this in NpcPacketHandler

final int fDistance = distance; player.setTickEvent(new Event(0) { @Override public void execute() { int distance = Misc.getDistance(player.getLocation().getX(), player.getLocation().getY(), npc.getLocation().getX(), npc.getLocation().getY()); if(distance <= fDistance || distance >= fDistance) { player.Nid = npc.getIndex(); player.AttackingNpc = false; player.setTickEvent(null); } this.setTick(1000); } });

I changed the player.attackingNpc from true to false and that fixed that he ran away but yeah now he doesn’t attacks…[/quote]

you may have removed a line that initiates combat. Most of the walking problem should be in the walking files. (WalkPacketHandler.java, WalkTo.java, WalkingQueque.java … etc)

nope, didn’t remove anything i downloaded your source again , and logged me into the server and again i attack a monster and instantly runs away no-clipping through everything…

I see a couple of bugs in this

Doesn’t happen to mine :o
you may have removed a combat script line in PlayerVsNpc.java or NpcVsPlayer.java

didn’t say it was perfect, homie :slight_smile:

Hey I’m new to this type of revision but I got the server on and everything…I managed to follow every step on the read_me.txt file but I just have a couple few questions…Do you think you can help me over skype? It won’t be a waste of your time …$$…if you can, can you pm me your skype?

I hope your question was answered correctly and you’re good to go now. Goodluck!

Is there not a characters file? Im puzzled by this. Also, I cant seem to make myself owner.

EDIT: i found the savedgames file, not a big fan of it personally.

[quote=“Dyl4n20, post:59, topic:544767”]Is there not a characters file? Im puzzled by this. Also, I cant seem to make myself owner.

EDIT: i found the savedgames file, not a big fan of it personally.[/quote]

Sorry to hear that, but I find xml easier to do for character files, personally.
look into it, play around with it a bit and see if you get used to it.

inb4that’swhatshesaid