Raised This Month: $ Target: $400
 0% 

Plugin works in 1.8.2, breaks in 1.9


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

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 00:27.


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