Poll

Should there be a in-game warning telling that you ping is too high and you're going to be kicked?

Yes.
No.

Author Topic: Ping kick  (Read 1385 times)

0 Members and 1 Guest are viewing this topic.

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Ping kick
« on: July 22, 2010, 03:07:11 pm »
Simple yes/no poll. I hope that question says what this thread is about. I don't know if it has been suggested before. My point is to get message that you got warning from server for your ping being to high. What do you think of it?

From: July 22, 2010, 03:15:23 pm
Yes if you have too much ping find a server close to your country or get a better internet connection !
I'm not saying that I have ping issues. I just want to let people know that their lag is too big and it far exceeds server's ping limit. Simple notification - like one over arsse about players ping being to high.
Sometimes server's ping limit is set to some ridiculous value, like 100. Trust me - you would like to know if your lag is too big and how many warnings left.

EDIT: woot, he deleted his post... anyway. It could say that it's your 1/10 warning.
For example: "[WARNING] Your ping is too high. (1/10)" That way you'll know that you have 9 warnings left to be kicked. It's probably doable scripting...But hardcoded it would be much better.
« Last Edit: July 22, 2010, 03:18:18 pm by Wookash »
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline K.A.R.S

  • Major(1)
  • Posts: 5
Re: Ping kick
« Reply #1 on: July 22, 2010, 07:16:24 pm »
I like that idea.

But I think it would be more beneficial to let the player know of the ping limit when he/she joins the server.
For example:
Quote
Tits Magee has joined server.
Welcome to w/e server. For info type !info. For help type !help.
The ping limit on this server is 200.

That sort of deal.

Offline amb2010

  • Camper
  • ***
  • Posts: 264
  • Fear the dot ...
Re: Ping kick
« Reply #2 on: July 22, 2010, 07:35:07 pm »
I agree with K.A.R.S having it tell you the ping limit when you join would be very helpful. Also I'm sure a lot of people will say "Oh you can script it..." and that is true but not every server has the option to run scripts or are willing to run them for what ever reason they have.
And as the lyrics go in the United State's national anthem: "America, f**k YEAH!".

DarkCrusade

  • Guest
Re: Ping kick
« Reply #3 on: July 22, 2010, 07:35:47 pm »
Totally scriptable.

Offline mich1103

  • Flagrunner
  • ****
  • Posts: 557
  • Did you say chocolate ? O.o
    • ZoMbIe-DeStRoYeR pk server
Re: Ping kick
« Reply #4 on: July 22, 2010, 08:39:16 pm »
Yeah i think this should work ...
Code: [Select]
const
maxping = 250; //Max ping allowed by the server
color = $FF00FF00; //Color of the warning message
maxkickpts = 3; //Max kick pts allowed

type tsoldier = record
kickpts : integer;
end;

var
  soldier : array[1..32] of tsoldier;
  i : byte;


procedure PingPts(ID: byte);
begin
if GetPlayerStat(ID,'ping') >= maxping
 then begin
writeconsole(ID, 'You got 1 kick points because you have more ping that the allowed ping !', color);
soldier[ID].kickpts := soldier[ID].kickpts+1;
end;
 end;
 
procedure CheckPing(ID: byte);
begin
if soldier[ID].kickpts >= maxkickpts then begin
DrawText(ID,'LAGGER !!!',250,RGB(0,255,0),0.10,220,400);
KickPlayer(ID);                                                                         
 end;
  end;
 


procedure AppOnIdle(Ticks: integer);
 begin
 if Ticks mod (60 * 30) = 0
 then begin
 For i := 1 to 32 do if (GetPlayerStat(i,'Active') = true) then begin
 PingPts(i);
 CheckPing(i);
 end;
  end;
   end;
 

 
 

From: July 22, 2010, 08:45:20 pm
im really not sure if its gonna work cause i cant test it be cause in my local server i have 0 ping ...
« Last Edit: July 22, 2010, 08:45:21 pm by mich1103 »

Offline amb2010

  • Camper
  • ***
  • Posts: 264
  • Fear the dot ...
Re: Ping kick
« Reply #5 on: July 22, 2010, 08:47:03 pm »
Uh the point of this was to see if people wanted to add an option to enable ping kick warnings to soldat Just saying "its scriptable" or posting a script that you "think" should do it isn't really contributing much... Also DC see my post(even though that's probably why you posted :P)

Options to set the number of warnings would also be a must.
And as the lyrics go in the United State's national anthem: "America, f**k YEAH!".

Offline zyxstand

  • Veteran
  • *****
  • Posts: 1106
  • Mother of all Bombs
Re: Ping kick
« Reply #6 on: July 22, 2010, 11:48:59 pm »
Totally scriptable.

lol is that your answer to everything?

major101:
  i want guns that can fire cluster grenades really far
DarkCrusade:
  i can write a script for that

soldateer:
  we should modify the netcode to add aiming inaccuracy while in mid-air
DarkCrusade:
  script suffice?

dingong:
  my soldat crashes every time minimize the window - this needs to be fixed!
DarkCrusade:
  Script - I'm on it.

baihai:
  My eyes start hurting after playing soldat for an hour.
DarkCrusade:
  All you need is a script...
Can't think of anything original to put here...

DarkCrusade

  • Guest
Re: Ping kick
« Reply #7 on: July 23, 2010, 07:04:56 am »
zyxstand, you quite exaggerate, don't you think?

Offline chutem

  • Veteran
  • *****
  • Posts: 1119
Re: Ping kick
« Reply #8 on: July 23, 2010, 10:53:27 pm »
Game improvements wont happen via scripting...
1NK3FbdNtH6jNH4dc1fzuvd4ruVdMQABvs