Jump to content

Aidas

Members
  • Posts

    79
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Aidas

  1. So, guys, I need some help. When player teleports to town it's all OK there is Pease Zone, but when character is beeing restarted, then there is General Field at all the town and players can kill everyone.. So In what java file I should search for this bug ? It works in all towns, villages and there where should be a peace zone.

  2. My server is on linux, so I copy GameServer_loop.sh

     

    #!/bin/bash
    
    
    err=1
    until [ $err == 0 ]; 
    do
    . ./setenv.sh
    [ -f log/java0.log.0 ] && mv log/java0.log.0 "log/java/`date +%Y-%m-%d_%H-%M-%S`_java0.log.0"
    [ -f log/stdout.log ] && mv log/stdout.log "log/stdout/`date +%Y-%m-%d_%H-%M-%S`_stdout.log"
    # For developers mostly (1. line gc logrotate, 2. line parameters for gc logging):
    #	[ -f log/gc.log ] && mv log/gc.log "log/gc/`date +%Y-%m-%d_%H-%M-%S`_gc.log"
    #	-verbose:gc -Xloggc:log/gc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution
    # Alternative startup by NB4L1
    #	java -Dfile.encoding=UTF-8 -Xmn128m -Xms512m -Xmx1024m -server lt.equal.gameserver.GameServer > log/stdout.log 2>&1
    java -Dfile.encoding=UTF-8 -Xmx1024m lt.equal.gameserver.GameServer > log/stdout.log 2>&1
    err=$?
    #	/etc/init.d/mysql restart
    sleep 10;
    done
    

     

    Here

     

  3.         
    Exception in thread "SelectorThread-49" java.lang.NullPointerException
    at lt.equal.gameserver.network.L2GameClient.onForcedDisconnection(L2Game
    Client.java:503)
           at org.mmocore.network.SelectorThread.readPacket(SelectorThread.java:363
    )
           at org.mmocore.network.SelectorThread.run(SelectorThread.java:195)
    
    java.lang.NullPointerException
           at lt.equal.gameserver.handler.skillhandlers.Heal.useSkill(Heal.java:94)
    
           at lt.equal.gameserver.model.L2Character.callSkill(L2Character.java:6771
    )
           at lt.equal.gameserver.model.L2Character.onMagicHitTimer(L2Character.jav
    a:6456)
           at lt.equal.gameserver.model.L2Character$MagicUseTask.run(L2Character.ja
    va:2366)
           at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
           at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
           at java.util.concurrent.FutureTask.run(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    access$301(Unknown Source)
           at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
    run(Unknown Source)
           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
    )
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
           at java.lang.Thread.run(Unknown Source)
    

     

    Here, I hope you can help me. :|

×
×
  • Create New...