Jump to content

Recommended Posts

Posted

Hello, I´m going to share my old npc which was created for players on OBT/TS.

Its nothing special just npc which give players things which most of times they need.

 

*If you donť have time to give players blvblalbalbalbla things which they want ;)*

 

What npc can give (not multisell :O) :

- Exp/Sp

- Adena / Ancient Adena

- Soul Crystals 16

- Noblesse / Hero status

- Clan Reputation

- Items for clan skills

- Knigts Epaluette

- Fame

- GB jewels

- GB Cloacks

- Title Color

- Change sex

 

You can add more things if you want, its only on you ;)

 

Just copy script to your DP and create npc with ID 49292

 

Link:

http://www.4shared.com/rar/GUUXl7hd/GladicekNPC.html

Posted
1. WARNING in /GladicekNPC.java (at line 26)

import com.l2jserver.gameserver.network.serverpackets.SocialAction;
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import com.l2jserver.gameserver.network.serverpackets.SocialAction is never used
----------
1 problem (1 warning)java.lang.ClassNotFoundException: custom.GladNpc.GladicekNPC
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at com.l2jserver.script.java.MemoryClassLoader.findClass(MemoryClassLoader.java:79)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at com.l2jserver.script.java.MemoryClassLoader.load(MemoryClassLoader.java:56)
at com.l2jserver.script.java.JavaScriptEngine.parseMain(JavaScriptEngine.java:186)
at com.l2jserver.script.java.JavaScriptEngine$JavaCompiledScript.eval(JavaScriptEngine.java:94)
at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:376)
at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeScript(L2ScriptEngineManager.java:326)
at com.l2jserver.gameserver.scripting.L2ScriptEngineManager.executeScriptList(L2ScriptEngineManager.java:231)
at com.l2jserver.gameserver.GameServer.<init>(GameServer.java:323)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:464)
Failed executing script: /home/l2relax-world/game/data/scripts/custom/GladNpc/GladicekNPC.java. See GladicekNPC.java.error.log for details.

Posted

Just remove line with import com.l2jserver.gameserver.network.serverpackets.SocialAction; and you will not have this warning.

I had that line for SocialAction for giving Hero (retail like) but mostly servers donť have done that SocialAction so I remove that, but forget to remove this import.

Thx for report.

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock