Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Making the unlimited text message only show up for Non-GMs

Status
Not open for further replies.
Initiate Mage
Joined
Jan 8, 2007
Messages
41
Reaction score
0
This message will only show that DISREGARD message(unless changed) when a Non-GM char uses it. GM's are able to say unlimited stuff like the hack intended.
Credits to tensyume for the original removal

1. Open up net.sf.odinms.net.channel.handler.generalchathandler.java

2. Find:
Code:
String text = slea.readMapleAsciiString();
Below, Add:
Code:
boolean isGM = c.getPlayer().isGM();

3. Find:
Code:
text = "DISREGARD THAT I SUCK penis";
Replace with:
Code:
if (!isGM) {
text = "DISREGARD THAT I SUCK penis";
}

Done =)
Made with SeanPack 5.9, not tested.
 
Junior Spellweaver
Member
Joined
Apr 23, 2008
Messages
155
Reaction score
2
Re: [Release]Making the unlimited text message only show up for Non-GMs

couldnt the localhost edited client do taht anyways? Tahnks for the release anyways o.o
 
Junior Spellweaver
Joined
Apr 26, 2008
Messages
134
Reaction score
0
Re: [Release]Making the unlimited text message only show up for Non-GMs

Thanks. Helpful for me. lol
 
Custom Title Activated
Member
Joined
Jun 30, 2008
Messages
3,451
Reaction score
1,615
Re: [Release]Making the unlimited text message only show up for Non-GMs

This is pretty stupid. If you change it Non-Gm's cant talk anymore only spam >.> but then you get that freaking message. try editing it so they can still talk >..<
 
Master Summoner
Member
Joined
Apr 27, 2008
Messages
596
Reaction score
0
Re: [Release]Making the unlimited text message only show up for Non-GMs

Helpful~
 
Status
Not open for further replies.
Back
Top