Poring King Posted April 30, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted April 30, 2017 (edited) Hello rAthena Is there a possible to change the player permission using updating there mysql ? example : True = 1 false = 0 switch(select("(Enabled : Disable ")){ case 1: Enabled query"bblablalbablalba "so on so fort ... can_trade: true case 2: Disable can_trade: false query"bblablalbablalba "so on so fort ... } Edited April 30, 2017 by Poring King Quote Link to comment Share on other sites More sharing options...
0 Jey Posted April 30, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 249 Reputation: 73 Joined: 10/20/12 Last Seen: August 16, 2018 Share Posted April 30, 2017 You can create two (or more) groups in the groups conf and use the atcommand adjgroup. Quote Link to comment Share on other sites More sharing options...
0 Poring King Posted April 30, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Author Share Posted April 30, 2017 8 minutes ago, Jey said: You can create two (or more) groups in the groups conf and use the atcommand adjgroup. i already create a 4 group 1=normal 2= VIP silver 3= VIP Gold 4=VIP Premium The reason why i want to have it because to create a securty that enabled/disable . this can_trade permission is disallowing this group >>> item drop , trade , sell , vend etc... my idea is to enabled/disable 1 by 1 each of this by using script or what ever ? Example: Dropping item are current : Enabled Allowing your account to trade : Disable Allowing your account to sell : Enabled Allowing your account to vend : Disable Quote Link to comment Share on other sites More sharing options...
0 Jey Posted April 30, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 249 Reputation: 73 Joined: 10/20/12 Last Seen: August 16, 2018 Share Posted April 30, 2017 You'd need to implement this behavior by yourself in the source. Anyway there are already some other good options you could use: - Client's item drop lock - Using the hide_fav_sell config (hides favorite items from the selling window) Accidentally trading or vending an item seems pretty unusual for me. Quote Link to comment Share on other sites More sharing options...
Question
Poring King
Hello rAthena
Is there a possible to change the player permission using updating there mysql ?
example : True = 1 false = 0
switch(select("(Enabled : Disable ")){
case 1:
Enabled query"bblablalbablalba "so on so fort ...
can_trade: true
case 2:
Disable
can_trade: false
query"bblablalbablalba "so on so fort ...
Edited by Poring King}
Link to comment
Share on other sites
3 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.