Raised This Month: $51 Target: $400
 12% 

[AMXX] Run time error 3: stack error.


Post New Thread Reply   
 
Thread Tools Display Modes
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-08-2009 , 11:59   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #11

Quote:
any leak in your plugin.
LEAK in plugin? wtf?
xbatista is offline
Send a message via Skype™ to xbatista
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-08-2009 , 11:59   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #12

Quote:
Originally Posted by padilha007 View Post
no error in your code
Except a big mistake on get_players usage.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-08-2009 , 12:07   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #13

What is wrong I check it
http://www.amxmodx.org/funcwiki.php?go=func&id=174
xbatista is offline
Send a message via Skype™ to xbatista
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-08-2009 , 12:15   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #14

Code:
    /* Pick the first zombie */     new iClient[32], livePlayers, iUser;     get_players(iClient, livePlayers, "a");     new iZombie = random_num(1, livePlayers);     for(iUser = 1; iUser <= livePlayers; iUser++)     {         if(is_user_alive(iUser))

->

if(is_user_alive(iClient[iUser]))

(you should rename iUser -> iNum)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-08-2009 , 12:24   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #15

Seems to work, but there are another problem :/ Look at code, why v_ model is very brightness? :0

Last edited by xbatista; 05-08-2009 at 12:37.
xbatista is offline
Send a message via Skype™ to xbatista
padilha007
Senior Member
Join Date: Jul 2008
Old 05-08-2009 , 14:34   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #16

sorry i dont see that,
__________________

padilha007 is offline
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 05-08-2009 , 14:51   Re: [AMXX] Run time error 3: stack error.
Reply With Quote #17

P.S. Problem was in strip_user_weapons in CurWeapon,I've just delete it and no errors and no crashes and thanks for fixing get_players bug xd
And another problem is v_ models a very brightness :00
xbatista is offline
Send a message via Skype™ to xbatista
Reply



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

Forum Jump


All times are GMT -4. The time now is 01:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode