Skip to content

[Share] Source Code l2.overworld.su (HF Part5)

Featured Replies

  • Author

help to compile

install java6 and delete event BossRandom.

install java6 and delete event BossRandom.

not working. i have  java 6 and 7, compiling with 6 and errors...

  • 1 month later...

not working. i have  java 6 and 7, compiling with 6 and errors...

 

error on class?

 

error on class?

I have the same problem. I have java 6 and 7 , trying compile on 6. I change JAVA_HOME in windows and change JRE in eclipse preferences then i have one error :

Compile failed; see the compiler error output for details.

and : <javac srcdir="${src.commons}" destdir="${build.classes}" debug="${debug}" source="1.6" target="1.6" encoding="UTF-8" nowarn="off" classpath="${build.classpath}">

I have the same problem. I have java 6 and 7 , trying compile on 6. I change JAVA_HOME in windows and change JRE in eclipse preferences then i have one error :

Compile failed; see the compiler error output for details.

and : <javac srcdir="${src.commons}" destdir="${build.classes}" debug="${debug}" source="1.6" target="1.6" encoding="UTF-8" nowarn="off" classpath="${build.classpath}">

 

windows 7?

Trololol ! :D Awesome sources

Thanks for sharing it.

windows 7?

Yes Win7 , but this is that my 1st problem with compilation, other time i dont have it even if i compile on jre6 or jre7

interesting files, has some nice addition. I am impressed there are still some projects out there other than l2dc which are implementing retail stuff.

Thanks for share  8)

thanks

  • 2 weeks later...

How to add this sourcecode to Eclipse

I have succeeded in compilation and remove some warings , now at start gameserver i have error:

java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:45)
at l2p.gameserver.templates.PlayerTemplate.addItem(PlayerTemplate.java:61)
at l2p.gameserver.tables.CharTemplateTable.<init>(CharTemplateTable.java:102)
at l2p.gameserver.tables.CharTemplateTable.getInstance(CharTemplateTable.java:29)
at l2p.gameserver.GameServer.<init>(GameServer.java:182)
at l2p.gameserver.GameServer.main(GameServer.java:360)
[14:38:28]  WARN ItemHolder: Not defined item id : 1146, or out of range!
java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:45)
at l2p.gameserver.templates.PlayerTemplate.addItem(PlayerTemplate.java:61)
at l2p.gameserver.tables.CharTemplateTable.<init>(CharTemplateTable.java:102)
at l2p.gameserver.tables.CharTemplateTable.getInstance(CharTemplateTable.java:29)
at l2p.gameserver.GameServer.<init>(GameServer.java:182)
at l2p.gameserver.GameServer.main(GameServer.java:360)
[14:38:28]  WARN ItemHolder: Not defined item id : 2369, or out of range!
.
.
.
.
[14:38:34]  WARN ItemHolder: Not defined item id : 4041, or out of range!
java.lang.Exception
at l2p.gameserver.data.xml.holder.ItemHolder.getTemplate(ItemHolder.java:45)
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:25)
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:33)
at events.CofferofShadows.Coffer.<clinit>(Coffer.java:27)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at l2p.gameserver.scripts.Scripts.init(Scripts.java:140)
at l2p.gameserver.GameServer.<init>(GameServer.java:199)
at l2p.gameserver.GameServer.main(GameServer.java:360)
Exception in thread "main" java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at l2p.gameserver.scripts.Scripts.init(Scripts.java:140)
at l2p.gameserver.GameServer.<init>(GameServer.java:199)
at l2p.gameserver.GameServer.main(GameServer.java:360)
Caused by: java.lang.NullPointerException
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:26)
at l2p.gameserver.model.reward.RewardData.<init>(RewardData.java:33)
at events.CofferofShadows.Coffer.<clinit>(Coffer.java:27)
... 9 more

 

I try to find what is wrong but now dont have idea, maybe some1 can help ?

  • 10 months later...

so y must delete boss random ?? just search him and delete or y have to edit some files  before delete bos random java file??

 

Thanks

can somone tell me some steps please how can y import this source in eclipse in order to compile?

 

y never compile a download sourse  y compile just URL://  SOURCE so y dont now how to import this :D

  y create workspace where y past this source but :D.........

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.