Thread: [FIXED] Game keeps crashing on only 1 account after I input a wrong command

Results 1 to 2 of 2
  1. #1 [FIXED] Game keeps crashing on only 1 account after I input a wrong command 
    Registered Member hugothebaws's Avatar
    Join Date
    Mar 2020
    Posts
    10
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    So while trying to access a few ::teles for my server's new donator zone, i accidentally typed a way higher coord (50000) instead of 5000, and now everytime i login with that account (my main admin acc), i get this error on my client

    Spoiler for ERROR:
    File ID: 1, details: 45 / [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44]
    Error: lt.at() lt.ad() sy.c() client.er() client.ae() mc.m() mc.e() | Class283.loadMapSceneNormal:413 Class283.sendMapScene:303 Class460.method5980:587 client.method2806:2806 client.method2773:607 Class291.method2764:534 Class291.method2759:375 Class291.run:323 java.lang.Thread.run | java.lang.ArrayIndexOutOfBoundsException: 0 | 0,0,104,104 0,1970,849 0 0 1 765,553 0 0 0 0 0 0 248 4 0 hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx
    error_game_crash


    Anyone knows how to fix this? server logs nothing, it just says i've logged in and out, i can't ;;sendhome because i'm not online..

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Fixed, i developed a command to force change player coords

    if (cmd[0].equals("setplayercoordshome")) {

    name = "";

    for (int i = 1; i < cmd.length; i++)
    name += cmd[i] + ((i == cmd.length - 1) ? "" : " "); //defines the name

    target = World.findPlayer(name); //defines target


    player.sendMessage(name + " current location : " + target.getX() + ", " + target.getY()); //you can see the bugged coords here
    target.setLocation(new WorldTile(Settings.START_PLAYER_LOCATION)); //resets player location
    player.sendMessage("Set " + name + "'s coords to home..."); //alerts admin
    SerializableFilesManager.savePlayer(target); //saves to player file
    return true;
    }
    Usage - ::setplayercoordshome playerName
    Last edited by hugothebaws; 04-06-2020 at 04:39 PM. Reason: FIXED
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Nov 2012
    Posts
    523
    Thanks given
    12
    Thanks received
    49
    Discord
    View profile
    Rep Power
    26
    useful thanks
    Reply With Quote  
     


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. Java keeps crashing on clients
    By morot4 in forum Help
    Replies: 9
    Last Post: 09-29-2016, 12:29 PM
  2. Replies: 14
    Last Post: 01-22-2009, 06:58 PM
  3. How do i make it so i keep firecape on death?
    By tomthebomb80 in forum Help
    Replies: 2
    Last Post: 01-17-2009, 05:16 AM
  4. Replies: 13
    Last Post: 12-25-2008, 09:45 AM
  5. Keep items on death?
    By Patrity in forum Requests
    Replies: 2
    Last Post: 10-09-2008, 02:47 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
  •