Jump to content
  • 0

help - Dynamic Quest by Euphy


GM Takumirai

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

search this line

getitem .@q[0],.@q[1];

replace with

for ( ;.@i <.@q[1];.@i++ )

rentitem .@q[0], <time>;

Edited by QQfoolsorellina
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

search this line

getitem .@q[0],.@q[1];

replace with

for ( ;.@i <.@q[1];.@i++ )

rentitem .@q[0], <time>;

Thanks for your help. But, I didn't get the item after 'purchase'. No errors on map-server and item required being deleted.

I'm edit the getitem .@q[0],.@q[1]; line like this :

		   	 for ( ;.@i <.@q[1];.@i++ )
				rentitem  .@q[0], 604800;

Is there any mistakes?

Edited by uDe
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

search this line

getitem .@q[0],.@q[1];

replace with

for ( ;.@i <.@q[1];.@i++ )

rentitem .@q[0], <time>;

Thanks for your help. But, I didn't get the item after 'purchase'. No errors on map-server and item required being deleted.

I'm edit the getitem .@q[0],.@q[1]; line like this :

		   	 for ( ;.@i <.@q[1];.@i++ )
				rentitem  .@q[0], 604800;

Is there any mistakes?

sorry , it's a typo change .@q[1] to .@q[2]

		   	 for ( ;.@i <.@q[2];.@i++ )
				rentitem  .@q[0], 604800;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

@QQfoolsorellina: I added values to the .@q[] array in v1.6, you were originally correct. :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

sorry , it's a typo change .@q[1] to .@q[2]

		   	 for ( ;.@i <.@q[2];.@i++ )
				rentitem  .@q[0], 604800;

Still, cannot get the item..

From my original topic ( http://rathena.org/board/topic/76597-euphy-quest-shop-mod/ ), I'm still using v1.4b. Because my version is r16816.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

BUMP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  587
  • Reputation:   104
  • Joined:  11/19/11
  • Last Seen:  

I mess up variable .@i

try to use vaiable .@j

for rev 1.4b

[b]for (;.@j <.@q[1];.@j++ )[/b]
      rentitem  .@q[0], 604800;

test and woking for v1.4b

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