Fresh prince Posted March 18, 2013 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 March 18, 2013 Hello! Id like to request for an atcommand that disables you to trade and be ask to trade. I understand that theres @noask but i want the user not be able to trade. In other words, no incoming and outgoing trade requests once activated the @notrade. Thank you!! Quote Link to comment Share on other sites More sharing options...
nndsl Posted March 18, 2013 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 53 Reputation: 3 Joined: 11/28/11 Last Seen: June 1, 2016 Share Posted March 18, 2013 (edited) +1 @notrade - Invisible autotraders on map. good idea ))) Edited March 18, 2013 by nndsl Quote Link to comment Share on other sites More sharing options...
Senshuken Posted March 19, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 04/14/12 Last Seen: May 11, 2016 Share Posted March 19, 2013 Isn't this basically /notrade command? Quote Link to comment Share on other sites More sharing options...
Fresh prince Posted March 19, 2013 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 March 19, 2013 it is, but can't send / commands to the client. I'm building a security code and this will surely be a great help. ty Quote Link to comment Share on other sites More sharing options...
Senshuken Posted March 21, 2013 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 04/14/12 Last Seen: May 11, 2016 Share Posted March 21, 2013 (edited) Well here's a simple @notrade with some source edit. There might be a better way to do this. I changed some of structs to include a new field int no_trade. Anyways to add the patch, first put the file in the root directory your server then do the following: patch -p0 < notrade.patch To remove the changes do patch -p0 -R < notrade.patch To change the default state of the notrade change it at the bottom of the player.conf file // conf/battle/player.conf // Disable trading between players unless they turn it off // Default: 0 (0: disabled, 1: enabled). // [Senshuken] no_trade: 0 I haven't tested it extensively, just did a small test. Let me know how it works out for you. PS: If someone finds my way of doing this a bad idea, please let me know what I can do to improve it. Thanks. notrade.patch Edited March 21, 2013 by Senshuken Quote Link to comment Share on other sites More sharing options...
Question
Fresh prince
Hello!
Id like to request for an atcommand that disables you to trade and be ask to trade.
I understand that theres @noask but i want the user not be able to trade. In other words, no incoming and outgoing trade requests once activated the @notrade.
Thank you!!
Link to comment
Share on other sites
4 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.