Jump to content

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


Recommended Posts

  • 1 month later...

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}">

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 2 weeks later...

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 ?

Link to comment
Share on other sites

  • 10 months later...

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.........

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...