Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Ouch. 100 ping on the network? :\
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
I have the same on both my external and internal IP =/ And it kinda always goes to the same numbers =/... there most be something wrong with the ping system.. *starts digging in the code*
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
There really isn't.
And a ping should be at the same numbers.
I only get 100 ping on foreign servers though, so either your server us spurting out thousands of packets, or something is wrong with your computer.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
You removed all that?
If so, you've uncapped your FPS and the only thing keeping it low is that you have some much stuff being blted on screen constantly.
Also, to smooth your movement change that 50 to 25.
Oh, and the reason your ping rises so much is because you're sending and receiving packets a lot faster.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Yeah, Ill change it to something like that. Still I dont know why the ping are like it is.
Edit: The ping is around 40 now, so thats a little better. I tried running 2 games to compare the values and they were mostly the same.
Dragoons Master
Unregistered
Make sure there is no packet being sent to you if you are alone and stopped not moving doing nothing. If there is, then the code sux, sry.
You can't have any packet like... HP, MP, SP being sent all the time, you need to update that client side only when it changes server side.
That's the reason I used to get so low pings, now they are all around 10-20, that's a good one!
EDIT: Alone on the server too...
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
So people shouldn't be receiving other player and npc movement? xD!
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Posts: 2,605
Threads: 412
Joined: Nov 2021
Reputation:
0
Only the default things are being sent, I havnt added anything that would send over and over again.
Dragoons Master
Unregistered
Player HP, MP, SP are sent time to time by default, don't do that, that's a fix for MSE2...