Player Updating.
|
i dont know if its server/client sided but yeh whatever lol
when i login lets just say i put name as turm-pk i login and my username will be like auw6tgreyer
Hey i just went for a tut for player updating it works but i get logged out again
http://www.rune-server.org/runescape...ry-server.html
this spams my cmd like 50times
Code:] java.lang.RuntimeException: Stack overflow at server.util.Stream.createFrameVarSizeWord(Stream.java:188) at server.model.players.PlayerHandler.updateNPC(PlayerHandler.java:238) at server.model.players.Client.update(Client.java:368) at server.model.players.PlayerHandler.process(PlayerHandler.java:207) at server.Server.run(Server.java:88) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47 1) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java :351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask. run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) at java.lang.Thread.run(Thread.java:722)
can somebody help me please :/
This happened for me when I used a delta client on a pi source.
I guess you should change clients? But then again I'm not sure.
This happened for me when I used a delta client on a pi source.
I guess you should change clients? But then again I'm not sure.
Have you added anything recently? Or did this start from the beginning?
im not changing clients just because things get a little tough...
it is the Edgeville source and had alot of missing files in client but i added them managed to fix maps and some other stuff but i cant fix this :/
Make sure you're using the correct long to string method for the player's names in your server. On mine, there are two. One is for the player's name, and one isn't.
Uhm idk where too look for that :/
in the appearence update block or what ever where you see it'll be something which turns your username into a long value and then writes it out.
The problem is that the "Writes" prior to that are out of sync if you will so your not actually reading the username with that value rather it's a mix of other data.Code:packet.WriteLong(player.GetUsernameAsLongValue());
The usual culprit is the first few bytes you write out. Some clients read in
extra bytes for
headicons
headiconspk
headiconsdueling
etc..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |