Jump to content

Question

Posted

Well I added this code of aio system in the review of the most recent l2jhellas, so far everything was ok. the system is working but when i restart the character the aio skills disappear and i have to give the command // add_aio <days> could someone give me a solution of what may be happening?

 

https://pastebin.com/8cQatb0t

7 answers to this question

Recommended Posts

  • 0
Posted

It looks like you have added everything correctly, but simply this functionality is missing for some reason.

I assume that message "Your AIO period ends at:" shows up correctly, so what you need to do is:

Replace:

 activeChar.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "System", "Your AIO period ends at: " + dt));

with

{
	activeChar.sendPacket(new CreatureSay(0, Say2.ALLIANCE, "System", "Your AIO period ends at: " + dt));
	if (Config.ALLOW_AIO_NCOLOR)
		 activeChar.getAppearance().setNameColor(Config.AIO_NCOLOR);
	if (Config.ALLOW_AIO_TCOLOR)
		 activeChar.getAppearance().setTitleColor(Config.AIO_TCOLOR);
	 activeChar.rewardAioSkills();
}

 

It's not a nice way to do it, but it's a short change and it should work as you expect.

  • 0
Posted

Or there might be a check for illegal skills on restart or something. If you can't find something in enterworld check on sendskilllist packet

  • 0
Posted

zake is right, there is a check for illegal skills.

you can check premium system too ( //premium_menu). no need to make new getters for aio. and merge premium system with your aio skills. just saying my opnion.

  • 0
Posted
On 6/4/2020 at 8:31 AM, Zake said:

Or there might be a check for illegal skills on restart or something. If you can't find something in enterworld check on sendskilllist packet

Thank you, you are really right but I don't know how I can use the system as @AbsolutePower mentioned right above I don't handle much of java so the integration with the premium account I was able to understand only in the method of completion days, but the skills I can't understand what the method will help in the form of sendskills

  • 0
Posted
On 6/4/2020 at 4:10 PM, AbsolutePower said:

zake is right, there is a check for illegal skills.

you can check premium system too ( //premium_menu). no need to make new getters for aio. and merge premium system with your aio skills. just saying my opnion.

For the record, where is the illegal skills check in your pack? i made a quick check on sendskilllist and didn't see something

  • 0
Posted
2 hours ago, Zake said:

For the record, where is the illegal skills check in your pack? i made a quick check on sendskilllist and didn't see something

 

From what I studied of the pack I saw that the parts of enterworld was transferred to L2PcInstance if I'm not mistaken

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


  • Posts

    • buenas no puedo poner el server On para que entren mis amigos   LoginServer # ================================================= # Settings authorization server # ================================================= # Host and port for client connections LoginserverHostname = 127.0.0.1 LoginserverPort = 2106 # Host and port for game servers LoginHost = 192.168.100.25 ( mi Ip interna) LoginPort = 9014     GameServer   # =============================== # Network Configuration Server  # # =============================== # IP which Bind Game server, * - all possible GameserverHostname = * GameserverPort = 7777 # This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname ExternalHostname = 186.158.144.71 ( Ip externa ovbio) # This is transmitted to the client from the same network, so it has to be a local IP or resolvable host name InternalHostname = 192.168.100.25 # AdvIpSystem Make more GameServerIDs. Every Ip should be Protected by a DDoS Guard. # Your Server will have Success with this system Online. AdvIPSystem = False # Address \ port LS LoginPort = 9014 LoginHost = 192.168.100.25 LoginUseCrypt = true # How to request ID of LS RequestServerID = 4 # Permission to take a different id, if requested busy AcceptAlternateID = False     en que estaria fallando ?    
    • mporeis na valeis l2jaCis i kapoio etimo project  free sources gia aCis edw https://acis.i-live.eu/index.php?topic=1974.0 server install ktl edw https://acis.i-live.eu/index.php?topic=10190.0 an dn vgaleis akrh steile mou discord margazeas2
    • Hello! I am new to l2 server creation and i need your help please!!! I want to make my own l2 interlude c6 server with custom thing in it.  I need help with where to start. What source pack to pick to start and what to do. Please if you can help me i would appreciate it very much !!!
    • Need Discord with rare badge? VISIT US AND SHOP WITH US! NEW STOCK   Aged, Early Supporter Discord Accounts I sell HQ Aged and Early, Discord Accounts that are inactive and not flagged by discord at cheap prices   If you want to contact me, you can add me on discord: worldcoldwar Features: Format - age : email : pass : token Not flagged and undetected by discord HQ % With OGE Emails, password etc can be changed Unverified Early Supporter 24M Boost Badge HypeSquad Events Early Verified Bot Developer Early Supporters SHOP LINK: disvault1.mypaylix.gg/ For PayPal payments, please open a ticket. If you experience any problems with cryptocurrency payments, please open a ticket as well.
  • 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..