Need Help GameServer

Results 1 to 6 of 6
  1. #1
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    Need Help GameServer

    Log
    [SPOILER="Err"]
    Code:
    2015-07-13 12:11:32,928 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 62
    Column: 13
    2015-07-13 12:11:32,937 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 87
    Column: 13
    2015-07-13 12:11:32,943 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 104
    Column: 13
    2015-07-13 12:11:32,956 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 149
    Column: 13
    2015-07-13 12:11:32,959 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 153
    Column: 13
    2015-07-13 12:11:32,964 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 164
    Column: 13
    2015-07-13 12:11:32,968 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 174
    Column: 13
    2015-07-13 12:11:32,968 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 178
    Column: 13
    2015-07-13 12:11:32,972 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 183
    Column: 13
    2015-07-13 12:11:32,977 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 187
    Column: 13
    2015-07-13 12:11:32,986 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 199
    Column: 13
    2015-07-13 12:11:32,994 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 204
    Column: 13
    2015-07-13 12:11:32,998 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 208
    Column: 13
    2015-07-13 12:11:33,009 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 258
    Column: 13
    2015-07-13 12:11:33,012 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 262
    Column: 13
    2015-07-13 12:11:33,015 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 266
    Column: 13
    2015-07-13 12:11:33,024 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 289
    Column: 13
    2015-07-13 12:11:33,028 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 297
    Column: 13
    2015-07-13 12:11:33,033 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 302
    Column: 13
    2015-07-13 12:11:33,034 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 306
    Column: 13
    2015-07-13 12:11:33,040 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 322
    Column: 13
    2015-07-13 12:11:33,043 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 326
    Column: 13
    2015-07-13 12:11:33,055 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 369
    Column: 13
    2015-07-13 12:11:33,062 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 377
    Column: 13
    2015-07-13 12:11:33,068 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 384
    Column: 13
    2015-07-13 12:11:33,072 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 388
    Column: 13
    2015-07-13 12:11:33,076 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 398
    Column: 13
    2015-07-13 12:11:33,080 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 427
    Column: 13
    2015-07-13 12:11:33,083 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 432
    Column: 13
    2015-07-13 12:11:33,088 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 452
    Column: 13
    2015-07-13 12:11:33,091 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 457
    Column: 13
    2015-07-13 12:11:33,094 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 483
    Column: 13
    2015-07-13 12:11:33,099 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 508
    Column: 13
    2015-07-13 12:11:33,103 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 524
    Column: 13
    2015-07-13 12:11:33,110 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 541
    Column: 13
    2015-07-13 12:11:33,113 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 548
    Column: 13
    2015-07-13 12:11:33,116 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 552
    Column: 13
    2015-07-13 12:11:33,122 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 564
    Column: 13
    2015-07-13 12:11:33,126 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 569
    Column: 13
    2015-07-13 12:11:33,129 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 579
    Column: 13
    2015-07-13 12:11:33,132 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 591
    Column: 13
    2015-07-13 12:11:33,138 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 598
    Column: 13
    2015-07-13 12:11:33,149 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 607
    Column: 13
    2015-07-13 12:11:33,156 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 666
    Column: 13
    2015-07-13 12:11:33,159 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 670
    Column: 13
    2015-07-13 12:11:33,162 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 688
    Column: 13
    2015-07-13 12:11:33,166 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 722
    Column: 13
    2015-07-13 12:11:33,169 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 729
    Column: 13
    2015-07-13 12:11:33,171 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 733
    Column: 13
    2015-07-13 12:11:33,177 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 737
    Column: 13
    2015-07-13 12:11:33,180 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 741
    Column: 13
    2015-07-13 12:11:33,182 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 745
    Column: 13
    2015-07-13 12:11:33,186 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 778
    Column: 13
    2015-07-13 12:11:33,194 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 783
    Column: 13
    2015-07-13 12:11:33,203 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 798
    Column: 13
    2015-07-13 12:11:33,207 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 825
    Column: 13
    2015-07-13 12:11:33,210 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 838
    Column: 13
    2015-07-13 12:11:33,226 Java Compiler ERROR: duplicate case label
    Source: /home/server/GameServer/./data/scripts/system/handlers/admincommands/GoTo.java
    Line: 1056
    Column: 13
    2015-07-13 12:12:01,797 Critical Error - Thread: main terminated abnormaly: java.lang.NullPointerException
    java.lang.NullPointerException: null
    	at com.aionemu.gameserver.ai2.AI2Engine.setupAI(AI2Engine.java:99) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.model.gameobjects.Npc.<init>(Npc.java:99) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.model.gameobjects.Npc.<init>(Npc.java:79) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.model.gameobjects.siege.SiegeNpc.<init>(SiegeNpc.java:28) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.spawnengine.VisibleObjectSpawner.spawnSiegeNpc(VisibleObjectSpawner.java:242) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.spawnengine.SpawnEngine.getSpawnedObject(SpawnEngine.java:81) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.spawnengine.SpawnEngine.spawnObject(SpawnEngine.java:62) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.services.SiegeService.spawnNpcs(SiegeService.java:950) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.services.SiegeService.initSieges(SiegeService.java:220) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.services.SiegeService.initSiegeLocations(SiegeService.java:188) ~[AL-Game.jar:na]
    	at com.aionemu.gameserver.GameServer.main(GameServer.java:270) ~[AL-Game.jar:na]
    [/SPOILER]


  2. #2
    Account Upgraded | Title Enabled! jonnybravo is offline
    MemberRank
    Sep 2006 Join Date
    773Posts

    Re: Need Help GameServer

    Without the code it would be hard to fix your issue.

    Example of the issue:

    Code:
    case admintele: // value = 1
           System.out.println( " Teleporting to player %s" + plryname );
           break;
    case 1: // value = 1
           System.out.println( " Enable GM Chat");
           break;
    As you can see both case values are the same.

    To fix this error, make sure that each of the constants really has different values. Or use an enumeration.

    If this fails to fix your issue you can try this.


    1. Go to Setting (Ctrl+Alt+S / ⌘,) > Editor > File Encodings. Make sure "Project Encoding" (at the top) is set to "UTF-8". You probably also want to set the "IDE Encoding" to UTF-8 as well.
      • You may also want to set this in File/Application > Other Settings > Default Settings so future new projects default to those settings.

    2. At the bottom right of the status bar (lower right corner), make sure the file's encoding is UTF-8. If not, change it:


    If the above does not solve the issue, go to Setting (Ctrl+Alt+S / ⌘,) > Build Execution, Deployment > Compiler and in the "Additional build process VM Options" add -Dfile.encoding=UTF8. Also make sure that "Use compiler" at the top is set to javac.

    As an alternative, you can set the JAVA_TOOL_OPTIONS system/environment variable so it declares -Dfile.encoding=UTF8 and then restart IntelliJ IDEA so it picks up the change. After that all java and javac commands will use the file encoding
    Last edited by jonnybravo; 13-07-15 at 07:06 PM.

  3. #3
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    Re: Need Help GameServer

    New err
    at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.8.0_45]
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[na:1.8.0_45]
    at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[na:1.8.0_45]
    at com.aionemu.commons.scripting.classlistener.OnClassLoadUnloadListener.postLoad(OnClassLoadUnloadListener.java:41) ~[al-commons-1.3.jar:na]
    at com.aionemu.commons.scripting.classlistener.AggregatedClassListener.postLoad(AggregatedClassListener.java:35) ~[al-commons-1.3.jar:na]
    at com.aionemu.commons.scripting.impl.ScriptContextImpl.init(ScriptContextImpl.java:141) ~[al-commons-1.3.jar:na]
    at com.aionemu.commons.scripting.scriptmanager.ScriptManager.load(ScriptManager.java:100) ~[al-commons-1.3.jar:na]
    at com.aionemu.gameserver.ai2.AI2Engine.load(AI2Engine.java:66) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.GameServer$2.run(GameServer.java:255) ~[AL-Game.jar:na]
    at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:42) ~[al-commons-1.3.jar:na]
    at com.aionemu.commons.utils.concurrent.RunnableWrapper.run(RunnableWrapper.java:38) [al-commons-1.3.jar:na]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
    2015-07-13 13:04:31,662 INFO [InstantPool-2] com.aionemu.gameserver.services.AnnouncementService [AnnouncementService.java:120] Loaded 0 announcements
    2015-07-13 13:04:50,086 INFO [InstantPool-1] com.aionemu.gameserver.questEngine.QuestEngine [QuestEngine.java:1039] Quest engine load started
    2015-07-13 13:04:50,086 INFO [InstantPool-1] com.aionemu.gameserver.questEngine.QuestEngine [QuestEngine.java:1040] Loaded 6126 quest handlers.
    2015-07-13 13:04:50,088 INFO [main] com.aionemu.gameserver.services.gmInterface.GMItnterfaseService [GMItnterfaseService.java:20] Initializing result data...
    2015-07-13 13:04:50,089 INFO [main] com.aionemu.gameserver.services.gmInterface.GMItnterfaseService [GMItnterfaseService.java:23] Loaded 86457 result items.
    2015-07-13 13:04:50,090 INFO [main] com.aionemu.gameserver.services.gmInterface.GMItnterfaseService [GMItnterfaseService.java:24] Loaded 45353 result npcs.
    2015-07-13 13:04:50,126 WARN [InstantPool-1] com.aionemu.commons.utils.concurrent.ExecuteWrapper [ExecuteWrapper.java:61] class com.aionemu.gameserver.GameServer$2 - execution time: 63359msec
    2015-07-13 13:04:50,305 ERROR [main] com.aionemu.gameserver.utils.ThreadUncaughtExceptionHandler [ThreadUncaughtExceptionHandler.java:38] Critical Error - Thread: main terminated abnormaly: java.lang.NullPointerException
    java.lang.NullPointerException: null
    at com.aionemu.gameserver.ai2.AI2Engine.setupAI(AI2Engine.java:99) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.model.gameobjects.Npc.<init>(Npc.java:99) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.model.gameobjects.Npc.<init>(Npc.java:79) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.model.gameobjects.siege.SiegeNpc.<init>(SiegeNpc.java:28) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.spawnengine.VisibleObjectSpawner.spawnSiegeNpc(VisibleObjectSpawner.java:242) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.spawnengine.SpawnEngine.getSpawnedObject(SpawnEngine.java:81) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.spawnengine.SpawnEngine.spawnObject(SpawnEngine.java:62) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.services.SiegeService.spawnNpcs(SiegeService.java:950) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.services.SiegeService.initSieges(SiegeService.java:220) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.services.SiegeService.initSiegeLocations(SiegeService.java:188) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.GameServer.main(GameServer.java:270) ~[AL-Game.jar:na]

    - - - Updated - - -

    The server is on the Debian connected via WinSCP. The windows all started normally.

  4. #4
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    Re: Need Help GameServer

    Up
    the error is not resolved

    2015-07-14 07:15:49,427 Critical Error - Thread: main terminated abnormaly: java.lang.NullPointerException
    java.lang.NullPointerException: null
    at com.aionemu.gameserver.ai2.AI2Engine.setupAI(AI2Engine.java:99) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.model.gameobjects.Npc.<init>(Npc.java:99) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.model.gameobjects.Npc.<init>(Npc.java:79) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.model.gameobjects.siege.SiegeNpc.<init>(SiegeNpc.java:28) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.spawnengine.VisibleObjectSpawner.spawnSiegeNpc(VisibleObjectSpawner.java:242) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.spawnengine.SpawnEngine.getSpawnedObject(SpawnEngine.java:81) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.spawnengine.SpawnEngine.spawnObject(SpawnEngine.java:62) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.services.SiegeService.spawnNpcs(SiegeService.java:950) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.services.SiegeService.initSieges(SiegeService.java:220) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.services.SiegeService.initSiegeLocations(SiegeService.java:188) ~[AL-Game.jar:na]
    at com.aionemu.gameserver.GameServer.main(GameServer.java:270) ~[AL-Game.jar:na]

  5. #5
    Account Upgraded | Title Enabled! jonnybravo is offline
    MemberRank
    Sep 2006 Join Date
    773Posts

    Re: Need Help GameServer

    Without code we have no idea what you are talking about or suggesting.

  6. #6
    Apprentice RuLex1 is offline
    MemberRank
    Oct 2010 Join Date
    21Posts

    Re: Need Help GameServer

    Problem was solved by adding -noverify
    Code:
    java -noverify -Xms4128m -Xmx81536m -ea -javaagent:./libs/al-commons-1.3.jar -cp ./libs/*:AL-Game.jar com.aionemu.gameserver.GameServer > log/console.log 2>&1
    thanks: DoYrdenDzirt



Advertisement