YSI ERROR: y_playerset stack overflow
#1

** Warning: This is for Pros and not for newbies

As the title said I get: [22:33:26] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK" on the console...
I have tried to make a simple race on Chilliad with y_races:
PHP код:
new RACE::Race;
hook OnGameModeInit()
{
    
RACE::Create();
}
RACE::Create()
{
    
RACE::Race Race_Create(.countdown 10, .exitTime 2, .world RACE_WORLD);
    
Race_AddStart(RACE::Race, -2376.4658,-2196.4119,33.0340294.6584);
    
Race_AddCheckpoint(RACE::Race, -2265.0459,-2142.526456.2317);
    
Race_AddCheckpoint(RACE::Race, -2203.8591,-2085.411978.5490);
    
Race_AddCheckpoint(RACE::Race, -2141.1941,-2003.267895.2169);
    
Race_AddCheckpoint(RACE::Race, -2100.8176,-1898.6315,108.5577);
    
Race_AddCheckpoint(RACE::Race, -2155.5920,-1974.6361,118.1805);
}
YCMD:start(playerid,params[],help)
{
    
#pragma unused params, help
    
Race_PlayerJoin(playerid,RACE::Race);
    
Race_Start(RACE::Race);

Whenever I use the /start command it teleports me to the Race Start point but after that it freezes me...
The full console warnings:
Код:
[22:32:51] Format_DoDisplay b: 0, 000000, "Text Not Found"
[22:33:22] Format_DoDisplay b: 0, 000000, "Text Not Found"
[22:33:24] Format_DoDisplay b: 0, 000000, "Text Not Found"
[22:33:26] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:28] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:29] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:29] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:30] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:32] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:32] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:33] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:34] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:34] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:35] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:35] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:36] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:36] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:37] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:38] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:39] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:39] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:40] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:40] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:41] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
[22:33:42] *** YSI Error: y_playerset stack overflow - increase "MAX_PLAYER_SET_STACK"
What should I do?
Reply
#2

Try editing y_playerset.inc and set a higher value for
Код:
#define MAX_PLAYER_SET_STACK (3)
Reply
#3

The error disapeared, but I'm still freezed... Also the countdown isn't showing...
This has anything to do with this?
Код:
[23:04:30] Format_DoDisplay b: 0, 000000, "Text Not Found"
Reply
#4

Are you using latest YSI git version, or the one I packaged in releases? I fixed some bugs with y_text, but not released it yet
Reply
#5

Yes, I use it. (last downloaded on 03.09.2017 , even tried to redownload it now and replace everything)... IDK what is wrong... Also the strangest part is that I am not even using y_text... I sent a PM to you with everything that uses YSI
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)