SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 09/01/2019, 08:57 AM   #1
OPcode
Little Clucker
 
Join Date: Aug 2018
Posts: 29
Reputation: 0
Default Run time error 3: "Stack/heap collision (insufficient stack size)"

Hello, i put maps only with textures in the GM, there are about 20,000 lines i do not know how to handle this, if there are solutions?

Code:
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[09:39:27] 
[09:39:27] Server Plugins
[09:39:27] --------------
[09:39:27]  Loading plugin: streamer
[09:39:27] 

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[09:39:27]   Loaded.
[09:39:27]  Loaded 1 plugins.

[09:39:27] 
[09:39:27] Filterscripts
[09:39:27] ---------------
[09:39:27]   Loading filterscript 'gl_actions.amx'...
[09:39:27]   Loading filterscript 'gl_realtime.amx'...
[09:39:27]   Loading filterscript 'gl_property.amx'...
[09:39:27] 
-----------------------------------
[09:39:27] Grand Larceny Property Filterscript		
[09:39:27] -----------------------------------

[09:39:27]   Loading filterscript 'gl_mapicon.amx'...
[09:39:27]   Loading filterscript 'ls_elevator.amx'...
[09:39:27]   Loading filterscript 'attachments.amx'...
[09:39:27]   Loading filterscript 'skinchanger.amx'...
[09:39:27] 
--Admin Player Skin Changer Loaded

[09:39:27]   Loading filterscript 'vspawner.amx'...
[09:39:27] 
--Admin Vehicle Spawner Loaded

[09:39:27]   Loading filterscript 'ls_mall.amx'...
[09:39:27]   Loading filterscript 'ls_beachside.amx'...
[09:39:27] 

[09:39:27]   |---------------------------------------------------
[09:39:27]   |--- LS BeachSide Filterscript
[09:39:27]   |--  Script v1.03
[09:39:27]   |--  19th April 2015
[09:39:27]   |---------------------------------------------------
[09:39:27]   |--  LS BeachSide Building Elevator created
[09:39:27]   |---------------------------------------------------
[09:39:27]   Loaded 10 filterscripts.

[09:39:27] Reading File: blank
[09:39:27] Reading File: properties/houses.txt
[09:39:27] Reading File: properties/businesses.txt
[09:39:27] Reading File: properties/banks.txt
[09:39:27] Reading File: properties/police.txt
[09:39:27] Script[gamemodes/grandlarc.amx]: Run time error 3: "Stack/heap collision (insufficient stack size)"
[09:39:27] Number of vehicle models: 0
OPcode is offline   Reply With Quote
Old 09/01/2019, 07:19 PM   #2
ch1ps
Little Clucker
 
Join Date: May 2011
Posts: 26
Reputation: 0
Default Re: Run time error 3: "Stack/heap collision (insufficient stack size)"

You are putting the objects in the GM itself?
On my server, i did it by making an include, and putting it in the include folder of your compiler.
5k lines worked fine for me, never tried 20k thought
PHP Code:
#include <a_samp>
#include <streamer>
public OnGameModeInit()
{
    
// Objects and stuff here

    
if (funcidx("Object_OnGameModeInit") != -1)
    {
        return 
CallLocalFunction("Object_OnGameModeInit""");
    }
    return 
true;
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit Object_OnGameModeInit

forward Object_OnGameModeInit(); 
__________________

Samp-Rp English Version Beta testing
ch1ps is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Run time error 3: "Stack/heap collision (insufficient stack size)" Skudinhu Português/Portuguese 8 10/06/2016 09:58 PM
[debug] Run time error 3: "Stack/heap collision (insufficient stack size) Ilai14 Scripting Help 3 17/05/2016 04:08 PM
Run time error 3: "Stack/heap collision (insufficient stack size)" AnoTek Scripting Help 1 28/12/2015 02:08 AM
[debug] Run time error 3: "Stack/heap collision (insufficient stack size)" nGen.SoNNy Scripting Help 9 27/03/2013 07:55 PM


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.