Raised This Month: $32 Target: $400
 8% 

Foxbot fake ping 1.6


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Team Fortress Classic        Category:   Admin Commands       
TFCDRDEATH
Member
Join Date: Nov 2017
Old 01-01-2020 , 17:13   Foxbot fake ping 1.6
Reply With Quote #1

im not the author of this plugin i seen it on another post "FAKE PING 1.5" this version works so much better.

real Author:

Bugsy

link to original post
https://forums.alliedmods.net/showth...t=86241&page=2




source:
PHP Code:
#include <amxmodx>
#include <fakemeta>

new  g_offset[2], g_ping[3]
new 
g_maxplayersg_connected[33]

public 
plugin_init()
{
    
register_plugin("Bot Ping Faker""1.1""MeRcyLeZZbugsy")

    
g_maxplayers get_maxplayers()
    
    
register_forward(FM_UpdateClientData"fw_UpdateClientData")
}

public 
client_putinserver(id)
{
    
g_connected[id] = true
}

public 
client_disconnect(id)
{
    
g_connected[id] = false
}

public 
fw_UpdateClientData(id)
{
    
// Scoreboard key being pressed?
    
if (!(pev(idpev_button) & IN_SCORE) && !(pev(idpev_oldbuttons) & IN_SCORE))
        return;
    
    static 
playersendingping
    sending 
0
    
    
for (player 1player <= g_maxplayersplayer++)
    {
        if (!
g_connected[player] || !is_user_bot(player))
             continue;
 
        
//make each players ping vary a bit
        
switch( player )
        {
            case 
1,2,3,4ping random_num1535)
            case 
5,6,7,8ping random_num(4060)
            case 
9,10,11,12ping random_num6080)
            case 
13,14,15,16ping random_num75100)
            case 
17,18,19,20ping random_num7090)
            case 
21,22,23,24ping random_num5080)
            case 
25,26,27,28ping random_num2040)
            default: 
ping random_num4565)
        }
        
        
// Calculate weird argument values based on target ping
        // -> first ping
        
for (g_offset[0] = 0g_offset[0] < 4g_offset[0]++)
        {
            if ((
ping g_offset[0]) % == 0)
            {
                
g_ping[0] = (ping g_offset[0]) / 4
                
break;
            }
        }
        
// -> second ping
        
for (g_offset[1] = 0g_offset[1] < 2g_offset[1]++)
        {
            if ((
ping g_offset[1]) % == 0)
            {
                
g_ping[1] = (ping g_offset[1]) / 2
                
break;
            }
        }
        
        
// -> third ping
        
g_ping[2] = ping
        
        
// Send message with the weird arguments
        
switch (sending)
        {
            case 
0:
            {
                
// Start a new message
                
message_begin(MSG_ONE_UNRELIABLESVC_PINGS_id)
                
write_byte((g_offset[0] * 64) + ((player) - 1))
                
write_short(g_ping[0])
                
sending++
            }
            case 
1:
            {
                
// Append additional data
                
write_byte((g_offset[1] * 128) + (* (player 1)))
                
write_short(g_ping[1])
                
sending++
            }
            case 
2:
            {
                
// Append additional data and end message
                
write_byte((* (player 1)))
                
write_short(g_ping[2])
                
write_byte(0)
                
message_end()
                
sending 0
            
}
        }
    }
    
    
// End message if not yet sent
    
if (sending)
    {
        
write_byte(0)
        
message_end()
    }



https://www.amxmodx.org/webcompiler.cgi



INSTRUCTION:

option #1
- download "foxbotfakeping1.6.amxx"
- add foxbotfakeping1.6.amxx to our plugins folder
"addons/amxmodx/plugins"

- add text only "foxbotfakeping.1.6.amxx" to your plugins.ini in your config folder

""addons/amxmodx/configs/plugins.ini"

then restart your HLDS and enjoy.


option #2
use amxmodx web compiler

https://www.amxmodx.org/webcompiler.cgi

insert source code that is above , NAME IT foxbotfakeping1.6.amxx then hit the "compile" located at the bottom of the screen.

download the newly created file

- download "foxbotfakeping1.6.amxx"
- add foxbotfakeping1.6.amxx to our plugins folder
"addons/amxmodx/plugins"

- add text only "foxbotfakeping.1.6.amxx" to your plugins.ini in your config folder

""addons/amxmodx/configs/plugins.ini"

then restart your HLDS and enjoy.
__________________
<a href="https://www.gametracker.com/server_info/74.91.117.2:27015/" target="_blank"><img src="http://cache.gametracker.com/server_info/74.91.117.2:27015/b_560_95_1.png" border="0" width="560" height="95" alt=""/></a>

Last edited by Seta00; 01-04-2020 at 17:57. Reason: missing file
TFCDRDEATH is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2020 , 17:51   Re: Foxbot fake ping 1.6
Reply With Quote #2

I suggest you look at other threads in this forum to see how you should create one. Slapping the code in a random place without even using proper [tags] is not the way to go.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 01-04-2020 , 16:32   Re: Foxbot fake ping 1.6
Reply With Quote #3

ì`m blind!!!!
tarsisd2 is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 02-02-2020 , 12:55   Re: Foxbot fake ping 1.6
Reply With Quote #4

It works on JK_BOTTI also. The ping looks worse than 0 because it makes it look like something is about to crash with pings spinning all over the place updating too many times per sec.
__________________
DJEarthQuake is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-07-2020 , 11:38   Re: Foxbot fake ping 1.6
Reply With Quote #5

It sounds like you can not support this plugin. Unapproved.
__________________
HamletEagle 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 04:01.


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