help pedes katevasa ena aoutoanounce to evala ops lei \gameserver\data\jscript\custom\auto_announcements mesa sto fakelo exi ena init bat pou lei na to patiso to patisa ke ekana tis rithmisis sto _init_.py pou ine ke afto mesto fakelo ke ta evla etsi
print "Loading auto announcements..."
import sys
from net.sf.l2j.gameserver import Announcements
from net.sf.l2j.gameserver import ThreadPoolManager
Hello. You may encounter the Push item fail error when trying to pick up an item dropped on the ground by a mob.
or
You can throw something out of your inventory and pick it up again, several times.
Probably this is a quantum dependency) I don't understand at what point this happens, sometimes two items one after another experience push item errors, and sometimes I don't have enough thousands of attempts to repeat this trick)
In any case, this is just a visual error and after the relog, the item appears in the inventory. I think first i need to disconnect the extender and check it on a bare server. I still need time to check this, maybe it's not even about the autoloot function.
https://youtu.be/6mcfmdImofE
-----------
In general, I would like to thank our wonderful Emca Eressea for her deep knowledge in programming and reverse engineering. And for the fact that her work is open to everyone, this is very amazing, and incredibly valuable.
Question
gabriel20
help pedes katevasa ena aoutoanounce to evala ops lei \gameserver\data\jscript\custom\auto_announcements mesa sto fakelo exi ena init bat pou lei na to patiso to patisa ke ekana tis rithmisis sto _init_.py pou ine ke afto mesto fakelo ke ta evla etsi
print "Loading auto announcements..."
import sys
from net.sf.l2j.gameserver import Announcements
from net.sf.l2j.gameserver import ThreadPoolManager
from java.lang import Runnable
INTERVAL = 1
ANNOUNCEMENT_1="(^_^)"
ANNOUNCEMENT_2="Your announcement here"
class myTask( Runnable ):
def __init__( self ):
self.name = "autoAnnouncer"
def run( self ):
Announcements.getInstance().announceToAll(ANNOUNCEMENT_1)
Announcements.getInstance().announceToAll(ANNOUNCEMENT_2)
startInstance = myTask()
ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(startInstance,INTERVAL*60000,INTERVAL*60000)
pataw save kano rr ke molis mpeno mesa den emfanizete tpt ti ftei ? voithiste ligo gyes opios kseri
4 answers to this question
Recommended Posts