Fresh prince Posted October 14, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Share Posted October 14, 2014 Hello rathena, Could someone please edit this and make autotraders(vendors) NOT receive a reward once the the woe ends. Thanks http://pastebin.com/raw.php?i=5z6edTq2 Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 14, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 14, 2014 if (isloggedin(.@acc[.@j],.@char[.@j])) { change tot his if (isloggedin(.@acc[.@j],.@char[.@j]) && !checkvending( rid2name(.@acc[.@j]) ) ) { 1 Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted October 15, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted October 15, 2014 There a prob Sir Emistry Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted October 17, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted October 17, 2014 (edited) Tried Sir Emistry edit but threw me an error and Still gave me prize. What about if there is an @afk command and used it? how can we prevent them receiving rewards after woe? Thanks you rathena Edited October 18, 2014 by Fresh prince Quote Link to comment Share on other sites More sharing options...
Skorm Posted October 18, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted October 18, 2014 Maybe try it like... if (isloggedin(.@acc[.@j],.@char[.@j])) { if ( !checkvending( rid2name(.@acc[.@j]) ) ) { for(set .@k,0; .@k<getarraysize(.Reward); set .@k,.@k+2) getitem .Reward[.@k], .Reward[.@k+1], .@acc[.@j]; message rid2name(.@acc[.@j]),"You have been rewarded for conquering "+getcastlename(.Castles$[.@i])+"."; } } } } 1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 18, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 18, 2014 Tried Sir Emistry edit but threw me an error and Still gave me prize. What about if there is an @afk command and used it? how can we prevent them receiving rewards after woe? Thanks you rathena depend on how your @afk work, sone minor modification would be needed. @skorm haha , I totally forgotten that offline char will caused the invalid rid message to spam xD Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted October 18, 2014 Group: Members Topic Count: 69 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 10/14/12 Last Seen: June 12, 2021 Author Share Posted October 18, 2014 (edited) Thanks Sir Emistry and Sir Skorm! Edited October 19, 2014 by Fresh prince Quote Link to comment Share on other sites More sharing options...
Question
Fresh prince
Hello rathena,
Could someone please edit this and make autotraders(vendors) NOT receive a reward once the the woe ends.
Thanks
http://pastebin.com/raw.php?i=5z6edTq2
Link to comment
Share on other sites
6 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.