Connection problem
#1

Hello when a friend of mine is joining and can play for 2 minutes he getting server restart and then your banned from the server and i got this message in my consolle


PHP код:
[16:56:02] [warningclient exceeded 'ackslimit' IP ADDRESS :49474 (4008Limit3000/sec
[16:56:06] [MYSQLSaving Ryan_T_Jackson's account...
[16:56:06] [part] Ryan_T_Jackson has left the server (1:0) 
What do i need to do to fix this ?
Reply
#2

You have one timer with 1/sec update?
This i send to my client for spam timer.
Check your timers.
Player have some lag?
Reply
#3

make sure you've under OnGameModeInIt

AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);

if no add it..
Reply
#4

PHP код:
public OnGameModeInit()
{
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);

    
Create3DTextLabel("Shop\n{225ADD}[Type /shop to get your items!]"0xCEE11EC82498.2661, -1687.134313.4928,7,0,1); // Shop at Grove street

    
AddStaticVehicleEx(5662187.6628, -1664.428114.6474, -192.54012112111001);// Tahoma Ballas
    
AddStaticVehicleEx(5662182.7395, -1687.824813.5419, -4.80002112111001);// Tahoma Ballas
    
AddStaticVehicleEx(5662184.0481, -1680.849113.7619, -192.54012112111001);// Tahoma Ballas
    
AddStaticVehicleEx(5662189.2720, -1656.898315.0074, -192.54012112111001);// Tahoma Ballas
    
AddStaticVehicleEx(5672185.7932, -1672.528214.3672, -14.94002112111001); // Savanna Ballas
    
AddStaticVehicleEx(5672505.2139, -1678.462913.3523, -37.38001281281001); //Savanna Grove
    
AddStaticVehicleEx(5672497.6599, -1682.765313.2323, -76.08001281281001);// Savanna Grove
    
AddStaticVehicleEx(5662508.6135, -1671.772712.8288, -12.48001281281001);// Tahoma Grove
    
AddStaticVehicleEx(5332505.6692, -1695.285413.18320.0000111001); //Feltzer Grove

    
SetGameModeText("SG:Gangwarz 1.3");
    
g_mysql_connect();
    
g_mysql_load_teams();
    
sMenu CreateMenu("Skins"3450.0327.0150.0150.0);
     
AddMenuItem(sMenu0"Select");
    
AddMenuItem(sMenu0"Next");
    
AddMenuItem(sMenu0"Prev");
    
skins LoadModelSelectionMenu("skins.txt");
    
UsePlayerPedAnims();
    
LoadDynamicDoors();
    
DisableInteriorEnterExits();
    
EnableStuntBonusForAll(0);
    
AntiDeAMX();
    
// CreatedCars check
    
for(new 0sizeof(CreatedCars); i++)
    {
        
CreatedCars[i] = INVALID_VEHICLE_ID;
    }
    return 
1;

Reply
#5

so it does exist?
use crashdetect to find the problem.

look at this thread too
https://sampforum.blast.hk/showthread.php?tid=507581
Reply
#6

He only has this problem on your server or also on others? The player either timed out or left (can't remember the order of the quit message (PlayerID:type or type:PlayerID).

Going from the command line details you have posted, it seems like the issue is at the player's end since the server still continues to work, from the looks of it.
Reply
#7

PHP код:
7:23:49] [debugRun time error 6"Invalid instruction"
[17:23:49] [debug]  Unknown opcode 0x7800 at address 0xFFFFFFFF
[17:23:49] [debugAMX backtrace:
[
17:23:49] [debug#0 ffffffff in public OnEnterExitModShop () from DM.amx
[17:23:49] [debugRun time error 6"Invalid instruction"
[17:23:49] [debug]  Unknown opcode 0x7800 at address 0xFFFFFFFF
[17:23:49] [debugAMX backtrace:
[
17:23:49] [debug#0 ffffffff in public OnEnterExitModShop () from DM.amx
[17:23:49] [debugRun time error 6"Invalid instruction"
[17:23:49] [debug]  Unknown opcode 0x7800 at address 0xFFFFFFFF
[17:23:49] [debugAMX backtrace:
[
17:23:49] [debug#0 ffffffff in public OnEnterExitModShop () from DM.amx
[17:23:49] [debugRun time error 6"Invalid instruction"
[17:23:49] [debug]  Unknown opcode 0x7800 at address 0xFFFFFFFF
[17:23:49] [debugAMX backtrace
This is what i get when i use crashdetect plugin so what
Reply
#8

Hello!

Can you send us your whole OnPlayerExitModShop-Callback?
Reply
#9

funny thing i dont have one :P
Reply
#10

Then don't use the filterscript dm xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)