Jump to content
  • 0

Nonexistent item 0 requested


Elysium

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

Hello, can i ask for help on this script. i don't know what's wrong.

 

http://pastebin.com/DephCVC7

 

post-3121-0-30746400-1461046636_thumb.png

 

Thank you!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

what are you trying to do here?

Edited by benching
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try

.@reward = getd(".rewardIds_"+ .chances[.@i] +"["+ rand( getarraysize( getd(".rewardIds_"+.chances[.@i]) )  ) +"]");
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

 

try

.@reward = getd(".rewardIds_"+ .chances[.@i] +"["+ rand( getarraysize( getd(".rewardIds_"+.chances[.@i]) )  ) +"]");

 

 

Thanks for the respond Emistry, however i tested it ingame but the only rewards that give me is part:

 

 

    setarray .rewardIds_1,    7227, 7539;

 

The rest of the rewards i couldn't received.

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...