Scripting help ...
Hi i have some problem with plugin... i put him on ampaste link: http://www.ampaste.net/12096
Plugin is working corectly but crashing sometimes amxmodx, when i debug this plugin i see Quote:
when i today want to compile plugin on amxmodx webcompiler i see warning which i see first: Quote:
we must stop this becouse its crassing amx , so is somebody who can help me ? sory for bad english |
Re: Scripting help ...
I believe that that is not the whole code, because the lines coming with those by you
posted error messages do not match to what function caused the problem. However, stack errors are usually caused when too much stuff is being done at the same time. Also I do not know what format_fce is since it does not appear to be a usual function so I can not look up what it does. The Tag mismatch is being caused because you are comparing an integer with a string, which can not work. In that case you should check if the integer is 1, not "permanently", as equal(i) returns either 0 or 1. Also, you often create unneccessarily big variables. For example a message that a player sends using "say" is never being registered longer than 127 chars, including his/her name. |
Re: Scripting help ...
tanks
i dont have warning yet bug debug trace see same error ... :( |
Re: Scripting help ...
oh i forgot... i see this too :(
Quote:
|
Re: Scripting help ...
Stack errors, in my experience, are caused by when you use too much memory (default memory size is 16kb). You can use
Code:
#pragma dynamic <size in bytes> |
| All times are GMT -4. The time now is 10:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.