|
You last visited: Today at 08:49
Advertisement
Question On Ping Packet
Discussion on Question On Ping Packet within the CO2 Private Server forum part of the Conquer Online 2 category.
09/23/2011, 08:19
|
#1
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
Question On Ping Packet
If the client doesnt receive a response from the ping packets after X amount of time, will the client disconnect? The reason I ask, is because id like to use the last jump of the player, and after x amount of time, stop responding to ping packets from the client. That way its less load on the server.
|
|
|
09/23/2011, 08:32
|
#2
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
The ping packet does not really take any resources. If your server/source can't handle that, then you need some improvement on other areas.
|
|
|
09/23/2011, 08:36
|
#3
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
eh, it doesnt really take much, just the more players the more it takes. Not saying mine will get this high, but for a server with 400 players, thats around 100 packets sent every second that isnt needed. Dont see the point in doing it if i could just ignore it.
|
|
|
09/23/2011, 08:43
|
#4
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
400 players, that's 400 packets.
Also it's not like it will do anything at all. The packet is not bigger than some few bytes.
|
|
|
09/23/2011, 08:44
|
#5
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
it doesnt go every second i dont believe, thats why i said 100. I think it goes every like 5 seconds or so.
|
|
|
09/23/2011, 08:46
|
#6
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
Quote:
Originally Posted by 12k
it doesnt go every second i dont believe, thats why i said 100. I think it goes every like 5 seconds or so.
|
Oh you meant at once, but it doesn't really do anything. I'm not sure if it's necessary thought. You could try not responding to the client with it and see if you get disconnected.
|
|
|
09/23/2011, 08:48
|
#7
|
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
|
yeah, i prob will, just wasnt at home so thought id ask :P. It prob wont help much, was just an idea. Every bit helps i guess tho lolz.
|
|
|
09/23/2011, 08:58
|
#8
|
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
|
Quote:
Originally Posted by 12k
it doesnt go every second i dont believe, thats why i said 100. I think it goes every like 5 seconds or so.
|
It's sent every 10 seconds; leave it in, it doesn't hurt anything.
|
|
|
09/23/2011, 13:30
|
#9
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
Quote:
Originally Posted by Y u k i
Its sent every 3 Seconds. kthxbai
|
Loool.
|
|
|
09/23/2011, 15:05
|
#10
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
|
If you don't response the clients will not be disconnected, but the ping will be 0000 on their client. On my first source, I wasn't handling this packet.
|
|
|
09/23/2011, 15:30
|
#11
|
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
|
Quote:
Originally Posted by Y u k i
Its sent every 3 Seconds. kthxbai
|
Naw. I'll show you a screenshot of the timer in olly. Just kidding.
|
|
|
09/23/2011, 15:50
|
#12
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
Quote:
Originally Posted by CptSky
If you don't response the clients will not be disconnected, but the ping will be 0000 on their client. On my first source, I wasn't handling this packet.
|
People will quit the server, because they think it's major lag.
|
|
|
09/23/2011, 20:54
|
#13
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,377
|
Let's be clear here... Regardless of if you handle it or not you still have the overhead of receiving, splitting , reading packet type/length/subtype. The only thing you aren't doing is sending a few bytes back to the client every 10 seconds.
Worry about efficiency where it matters. This will not harm your servers performance and will **** off players for no reason.
|
|
|
|
Similar Threads
|
[Question]Warum habe ich low FPS+(wahrscheinlich)Low Ping -.-
12/17/2010 - Dragonica - 4 Replies
Die Überschrift ist bissl groß ich weiß aber egal.
Hab mir MuSo Runtergeladen da das normale nicht bei mir funkt, Jedenfalls war es so das Ich mich einlogge und was das ich habe statt 60-90 FPS NUR 15 ...
Wie Kann ich das verbessern mit gamebooster? Jedenfalls Glaub ich nicht das es an meinem Pc liegt .
MfG °SiiLv3RST4R°
|
Play sound via Packet Send?? [Question String Packet]
07/14/2010 - CO2 Private Server - 5 Replies
Yow im trying to figure out why i cant play music with the string packet
What im doin is;
MyChar.Client.SendPacket(Game.Packet.String(MyCha r.UID, 20, Splitter));
My Packet is:
public byte String(long CharId, byte Type, string name)
|
[Question] Packet data , packet editing ??
10/13/2009 - 9Dragons - 2 Replies
I would like to know :
What is packet data?
How do i get the address for hacking a item in game?
How to use it ??
|
packet bot [QUESTION]
08/11/2009 - Kal Online - 10 Replies
well...is packetbot written in c++ or c#? and if there is anyone who could help me with it pls post here....i will give somthing in exchange :D
|
packet question.
12/31/2007 - Archlord - 2 Replies
Alright i got this idea of for example sending a packet to the server,
that says open storage ^^
Now i got the packets itself but everytime i try to send it, it just freezes me..
I still see everyone move but I cant move.
I was thinking well a filter would work but it wont have any use to me because then i would need a replacement packet wich would be useless for example ur killing monsters and OOPS ur out of space in inventory or whatever reason i have :p
I think I know what the problem...
|
All times are GMT +2. The time now is 08:49.
|
|