Jump to content
  • 0
Sign in to follow this  
khenma

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

Question

16 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

 

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

Share this post


Link to post
Share on other sites
  • 0

 

 

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

Share this post


Link to post
Share on other sites
  • 0

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; },{},{}

Share this post


Link to post
Share on other sites
  • 0

 

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; },{},{}

yup, try that

Share this post


Link to post
Share on other sites
  • 0

 

 

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; },{},{}

yup, try that

 

doesn't work..

TCG still not usable

Share this post


Link to post
Share on other sites
  • 0

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; },{},{}
Edited by sevenzz23

Share this post


Link to post
Share on other sites
  • 0

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.

Edited by unknown

Share this post


Link to post
Share on other sites
  • 0

 

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

Edited by khenma

Share this post


Link to post
Share on other sites
  • 0

If I remember well, the cash points and kafra points were stored in the account-variables named #CASHPOINTS and/or #KAFRAPOINTS.

 

what do u mean? i need to put # in { set cashpoint,cashpoint+1; },{},{}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.