|
You last visited: Today at 00:07
Advertisement
[Mini-Release] Fix invaild jump problem
Discussion on [Mini-Release] Fix invaild jump problem within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
02/22/2010, 19:10
|
#1
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
[Mini-Release] Fix invaild jump problem
some ppl have problems with invaild jump, its annoying
and when u are transformed into a divine hare u can't jump with it
just replace ur jump.cs with this one
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewestCOServer.PacketHandling
{
public class Jump
{
public static void Handle(Main.GameClient GC, byte[] Data)
{
if (GC.MyChar.BuffOf(NewestCOServer.Features.SkillsClass.ExtraEffect.BlessPray).Eff == NewestCOServer.Features.SkillsClass.ExtraEffect.BlessPray)
GC.MyChar.RemoveBuff(GC.MyChar.BuffOf(Features.SkillsClass.ExtraEffect.BlessPray));
GC.MyChar.Mining = false;
GC.MyChar.AtkMem.Attacking = false;
GC.MyChar.Action = 100;
if (GC.MyChar.StatEff.Contains(NewestCOServer.Game.StatusEffectEn.Ride))
{
if (GC.MyChar.Vigor >= 5)
GC.MyChar.Vigor -= 5;
else return;
}
Game.World.Action(GC.MyChar, Data);
GC.MyChar.Loc.Jump(BitConverter.ToUInt16(Data, 8), BitConverter.ToUInt16(Data, 10));
Game.World.Spawns(GC.MyChar, true);
}
}
}
|
|
|
02/22/2010, 19:39
|
#2
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
this conde should only be temp
|
|
|
02/22/2010, 19:53
|
#3
|
elite*gold: 0
Join Date: Mar 2006
Posts: 61
Received Thanks: 88
|
yea you eliminate invalid jump but it worth refill area with invisible all npc or lag you when you use high jumps.
|
|
|
02/22/2010, 20:08
|
#4
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
Quote:
Originally Posted by glover
yea you eliminate invalid jump but it worth refill area with invisible all npc or lag you when you use high jumps.
|
well,iam a very noob coder and i tried my best at least no more invaild jump
#edit Important updated first post
i fixed this problem
|
|
|
02/22/2010, 20:30
|
#5
|
elite*gold: 0
Join Date: Feb 2010
Posts: 180
Received Thanks: 82
|
Good one, keep good working
|
|
|
02/22/2010, 20:40
|
#6
|
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
|
Goob job. Going to remove my Invalid jump now.
|
|
|
02/22/2010, 23:01
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
|
When are people going to realize this is not a bug.
This is just your dmaps at work.
|
|
|
02/23/2010, 08:15
|
#8
|
elite*gold: 0
Join Date: Apr 2008
Posts: 275
Received Thanks: 43
|
SO this is really working? so that will add this one?
|
|
|
02/23/2010, 09:38
|
#9
|
elite*gold: 0
Join Date: Sep 2009
Posts: 321
Received Thanks: 60
|
is a code really needed ive only been playing with C# for about 2 weeks and the first thing i did to the game was delete the invalid jump i thought it was just common sence how to fix it rotflol.
|
|
|
02/23/2010, 15:00
|
#10
|
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
|
Quote:
Originally Posted by LegalConquer
is a code really needed ive only been playing with C# for about 2 weeks and the first thing i did to the game was delete the invalid jump i thought it was just common sence how to fix it rotflol.
|
(Interest in) C# + Common Sense = Ability to be a very good coder.
I think removing it is very unsafe though.
Simply using a way to run a program at a speed of 2 x the normal speed (or what ever speed u prefer) will give the ability to be very fast. At some point it checks if your distance is above x "distance" (Don't know what unit they use.), you should change that to a little bit bigger distance.
|
|
|
02/23/2010, 19:11
|
#11
|
elite*gold: 0
Join Date: May 2008
Posts: 66
Received Thanks: 2
|
Quote:
Originally Posted by [GM]
some ppl have problems with invaild jump, its annoying
and when u are transformed into a divine hare u can't jump with it
just replace ur jump.cs with this one
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewestCOServer.PacketHandling
{
public class Jump
{
public static void Handle(Main.GameClient GC, byte[] Data)
{
if (GC.MyChar.BuffOf(NewestCOServer.Features.SkillsClass.ExtraEffect.BlessPray).Eff == NewestCOServer.Features.SkillsClass.ExtraEffect.BlessPray)
GC.MyChar.RemoveBuff(GC.MyChar.BuffOf(Features.SkillsClass.ExtraEffect.BlessPray));
GC.MyChar.Mining = false;
GC.MyChar.AtkMem.Attacking = false;
GC.MyChar.Action = 100;
if (GC.MyChar.StatEff.Contains(NewestCOServer.Game.StatusEffectEn.Ride))
{
if (GC.MyChar.Vigor >= 5)
GC.MyChar.Vigor -= 5;
else return;
}
Game.World.Action(GC.MyChar, Data);
GC.MyChar.Loc.Jump(BitConverter.ToUInt16(Data, 8), BitConverter.ToUInt16(Data, 10));
Game.World.Spawns(GC.MyChar, true);
}
}
}
|
well i never ever had this invalid jump problem it only if u jump way to far ull see u cant jump there but 3 inches infront of me never ever seen invalid jump i dunno why everyone getting this
|
|
|
02/23/2010, 19:38
|
#12
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
|
maybe u dont load dmaps :O
also this dun happen to me on Localhost but if ping gets 150+
|
|
|
02/27/2010, 16:31
|
#13
|
elite*gold: 0
Join Date: Jul 2008
Posts: 30
Received Thanks: 4
|
thanks a lot dude
|
|
|
02/28/2010, 03:24
|
#14
|
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
|
As .Arco said this IS unsafe when you jump and you would normally get it you would go back to were you were now then if you remove it do some jumping relog ROLL BACKS you go back to were you were when you should have got the invalid jump so kill 50 monsters got 500cps you loose it all!
|
|
|
03/06/2010, 00:17
|
#15
|
elite*gold: 20
Join Date: Jun 2005
Posts: 1,489
Received Thanks: 301
|
Quote:
Originally Posted by ~Yuki~
maybe u dont load dmaps :O
also this dun happen to me on Localhost but if ping gets 150+
|
that is easily solvable with a referesher that compensates for varying ping/lag rates so that doesn't happen. Tanel never learned or cared to add this into his sources thus why you get invisible npcs and mobs ect on maps when you move too fast or ping spikes and u have to jump off screen and come back for things to again become visible this is because there is no refresh rate coded into it.
Add that and your problem will be solved.
|
|
|
Similar Threads
|
[Release]Imba Jump Hack or High Jump
09/26/2010 - Soldier Front Hacks, Bots, Cheats & Exploits - 127 Replies
Hello there anyways I am here again just for me to release this nice .cfg file to make your jumping more higher and better even though you are just using the space bar and I will say this unto you all things has a Pros and Cons even though it is very nice.
=============================
: This file makes things easier for you to jump, it will make you look like a Pro like that video that I have posted below.
=============================
: You will not enhance your skills because you are...
|
All times are GMT +1. The time now is 00:07.
|
|