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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...