Chasewalk Posted October 29, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Share Posted October 29, 2020 good day! help me please i'm using daily reward script but every time i put in points there is an error on map-server but when I return to the previous no error thanks for the help! setarray rewards$ 10000,10,0,0,14232,1,1357,1 Points$,"#CASHPOINTS","Activity Points"; Quote Link to comment Share on other sites More sharing options...
0 Ronald Posted October 29, 2020 Group: Members Topic Count: 22 Topics Per Day: 0.01 Content Count: 250 Reputation: 21 Joined: 06/04/14 Last Seen: November 17, 2024 Share Posted October 29, 2020 2 hours ago, Chasewalk said: good day! help me please i'm using daily reward script but every time i put in points there is an error on map-server but when I return to the previous no error thanks for the help! setarray rewards$ 10000,10,0,0,14232,1,1357,1 Points$,"#CASHPOINTS","Activity Points"; set #CASHPOINTS,#CASHPOINTS+1; Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted October 29, 2020 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted October 29, 2020 (edited) Add this on your cashpoints array "#" to make it work your custom points Ex:Answer: Points$,"#IMCUSTOMPOINTS"; For the guide on scripting go to your rAthena-Master/doc/script_commands.txt everything you need about scripting is there Edited October 29, 2020 by Poring King Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted October 29, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted October 29, 2020 (edited) Hi sorry for the late reply same error [Warning]: Unexpected type for argument 1. Expected string. [Debug]: Data: variable name='#CASHPOINTS' index=0 [Debug]: Function: setd set #CASHPOINTS,#CASHPOINTS+1; setarray .Points$,"#CASHPOINTS"; "0,2,0,0,14232,1,13517,1", // Day 1: 1 Yggdrasilberry box 1 Box of Thunder Edited October 29, 2020 by Chasewalk Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted October 29, 2020 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted October 29, 2020 3 minutes ago, Chasewalk said: Hi sorry for the late reply same error [Warning]: Unexpected type for argument 1. Expected string. [Debug]: Data: variable name='#CASHPOINTS' index=0 [Debug]: Function: setd setarray .Points$,"#CASHPOINTS"; "0,2,0,0,14232,1,13517,1", // Day 1: 1 Yggdrasilberry box 1 Box of Thunder check your script how to get points what if just post the whole script ? Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted October 29, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted October 29, 2020 here sir https://pastebin.com/raw/Vij4AKwj Quote Link to comment Share on other sites More sharing options...
0 Chasewalk Posted October 30, 2020 Group: Members Topic Count: 27 Topics Per Day: 0.02 Content Count: 94 Reputation: 0 Joined: 10/17/20 Last Seen: March 8, 2021 Author Share Posted October 30, 2020 bump Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted October 30, 2020 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted October 30, 2020 You are using a different script from your post above ... Quote Link to comment Share on other sites More sharing options...
Question
Chasewalk
good day!
help me please i'm using daily reward script but every time i put in points there is an error on map-server but when I return to the previous no error thanks for the help!
setarray rewards$
10000,10,0,0,14232,1,1357,1
Points$,"#CASHPOINTS","Activity Points";
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.