Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 11:21

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

Advertisement



fix for invalid jump 5165? (maybe solution)

Discussion on fix for invalid jump 5165? (maybe solution) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 452
Received Thanks: 75
fix for invalid jump 5165? (maybe solution)

I was checking alot about the invalid jump thing.
When it keeps spam u invalid jump.
I saw it was when NPC's aint spawning on ur screen, then u just have to walk/run to the area with the npc's wich aint spawning.

Can it be because NPC maybe spawn before your character?

So the solution could be to move NPCspawning before Character spawning?

Original spawn:
Code:
public static void Spawns(Character C, bool Check)
        {
            try
            {
                COPacket CSpawn = Packets.SpawnEntity(C);
                foreach (Character CC in H_Chars.Values)
                {
                    if (CC != C && CC.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, CC.Loc.X, CC.Loc.Y, 17) && !MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, CC.Loc.X, CC.Loc.Y, 17) || !Check)
                    {
                        C.MyClient.AddSend(Packets.SpawnEntity(CC));
                        if (CC.MyGuild != null)
                            C.MyClient.AddSend(Packets.String(CC.MyGuild.GuildID, (byte)StringType.GuildName, CC.MyGuild.GuildName));

                        CC.MyClient.AddSend(CSpawn);
                        if (C.MyGuild != null)
                            CC.MyClient.AddSend(Packets.String(C.MyGuild.GuildID, (byte)StringType.GuildName, C.MyGuild.GuildName));
                    }
                }
                Hashtable MapMobs = (Hashtable)H_Mobs[C.Loc.Map];
                if (MapMobs != null)
                {
                    foreach (Mob M in MapMobs.Values)
                        if (M.Alive && MyMath.InBox(C.Loc.X, C.Loc.Y, M.Loc.X, M.Loc.Y, 16) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, M.Loc.X, M.Loc.Y, 16) || !Check))
                            C.MyClient.AddSend(Packets.SpawnEntity(M));
                }
                Hashtable MapItems = (Hashtable)H_Items[C.Loc.Map];
                if (MapItems != null)
                {
                    foreach (DroppedItem DI in MapItems.Values)
                        if (MyMath.InBox(C.Loc.X, C.Loc.Y, DI.Loc.X, DI.Loc.Y, 14) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, DI.Loc.X, DI.Loc.Y, 14) || !Check))
                            C.MyClient.AddSend(Packets.ItemDrop(DI));
                }
                foreach (NPC N in H_NPCs.Values)
                    if (N.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, N.Loc.X, N.Loc.Y, 14) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, N.Loc.X, N.Loc.Y, 14) || !Check))
                    {
                        if (N.MaxHP == 0)
                            C.MyClient.AddSend(Packets.SpawnNPC(N));
                        else
                            C.MyClient.AddSend(Packets.SpawnNPCWithHP(N));
                    }

                foreach (Features.PersonalShops.Shop S in H_PShops.Values)
                    if (S.NPCInfo.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, S.NPCInfo.Loc.X, S.NPCInfo.Loc.Y, 14) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, S.NPCInfo.Loc.X, S.NPCInfo.Loc.Y, 14) || !Check))
                    {
                        C.MyClient.AddSend(Packets.SpawnNamedNPC(S.NPCInfo, S.Name));
                        if (S.Hawk != "")
                            C.MyClient.AddSend(Packets.ChatMessage(26514, S.Owner.Name, "ALL", S.Hawk, 2104, 0));
                    }
                foreach (Companion Cmp in H_Companions.Values)
                    if (Cmp.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, Cmp.Loc.X, Cmp.Loc.Y, 16) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, Cmp.Loc.X, Cmp.Loc.Y, 16) || !Check))
                        C.MyClient.AddSend(Packets.SpawnEntity(Cmp));
                Features.GuildWars.ThePole.Spawn(C, Check);
                Features.GuildWars.TheLeftGate.Spawn(C, Check);
                Features.GuildWars.TheRightGate.Spawn(C, Check);
            }
            catch { }
        }
