Chasewalk Posted October 29, 2020 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
0 Ronald Posted October 29, 2020 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
0 Poring King Posted October 29, 2020 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
0 Chasewalk Posted October 29, 2020 Author 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
0 Poring King Posted October 29, 2020 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
0 Chasewalk Posted October 29, 2020 Author Posted October 29, 2020 here sir https://pastebin.com/raw/Vij4AKwj Quote
0 Poring King Posted October 30, 2020 Posted October 30, 2020 You are using a different script from your post above ... Quote
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";
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.