Quote:
Originally Posted by c1ph3r
Modify the item or the smps and the problem is gone...
|
where are these smp scripts ? wasn't able to find them.
Quote:
Originally Posted by MuStA2222
Yup, try it yourself, login .
people provided too much information for you guys to fix this problem, I don't know how you couldn't.
|
Well.... adding 910000 to paiditem pretty much solved all my issues
Actually i do not need any buff in on_login script, suppose
PaidItem entry makes all the work.
Now i wonder where i can find infos on these SMP everyone is talking about, and a lil LUA reference to learn enough to play with these new discoveries i made.
something like creating an NPC that sells HV pass (changing the date inside
valid_time field in
PaidItem)
Can i access the database from inside a lua script?
gv() and
gs(), how do they work exactly? i need somthing like a reference for these
Quote:
Originally Posted by abady100
But linking ticket with buff and the time remaining to the end of the ticket
You can say here's the problem!
|
no buff in on_login, item_code 910000 added to PaidItem table for the choosen account (expiration date inside
valid_time field in
YYYY-DD-MM hh:mm:ss.mmm format) and the magic is done: 910023 pass inside each character inventory, automatic buff, ticked and buff duration linked