Well, on my 5071 source, I got a lot of things good to go, but now I have one really bad problem. If you jump once, then move at all you get dc'd. No matter what. You jump, then walk, boom dc. I been trying to fix this on my own for a few days, but no success. Here's some snippets of codes that deal with players jumping and walking. Does anyone see anything wrong with it, or do you think it may have something to do with setting location?
Try debugging it! I had the same problem with my custom source and I figured out that it was the NPCs that weren't spawning correctly... but if your NPCs and Mobs are spawning correctly, I'd check your movement packet. What happens if you jump and then jump again? Does it do the same thing?
Try debugging it! I had the same problem with my custom source and I figured out that it was the NPCs that weren't spawning correctly... but if your NPCs and Mobs are spawning correctly, I'd check your movement packet. What happens if you jump and then jump again? Does it do the same thing?
Npcs and mobs spawn correctly, I login where there are npcs and mobs, and they are there, no problem. And obviously I tried debugging it or else Iwouldn't have posted asking for help. And I said any player movement causes dc. Jump+walk, or jump +jump.
What about just walking? Just... any kind of movement what so ever? How are the coordinate variables being saved? Because it looks like that handler might be correct. Did you run a block test to see what the new coords are and do they match what you're doing on the server?
What about just walking? Just... any kind of movement what so ever? How are the coordinate variables being saved? Because it looks like that handler might be correct. Did you run a block test to see what the new coords are and do they match what you're doing on the server?
You can walk, for a good 5 or so seconds, then it disconnects. But if you just stay still, you don't disconnect. And yes yes I did that. And they matched.
You can walk, for a good 5 or so seconds, then it disconnects. But if you just stay still, you don't disconnect. And yes yes I did that. And they matched.
That's so weird... so the coords are matching... is it possible that they're not saving and the system is getting stuck with them making the client socket lag? That could make it disconnect. How is it saving these variables?
What does the console say? Nothing? Do a lot of breakpoint tests on 1 jump and see where it disconnects... not only in the Jump handler but where it goes after that. We can't see your source so it's kinda hard to help. =\
Well, on my 5071 source, I got a lot of things good to go, but now I have one really bad problem. If you jump once, then move at all you get dc'd. No matter what. You jump, then walk, boom dc. I been trying to fix this on my own for a few days, but no success. Here's some snippets of codes that deal with players jumping and walking. Does anyone see anything wrong with it, or do you think it may have something to do with setting location?
go in wherever you got the disconnection sequence ( Socket.Disconnect or Socket.ShutDown ) and generate an exception.
Make sure you have a single try-catch in the packet handler like so your exception will be caught by the try-catch from your packet handler.
Eg:
public void Disconnect()
{
throw new Exception("this is just a helpful exception");
if(Socket.Connected)
{
Socket.Disconnect(false);
Socket.Close();
}
LogOff();
}
Once you do that, try to move the way you said and when you should disconnect, the exception will be thrown. Once the exception is thrown, just follow the stack trace and see where it goes till it gets to the disconnection sequence. It will be helpful.
[Problem] Jumping and Walking being Viewed 08/04/2010 - CO2 Private Server - 2 Replies Hey! I fixed Character Spawning...
but there's a problem with walking and jumping.
It does it right for the character running or walking; but when the walking action is being viewed, the viewed character is just standing there... but he's supposed to be walking and is walking.
Same with jump. They appear in the screen - not even in a half jump... and then they jump out to the top right no matter where you jump.
public static byte Walk(int Direction, int UID)
{
...
anyone has this problem? ms jumping very fast 11/05/2008 - Dekaron - 5 Replies ok i was wondering if anyone has this problem. everything was working fine at the start. but after a few hours i started to have this problem. whenever i went into the game, the ms would keep increasing from 200 to 20000 and ill just dc. its impossible for me to trainn like this. even when i restart my computer and stuff, its still occuring. My internet connection has no problem so it should not be the cause.
Does anyone else face this problem too, and can anyone teach me how to fix this? help...
Jumping problem 01/19/2006 - Conquer Online 2 - 7 Replies I get a jumping problem after reinstalling conquer last night. I used to jump my two legs togheter, but now, I jump like if i was walking in the air, the two legs moving and I also see other players jumping like that.Can anyone help me?(I also feel that im jumping slower this way)Thank you in advance for anyone who could help!
Jumping problem 12/08/2005 - Conquer Online 2 - 0 Replies OK, here is what happened, after CO2 came out, too many errors and glitches happened, so I decided to redownload and reinstall the whole game all over again, after reinstalling, everything is fine, but once i logged into my tro, i realize it jumps totally different than it used to be. I have a small male tro. Before, it jumps with its leg close together, you guys should know what i mean. But now, it jumps like a small male tao, or a female tao, it jumps with its legs moving back and forth. The...