Psyancy Posted July 25, 2017 Share Posted July 25, 2017 I have a question that may be seems silly but still, i will ask ;p How players can get coupons? Quote Link to comment Share on other sites More sharing options...
melron Posted July 25, 2017 Author Share Posted July 25, 2017 (edited) I have a question that may be seems silly but still, i will ask ;p How players can get coupons? I didnt add any way you have to add it manually. The code have an example you can take it from //setcoupon {category} . If you still need help on how you can add it you can ask for it or tell me when the player should get coupons ;) Edited July 25, 2017 by melron Quote Link to comment Share on other sites More sharing options...
Psyancy Posted July 25, 2017 Share Posted July 25, 2017 I didnt add any way you have to add it manually. The code have an example you can take it from //setcoupon {category} . If you still need help on how you can add it you can ask for it or tell me when the player should get coupons ;) Is there any way of doing it achievements like? like achievements work, ex kill 100 monsters reward 1 silver coupon, kill 1 raid reward 1 gold, etc or if i want to make it with conditions, for example, if player get 100 pvps reward 1 coupon how i can do that? Quote Link to comment Share on other sites More sharing options...
melron Posted July 25, 2017 Author Share Posted July 25, 2017 Is there any way of doing it achievements like? like achievements work, ex kill 100 monsters reward 1 silver coupon, kill 1 raid reward 1 gold, etc or if i want to make it with conditions, for example, if player get 100 pvps reward 1 coupon how i can do that? Both cases can be done. I can do it tommorow because im not home again. But if you want it today for pvp case, you have to check the count of pvp's when the player increasing them and with some if statements (switch will be better) add then add your desired coupon Quote Link to comment Share on other sites More sharing options...
Psyancy Posted July 25, 2017 Share Posted July 25, 2017 Both cases can be done. I can do it tommorow because im not home again. But if you want it today for pvp case, you have to check the count of pvp's when the player increasing them and with some if statements (switch will be better) add then add your desired coupon Alright mate, thank you very much for your help :) Quote Link to comment Share on other sites More sharing options...
Solomun Posted July 25, 2017 Share Posted July 25, 2017 Thanks for the share +1 :) Quote Link to comment Share on other sites More sharing options...
Sawadee Posted July 28, 2017 Share Posted July 28, 2017 i have this problem: http://prntscr.com/g1ejfp cant register the usercommandhandler wtf Quote Link to comment Share on other sites More sharing options...
melron Posted July 28, 2017 Author Share Posted July 28, 2017 i have this problem: http://prntscr.com/g1ejfp cant register the usercommandhandler wtf Seems like you didnt add properly the user command (starts from line 606 in pb) Quote Link to comment Share on other sites More sharing options...
Sawadee Posted July 28, 2017 Share Posted July 28, 2017 Seems like you didnt add properly the user command (starts from line 606 in pb) well i fixed the problem :D but when i try to download the htmls part the link is down files are missing... so we have to make our own htmls? Quote Link to comment Share on other sites More sharing options...
melron Posted July 28, 2017 Author Share Posted July 28, 2017 (edited) well i fixed the problem :D but when i try to download the htmls part the link is down files are missing... so we have to make our own htmls? Link fixed. Thank you! Edited July 28, 2017 by melron Quote Link to comment Share on other sites More sharing options...
Sawadee Posted July 29, 2017 Share Posted July 29, 2017 Link fixed. Thank you! You're welcome :) Quote Link to comment Share on other sites More sharing options...
Rootware Posted July 29, 2017 Share Posted July 29, 2017 The better is not to use user commands if it's planned to use the frequently, because they can't be added to macroses. The client checks the maximum indexer for user commands when trying to use them in macros. For IL it's 115 (if i'm not mistaken). Quote Link to comment Share on other sites More sharing options...
`Rοmeο Posted August 2, 2017 Share Posted August 2, 2017 So how exactly this works? i just typed //setcoupon and it say `You dont have the access right to use this command but i have master accesss level 8 Quote Link to comment Share on other sites More sharing options...
melron Posted August 3, 2017 Author Share Posted August 3, 2017 So how exactly this works? i just typed //setcoupon and it say `You dont have the access right to use this command but i have master accesss level 8 You have to add the command in xml/adminCommands.xml Quote Link to comment Share on other sites More sharing options...
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.