Raised This Month: $ Target: $400
 0% 

Galileo v5.9.1-925 (a feature rich map voting plugin) | Last Update: 2018-07-16


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 03-31-2016 , 10:37   Re: Galileo v2.3.4 (a feature rich map voting plugin) | Last Update: 27.03.2016
Reply With Quote #10

Quote:
Originally Posted by YParushev View Post
I do not speak good English,Sorry.
No need to be sorry, just do you best and we are good.

Quote:
Originally Posted by YParushev View Post
Try "nom cs or de" (for example) and make a selection.Is not displayed correctly.In this case both codes do not function well.

This code works, but it gives an error and sometimes can not nominate a map and report error logged.

Code:
public nomination_handleMatchChoice( player_id, menu, item )
{
    if( item < 0 )
    {
        return PLUGIN_CONTINUE;
    }
    // Get item info
    new mapIndex, info[ 1 ];
    new access, callback;
    
    menu_item_getinfo( g_nominationMatchesMenu[ player_id ], item, access, info, 1, _, _, callback );

    mapIndex = info[ 0 ];    
    map_nominate( player_id, mapIndex );
    
    return PLUGIN_HANDLED;
}


Error:
Code:
L 03/31/2016 - 05:44:54: Invalid cellvector handle provided (15:-40:267)
L 03/31/2016 - 05:44:54: [AMXX] Displaying debug trace (plugin "galileo.amxx")
L 03/31/2016 - 05:44:54: [AMXX] Run time error 10: native error (native "ArrayGetString")
L 03/31/2016 - 05:44:54: [AMXX]    [0] galileo.sma::map_nominate (line 2434)
L 03/31/2016 - 05:44:54: [AMXX]    [1] galileo.sma::nomination_handleMatchChoice (line 2315)
Other code works to "say nomenu", but for "say nom cs" (or any card) does not work.
Ok, I got it, the problem is not that code, you changed. As you saw, it it bugged using the 'nomenu'. I need to get a way to find the right map index when using the 'nom some'.

Now I see what is wrong and I mostly know how to fix it. You helped me a lot to find what is wrong, thank you. I am going to fix it and release it until tomorrow.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz 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 10:04.


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