warning
#1

[warning] client exceeded 'ackslimit' 93.91.151.102:60757 (10423) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55558 (15883) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55561 (7432) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 1.186.37.96:59472 (8534) Limit: 6000/sec

PHP код:
COMMAND:startevent(playeridparams[])
{
    foreach(new 
Platplayers)
    {
        
TogglePlayerControllable(i1);
        
GameTextForPlayer(i"EVENT STARTED!"50005);
    }
    for(new 
iMAX_PLATi++)
    {    
        
MoveObject(Object1[i],  ObjectOne[i][0] + 8ObjectOne[i][1], ObjectOne[i][2], 5.0);
    }    
    for(new 
iMAX_PLATTWOi++)
    {
        
MoveObject(Object2[i],  ObjectTwo[i][0] - 8ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
    }
    for(new 
iMAX_PLATTHREEi++)
    {
        
MoveObject(Object3[i],  ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] - 65.0);
    }    
    
Object_1_State 1;    
    return 
true;
}
public 
OnObjectMoved(objectid)
{
    if(
Object_1_State == 1)
    {
        for(new 
iMAX_PLATi++)
            
MoveObject(Object1[i],  ObjectOne[i][0] - 8ObjectOne[i][1], ObjectOne[i][2], 5.0);
        for(new 
iMAX_PLATTWOi++)
            
MoveObject(Object2[i],  ObjectTwo[i][0] + 8ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
        for(new 
iMAX_PLATTHREEi++)
            
MoveObject(Object3[i],  ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] + 65.0);
        
Object_1_State 0;
    }
    else
    {
        for(new 
iMAX_PLATi++)
            
MoveObject(Object1[i],  ObjectOne[i][0] + 8ObjectOne[i][1], ObjectOne[i][2], 5.0);
        for(new 
iMAX_PLATTWOi++)
            
MoveObject(Object2[i],  ObjectTwo[i][0] - 8ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
        for(new 
iMAX_PLATTHREEi++)
            
MoveObject(Object3[i],  ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] - 65.0);
        
Object_1_State 1;
    }
   
#if defined mo_OnObjectMoved
        
return mo_OnObjectMoved(objectid);
    
#else
        
return 1;
    
#endif
}
#if defined _ALS_OnObjectMoved
    #undef OnObjectMoved
#else
    #define _ALS_OnObjectMoved
#endif
#define OnObjectMoved mo_OnObjectMoved
#if defined mo_OnObjectMoved
    
forward mo_OnObjectMoved(objectid);
#endif 
Reply
#2

Quote:
Originally Posted by sams90
Посмотреть сообщение
[warning] client exceeded 'ackslimit' 93.91.151.102:60757 (10423) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55558 (15883) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 109.64.124.171:55561 (7432) Limit: 6000/sec
[warning] client exceeded 'ackslimit' 1.186.37.96:59472 (8534) Limit: 6000/sec

PHP код:
COMMAND:startevent(playeridparams[])
{
    foreach(new 
Platplayers)
    {
        
TogglePlayerControllable(i1);
        
GameTextForPlayer(i"EVENT STARTED!"50005);
    }
    for(new 
iMAX_PLATi++)
    {    
        
MoveObject(Object1[i],  ObjectOne[i][0] + 8ObjectOne[i][1], ObjectOne[i][2], 5.0);
    }    
    for(new 
iMAX_PLATTWOi++)
    {
        
MoveObject(Object2[i],  ObjectTwo[i][0] - 8ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
    }
    for(new 
iMAX_PLATTHREEi++)
    {
        
MoveObject(Object3[i],  ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] - 65.0);
    }    
    
Object_1_State 1;    
    return 
true;
}
public 
OnObjectMoved(objectid)
{
    if(
Object_1_State == 1)
    {
        for(new 
iMAX_PLATi++)
            
MoveObject(Object1[i],  ObjectOne[i][0] - 8ObjectOne[i][1], ObjectOne[i][2], 5.0);
        for(new 
iMAX_PLATTWOi++)
            
MoveObject(Object2[i],  ObjectTwo[i][0] + 8ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
        for(new 
iMAX_PLATTHREEi++)
            
MoveObject(Object3[i],  ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] + 65.0);
        
Object_1_State 0;
    }
    else
    {
        for(new 
iMAX_PLATi++)
            
MoveObject(Object1[i],  ObjectOne[i][0] + 8ObjectOne[i][1], ObjectOne[i][2], 5.0);
        for(new 
iMAX_PLATTWOi++)
            
MoveObject(Object2[i],  ObjectTwo[i][0] - 8ObjectTwo[i][1], ObjectTwo[i][2], 5.0);
        for(new 
iMAX_PLATTHREEi++)
            
MoveObject(Object3[i],  ObjectThree[i][0], ObjectThree[i][1], ObjectThree[i][2] - 65.0);
        
Object_1_State 1;
    }
   
#if defined mo_OnObjectMoved
        
return mo_OnObjectMoved(objectid);
    
#else
        
return 1;
    
#endif
}
#if defined _ALS_OnObjectMoved
    #undef OnObjectMoved
#else
    #define _ALS_OnObjectMoved
#endif
#define OnObjectMoved mo_OnObjectMoved
#if defined mo_OnObjectMoved
    
forward mo_OnObjectMoved(objectid);
#endif 
https://sampforum.blast.hk/showthread.php?tid=507581
Reply
#3

not working. help please
Reply
#4

help me guys
Reply
#5

server.cfg increase ackslimit to 60000
Reply
#6

What are the values of the MAX_PLATs? This occurs if you're sending too much information to a player at once. The client needs to acknowledge that it received that information, hence the name. Increasing the ackslimit is also never the solution, just a lazy workaround.
Reply
#7

PHP код:
#define MAX_PLAT         4
#define MAX_PLATTWO         4
#define MAX_PLATTHREE        4    
new Object1[MAX_PLAT];
new 
Object2[MAX_PLATTWO];
new 
Object3[MAX_PLATTHREE];
new 
Float:ObjectOne[MAX_PLAT][3] = {
{-
584.676761546.9377473.44270},//1
{-584.023991571.7089873.44270},//1
{-583.309751595.8328973.44270},//1
{-582.625181619.8455873.44270}//1
};
new 
Float:ObjectTwo[MAX_PLATTWO][3] = {
{-
583.545651587.4847473.44270},//2
{-584.253111563.8121373.44270},//2
{-584.904301538.8360673.44270},//2
{-582.864261612.0722773.44270}//2
};
new 
Float:ObjectThree[MAX_PLATTHREE][3] = {
{-
583.045231603.8693873.44270},//3
{-583.810671579.4266473.44270},//3
{-584.436771555.3458373.44270},//3
{-585.104311530.7961473.44270}//3
}; 
Reply
#8

help me please
Reply
#9

Any one?
Reply
#10

please help sir @Vince
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)