L L4D2node

_GLOBAL__sub_I_nb_update_frequency

0x003a9a30 · 1589 bytes · unknown

Decompiled

undefined (0 params)

void _GLOBAL__sub_I_nb_update_frequency(void)

{
  vec2_origin._0_4_ = 0;
  vec2_invalid._0_4_ = 0x7f7fffff;
  vec2_invalid._4_4_ = 0x7f7fffff;
  vec4_invalid._0_4_ = 0x7f7fffff;
  vec4_invalid._4_4_ = 0x7f7fffff;
  vec4_invalid._8_4_ = 0x7f7fffff;
  vec4_invalid._12_4_ = 0x7f7fffff;
  vec2_origin._4_4_ = 0;
  vec4_origin._0_4_ = 0;
  vec4_origin._4_4_ = 0;
  vec4_origin._8_4_ = 0;
  vec4_origin._12_4_ = 0;
  UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
  ConVar::ConVar((ConVar *)nb_update_frequency,"nb_update_frequency",".1",0x4000);
  __cxa_atexit(ConVar::~ConVar,nb_update_frequency,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_update_framelimit,"nb_update_framelimit","15",0x4000);
  __cxa_atexit(ConVar::~ConVar,nb_update_framelimit,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_update_maxslide,"nb_update_maxslide","2",0x4000);
  __cxa_atexit(ConVar::~ConVar,nb_update_maxslide,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_update_debug,"nb_update_debug","0",0x4000);
  __cxa_atexit(ConVar::~ConVar,nb_update_debug,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)SetDebug,"nb_debug",CC_SetDebug,
             "Debug NextBots.  Categories are: BEHAVIOR, LOOK_AT, PATH, ANIMATION, LOCOMOTION, VISION, HEARING, EVENTS, ERRORS."
             ,0x4000,(int_____char_const__char *)NBDebugAutocomplete);
  __cxa_atexit(ConCommand::~ConCommand,SetDebug,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)SetDebugFilter,"nb_debug_filter",CC_SetDebugFilter,
             "Add items to the NextBot debug filter. Items can be entindexes or part of the indentifier of one or more bots."
             ,0x4000,(int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,SetDebugFilter,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)SelectBot,"nb_select",CC_SelectBot,
             "Select the bot you are aiming at for further debug operations.",0x4000,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,SelectBot,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)ForceLookAt,"nb_force_look_at",CC_ForceLookAt,
             "Force selected bot to look at the local player\'s position",0x4000,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,ForceLookAt,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)WarpSelectedHere,"nb_warp_selected_here",CC_WarpSelectedHere,
             "Teleport the selected bot to your cursor position",0x4000,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,WarpSelectedHere,&__dso_handle);
  s_stuckDumpDelayTimer._4_4_ = 0;
  s_stuckDumpDelayTimer._0_4_ = &PTR_NetworkStateChanged_00c0b6e0;
  s_stuckDumpDelayTimer._8_4_ = 0xbf800000;
  ConVar::ConVar((ConVar *)nb_stuck_dump_filter_entindex,"nb_stuck_dump_filter_entindex","0",0x4000,
                 "If nonzero, only display stuck data for entities with the given entindex");
  __cxa_atexit(ConVar::~ConVar,nb_stuck_dump_filter_entindex,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_stuck_dump_filter_time_start,"nb_stuck_dump_filter_time_start","0",
                 0x4000,"Do not display stuck data with a timestamp less than this value");
  __cxa_atexit(ConVar::~ConVar,nb_stuck_dump_filter_time_start,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_stuck_dump_filter_time_end,"nb_stuck_dump_filter_time_end","99999",
                 0x4000,"Do not display stuck data with a timestamp greater than this value");
  __cxa_atexit(ConVar::~ConVar,nb_stuck_dump_filter_time_end,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_stuck_dump_filter_identifier,"nb_stuck_dump_filter_identifier","",
                 0x4000,
                 "Only display stuck data for entities whose identifier matches this substring");
  __cxa_atexit(ConVar::~ConVar,nb_stuck_dump_filter_identifier,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_stuck_dump_filter_min_duration,"nb_stuck_dump_filter_min_duration","0"
                 ,0x4000,
                 "Only display stuck data for entities who were stuck longer than this duration");
  __cxa_atexit(ConVar::~ConVar,nb_stuck_dump_filter_min_duration,&__dso_handle);
  ConVar::ConVar((ConVar *)nb_stuck_dump_show_details,"nb_stuck_dump_show_details","0",0x4000,
                 "If nonzero, include more data in stuck display");
  __cxa_atexit(ConVar::~ConVar,nb_stuck_dump_show_details,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)nb_rush_command,"nb_rush",nb_rush,
             "Causes all infected to rush the survivors.",0x4000,(int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,nb_rush_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)nb_assault_command,"nb_assault",nb_assault,"Tell all NextBots to assault"
             ,0x4000,(int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,nb_assault_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)nb_dump_debug_history_command,"nb_dump_debug_history",
             nb_dump_debug_history,
             "Dumps debug history for the bot under the cursor to the blackbox",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,nb_dump_debug_history_command,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)nb_stuck_dump_display,"nb_stuck_dump_display",CC_DisplayStuckDump,
             "Given a bot stuck dump filename, display the stuck locations in the environment",
             0x4000,(int_____char_const__char *)CC_DisplayStuckDumpAutocomplete);
  __cxa_atexit(ConCommand::~ConCommand,nb_stuck_dump_display,&__dso_handle);
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        
        

⚠ This function has no mangled symbol — it may be internal/static. The Linux gamedata field uses @-prefix symbol resolution which requires an exported mangled name. You'll need a Linux byte signature for this one (extract via extract_signature.java).


          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)