Cash shop Points

d4xyjen

New member
Messages
6
Points
0
im just new here i want to know where to find on the database the points for each account on cash shop thanks

 
They are stored as account variable on the scripting engine, named #CASHPOINTS and #KAFRAPOINTS if I remember well.

 
i was referring to the FreeCash and CashPoints on the cash shop menu

where i could find them on the database i mean on the sql

 
Last edited by a moderator:
On the global_reg_value table, associated with the respective account ID they belong to.

 
thanks for the reply for example i want to add points on it what would be my values? on the querry?
 

INSERT INTO  `ragnarok`.`global_reg_value` (
`char_id` ,
`str` ,
`value` ,
`type` ,
`account_id`
)
  VALUES (
'???',  '???S',  '???',  '?',  ?'
);
 
 
Last edited by a moderator:
Ingame.

key in

@cash 123 //for cash points@points 123 // for kafra points / free points 

Script

Code:
set #CASHPOINTS, #CASHPOINTS + 123; //for cash pointsset #KAFRAPOINTS, #KAFRAPOINTS + 123; // for kafra points / free points
 
Last edited by a moderator:
I'd avoid to directly insert cashpoints to people on the SQL, just update the value if it is available there.

 
Back
Top