Meister Posted March 22, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Share Posted March 22, 2013 Since there is no notification that the player has received.. If possible any snippets wherein GM can know if #cash command was successfully used to player.. Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted March 22, 2013 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted March 22, 2013 We need to know first, how does your server add cashpoints to your players. Quote Link to comment Share on other sites More sharing options...
goddameit Posted March 22, 2013 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 562 Reputation: 219 Joined: 11/22/11 Last Seen: August 3, 2024 Share Posted March 22, 2013 We need to know first, how does your server add cashpoints to your players. he said he use ''#cash <player name> <amount>'' Quote Link to comment Share on other sites More sharing options...
Meister Posted March 23, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 23, 2013 We need to know first, how does your server add cashpoints to your players. by.. We need to know first, how does your server add cashpoints to your players. he said he use ''#cash <player name> <amount>'' Just this command set by rathena.. How can I know if it is successfully done? Cause only the player who will be receiving the cash points receive such message such as.. 10 Cash points has added to you.. E.G. If I want to give someone cash points.. like #cash Player 10 .. GM will also have "cash successfully added to Player.. His balance is now "new" from old"" like this.. Quote Link to comment Share on other sites More sharing options...
Meister Posted March 26, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 26, 2013 Bumpy bumpy. Quote Link to comment Share on other sites More sharing options...
frenzmu06 Posted March 26, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 326 Reputation: 47 Joined: 04/01/12 Last Seen: February 1, 2023 Share Posted March 26, 2013 move this on Suggestion Section Quote Link to comment Share on other sites More sharing options...
Meister Posted March 26, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 26, 2013 How can I move it there? Quote Link to comment Share on other sites More sharing options...
leertaste Posted March 26, 2013 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 137 Reputation: 1 Joined: 02/02/13 Last Seen: July 18, 2019 Share Posted March 26, 2013 (edited) conf/battle/misc.conf // Whether or not gaining and loosing of cash points is displayed (Note 1).// Default: nocashshop_show_points: yes Edited March 26, 2013 by leertaste Quote Link to comment Share on other sites More sharing options...
Meister Posted March 26, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 26, 2013 conf/battle/misc.conf // Whether or not gaining and loosing of cash points is displayed (Note 1). // Default: no cashshop_show_points: yes I know this. But this isn't what I need. Like what I said. E.G. If admin/GM gives cash to player. He/She will receive a notification that. Player has successfully received cash. And it'll show the players new cash amount as well as the old. Quote Link to comment Share on other sites More sharing options...
leertaste Posted March 26, 2013 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 137 Reputation: 1 Joined: 02/02/13 Last Seen: July 18, 2019 Share Posted March 26, 2013 (edited) Maybe want to try this?cashconf.txt Look at the Header of Script (not by me) or you can try this: transfer.txt Transfer will let you Transfer cash/zeny to another player buy typing his name (with display) Edited March 26, 2013 by leertaste Quote Link to comment Share on other sites More sharing options...
Meister Posted March 26, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 26, 2013 Thanks for the script. But hoping it was like activated automatically after using the commad Quote Link to comment Share on other sites More sharing options...
leertaste Posted March 26, 2013 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 137 Reputation: 1 Joined: 02/02/13 Last Seen: July 18, 2019 Share Posted March 26, 2013 With source edits I really can't help you.. Quote Link to comment Share on other sites More sharing options...
Lighta Posted March 27, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted March 27, 2013 For a wide solution for all #command that quite an issue since we don't usually return different values as result of function but just ask clif. But maybe we could do it via fd. Anyway more more hacky/function specific you could change :clif_disp_onlyself(sd, output, strlen(output));to something likeclif_GlobalMessage(sd->bl,output);wich will then display the result on player as a globalchat message so if you in range you could see it. (and all nearby client) or you could rewritte function to take a nickname as parameter like this:if(!message || !*message || sscanf(message, "%d %s", &value, nickname) < 1)...then map nickname to an session data, tsd=map_nick2sd(nickname);change command to effectuate on tsd then you can now display result on sd and tsd. (usage is then @cash 100 lighta) will give 100 point to lighta), ofc if no nickname found do something like tsd=sd so it will be on self amd there you go.or you could do some logs. Quote Link to comment Share on other sites More sharing options...
Meister Posted March 27, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 27, 2013 For a wide solution for all #command that quite an issue since we don't usually return different values as result of function but just ask clif. But maybe we could do it via fd. Anyway more more hacky/function specific you could change : clif_disp_onlyself(sd, output, strlen(output)); to something like clif_GlobalMessage(sd->bl,output); wich will then display the result on player as a globalchat message so if you in range you could see it. (and all nearby client) or you could rewritte function to take a nickname as parameter like this: if(!message || !*message || sscanf(message, "%d %s", &value, nickname) < 1)... then map nickname to an session data, tsd=map_nick2sd(nickname); change command to effectuate on tsd then you can now display result on sd and tsd. (usage is then @cash 100 lighta) will give 100 point to lighta), ofc if no nickname found do something like tsd=sd so it will be on self amd there you go. or you could do some logs. Seriously, didn't understand lol. Hahaha. Wonder if you can make a patch for it lighta? thanks! Quote Link to comment Share on other sites More sharing options...
frenzmu06 Posted March 27, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 326 Reputation: 47 Joined: 04/01/12 Last Seen: February 1, 2023 Share Posted March 27, 2013 @lightha can devs just update/modify #cash to show a messasge ("Name of invoked player": cash aquisition succesfull: given point "number", current cash "number") something like this on the user/GM who uses it Quote Link to comment Share on other sites More sharing options...
Lighta Posted March 27, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted March 27, 2013 @frenzmu06, no since that is just for one command only but the issues might be repeated for other charcommand, so if dev focus on this we need to have a more generique approch. Still that kinda highlight the need of gm to have the result as well for charcommand. @Gnome that was 3 different solution, choose one and I might do a tmp patch if I have time : -1) do you mind having result widely show to nearby client ? -2) do you want change atcommand to support nickname and being use as atcommand (so charcommand will be kinda useless then) ? -3) do you want log and check the result in sql ? I think sol3 doesn't give feedback fast enough and sol1 not that perfect for privacy but kinda the easiest. Quote Link to comment Share on other sites More sharing options...
Meister Posted March 27, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 27, 2013 (edited) @frenzmu06, no since that is just for one command only but the issues might be repeated for other charcommand, so if dev focus on this we need to have a more generique approch. Still that kinda highlight the need of gm to have the result as well for charcommand. @Gnome that was 3 different solution, choose one and I might do a tmp patch if I have time : -1) do you mind having result widely show to nearby client ? -2) do you want change atcommand to support nickname and being use as atcommand (so charcommand will be kinda useless then) ? -3) do you want log and check the result in sql ? I think sol3 doesn't give feedback fast enough and sol1 not that perfect for privacy but kinda the easiest. I think I can go for solution no.3. But if there's more faster way to know it then any solution would do. Or.. for now 1, is it not possible not to announce to near client? Heheh. Thanks lighta! Edited March 27, 2013 by Gnome Quote Link to comment Share on other sites More sharing options...
onizame Posted March 27, 2013 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 139 Reputation: 2 Joined: 07/05/12 Last Seen: April 15, 2013 Share Posted March 27, 2013 i wonder if number 3 can be seen from flux CP GM account too. .for each cash point given have the log (more better if giving cash from flux CP admin panel too) Quote Link to comment Share on other sites More sharing options...
Meister Posted March 28, 2013 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 841 Reputation: 17 Joined: 04/16/12 Last Seen: March 4, 2024 Author Share Posted March 28, 2013 i wonder if number 3 can be seen from flux CP GM account too. .for each cash point given have the log (more better if giving cash from flux CP admin panel too) to @lighta, this could be great. Just from flux CP account only higher GM or ADMINS. Lol. Quote Link to comment Share on other sites More sharing options...
Lighta Posted April 12, 2013 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted April 12, 2013 sorry been a while but that log function was introduce by Lemon in r17142, so here you go you can now see if he receive the cash and or points correctly in cash_log table. Quote Link to comment Share on other sites More sharing options...
Question
Meister
Since there is no notification that the player has received.. If possible any snippets wherein GM can know if #cash command was successfully used to player..
Link to comment
Share on other sites
19 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.