Latest stable doesn't work on Linux
Posted: Tue Aug 20, 2013 4:09 pm
L2J Revision Number: 6166
L2JDP Revision Number: 9911
I know the rules are no forks but I haven't done anything to the code yet, I'm just trying to get a clean run going from the SVN repository.
I'm interested in creating my own fork to handle some custom stuff. Either way I've just downloaded the latest stable listed on the website and I'm running across errors. I've tested this with both the oracle jdk and the openjdk but I haven't had any different results.
The first issue I ran across was that some of the shell scripts were saved with windows line endings, which was causing them not work. This isn't a difficult problem to solve though, just resave the document with unix line endings.
So that problem was solved, however I'm currently facing another problem which is preventing me from launching the server from a fresh SVN checkout:
This loops on forever and ever. The first thing I tried to do was just to skip the NPC's in L2Spawn.java by incrementing the counter:
The program loops now but reports other classes as not found, all of these classes come from an NPC type of "holything." The program reports all "holything"s are missing and later the program comes to a halt when trying to initialize the 4s thing.
The code works fine for me on windows, does anybody know of a known compatibility problem or was this something that wasn't tested properly before being called stabled?
L2JDP Revision Number: 9911
I know the rules are no forks but I haven't done anything to the code yet, I'm just trying to get a clean run going from the SVN repository.
I'm interested in creating my own fork to handle some custom stuff. Either way I've just downloaded the latest stable listed on the website and I'm running across errors. I've tested this with both the oracle jdk and the openjdk but I haven't had any different results.
The first issue I ran across was that some of the shell scripts were saved with windows line endings, which was causing them not work. This isn't a difficult problem to solve though, just resave the document with unix line endings.
Code: Select all
bryan@bryan-desktop:~/l2j$ bash database_installer.sh: invalid signal specification: trap: 2database_installer.sh: line 38: $'\r': command not founddatabase_installer.sh: line 39: syntax error near unexpected token `$'{\r''database_installer.sh: line 39: `configure() {
Code: Select all
NPC 35063 class not foundjava.lang.NullPointerException at com.l2jserver.gameserver.instancemanager.ZoneManager.getAllZones(ZoneManager.java:432) at com.l2jserver.gameserver.model.entity.Castle.getZone(Castle.java:435) at com.l2jserver.gameserver.model.entity.Castle.checkIfInZone(Castle.java:428) at com.l2jserver.gameserver.instancemanager.CastleManager.getCastleIndex(CastleManager.java:169) at com.l2jserver.gameserver.instancemanager.CastleManager.getCastleIndex(CastleManager.java:160) at com.l2jserver.gameserver.instancemanager.CastleManager.findNearestCastleIndex(CastleManager.java:68) at com.l2jserver.gameserver.instancemanager.CastleManager.findNearestCastleIndex(CastleManager.java:63) at com.l2jserver.gameserver.model.actor.L2Npc.getCastle(L2Npc.java:839) at com.l2jserver.gameserver.model.actor.instance.L2ArtefactInstance.onSpawn(L2ArtefactInstance.java:55) at com.l2jserver.gameserver.model.L2Object.spawnMe(L2Object.java:564) at com.l2jserver.gameserver.model.L2Spawn.initializeNpcInstance(L2Spawn.java:577) at com.l2jserver.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:484) at com.l2jserver.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:425) at com.l2jserver.gameserver.model.L2Spawn.init(L2Spawn.java:382) at com.l2jserver.gameserver.datatables.SpawnTable.fillSpawnTable(SpawnTable.java:122) at com.l2jserver.gameserver.datatables.SpawnTable.load(SpawnTable.java:66) at com.l2jserver.gameserver.datatables.SpawnTable.<init>(SpawnTable.java:56) at com.l2jserver.gameserver.datatables.SpawnTable$SingletonHolder.<clinit>(SpawnTable.java:304) at com.l2jserver.gameserver.datatables.SpawnTable.getInstance(SpawnTable.java:299) at com.l2jserver.gameserver.model.entity.Fort.initNpcs(Fort.java:1229) at com.l2jserver.gameserver.model.entity.Fort.<init>(Fort.java:273) at com.l2jserver.gameserver.instancemanager.FortManager.loadInstances(FortManager.java:176) at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:269) at com.l2jserver.gameserver.GameServer.main(GameServer.java:470)
Code: Select all
//com.l2jserver.gameserver.model.L2Spawn//line 449, doSpawn()catch (Exception e){ _log.log(Level.WARNING, "NPC " + _template.getNpcId() + " class not found", e);}// my addition to keep the counter counting_currentCount++;return mob;
The code works fine for me on windows, does anybody know of a known compatibility problem or was this something that wasn't tested properly before being called stabled?