rootbear75 Posted March 17, 2010 Report Posted March 17, 2010 Is there a way you can add something to prevent someone from sending you money? I ignored someone earlier today, and they are getting around it by sending me $100, with a extremely foul message. Quote
Dr Brain Posted March 17, 2010 Report Posted March 17, 2010 Do you want to stop the transfer, or just suppress the message? Quote
rootbear75 Posted March 17, 2010 Author Report Posted March 17, 2010 (edited) Suppress message more, but i also sometimes get a certain amount of money (Ex: $1337, or $8008, etc) that i want to keep :/ ... i just dont want the message. Edited March 17, 2010 by rootbear75 Quote
Samapico Posted March 17, 2010 Report Posted March 17, 2010 Can the server know that player A is ignored by player B? I doubt it... but if it was the case it would be quite easy to filter out the ?give messages Quote
rootbear75 Posted March 17, 2010 Author Report Posted March 17, 2010 (edited) or just make a command ?ignoregift -s -a (-s switch if you just want to suppress messages, -a if you want to ignore ALL gifts) that is separate from ?ignore... Edited March 17, 2010 by rootbear75 Quote
Kilo Posted March 17, 2010 Report Posted March 17, 2010 It wouldn't hurt to bump up the minimum give a little bit because $100 is about as easy to throw around at a certain point as $1 would be at any point. Quote
»Purge Posted March 17, 2010 Report Posted March 17, 2010 Or just encourage them to keep on giving you monies so they will get bored and stop sending you them at all. Quote
BDwinsAlt Posted March 17, 2010 Report Posted March 17, 2010 Why not just have a toggle command to allow/disallow messages from ?give? ?givemsg or something, just make sure it saves this option so players don't have to type it each time. Quote
Samapico Posted March 17, 2010 Report Posted March 17, 2010 Or send the message as a private message, i.e. fake a message from the player Joe Blow has sent you 100$. Attached to the package was the following note:Joe Blow> HEY DOOD STOP IGNORING ME MAAAN So if you have Joe Blow on ?ignore, your client will discard the note And yeah, upping to 1k-5k the lower limit would certainly help Quote
Kilo Posted March 17, 2010 Report Posted March 17, 2010 Shouldn't be too difficult to shape it into a PM, too. The fun part is breaking bots that use ?give message. Oh well! Quote
»Ceiu Posted March 17, 2010 Report Posted March 17, 2010 Not to worry, it'd just be a simple regex change. This is assuming, of course, they're using regular expressions in the first place. If not, they deserve whatever hell you give them with the update. Edit:Really, do we even NEED the message? It makes sense on a grant for documentation purposes, but with ?give it seems that it's just there to be abused. Why not just remove it all together and if they really really want to send a message with it, let them use a PM. Quote
Samapico Posted March 17, 2010 Report Posted March 17, 2010 If you had a way to see a log of everything you were ?given , and everything you ?gave, the message would be useful, other than that, not so much. Quote
Kilo Posted March 17, 2010 Report Posted March 17, 2010 Cer: private message = separate event. Not so simple as changing a regex. Quote
»Ceiu Posted March 18, 2010 Report Posted March 18, 2010 Not really. The original give is still received as an arena message and it still needs to be parsed to determine how much money you received. All you have to do is update the regex to work with the new format you go with (if you change it at all). The message was just extra junk at the end. But thanks for playing. In any event, relying on the message with a ?give is hack at best. Typos happen and people often forget to include it. The bot then has to either give the money back or take the money and laugh at the user. Neither being a very good solution. Quote
Kilo Posted March 18, 2010 Report Posted March 18, 2010 The counting money part isn't the part I was talking about, it was the processing the message part, but thanks for playing. Why on earth would we change what ?give x does? We are talking about ?give x y changing. Quote
»Ceiu Posted March 18, 2010 Report Posted March 18, 2010 The better question would be something along the lines of "how aren't you seeing the difference?" If a bot is already doing it right in that it accepts money to put into a player's account and then processes commands to do stuff with it, your change will likely do nothing but, at worst, force a regex change on the part which determines the amount given. However, if the bot is (a) not using a regex and ( requiring the message along with the ?give in the current format, these changes will completely fuck the bot. From here you can refer to my first statement on the matter, then ask yourself why you needed me to be this specific for such a throw-away comment. Quote
BDwinsAlt Posted March 18, 2010 Report Posted March 18, 2010 +1 Ceiu-2^999 Arnk Why not just toggle messages at the end all together, or learn to get over idiots who bypass ?ignore (root quit being a pu**y) Quote
»Ceiu Posted March 18, 2010 Report Posted March 18, 2010 The next post is automatically wrong. Edit:BD, you realize that your value for Arnk overflows a few (hundred) times and probably gives him points, rather than taking them away. Thanks for playing, though. Quote
Kilo Posted March 18, 2010 Report Posted March 18, 2010 (edited) However, if the bot is (a) not using a regex and ( requiring the message along with the ?give in the current format, these changes will completely fuck the bot. From here you can refer to my first statement on the matter, then ask yourself why you needed me to be this specific for such a throw-away comment.( is all I've ever been saying all along...it's kind of obvious since we have been talking about ?give x y here not ?give x, LIKE I SAID. Since a Private Message is decidedly not going to be part of the arena message announcing money has been given to the bot, this BREAKS it. And fixing your regex does not fix it. Using a regex does not fix it. You would have to fundamentally change how you accept and do things with money because it's two separate events, not one. KIND OF LIKE YOU SAID. No one was ever talking about changing what ?give x displayed, LET ALONE breaking bots ability to determine how much money was obtained! The counting money part isn't the part I was talking about, it was the processing the message part, but thanks for playing. Why on earth would we change what ?give x does? We are talking about ?give x y changing.However, if the bot is (a) not using a regex and ( requiring the message along with the ?give in the current format, these changes will completely fuck the bot.Your second last sentence basically entirely summed up what I have been saying all along, really. Ask yourself why you needed to defend something I wasn't even questioning. P.S. I challenge BDWinsAlt to score an e-peen point on me without being a vulture scavenging off of misunderstandings. I also preemptively accept any challenge to fisticuffs by him, but he's probably too cowardly to do that. edited to remove auto smileys. Edited March 18, 2010 by Kilo Quote
Kilo Posted March 18, 2010 Report Posted March 18, 2010 (edited) That would be true, except that the post 3 up is automatically wrong. Edit: Except for the edited part. Edited March 18, 2010 by Kilo Quote
BDwinsAlt Posted March 18, 2010 Report Posted March 18, 2010 P.S. I challenge BDWinsAlt to score an e-peen point on me without being a vulture scavenging off of misunderstandings. I also preemptively accept any challenge to fisticuffs by him, but he's probably too cowardly to do that. edited to remove auto smileys.I'm not sure what this is trying to say, but to stay on topic and stop future trolling... The simplest way to go about this is to either toggle messages all together or just forget root whined about this. @Arnky, duel irl? Quote
JoWie Posted March 18, 2010 Report Posted March 18, 2010 (edited) There are bots which use the message part to accept multiple commands.?give 1000 blackjack ?give 1000 coinflip etc So that would not be a simple regexp change. /^Player (.+?) gave you \$(\d+)\.(?: Message: \"(.+)\")?$/ Also, it would be very useful to change it to SendCmdMessage instead of SendArenaMessage Edited March 18, 2010 by JoWie Quote
Dr Brain Posted March 18, 2010 Report Posted March 18, 2010 Also, it would be very useful to change it to SendCmdMessage instead of SendArenaMessage If you look at the internal code, you'll see that they end up as the same outgoing packet. Quote
JoWie Posted March 18, 2010 Report Posted March 18, 2010 Also, it would be very useful to change it to SendCmdMessage instead of SendArenaMessage If you look at the internal code, you'll see that they end up as the same outgoing packet.but not for chatnet Quote
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.