Jump to content
  • 0

How to get Cash Point from usable item?


ahloi007

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  78
  • Reputation:   1
  • Joined:  10/15/12
  • Last Seen:  

Hi there, need you support!

How to gain cash point by using usable items?

I did research and found out this but it doesn't work on me

Anyone please help me on this?

Quote

set #CASHPOINTS, #CASHPOINTS+100;

 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  110
  • Reputation:   30
  • Joined:  11/24/14
  • Last Seen:  

- Id: xxxxxx

AegisName: Ticket Cash

Name: Ticket Cash

Type: Usable

Weight: 1

Trade:

Override: 100

NoDrop: true

NoSell: true

NoMail: true

NoAuction: true

Script: |

set #CASHPOINTS, #CASHPOINTS+100; dispbottom "Ha recibido 100 Cash Points.";

 

It should work for you.

Link to comment
Share on other sites

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.01
  • Content Count:  1691
  • Reputation:   716
  • Joined:  12/21/14
  • Last Seen:  

it should work

also you can do this

#CASHPOINTS += 100;

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   22
  • Joined:  07/05/18
  • Last Seen:  

45000,Cash_Ticket_100,Cash Ticket 100,18,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ set #CASHPOINTS,#CASHPOINTS+100; dispbottom "You gained [ 100 Cash Points ]. Enjoy!"; },{},{}

 

  • Upvote 1
  • Love 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   2
  • Joined:  02/08/22
  • Last Seen:  

no success here

30042,Bonus_Eletronico,Cash Ticket 100,18,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{
    set #CASHPOINTS,#CASHPOINTS+100;
    dispbottom "You gained [ 100 Cash Points ]. Enjoy!";
}
,{
}
,{
}
}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  126
  • Reputation:   5
  • Joined:  10/31/12
  • Last Seen:  

On 2/12/2022 at 11:04 AM, poring amarelo said:

no success here

30042,Bonus_Eletronico,Cash Ticket 100,18,0,,10,,,,,0xFFFFFFFF,63,2,,,,,,{
    set #CASHPOINTS,#CASHPOINTS+100;
    dispbottom "You gained [ 100 Cash Points ]. Enjoy!";
}
,{
}
,{
}
}

 

you can also use atcommand

atcommand "@cash 100"; dispbottom "+100 Cash Points";

  - Id: 35004
    AegisName: Ragnarok_Coin
    Name: Ragnarok Coin
    Type: Usable
    Buy: 50
    Weight: 0
    Script: |
      specialeffect2 100; atcommand "@cash 100";  dispbottom "You gained [ 100 Cash Points ].!";   

you can also add specialeffect2   just for fun ?

Edited by markiez22
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.01
  • Content Count:  6
  • Reputation:   0
  • Joined:  01/04/25
  • Last Seen:  

where i specified item description and description sprite??

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  1281
  • Reputation:   170
  • Joined:  06/12/12
  • Last Seen:  

On 1/12/2025 at 2:32 AM, xjunapix said:

where i specified item description and description sprite??

 

iteminfo file

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  29
  • Reputation:   1
  • Joined:  01/31/20
  • Last Seen:  

How can you check that the cash shop is not open before giving the cash to the player?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   11
  • Joined:  12/16/11
  • Last Seen:  

I made this script for cashpoint manager: Ragnarok-Online-Scritps/Hercules/Utility/cashpointManager.txt at master · Zindokar/Ragnarok-Online-Scritps

It controls if the player is online use #CASHPOINT, if offline, use SQL. I made for eAthena and adapted to Hercules but I bet is working on rAthena.

Main purpose is a GM can add Cashpoints to a Player.

If giving errors or something, open a post in scripting support and tag me so I can help. Not here.

Edited by rokimoki
Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...