View Single Post
Th3822
Member
Join Date: Jan 2013
Location: Venezuela
Old 08-07-2015 , 19:30   Re: Galileo 1.1.290 (a feature rich map voting plugin)
Reply With Quote #1544

Quote:
Originally Posted by mpasd View Post
Code:
L 03/01/2015 - 19:25:03: Invalid cellvector handle provided (8:-110:864)
L 03/01/2015 - 19:25:03: [AMXX] Displaying debug trace (plugin "galileo.amxx")
L 03/01/2015 - 19:25:03: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 03/01/2015 - 19:25:03: [AMXX] [0] galileo.sma::map_nominate (line 1180)
L 03/01/2015 - 19:25:03: [AMXX] [1] galileo.sma::nomination_handleMatchChoice (line 1073)

I got yesterday a error from map_nominate too and fixed it, it was just a small typo on g_nominationMatchesMenu:
Code:
new g_nomination[MAX_PLAYER_CNT + 1][MAX_NOMINATION_CNT + 1], g_nominationCnt, g_nominationMatchesMenu[MAX_PLAYER_CNT];
it was declared with just 32 elements (0-31) and when the player on the slot 32 tries to nominate a map, it gets off bounds and that player doesn't get a menu...

Just add " + 1" on the declaration and it should work fine.

-

Quote:
Originally Posted by mpasd View Post
Code:
L 03/02/2015 - 17:35:06: [AMXX] Displaying debug trace (plugin "galileo.amxx")
L 03/02/2015 - 17:35:06: [AMXX] Run time error 4: index out of bounds 
L 03/02/2015 - 17:35:06: [AMXX] [0] galileo.sma::vote_expire (line 1970)
I haven't got that one, but i think that it may be related to
Code:
for (new idxChoice = 0; idxChoice <= g_choiceCnt; ++idxChoice)
when having 'MAX_MAPS_IN_VOTE' ( 8 ) maps on voting, maybe removing the '=' from '<=' should help but i'm not totally sure about that.
Th3822 is offline