Changing Min/Max Meso Drop

Status
Not open for further replies.
Junior Spellweaver
Joined
Jun 26, 2008
Messages
145
Reaction score
0
Go to 'MesoDropHandler.java'

Than find,

Code:
	public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
		slea.readInt(); // i don't know :)
		int meso = slea.readInt();
		if (meso < 10 || meso > 50000) {
			//AutobanManager.getInstance().addPoints(c, 1000, 0, "Dropping " + meso + " mesos");
			return;

Change the "if (meso < 10 || meso > 50000) {"

To whatever you want. Enjoy.
 
Re: [Release] Changing Min/Max Meso Drop

It compiled fine when I changed the numbers. I'll test it too to see if it works.

@zephyic
Have you tested it?
 
Re: [Release] Changing Min/Max Meso Drop

It compiled fine when I changed the numbers. I'll test it too to see if it works.

@zephyic
Have you tested it?

ya i tested it with my current client apparently it doesnt work..
i guess i need to change the values in the client also..
i test it later
 
Re: [Release] Changing Min/Max Meso Drop

andrew667 - Changing Min/Max Meso Drop - RaGEZONE Forums


It ain't work!
 
Last edited:
Re: [Release] Changing Min/Max Meso Drop

Yeah, tested and it doesn't work. I knew it had to be more complicated than that.
 
Re: [Release] Changing Min/Max Meso Drop

//AutobanManager.getInstance().addPoints(c, 1000, 0, "Dropping " + meso + " mesos");

Thats just for the autoban manager. As you can see, the script does nothing. Just return.
 
Re: [Release] Changing Min/Max Meso Drop

It does do something, I got it working for me, it's cuz you guys dont edit your clients. Replace All 50000 with the number you put there (32bit Signed and 32bit Double)
 
Re: [Release] Changing Min/Max Meso Drop

that just manages autoban, if you drop 9-1 mesos it bans you, if you drop 50001+ it will ban you.
 
Re: [Release] Changing Min/Max Meso Drop

public void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
slea.readInt(); // i don't know :)
int meso = slea.readInt();
if (meso < 10 || meso > 50000) {
//AutobanManager.getInstance().addPoints(c, 1000, 0, "Dropping " + meso + " mesos");
return;

The

if (meso < 10 || meso > 50000) {

is for the autoban, meaning it will add autoban points if a user drops less then 10 mesos or more then 50000 mesos.

Doing this

//AutobanManager.getInstance().addPoints(c, 1000, 0, "Dropping " + meso + " mesos");

Just takes out the autoban.

You have to hex edit your client aswell
 
Re: [Release] Changing Min/Max Meso Drop

The

if (meso < 10 || meso > 50000) {

is for the autoban, meaning it will add autoban points if a user drops less then 10 mesos or more then 50000 mesos.

Doing this



Just takes out the autoban.

You have to hex edit your client aswell

Comment the 'return;' statement as well =P
 
Re: [Release] Changing Min/Max Meso Drop

OMGROFLOL ;), this has to be edited inside the Client, if you were looking, this is against hacking only O.o, if the user drops above 50k or below 10mesos, then the person is hacking, lol O.o
 
Status
Not open for further replies.
Back