Jump to content

Recommended Posts

Posted

gracia CT2.2 petbuffer npc

 

the buffer can give pp/ee/se buffs to your pet.

 

install:

copy the 9999_NPCBuffer to data/scrips/custom

copy html file to data/html/default

insert the sql file to database

 

http://www.4shared.com/file/77226873/54a08e90/PetBufer_CT2_Intrepid.html

 

ONLY FOR L2JFREE CT2.2

 

credits to me.

 

 

Posted

and those buffs work for the pet? o_O

i thought that regular buffs can't be used on pets

and why did you keep restoreHpMp? it doesn't work for the pet in any way...

 

and just for your information, I would do it this way:

I would make a function to save space and later on I would call it, or even better, to not to mess with "if event== and so on", I would make an array where I would store all buff data, so the code would be much more smaller in size...

here's how it would look like:

 

# buff data is stored in this way: id, level, html file name (without .htm) assuming that every value is an integer value

buff_data = [[1085,3,1],[1304,3,2],[1087,3,3]] # only a part of the buff list

 

# function to cast the buff

def castBuff(id,level,htmlNum) :

    SkillTable.getInstance().getInfo(id,level).getEffects(st.getPlayer(),st.getPet(),st.getPlayer(),st.getPet())

    return str(htmlNum)+".htm"

 

and all you would have to do to make the buff casting work depending on the event number is:

 

    castBuff(buff_data[event][0],buff_data[event][1],buff_data[event][2])

 

or you can do it without the custom function, so it would look like this:

 

    SkillTable.getInstance().getInfo(buff_data[event][0],buff_data[event][1]).getEffects(st.getPlayer(),st.getPet(),st.getPlayer(),st.getPet())

    return str(buff_data[event][2])+".htm"   

 

if you understood everything, try to make the next version to be like this, or if you will have problems, write here and I will make it working properly

btw: it can be done more clearly with dictionaries, and if I will remember how to use them, I will write the second way using dictionaries not arrays

   

Posted

it's ok... it was just a tip from my side ;)

anyway if you want to learn python or java, check out my 4shared account! I have uploaded video lessons in there!

http://www.4shared.com/account/dir/6264003/ab2e8dff/sharing.html?rnd=37

 

thanks for video lessons:)

i'm newbie in python so it's usefull to me:)

Posted

good work man keep it up! but my opinion is that a server having pet buffer will may overpower some classes what i mean is, if a Necromancer has a pet full buffed and in pvp has transfer pain on, this will make is a little hard to kill. this may be good for summoner because they olny hit with their pets. anw good work:)

Posted

good work man keep it up! but my opinion is that a server having pet buffer will may overpower some classes what i mean is, if a Necromancer has  a pet full buffed and in pvp has transfer pain on, this will make is a little hard to kill. this may be good for summoner because they olny hit with their pets. anw good work:)

 

well yes petbuffer only for pvp server's but for pvp servers it's very good thing to have one...and just imagine

3x low server with full buffed reanimated man:D:D:D

  • 4 weeks later...
  • 1 month later...
  • 1 month later...
Guest
This topic is now closed to further replies.


  • Posts

    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • Dear friends, right now we are holding a grand competition with a prize fund of more than $ 1000 in our stores https://socnet.store , telegram store: https://socnet.shop and SMM panel: https://socnet.pro There are more than 50 prize places in our competition, each lucky person can take one of the places. Important condition: you must make a purchase at any time before June 1, 2025. The more purchases you make - the more chances you have to win the main prize in the community of $ 300! ➡ Our Online Shop: socnet.store  ➡ Our SMM-Boosting Panel: socnet.pro  ➡ Telegram Shop Bot: socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: 79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
    • REBORN ETERNAL IL x10 WTS  1gb 8e (a lot in stock) DR set +6 180e Frintezza+6 200e Zaken+6 200e AQ+6 200e You must go first or Pufa middleman service
    • There's many reasons why it would be more NO than YES : Using NCSoft assets is a death wish, they can lawyer any LU3/Unity if they wanted, since it's a plain steal of intellectual property. It's an hobby, as you said it, and it's not specially about money. Money is a way to filter idiots/resellers, nothing more. It's really about trying to replicate old content and optimize it which I find it fun. I just align with the basic idea than an emulator emulates. When you launch Project64 and SuperMario 64, you don't expect to get something more than 120 stars and Bowser boss in the end - which should have been L2J project to begin with Even if I played a lot with TESCS from Morrowind, back in time, it's not enough to handle current engines, and I'm too lazy to learn Unity/Unreal Engine. Moreover, it would mean buying assets. While doing it alone would be a fail, coupling to L2J / L2 community would still be shitty (since the majority is RU/BR) ; people is only about fame/glory/reselling shit on back of others. Opening to others, the project would be leaked day 1, rebranded and resold. MMO genre is basically dead, and that's not a reboot of any game (l2/wow classic :D) which will turn the tide. Regarding L2 or an remastered version of it, you can obviously blatantly copy-cat it (as Propnight did for Dead by daylight).   All frenchies aren't supposed to do Expedition 33 :).
    • 190euro until last month, don't miss it.
  • Topics

×
×
  • 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