Jump to content
  • 0

[Help]Se Auto Announce


Question

Posted

Help ligo gt einai ligo periploko(Gia emena)Pos na valo auto announce,,

 

8elw na valo auto announce Ston server mou DlD na grafi tin selida tou server kai kati dikamou rules.Ginete na me help 1 leptaki :)

4 answers to this question

Recommended Posts

  • 0
Posted

Pare ena Auto Anncoucement

http://www.4shared.com/file/90486861/ef7109fd/Auto_Announcements.html

 

mesa exei ena __init_py 8a to anoi3eis me notepad kai 8a sou emfanisei ayta :

 

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 <--- edw dialegeis ton xrwno pou 8a sou to emfasis se mininute

ANNOUNCEMENT_1="Welcome to www.maxcheaters.com" <--- grafeis oti 8eleis

ANNOUNCEMENT_2="Have fun" <---- grafeis oti 8eleis

 

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)

 

ayto kai save ama 8eleis poio polla

 

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="Welcome to www.maxcheaters.com"

ANNOUNCEMENT_2="Have Fun"

ANNOUNCEMENT_3="Have Fun" <---grefeis allo ena apo kato tou kai to vazeis tria

 

class myTask( Runnable ):

    def __init__( self ):

        self.name = "autoAnnouncer"

    def run( self ):

        Announcements.getInstance().announceToAll(ANNOUNCEMENT_1)

        Announcements.getInstance().announceToAll(ANNOUNCEMENT_2)

        Announcements.getInstance().announceToAll(ANNOUNCEMENT_3) <-kai edw vazeis 3

 

startInstance = myTask()

ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(startInstance,INTERVAL*60000,INTERVAL*60000)

 

8a mporousa kai poio analitika alla den prolaveno..!

Guest
This topic is now closed to further replies.


  • Posts

    • Add some share links, would be nice for people that still looking for them!
    • Please do not insult anybody and respect other works. Do not have hateful behaviour, last warning.
    • You cant add cloaks on interlude packs, is possible to find ones but will never work correct on character.
    • Hello everyone, want to sell some of my custom features in my server, someone might be interested. Collections: (50euro) - you need ingredients (min/max) - can you choose enchant level  - reward : custom skills Enemy Inventory and stats checker: (25euro) - you can check what is your enemy wearing - how much is it enchanted - you can see his detailed info about stats - pvp/pk/rebirth/pve dmg etc anything can be added Gamble (random craft item) - (50 euro)  - by using command .gamble - windown will pop up  - name of the item / chances / % of your points / maximum you can have shows  - you can buy instantly points / or item can be made for that  - each pack can have different prices/items  - refresh give another 5 random items. Custom Enchant System: (20euro)  - target all grades - one scroll can be used for any grade  - increaseEnchantby / decreaseEnchantBy Custom Rotated Farm Zone: (50euro)  - players will be automaticly flagged when enter / unflagged when leave  - you can make any zone like that  - you can add any restriction you want or dont.  - Rotation will be announced in Global  Chat  - in zone drop will be increased by 30% - or you can modify by config  - maybe you want zone where they need lets say 10x Enter to enter can be done - i can give you code, or i can also implement for you - if you want some other custom code, and im able to do it you can ask me discord:expllo#8222 or just expllo - if you won't find, message me here.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..