Jump to content
  • 0

@Daily Reward


Chasewalk

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  241
  • Reputation:   18
  • Joined:  06/04/14
  • Last Seen:  

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;

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  912
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  912
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

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 ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.02
  • Content Count:  94
  • Reputation:   0
  • Joined:  10/17/20
  • Last Seen:  

bump

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  61
  • Topics Per Day:  0.02
  • Content Count:  912
  • Reputation:   166
  • Joined:  11/27/14
  • Last Seen:  

You are using a different script from your post above ...

Link to comment
Share on other sites

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.

×
×
  • Create New...