Raised This Month: $ Target: $400
 0% 

Ping Faker 1.5


Post New Thread Reply   
 
Thread Tools Display Modes
XLN's | [Lo]Phreak^n^c
Senior Member
Join Date: May 2006
Location: Argentina
Old 06-24-2010 , 21:54   Re: Ping Faker
Reply With Quote #131

Quote:
Originally Posted by Muscle Brazil View Post
q does this function actually does not understand

Code:
 
* pingfake_multiplier [0.0] // Set this to have the fake ping be a multiple
of the player's real ping instead of fixed values (0.0 = disabled)
example

pingfake_multiplier 0.5

60 ms (real latency) * 0.5 (multiplier) = 30 ms (displayed latency)
__________________
::: If u're 555 then I'm 666 :::
XLN's | [Lo]Phreak^n^c is offline
Muscle Brazil
Senior Member
Join Date: Apr 2009
Location: Brazil
Old 06-24-2010 , 23:38   Re: Ping Faker
Reply With Quote #132

thank you friend. then it down to half of lantencia correct?
Muscle Brazil is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-01-2010 , 03:08   Re: Ping Faker
Reply With Quote #133

Code:
int __cdecl SV_EmitPings(int a1, int a2)
{
  int v2; // edi@1
  int i; // esi@1
  int v5; // ebp@1
  int v6; // [sp+18h] [bp-14h]@3
  int v7; // [sp+1Ch] [bp-10h]@3
  v5 = a2;
  MSG_WriteByte(a2, 17);
  MSG_StartBitWriting(v5);
  v2 = 0;
  for ( i = *(_DWORD *)&(*svs_ptr)[4]; v2 < *(_DWORD *)&(*svs_ptr)[8]; i += 20200 )
  {
    if ( *(_DWORD *)i )
    {
      SV_GetNetInfo(i, &v6, &v7);
      MSG_WriteBits(1, 1);
      MSG_WriteBits(v2, 5);
      MSG_WriteBits(v6, 12);
      MSG_WriteBits(v7, 7);
    }
    ++v2;
  }
  MSG_WriteBits(0, 1);
  return MSG_EndBitWriting();
}
Is anyone still interested in this ?
cause I found some use clue in server dll, maybe hook writebits is the right way
amxx can't do the writebits string stuff, so author's to do stuff end with it.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-03-2010 , 03:47   Re: Ping Faker
Reply With Quote #134

after some test, I succeed hooking the sv_getnetinfo call from sv_emitpings, which I think the best way, some test code here
Code:
void SV_GetNetInfo(int client, int &ping, int &loss)
{
 int index;
 __asm mov index, esi;
 if(index == 0)    //listen server host return random fake ping
 {
  ping = UTIL_RANDOM_LONG(30, 45);
  loss = 0;
  return;
 }
 __asm call [g_SV_GetNetInfo];  other players call the original function
}
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
cs1.7
Senior Member
Join Date: Oct 2008
Old 08-03-2010 , 04:53   Re: Ping Faker
Reply With Quote #135

zomg jim_yang is back !!!

PS: the new podbots have native ping support now (code from this plugin).
__________________
_____________
/_____\
[° ||| °]
./..............\▓
cs1.7 is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 08-15-2010 , 15:48   Re: Ping Faker
Reply With Quote #136

Is there anyway that I can set somebodies ping to go flux through a few numbers. Like 1-6?
FuZ!on is offline
LoveLoveLove
Junior Member
Join Date: Aug 2010
Old 08-27-2010 , 01:11   Re: Ping Faker
Reply With Quote #137

I downloaded the 3 files and put them here:
fakepings.ini - Program Files >AMX Mod X >Files > CStrike >configs
pingfaker.amxx - Program Files >AMX Mod X >Files > CStrike >plugins
pingfaker.sma - Program Files >AMX Mod X >Files > CStrike >scripting


I have also copied and pasted the name "pingfaker.amxx" to the text file called "plugins.ini" located in
"Program Files > AMX Mod X > Files > CStrike > configs"

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
pingfaker.amxx <--- (This is what I added to the "plugins.ini file")


I typed in pingfake_enable 0 (and 1 also) and it didn't work

I typed in pingfake_bots 1 into the console, and it sad
"unknown command pingfake_bots"

Can anyone post a solution?
LoveLoveLove is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-27-2010 , 09:32   Re: Ping Faker
Reply With Quote #138

may be amx_cvar pingfake_bots ?
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
LoveLoveLove
Junior Member
Join Date: Aug 2010
Old 08-27-2010 , 14:28   Re: Ping Faker
Reply With Quote #139

I tried it and it didn't work, I made a thread of what I did with the files but everything I typed in was an "unknown command"

http://forums.alliedmods.net/showthr...51#post1282051
LoveLoveLove is offline
killergirl
Senior Member
Join Date: Jul 2010
Old 08-31-2010 , 15:41   Re: Ping Faker
Reply With Quote #140

#############

Last edited by killergirl; 10-07-2010 at 14:06.
killergirl is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:06.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode