Jump to content

Acis Coupons + Redeem


Recommended Posts

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 by melron
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 by melron
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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
Reply to this topic...

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