Rappelz Buffs on Log-In

08/01/2011 10:41 Ayumilove#1
Hello Everyone !

I'd like to know how to implement some buffs for the WHOLE SERVER'S PLAYERS, which would each last for 10 Hours.
Their timer (Last time) is being reset at each re-connection of your character.

I'd also enjoy knowing how to give to each players 5m rupees each time they connect to the server.

Thanks for your help in advance : )

PS : You probably have noticed that my english sucks and that i use the word "each" really often but who cares? :p
08/01/2011 10:43 RoflcopterGoesSoiSoiSoi#2
add to your on_login.lua
Code:
add_state([buffcode],[bufflevel],600000)
sv("gold", gold+5000000)
...should work...
08/01/2011 10:50 Ayumilove#3
Should i leave the code like this and just replace with the IDs or should i remove the brackets? Can you give me an example? (picture?)

I don't know where to put that in the on_login.lua... I'd really appreciate some more guided procedure.

Thanks for your interest
08/01/2011 11:13 RoflcopterGoesSoiSoiSoi#4
Code:
add_state("1013", "100", "600000")
[Only registered and activated users can see links. Click Here To Register...]
08/01/2011 15:44 Ayumilove#5
Sorry, but i still don't understand where to put the line

add_state("1013", "100", "600000")

...
08/01/2011 16:54 Ranma014#6
why bother answering..
use the fucking search
08/01/2011 17:54 Ayumilove#7
I found out, thanks anyways. But however the buffs only applies to permission 0 and not permission 1. I'm not sure about the syntax i should put in the lua to make it working for the admins.

Thanks in advance
08/01/2011 23:28 Cieldaron#8
How about putting it twice into the .lua...? *facepalms*

One below the permission == 1 and one below the permission == 0.
08/02/2011 12:32 evonvenom#9
try this
add_state("1031", "1010", "6000000")
sv("gold", gold+5000000)
05/08/2014 04:46 heatattack318#10
i tried this i looked where u said to put it and im sorry i am still a nub at this i dont know what to do its not working the gold isnt going on the characters
05/08/2014 12:55 ThunderNikk#11
Old topic is old and there is a sub forum for these kind of things...

[Only registered and activated users can see links. Click Here To Register...]