Q> Is it possible to make the TCG card into cosumable/usable item?

khenma

New member
Messages
202
Points
0
Because i want to change my TCG card into a usable item like red potions then tcg will be converted to cashpoints

 
just change the item type to usable item.
i changed it but i when i double click  the TCG nothing happens,

i have 52 TCGs when i double click still 52 TCGs
just change the item type to usable and also the add script to add cashpoints to a player or user
i already change the type ,, but not yet changing the script to add cashpoints

what is the script? 

thanks

 
set cashpoint,cashpoint+1;

i did not try this, i dont remember how this work

but i have a script which is zeny

set Zeny,Zeny+rand(1000,10000);

 
set cashpoint,cashpoint+1;

i did not try this, i dont remember how this work

but i have a script which is zeny

set Zeny,Zeny+rand(1000,10000);
should be like this?

32710,TCG cashpoint,TCG cash point,2,20,,,,,,,0xFFFFFFFF,63,2,,,,,,{ set cashpoint,cashpoint+1; },{},{}

 
what revision you are using? check your db if item_db.conf is available,

or try to use this

Code:
32710,TCG cashpoint,TCG cash point,0,20,,,,,,,0xFFFFFFFF,63,2,,,,,,{ set cashpoint,cashpoint+1; },{},{}
 
Last edited by a moderator:
maybe he want to lost the item tcg,

change 2 to 11

Type:
 0  Healing item.
 2  Usable item.
 3  Etc item
 4  Weapon
 5  Armor/Garment/Boots/Headgear
 6  Card
 7  Pet egg
 8  Pet equipment
 10  Ammo (Arrows/Bullets/etc)
 11  Usable with delayed consumption (item is lost from inventory
   after selecting a target, for use with skills and pet lures)
 18  Another delayed consume that requires user confirmation before
   using item.

 
Last edited by a moderator:
what revision you are using? check your db if item_db.conf is available,

or try to use this

32710,TCG cashpoint,TCG cash point,0,20,,,,,,,0xFFFFFFFF,63,2,,,,,,{ set cashpoint,cashpoint+1; },{},{}
It doesn't add cashpoints... how to know the rev? i have client 20130807 , can u give me the latest rev?

maybe he want to lost the item tcg,

change 2 to 11

Type:

 0  Healing item.

 2  Usable item.

 3  Etc item

 4  Weapon

 5  Armor/Garment/Boots/Headgear

 6  Card

 7  Pet egg

 8  Pet equipment

 10  Ammo (Arrows/Bullets/etc)

 11  Usable with delayed consumption (item is lost from inventory

   after selecting a target, for use with skills and pet lures)

 18  Another delayed consume that requires user confirmation before

   using item.
yeah ur right i want the TCG to be lost

2 is okay but  when i change it to 11 it does not lost/delete the item TCG

 
Last edited by a moderator:
If I remember well, the cash points and kafra points were stored in the account-variables named #CASHPOINTS and/or #KAFRAPOINTS, so the item script should be like this:

set #CASHPOINTS, #CASHPOINTS + 1;
Or, equivalently, like whichever one of the following lines you prefer:

#CASHPOINTS = #CASHPOINTS + 1;#CASHPOINTS += 1;#CASHPOINTS++;

Yeah, all lines here mean the same code, just pick only one, the one you'd prefer to use more.

 
Last edited by a moderator:
I edited my previous post to elaborate a bit more. Hope you understand now!

 
Back
Top