Quote:
Silk Scroll
EXPLAIN: gives a spcific silk amount that i can edit
NOTE: Auto recall recommended please NO DC required
|
This should be simple. Copy a Return Scroll
Then Edit the medialines (description, name, ...)
add some lines to your addlogitem stored procedure. Its like:
Code:
if itemid = --here comes your refitemid--
exec --here comes the stored procedure for silk, sth. webpurchasesilk (just search at sp's from account db) --
in the evening i'll be able to send you a real example, but shouldn't be difficult to figure out yourself.
It's every time the same... listen for a specific itemid, execute some statements. maybe you need to declare the accountid, since it's not implemented at addlogitem by default. with the given charid you'll be able to select your accountid
this way works for all scrolls, only the rance changer. here are alot of checks required. like no items at any avatarslot, char needs to be logged of (as far as i can remember)...