View Single Post
csykosoma
Member
Join Date: Dec 2011
Old 03-19-2020 , 16:37   Re: Plugin works in 1.8.2, breaks in 1.9
Reply With Quote #6

Edit: looking at the menu handling tutorial, many conventions were broken in this code regarding menu_destroy and trying to call the same menu handler within the menu handler.

PHP Code:
public votemap(idmenuitem) {
    if( 
item == MENU_EXIT ) {
        
menu_display(idg_gVoteMenu)
        return 
PLUGIN_HANDLED;
    }
... 
So this code breaks in 1.8.3 and 1.9. Is this considered a bug still? Should we expect 1.9 to handle this?

And then when starting HLDS I see the following lines when running in 1.9, do these hold any significance?:
Code:
stray key in process_key: changeyaw 59
stray key in process_key: hashumangibs 60
stray key in process_key: hasaliengibs 61
stray key in process_key: fademonster 62
stray key in process_key: gibmonster 63
stray key in process_key: getdeathactivity 64
stray key in process_key: becomedead 65
stray key in process_key: irelationship 67
stray key in process_key: painsound 68
stray key in process_key: reportaistate 70
stray key in process_key: monsterinitdead 71
stray key in process_key: look 72
stray key in process_key: bestvisibleenemy 73
stray key in process_key: finviewcone 74
stray key in process_key: fvecinviewcone 75
stray key in process_key: item_getiteminfo 61
stray key in process_key: cstrike_item_isweapon 65
stray key in process_key: cstrike_weapon_sendweaponanim 85
stray key in process_key: cstrike_player_resetmaxspeed 69
stray key in process_key: cstrike_player_isbot 81
stray key in process_key: cstrike_player_getautoaimvector 85
stray key in process_key: cstrike_player_blind 86
stray key in process_key: cstrike_player_ontouchingweapon 87

Last edited by csykosoma; 03-19-2020 at 17:46.
csykosoma is offline