Posts: 1,018
Threads: 320
Joined: Jul 2010
Hello everyone so I updated this streamer plugin to my gamemode and I compile it. It was fine then I run samp server console plugin is loaded fine when I enter in gamemode few seconds after that I get in my console from few publicks in gamemode stack underflow runtime error 7 then I switch back to previous version streamer and no errors after that. Is it problem a streamer version or ? Thanks
Posts: 889
Threads: 4
Joined: Mar 2013
Reputation:
0
Can you post your server log please?
Posts: 1,018
Threads: 320
Joined: Jul 2010
Posts: 1,018
Threads: 320
Joined: Jul 2010
I didn't post server log beacuse when I update to that streamer I get stack underflow runtime error 7 from gamemode and when I back to previous streamer version it's fine but anyway here is server log also I check that public and code is just fine. Thanks
18:55:10] [debug] AMX backtrace:
[18:55:10] [debug] #0
?? in public JailTimerUpdate ()
[18:55:10] [debug] Run time error 7: "Stack underflow"
[18:55:10] [debug] Stack pointer (STK) is 0x2227468, stack top (STP) is 0x222745C
Posts: 49
Threads: 3
Joined: Jan 2015
Reputation:
0
You can post this at the original thread of the plugin, so the developer can help you.
Posts: 1,018
Threads: 320
Joined: Jul 2010
AdamsP thanks for replying. Anyone else? Thanks
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Do what he said. The author of the streamer plugin likely won't see this topic, so he can't fix it. Post in the plugin's topic.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
Out of interest, show your JailTimerUpdate() function.
Posts: 1,018
Threads: 320
Joined: Jul 2010
here
pawn Код:
forward JailTimerUpdate();
public JailTimerUpdate()
{
foreach(Player,i)
{
if(IgracLogiran[i] == 1)
{
if(PlayerInfo[i][Zatvoren] != 0)
{
PlayerInfo[i][ZatvorenVrijeme]--;
new string[12];
format(string,sizeof(string),"%d",PlayerInfo[i][ZatvorenVrijeme]);
TextDrawSetString(ZatvorenDraw1[i],string);
TextDrawShowForPlayer(i,ZatvorenDraw0[i]);
TextDrawShowForPlayer(i,ZatvorenDraw1[i]);
}
else
{
TextDrawHideForPlayer(i,ZatvorenDraw0[i]);
TextDrawDestroy(ZatvorenDraw0[i]);
TextDrawHideForPlayer(i,ZatvorenDraw1[i]);
TextDrawDestroy(ZatvorenDraw1[i]);
}
}
}
return 1;
}