Spawn switch
Code:
public static void Spawns(Character C, bool Check)
        {
            try
            {
                COPacket CSpawn = Packets.SpawnEntity(C);
                foreach (NPC N in H_NPCs.Values)
                    if (N.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, N.Loc.X, N.Loc.Y, 14) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, N.Loc.X, N.Loc.Y, 14) || !Check))
                    {
                        if (N.MaxHP == 0)
                            C.MyClient.AddSend(Packets.SpawnNPC(N));
                        else
                            C.MyClient.AddSend(Packets.SpawnNPCWithHP(N));
                    }
                foreach (Character CC in H_Chars.Values)
                {
                    if (CC != C && CC.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, CC.Loc.X, CC.Loc.Y, 17) && !MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, CC.Loc.X, CC.Loc.Y, 17) || !Check)
                    {
                        C.MyClient.AddSend(Packets.SpawnEntity(CC));
                        if (CC.MyGuild != null)
                            C.MyClient.AddSend(Packets.String(CC.MyGuild.GuildID, (byte)StringType.GuildName, CC.MyGuild.GuildName));

                        CC.MyClient.AddSend(CSpawn);
                        if (C.MyGuild != null)
                            CC.MyClient.AddSend(Packets.String(C.MyGuild.GuildID, (byte)StringType.GuildName, C.MyGuild.GuildName));
                    }
                }
                Hashtable MapMobs = (Hashtable)H_Mobs[C.Loc.Map];
                if (MapMobs != null)
                {
                    foreach (Mob M in MapMobs.Values)
                        if (M.Alive && MyMath.InBox(C.Loc.X, C.Loc.Y, M.Loc.X, M.Loc.Y, 16) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, M.Loc.X, M.Loc.Y, 16) || !Check))
                            C.MyClient.AddSend(Packets.SpawnEntity(M));
                }
                Hashtable MapItems = (Hashtable)H_Items[C.Loc.Map];
                if (MapItems != null)
                {
                    foreach (DroppedItem DI in MapItems.Values)
                        if (MyMath.InBox(C.Loc.X, C.Loc.Y, DI.Loc.X, DI.Loc.Y, 14) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, DI.Loc.X, DI.Loc.Y, 14) || !Check))
                            C.MyClient.AddSend(Packets.ItemDrop(DI));
                }

                foreach (Features.PersonalShops.Shop S in H_PShops.Values)
                    if (S.NPCInfo.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, S.NPCInfo.Loc.X, S.NPCInfo.Loc.Y, 14) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, S.NPCInfo.Loc.X, S.NPCInfo.Loc.Y, 14) || !Check))
                    {
                        C.MyClient.AddSend(Packets.SpawnNamedNPC(S.NPCInfo, S.Name));
                        if (S.Hawk != "")
                            C.MyClient.AddSend(Packets.ChatMessage(26514, S.Owner.Name, "ALL", S.Hawk, 2104, 0));
                    }
                foreach (Companion Cmp in H_Companions.Values)
                    if (Cmp.Loc.Map == C.Loc.Map && MyMath.InBox(C.Loc.X, C.Loc.Y, Cmp.Loc.X, Cmp.Loc.Y, 16) && (!MyMath.InBox(C.Loc.PreviousX, C.Loc.PreviousY, Cmp.Loc.X, Cmp.Loc.Y, 16) || !Check))
                        C.MyClient.AddSend(Packets.SpawnEntity(Cmp));
                Features.GuildWars.ThePole.Spawn(C, Check);
                Features.GuildWars.TheLeftGate.Spawn(C, Check);
                Features.GuildWars.TheRightGate.Spawn(C, Check);
            }
            catch { }
        }
dowhatuwant is offline  
Old 09/20/2010, 20:58   #2
 
FrontBoy's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 275
Received Thanks: 142
#request close there is a thread what works fine for me to fix the invalid jump PS: Search a little bit.
FrontBoy is offline  
Old 09/20/2010, 23:01   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
this is not a request douche.
this is the posibble fix.
ur fix is probably the one to remove it.

and u can request close on my thread.
Fish* is offline  
Old 09/22/2010, 19:22   #4
 
FrontBoy's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 275
Received Thanks: 142
douche i sayed #request close because i request to close the thread huh douche...
FrontBoy is offline  
Old 09/22/2010, 21:31   #5
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
u will request a close for no reason, **** dude u fail.

x10000 was too lazy to search for it on google.

u serious made my day
Fish* is offline  
Reply


Similar Threads Similar Threads
ZSZC 105 Solution Got invalid Target? come
08/13/2010 - SRO Private Server - 13 Replies
Guys, i've got a friend who found the solution about the ZSZC level 105 Client when you use bot you'll get that invalid target, so the solution is Go Configs -> Use Radius . Make it Radius 60 or + and its gonna work fine with ya ;). it works fine with me
[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...
My solution for Agbot invalid targets
04/10/2008 - SRO Hacks, Bots, Cheats & Exploits - 2 Replies
Yahoooo :P i found out solution of almost all of my problems in Agbot :P i dont know if someone have posted this before .. but i cant find it in main page of this thread >_> i used to get ALOT of invalid targets while picking up a mob .. bot stops for a loooong time and dont pick items that drop like gold \ alchamy drop etc etc .. so solution is . raise process priority of agbot to above normal ( it wont hurt your other programs when you raise process priority of agbot ) once you do that .....



All times are GMT +2. The time now is 11:21.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.