Real Time is the best way ;) ( like AddSilk )
by me it was just a bit "Testing" whats possible :P
Printable View
Real Time is the best way ;) ( like AddSilk )
by me it was just a bit "Testing" whats possible :P
it is possible (im not going to make a proc because my sql sucks)
but one of the tables in log db "record" when you use a item/or pick up a item
if you use a teleport scroll, it record the itemid and dome data1, data2, etc
simply create a new tele scroll, and get the procedure filter for that itemid, then the rest is easy
@Caosfox
Thats a rly good idee ;) i write a proc soon hehe
if u got more let me know ^^
edit : maybe its not good becuse the log is creating after use ( so if u teleport fast ) its unless i think i will try if i got time
use the slow basic teleport, it takes like 5 seconds to teleport (the most lame basic teleport, i think is beginner teleport)
and the log creates 2 values if im not wrong, when is clicked (used) and when the teleport is done
ok i check ur idee soon if it works i send to ya ;)
yup is working, i did a quick and dirty code (i know you can do a 1000000x times faster and better, mainly is like the old timejob codes but on diferent db)
can you share?
What's the SP or event trigger to handle return scroll? perhaps I might look there
Btw, I checked the action flow of of this Adv scroll, it's similar to KaRa's reset stat scroll, which has TypeID4 "14" (rent item), and it runs AddTimedJob SP after the scroll is used.
I also found this video, it has TypeID4 "13" (reset item), and it resets everything without requiring the char to teleports:
http://www.youtube.com/watch?v=Cz23tQXa8ms
Just wondering...
ok, this is how is working for me
at _AddLogItem
id 60454 is simply a copy of beginer teleport scroll with diferent name and idPHP Code:if @ItemRefID = '60454' and @Operation ='41' -- scrolls de cosas
BEGIN
your code here
END
41 is when is activated, if you dont use that, it simply activate proc when you buy or pick up the scroll
ya it works :)
means can create scroll with "all function" :D
yup, only limit is your sql knowlege
Perfect! this method it works, however, should've put the new scroll as TypeID of "return scroll", not sure how to make TypeID "reset item" or "premium service", or even "expendables" to be able to teleport the character automatically.
And also, if we use TypeID of "return scroll", we won't need the _RefSkill line.
I'll also try another method
Another note, if we use Evangelion, we should set "disableLog = 0" in misc.ini and restart the gameserver
---
Alright here's my test video.
This using TypeID3 = 3 and TypeID4 = 1 (return scroll sort of item) conjunction with _AddLogItem SP, without [USU1:SKILL_MALL_ADV_REMOVAL] skill parameter. (didn't add anything to _AddTimedJob SP also)
http://www.youtube.com/watch?v=xxlCxICYTsA
Hope we can find a way to make the item type other than "return scroll" ;)
cheers ;)