Jump to content

[Share]Vampir Legend System!


Recommended Posts

NOT MISSING FROM MY DATAPACK!

thanks bro and keep sharing :)

gonna integrate some awesome features on it ^^ credits in game will be given bro :)

 

EDIT:: Uhm, i forgot to add this question, so here it goes:

             If i want to add a property in my custom property file to enable/disable (true/false) the legend system, where should i put the if(Config.LegendEnable) {..}???

thanks for the share once more and have a nice day :)

 

EDIT 2:: Hey there! for the second edit in the same day in the same post :p

               In this post i just post an sql code for the sql part in the first post just for those who cant get it done:

              ALTER TABLE `characters` ADD  `legend` tinyint(5) NOT NULL;

              ALTER TABLE `characters` ADD `pvp_period` smallint(10) NOT NULL;

                               Cya!

           

Link to comment
Share on other sites

make something like that:

if(Config.LegendEnable){

L2PcInstance.changeLegend();

}

i know how to make a function to be enabled by a property in l2j, the problem is that right now i dont really know WHERE to put the if function :P

you have added a lot of code in many places that i dont understand where to enable/disable :P

Link to comment
Share on other sites

Normally there is code: L2PcInstance.changeLegend();

Change it to:

if(Config.LegendEnable){

L2PcInstance.changeLegend();

}

 

And it will work only if LegendEnable is true

Link to comment
Share on other sites

Normally there is code: L2PcInstance.changeLegend();

Change it to:

if(Config.LegendEnable){

L2PcInstance.changeLegend();

}

 

And it will work only if LegendEnable is true

 

ok :) thanks dude ^^

Link to comment
Share on other sites

One other question:

Is it possible to get the hero aura if you are legend?

or the aura like if you got celestial shield would rock :P

probably anyone can make the code?

 

Regards

Link to comment
Share on other sites

Doesn't work for me on the latest Freya rev. After I added the code and patched the server new characters couldn't be created.

 

Im quite sure there should be some kind of info logged in Gameserver console.

Link to comment
Share on other sites

  • 9 months later...

Hi, ive added this mod and everything goes good, compile etc, but when i press on character to enter in game this error appears

 

http://imageshack.us/photo/my-images/829/errolegendsystem.jpg/

 

Any help?

 

Ty

Link to comment
Share on other sites

Hi, ive added this mod and everything goes good, compile etc, but when i press on character to enter in game this error appears

 

http://imageshack.us/photo/my-images/829/errolegendsystem.jpg/

 

Any help?

 

Ty

 

Hi read this answer for fix your problem:

If you add the new rows in character table, be sure to set them to "NOT NULL" and at default "0"

had the same problem, after changing this, it works well..

Link to comment
Share on other sites

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.




  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...