maxmum Posted January 7, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 01/18/13 Last Seen: February 9, 2017 Share Posted January 7, 2014 Hello guys, I need show cash points in chat.like in old version @cashhelp me pls Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted January 7, 2014 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted January 7, 2014 http://rathena.org/board/topic/86449-request-npc-that-can-check-cash-point-or-kafra-point-of-player/ Quote Link to comment Share on other sites More sharing options...
maxmum Posted January 7, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 01/18/13 Last Seen: February 9, 2017 Author Share Posted January 7, 2014 (edited) thxm I already make it. and if I use #cashpoint or @cash (value) information add in sql table global_reg_value in char_id str value type account_id 0 #cashpoint 55 2 200000 information recorded only account_id, but I need char_id. Maybe you know how changed to char_id? maybe here? case 2: //Account reg if( !strcmp(reg,"#CASHPOINTS") && sd->cashPoints != val ) { val = cap_value(val, 0, MAX_ZENY); sd->cashPoints = val; } else if( !strcmp(reg,"#KAFRAPOINTS") && sd->kafraPoints != val ) { val = cap_value(val, 0, MAX_ZENY); sd->kafraPoints = val; } sd_reg = sd->save_reg.account; max = &sd->save_reg.account_num; regmax = ACCOUNT_REG_NUM; break; it's pc.c Edited January 7, 2014 by maxmum Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted January 7, 2014 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted January 7, 2014 why do you want to change account var to character var ? Quote Link to comment Share on other sites More sharing options...
maxmum Posted January 8, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 01/18/13 Last Seen: February 9, 2017 Author Share Posted January 8, 2014 (edited) because cashpoint save in account_id. I need save cash point in char_id .(for every char not for account) Edited January 8, 2014 by maxmum Quote Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 8, 2014 you mean change the cashpoint to player based and not account based ?? then just use CASHPOINTS <-------- player based variable Quote Link to comment Share on other sites More sharing options...
maxmum Posted January 8, 2014 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 01/18/13 Last Seen: February 9, 2017 Author Share Posted January 8, 2014 yea, I want use cashpoint for players not for account. I'm not understand yet. What I need to do? Quote Link to comment Share on other sites More sharing options...
Patskie Posted January 12, 2014 Group: Members Topic Count: 50 Topics Per Day: 0.01 Content Count: 1702 Reputation: 241 Joined: 09/05/12 Last Seen: 13 hours ago Share Posted January 12, 2014 Use CASHPOINTS instead of #CASHPOINTS Quote Link to comment Share on other sites More sharing options...
Question
maxmum
Hello guys, I need show cash points in chat.
like in old version @cash
help me pls
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.