Jump to content

Recommended Posts

Posted (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 by melron
Posted

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?

Posted

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

Posted

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

Posted

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?

Posted (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 by melron
Posted

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

Posted

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

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock