Thread: Character name messed up

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Character name messed up 
    Registered Member Turm-PK's Avatar
    Join Date
    Oct 2011
    Posts
    221
    Thanks given
    1
    Thanks received
    9
    Rep Power
    34
    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
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2011
    Posts
    1,226
    Thanks given
    245
    Thanks received
    475
    Rep Power
    294
    Player Updating.
    Reply With Quote  
     

  3. #3  
    Registered Member Turm-PK's Avatar
    Join Date
    Oct 2011
    Posts
    221
    Thanks given
    1
    Thanks received
    9
    Rep Power
    34
    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)
    Reply With Quote  
     

  4. #4  
    Registered Member Turm-PK's Avatar
    Join Date
    Oct 2011
    Posts
    221
    Thanks given
    1
    Thanks received
    9
    Rep Power
    34
    can somebody help me please :/
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Nov 2011
    Posts
    135
    Thanks given
    32
    Thanks received
    13
    Rep Power
    0
    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.
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Nov 2011
    Posts
    135
    Thanks given
    32
    Thanks received
    13
    Rep Power
    0
    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?
    Reply With Quote  
     

  7. #7  
    Registered Member Turm-PK's Avatar
    Join Date
    Oct 2011
    Posts
    221
    Thanks given
    1
    Thanks received
    9
    Rep Power
    34
    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 :/
    Reply With Quote  
     

  8. #8  
    Extreme Donator

    Join Date
    Sep 2008
    Posts
    110
    Thanks given
    3
    Thanks received
    8
    Rep Power
    70
    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.
    Reply With Quote  
     

  9. #9  
    Registered Member Turm-PK's Avatar
    Join Date
    Oct 2011
    Posts
    221
    Thanks given
    1
    Thanks received
    9
    Rep Power
    34
    Uhm idk where too look for that :/
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    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.

    Code:
    packet.WriteLong(player.GetUsernameAsLongValue());
    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.

    The usual culprit is the first few bytes you write out. Some clients read in

    extra bytes for

    headicons
    headiconspk
    headiconsdueling
    etc..
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 3
    Last Post: 02-17-2012, 06:45 PM
  2. Replies: 17
    Last Post: 12-15-2011, 12:44 AM
  3. Replies: 1
    Last Post: 06-16-2011, 08:23 PM
  4. Messed Up Character Models?
    By dhfhy in forum Help
    Replies: 0
    Last Post: 12-15-2010, 11:22 PM
  5. Replies: 1
    Last Post: 08-28-2010, 10:45 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •