Jump to content

pajington

Members
  • Posts

    28
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by pajington

  1. thx and what about that festivals??
  2. L2J Revision 4477: L2JDP Revision 7745: Hello, i`ve got a little problem about TvT...everything works good, i`ve set the time when the npc have to spawn and it works...but if i wanna spawn him whenever i want (//admin_tvt_add) i`ll get a message that command //admin_tvt_add doesnt exists ! how can i fix that please ?? next problem is in festivals, i`ve set drop(incl. adena) to 7 and mobs in festival drop just around 3k adena ...is that ok ?? and the last one, i`ve started event HeavyMedals, spawned cats as well but mobs still dont drop medals...where should be a problem please ? Thanks
  3. Greetings guys, i am newbie in l2j so be patient with me please, if i write this code into java/com/l2jserver/gameserver/gameserver.java i cannot save it and i get an error : "The public type OnlinePlayers must be defined in its own file" package com.l2jserver.gameserver; import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.model.L2World; public class OnlinePlayers { private static OnlinePlayers _instance; class AnnounceOnline implements Runnable { public void run() { System.out.println(L2World.getInstance().getAllPlayers().size()+ " online players"); ThreadPoolManager.getInstance().scheduleGeneral(new AnnounceOnline(), 300000); //Delay between system.out.printin 300000=5min } } private OnlinePlayers() { ThreadPoolManager.getInstance().scheduleGeneral(new AnnounceOnline(), 180000); //Schedule load } public static OnlinePlayers getInstance() { if (_instance == null) _instance = new OnlinePlayers(); return _instance; } } what's the problem please ? -and then, after i will compile it through build.xml I need just to copy l2jserver.jar from "build" folder to gameserver folder ? Thanks.
×
×
  • 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