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 04-27-2008 , 16:45   Re: WowMOD: World of Warcraft MOD for CS 1.6
Reply With Quote #11

Mordekay, do you have the latest version running? I ask because line 222 is this:

Line 222: if ( !dodged && isweakened[enemy] ){

so the index out of bounds error must be w/ enemy as the index, however, shortly above this in the subroutine is this:

Line 137: if ( ( id <= 0 ) || ( id > MAX_PLAYERS ) ||
( enemy <= 0 ) || ( enemy > MAX_PLAYERS ) )
return PLUGIN_CONTINUE

which should ensure that enemy is a valid index. Can you check your wowmod_dmgevents and make sure those line numbers sync up?

Thanks
Mug/K2
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