Master534 3 Posted April 5, 2018 Report Share Posted April 5, 2018 (edited) Hi, how can I delete the message "Hey, everyone, I just tried to do something very silly", when typing ::bank ? I tried to look up for the packet that sends it but I can't literally find any String or variable that could send it from server or client. I also noticed it uses a different outstream packet than normal commands use. I'm using #88 client. If anyone has this fixed, how can I do it myself? Edited April 5, 2018 by Master534 Link to comment Share on other sites More sharing options...
Master534 3 Posted April 8, 2018 Author Report Share Posted April 8, 2018 Bump! Link to comment Share on other sites More sharing options...
Archer 88 Posted April 17, 2018 Report Share Posted April 17, 2018 I'm not sure which source this is but since it's just a command with an if statement and a sendstring, it's probably in your PlayerCommand class. Do you have playercommand.java or something similar to that you could paste? Link to comment Share on other sites More sharing options...
Madara 767 Posted April 17, 2018 Report Share Posted April 17, 2018 Just search for that message in eclipse, you'll find the sendmessage string somewhere, just delete it, and fix the command to work for your player right lvl. Link to comment Share on other sites More sharing options...
xfukecx 0 Posted July 10, 2018 Report Share Posted July 10, 2018 If you want to remove this message you have to edit a cs2 script and compile it. It's not that easy. You could also hardcode it Link to comment Share on other sites More sharing options...
Master534 3 Posted July 11, 2018 Author Report Share Posted July 11, 2018 (edited) On 10.7.2018 at 10:30 PM, xfukecx said: If you want to remove this message you have to edit a cs2 script and compile it. It's not that easy. You could also hardcode it Thanks, I hardcoded it into my chat message packet, here is an example for anyone who is curious: if (text.equals("Hey, everyone, I just tried to do something very silly!")) { Bank.open(player); return; } Edited July 11, 2018 by Master534 Link to comment Share on other sites More sharing options...
bader 8 Posted July 14, 2018 Report Share Posted July 14, 2018 A horrible way to fix it lmao it's should be in your commands class, under the ::bank command lmao. Link to comment Share on other sites More sharing options...
Sadboys 33 Posted August 28, 2018 Report Share Posted August 28, 2018 Usually it's in your command class, if the player executing the command's rights are lower than the required rights it will force that chat. It's a pretty stupid "feature" especially if it's been put into a random file. The hard code as seen above is a horrible way of doing things because then you're allowing anyone to bank regardless of their rights and it's just going to clunk up your chat packet class. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now