Jump to content
  • 0

Question

Posted

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

  • 0
Posted
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;

  • 0
Posted (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 by Poring King
  • 0
Posted (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

Error.png

Edited by Chasewalk
  • 0
Posted
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

Error.png

check your script how to get points what if just post the whole script ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...