GM Takumirai Posted November 28, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted November 28, 2012 https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/quests/quest_shop.txt how to make it rentitem *time* instead of get the item Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted November 28, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted November 28, 2012 (edited) search this line getitem .@q[0],.@q[1]; replace with for ( ;.@i <.@q[1];.@i++ ) rentitem .@q[0], <time>; Edited November 28, 2012 by QQfoolsorellina Quote Link to comment Share on other sites More sharing options...
uDe Posted January 2, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted January 2, 2013 (edited) 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 January 2, 2013 by uDe Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted January 2, 2013 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted January 2, 2013 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; Quote Link to comment Share on other sites More sharing options...
Euphy Posted January 2, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted January 2, 2013 @QQfoolsorellina: I added values to the .@q[] array in v1.6, you were originally correct. :3 Quote Link to comment Share on other sites More sharing options...
uDe Posted January 2, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted January 2, 2013 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. Quote Link to comment Share on other sites More sharing options...
uDe Posted January 3, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted January 3, 2013 BUMP Quote Link to comment Share on other sites More sharing options...
QQfoolsorellina Posted January 3, 2013 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 587 Reputation: 105 Joined: 11/19/11 Last Seen: July 7, 2019 Share Posted January 3, 2013 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 Quote Link to comment Share on other sites More sharing options...
Question
GM Takumirai
https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/quests/quest_shop.txt
how to make it rentitem *time* instead of get the item
Link to comment
Share on other sites
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.