[Help]Cancellation time's buff

01/17/2012 17:07 abady100#1
Hi guys

Upon enquiry:

Normally when we want to add a buff We do the following:

add_state(ID_BUFF,BUFF_force,Time_BUFF)
Example:
add_state(1001,100,60)
1001= ID BUFF
100 = BUFF FORCE
60 = TIME BUFF ---> The number of seconds

But the question is how do I place lasting BUFF[Lasting]?

Thanks in advance



01/17/2012 17:40 qaaah#2
add_state(1001,100,999999999)

xD
01/17/2012 18:02 gavsta#3
this is the normal state to have the buff on so it has no timer, add_state(1001,100,-1.00) but that is for stuff like unity, as it regives over and over, for buffs on login etc, I highly doubt it would work the same, due to the timer being at -1 although never tryed myself, I have no idea how Gala-Net does it where it has no timer, Sorry if this wasn't much help.
01/17/2012 18:14 abady100#4
Quote:
Originally Posted by qaaah View Post
add_state(1001,100,999999999)

xD
man where is your eye?
I didn't say that the time I say days 280 buff to be fixed no time

Quote:
Originally Posted by gavsta View Post
this is the normal state to have the buff on so it has no timer, add_state(1001,100,-1.00) but that is for stuff like unity, as it regives over and over, for buffs on login etc, I highly doubt it would work the same, due to the timer being at -1 although never tryed myself, I have no idea how Gala-Net does it where it has no timer, Sorry if this wasn't much help.

I just wanted to make my time as we see buff without in a official Rappelz

When wearing ceremonial


Thank you
01/17/2012 22:25 haxti#5
Writing a lua which rebuffs player over and over = having 100% cpu load :D

think they got another mode (not add_state but rather a function which casts those buffs server wide like a healer casts mass mp recovery)
01/18/2012 05:01 SilentBill#6
I read somewhere (probably nCarbon) that timeless buffs were added in E7. The server files are still E6, even if modded.
01/18/2012 07:35 abady100#7
Quote:
Originally Posted by haxti View Post
Writing a lua which rebuffs player over and over = having 100% cpu load :D

think they got another mode (not add_state but rather a function which casts those buffs server wide like a healer casts mass mp recovery)
Okay I still find the way

Quote:
Originally Posted by SilentBill View Post
I read somewhere (probably nCarbon) that timeless buffs were added in E7. The server files are still E6, even if modded.
Do you think there is another permanent Buff code?
01/19/2012 05:55 SilentBill#8
Not with the current files, no.