Raised This Month: $ Target: $400
 0% 

WowMOD: World of Warcraft MOD for CS 1.6


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mugwump
Senior Member
Join Date: May 2004
Old 03-31-2008 , 15:52   Re: WowMOD: World of Warcraft MOD for CS 1.6
Reply With Quote #11

One question, for the above error:

L 03/24/2008 - 041:59: [FUN] Invalid player 2 (not in-game)
L 03/24/2008 - 041:59: [AMXX] Displaying debug trace (plugin "wowmod.amxx")
L 03/24/2008 - 041:59: [AMXX] Run time error 10: native error (native "spawn")
L 03/24/2008 - 041:59: [AMXX] [0] wowmod_utility.inc::user_spawn (line 1230)
L 03/24/2008 - 041:59: [AMXX] [1] wowmod_menus.inc::wowmod_do_resurrect (line 41


This user_spawn(id) call is made right after a check for this:

if ( !is_user_connected( id ) )
return PLUGIN_CONTINUE

So my guess is that the user can be connected but not in-game, otherwise I don't see how that runtime would be triggered. So what would be a good check to make inside user_spawn(id) to make sure this is trapped?

Thanks,
K2mia
Mugwump is offline
 



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:55.


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