Stack Size


Započeo Boky189_, Februar 16, 2018, 09:52:27 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Detaljan opis problema: Odradio sam AC i koristio sam bar formata sa istim stringom definisanim na pocetku skripte new globalstring[128];, a negde je posebno ima string, imate dole kod za to.
Dio skripte: https://pastebin.com/agUVbT8x
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Respect: Bruno, Bentley, caupton, C++, Vicenzo, WickeD, Ralph, White, Jaso

Citat: Boky189_ poslato Februar 16, 2018, 09:52:27 PRE PODNE
Detaljan opis problema: Odradio sam AC i koristio sam bar formata sa istim stringom definisanim na pocetku skripte new globalstring[128];, a negde je posebno ima string, imate dole kod za to.
Dio skripte: https://pastebin.com/agUVbT8x
Neke slike/video za lakse dobivanje pomoci(neobavezno):

http://forum.sa-mp.com/showthread.php?t=390682

vidi ovde mozda ti pomogne :D


La vita E bella

Odgovor od y_less na link na kome ti je poslao Ghetoven je resenje tvog problema.

"Reduce the size of local variables. There is no reason why you should ever exceed the stack if you don't use stupid big arrays all over the place (as I've written about countless times before)."


“Without requirements or design, programming is the art of adding bugs to an empty text file.” - Louis Srygley

Citat: .буÑ,иган poslato Februar 16, 2018, 14:28:42 POSLE PODNE
Odgovor od y_less na link na kome ti je poslao Ghetoven je resenje tvog problema.

"Reduce the size of local variables. There is no reason why you should ever exceed the stack if you don't use stupid big arrays all over the place (as I've written about countless times before)."

Izbrisao sam sve stringove sto sam imao, i compile i opet usao i opet ima debug: [debug] #100 0002cd04 in public OnPlayerSpawn (0, 1144478242, -996338085, 1096502005) from igproject.amx
Respect: Bruno, Bentley, caupton, C++, Vicenzo, WickeD, Ralph, White, Jaso

Postavi  to gore gdje su ti svi #Define 
#pragma dynamic  5000 (goni do 20k ovo 5k sto je) dok ti nestane Debug

Gamemod: Spotify Community
Owner: Nodze ( Dzenan Levic )

Citat: Nodze poslato Februar 16, 2018, 18:06:05 POSLE PODNE
Postavi  to gore gdje su ti svi #Define 
#pragma dynamic  5000 (goni do 20k ovo 5k sto je) dok ti nestane Debug

Isto mi izlazi opet [debug] public OnPlayerSpawn
Respect: Bruno, Bentley, caupton, C++, Vicenzo, WickeD, Ralph, White, Jaso

Fixao sam, neka moderator locka, hvala svima na pomoci :)
Respect: Bruno, Bentley, caupton, C++, Vicenzo, WickeD, Ralph, White, Jaso

Citat: Nodze poslato Februar 16, 2018, 18:06:05 POSLE PODNE
Postavi  to gore gdje su ti svi #Define 
#pragma dynamic  5000 (goni do 20k ovo 5k sto je) dok ti nestane Debug

Pragma nije resenje, zavaravanje kompajlera nije resenje.!


“Without requirements or design, programming is the art of adding bugs to an empty text file.” - Louis Srygley