Register for your free account! | Forgot your password?

You last visited: Today at 03:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help] Invalid Jump

Discussion on [Help] Invalid Jump within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 187
Received Thanks: 45
[Help] Invalid Jump

Could someone help me get rid of invalid Jump or Help me to increase the range I must jump before I get invalid jump? I've been looking through Jump.cs and character.cs but im not sure what I need to change.

Thanks
Andrew.A
Andrew.A is offline  
Old 12/07/2009, 21:10   #2
 
elite*gold: 0
Join Date: Dec 2009
Posts: 7
Received Thanks: 3
It is mostly caused by lag. It has happened to me a few times.
T0AD is offline  
Old 12/08/2009, 08:39   #3
 
UnoAmigos's Avatar
 
elite*gold: 0
Join Date: Feb 2009
Posts: 192
Received Thanks: 107
Quote:
Originally Posted by Andrew.A View Post
Could someone help me get rid of invalid Jump or Help me to increase the range I must jump before I get invalid jump? I've been looking through Jump.cs and character.cs but im not sure what I need to change.

Thanks
Andrew.A
Im not using 5165 but maybe i can help you using CoEmu..

Okay here we go....

Code:
public static void Jump(int X, int Y, ClientSocket CSocket)
		{
			//Check if jump distance is too large!
			int Dis1 = 0;
			if(X < CSocket.Client.X)
				Dis1 = Math.Abs(X - CSocket.Client.X);
			else
				Dis1 = Math.Abs(CSocket.Client.X - X);
			int Dis2 = 0;
			if(Y < CSocket.Client.Y)
				Dis2 = Math.Abs(Y - CSocket.Client.Y);
			else
				Dis2 = Math.Abs(CSocket.Client.Y - Y);
            if (CSocket.Client.Map == Struct.Maps.faction)
            {
                if (Dis1 > 11 || Dis2 > 11)[COLOR="red"] <---- you can change this up to 18 to above i think..this jump is for Guild map Only...[/COLOR]
                {
                    CSocket.Send(ConquerPacket.General(CSocket.Client.ID, 0, 0, CSocket.Client.X, CSocket.Client.Y, 0, Struct.DataType.CorrectCords));
                    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Jump too large!", Struct.ChatType.Top));
                    return;
                }
            }
            else
            {
                if (Dis1 > 18 || Dis2 > 18)[COLOR="Red"] <---- you can change this..this jump is for any map..[/COLOR]
                {
                    CSocket.Send(ConquerPacket.General(CSocket.Client.ID, 0, 0, CSocket.Client.X, CSocket.Client.Y, 0, Struct.DataType.CorrectCords));
                    CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", CSocket.Client.Name, "Jump too large!", Struct.ChatType.Top));
                    return;
                }
            }
This code is from CoEmu, I just edited it..
UnoAmigos is offline  
Reply


Similar Threads Similar Threads
[HELP] How Can I Fix Invalid Jump?
02/09/2010 - CO2 Private Server - 6 Replies
How can I fix invalid jump? It is very annoying to me.
[FIX] Invalid Jump
01/20/2010 - CO2 PServer Guides & Releases - 5 Replies
Removed.
[HELP] Invalid Jump
01/20/2010 - CO2 Private Server - 6 Replies
Can someone help me fix invalid jump? It is very annoying.
invalid walk and invalid jump
03/04/2009 - Conquer Online 2 - 10 Replies
I think I found something important for speedhack makers I found that invalid walk and invalid jump messages happens when you have high ping(over 5k) and I think that all TQ done to stop speedhackers is they only added new kind of client check which reads your last position from the server and your new position and then compare them with the time cuz you can jump like 1 pixel in eac .5 sec(not sure) I think of this because : 1- this is the only possible check they can add they can't add...



All times are GMT +1. The time now is 03:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.