示例#1
0
def unload():
    spe.unregisterPreHook('player_hurt', pre_player_hurt)
    spe.unregisterPreHook('weapon_fire', pre_weapon_fire)
    spe.undetourFunction("PlayerRunCommand", spe.HookType.Pre, RunCmd)
    cmdlib.unregisterServerCommand('r_weaponswap')
    repeat.delete('timerz')
    es.addons.unregisterClientCommandFilter(Commander4)
示例#2
0
def unload():
    # Unregister server commands
    unregisterServerCommand("spawn_add")
    unregisterServerCommand("spawn_remove")
    unregisterServerCommand("spawn_remove_all")
    unregisterServerCommand("spawn_print")
    unregisterServerCommand("spawn_show")
示例#3
0
def unload():
    gamethread.cancelDelayed("advertDelay")
    cmdlib.unregisterServerCommand("dump_colors")
    es.msg(
        "#multi",
        "\x07FF8D00[\x0703B0FFSimple Adverts\x07FF8D00] \x0703B0FF%s \x07FF8D00successfully unloaded!" % info.version,
    )
def unload():
    gamethread.cancelDelayed('advertDelay')
    cmdlib.unregisterServerCommand('dump_colors')
    es.msg(
        '#multi',
        '\x07FF8D00[\x0703B0FFSimple Adverts\x07FF8D00] \x0703B0FF%s \x07FF8D00successfully unloaded!'
        % info.version)
示例#5
0
def unload():
    spe.unregisterPreHook('player_hurt', pre_player_hurt)
    spe.unregisterPreHook('weapon_fire', pre_weapon_fire)
    spe.undetourFunction("PlayerRunCommand", spe.HookType.Pre, RunCmd)
    cmdlib.unregisterServerCommand('r_weaponswap')
    repeat.delete('timerz')
    es.addons.unregisterClientCommandFilter(Commander4)
def unload():
   cmdlib.unregisterServerCommand('iptocountry_getcountry')
   cmdlib.unregisterServerCommand('iptocountry_getinfo')
   cmdlib.unregisterServerCommand('iptocountry_getlastupdate')
   cmdlib.unregisterServerCommand('iptocountry_updatedata')
   cmdlib.unregisterServerCommand('iptocountry_updatefrompath')

   for cvar in config.getCvars():
      es.ServerVar(cvar).set(0)
示例#7
0
def reg():
    unregisterServerCommand('wcs_xtell')
    unregisterServerCommand('wcs_xcentertell')
    registerServerCommand(
        'wcs_xtell', register,
        'Syntax: wcs_xtell <userid> <text> <[arg]> <[value]>...')
    registerServerCommand(
        'wcs_xcentertell', register_center,
        'Syntax: wcs_xcentertell <userid> <text> <[arg]> <[value]>...')
def unload():
    cmdlib.unregisterServerCommand('iptocountry_getcountry')
    cmdlib.unregisterServerCommand('iptocountry_getinfo')
    cmdlib.unregisterServerCommand('iptocountry_getlastupdate')
    cmdlib.unregisterServerCommand('iptocountry_updatedata')
    cmdlib.unregisterServerCommand('iptocountry_updatefrompath')

    for cvar in config.getCvars():
        es.ServerVar(cvar).set(0)
示例#9
0
    def unload_warmup(self):
        """Unloads Warmup Round"""

        # Remove the repeat
        self.repeat.delete()

        # Unregister the server command used to end Warmup Round
        unregisterServerCommand("gg_end_warmup")

        # Set the message to be sent to Warmup_End_Forced
        self.message = "Warmup_End_Forced"

        # End Warmup Round if it is still active
        self.end_warmup()
示例#10
0
    def unload_warmup(self):
        '''Unloads Warmup Round'''

        # Remove the repeat
        self.repeat.delete()

        # Unregister the server command used to end Warmup Round
        unregisterServerCommand('gg_end_warmup')

        # Set the message to be sent to Warmup_End_Forced
        self.message = 'Warmup_End_Forced'

        # End Warmup Round if it is still active
        self.end_warmup()
示例#11
0
def unload():
    """
    This executes when this addon is unloaded. We want to save this database,
    then open up the default SQLiteManager with the default configuration.
    """
    cmdlib.unregisterServerCommand("convert_sqlite_to_mysql")
    sourcerpg.players.clearList()
    sourcerpg.DATABASE_STORAGE_METHOD = sourcerpg.SQLiteManager
    sourcerpg.database.save()
    sourcerpg.database.close()
    sourcerpg.database = sourcerpg.DATABASE_STORAGE_METHOD(sourcerpg.databasePath)
    sourcerpg.es_map_start({})
    for player in es.getUseridList():
        sourcerpg.players.addPlayer(player)
    es.server.queuecmd("mp_restartgame 1")
示例#12
0
def unload():
    """
    This executes when this addon is unloaded. We want to save this database,
    then open up the default SQLiteManager with the default configuration.
    """
    cmdlib.unregisterServerCommand("convert_sqlite_to_mysql")
    sourcerpg.players.clearList()
    sourcerpg.DATABASE_STORAGE_METHOD = sourcerpg.SQLiteManager
    sourcerpg.database.save()
    sourcerpg.database.close()
    sourcerpg.database = sourcerpg.DATABASE_STORAGE_METHOD(
        sourcerpg.databasePath)
    sourcerpg.es_map_start({})
    for player in es.getUseridList():
        sourcerpg.players.addPlayer(player)
    es.server.queuecmd("mp_restartgame 1")
示例#13
0
def unload():
    cmdlib.unregisterServerCommand('keyrand')
示例#14
0
def unload():
    cmdlib.unregisterServerCommand('vote')
示例#15
0
def unload():
    unregisterServerCommand('wcs_getcolor')
示例#16
0
def unload():
    cmdlib.unregisterServerCommand('foreach')
示例#17
0
def unload():
    unregisterServerCommand("wcs_randplayer")
示例#18
0
def unload():
	unregisterServerCommand('wcs_foreach')
示例#19
0
def unload():
    cmdlib.unregisterServerCommand('average')
def unload():
    cmdlib.unregisterServerCommand('usermsg')
示例#21
0
def unload():
    cmdlib.unregisterServerCommand("wcs_myracemenu")
    es.unregclientcmd('myraces')
    es.unregsaycmd('myraces')
示例#22
0
def unload():
    cmdlib.unregisterServerCommand('est_effect')
    #cmdlib.unregisterServerCommand('est_Effect')
    for number in range(1, 25):
        cmdlib.unregisterServerCommand('est_effect_%s' % (zfill(number, 2)))
    """#cmdlib.unregisterServerCommand('est_effect_01')
def unload():
    cmdlib.unregisterServerCommand('getplayercount')
示例#24
0
def unload():
    cmdlib.unregisterServerCommand("inrange")
示例#25
0
def unload():
    cmdlib.unregisterServerCommand('exp')
    cmdlib.unregisterServerCommand('uxp')
    cmdlib.unregisterServerCommand('exp_reg')
    cmdlib.unregisterServerCommand('uxp_reg')
    cmdlib.unregisterServerCommand('_exp_eval')
示例#26
0
def unload():
  services.unregister("auth")
  cmdlib.unregisterServerCommand('initreeauth_importmani')
示例#27
0
def unload():
    cmdlib.unregisterServerCommand('setentname')
示例#28
0
def unload():
    unregisterServerCommand('wcsx')
def unload():
    cmdlib.unregisterServerCommand("wcs_raceinfomenu")
示例#30
0
def unload():
    unregisterServerCommand('wcs')
    unregisterServerCommand('wcs_uptime')
    unregisterServerCommand('wcs_reset_cooldown')
示例#31
0
def unload():
    cmdlib.unregisterServerCommand("ut_burn")
    cmdlib.unregisterServerCommand("ut_extinguish")
    cmdlib.unregisterServerCommand("ut_freeze")
    cmdlib.unregisterServerCommand("ut_unfreeze")
    cmdlib.unregisterServerCommand("ut_slay")
    cmdlib.unregisterServerCommand("ut_blind")
    cmdlib.unregisterServerCommand("ut_noclip")
    cmdlib.unregisterServerCommand("ut_unnoclip")
    cmdlib.unregisterServerCommand("ut_slap")
    cmdlib.unregisterServerCommand("ut_name")

    cmdlib.unregisterSayCommand("!burn")
    cmdlib.unregisterSayCommand("!extinguish")
    cmdlib.unregisterSayCommand("!freeze")
    cmdlib.unregisterSayCommand("!unfreeze")
    cmdlib.unregisterSayCommand("!slay")
    cmdlib.unregisterSayCommand("!blind")
    cmdlib.unregisterSayCommand("!noclip")
    cmdlib.unregisterSayCommand("!unnoclip")
    cmdlib.unregisterSayCommand("!slap")
    cmdlib.unregisterSayCommand("!name")

    cmdlib.unregisterSayCommand("!admin")
    cmdlib.unregisterSayCommand("!admins")
def unload():
    cmdlib.unregisterServerCommand('getplayercount')
示例#33
0
def unload():
    unregisterServerCommand('wcs_decimal')
    unregisterServerCommand('wcs_getindex')
    unregisterServerCommand('wcs_isnumeric')
    unregisterServerCommand('wcs_near')
    unregisterServerCommand('wcs_fade')
    unregisterServerCommand('wcs_blind')
    unregisterServerCommand('wcs_unblind')
    unregisterServerCommand('wcs_capitalize')
示例#34
0
def unload():
    cmdlib.unregisterServerCommand('isnumerical')
示例#35
0
def unload():
    cmdlib.unregisterServerCommand('gettime')
示例#36
0
def unload():
    cmdlib.unregisterServerCommand('keymenu')
示例#37
0
def unload():
    cmdlib.unregisterServerCommand('exp')
    cmdlib.unregisterServerCommand('uxp')
    cmdlib.unregisterServerCommand('exp_reg')
    cmdlib.unregisterServerCommand('uxp_reg')
    cmdlib.unregisterServerCommand('_exp_eval')
示例#38
0
def unload():
    cmdlib.unregisterServerCommand('usermsg')
示例#39
0
def unload():
    cmdlib.unregisterServerCommand("exp")
    cmdlib.unregisterServerCommand("uxp")
    cmdlib.unregisterServerCommand("exp_reg")
    cmdlib.unregisterServerCommand("uxp_reg")
    cmdlib.unregisterServerCommand("_exp_eval")
示例#40
0
def unload():
    cmdlib.unregisterServerCommand('foreach')
示例#41
0
def unload():
    cmdlib.unregisterServerCommand("escinject")
示例#42
0
def unload():
    cmdlib.unregisterServerCommand("est_effect")
    # cmdlib.unregisterServerCommand('est_Effect')
    for number in range(1, 25):
        cmdlib.unregisterServerCommand("est_effect_%s" % (zfill(number, 2)))
    """#cmdlib.unregisterServerCommand('est_effect_01')
示例#43
0
def unload():
    cmdlib.unregisterServerCommand('keygroupsort')
示例#44
0
def unload():
    cmdlib.unregisterServerCommand('uniqueid')
示例#45
0
def unload():
    cmdlib.unregisterServerCommand('vote')
示例#46
0
def unload():
	cmdlib.unregisterServerCommand('wcs_setfx')
	cmdlib.unregisterServerCommand('wcs_removefx')
示例#47
0
def unload():
    cmdlib.unregisterServerCommand("ultirank_upgrade")
    cmdlib.unregisterServerCommand("ultirank_enable")
    cmdlib.unregisterServerCommand("ultirank_info")
    rs.close()
示例#48
0
def unload():
    """
    Executed when this file is unloaded. Ensure that we clear up any
    dependencies.
    """
    cmdlib.unregisterServerCommand("es_checkversion")
def unload():
    cmdlib.unregisterServerCommand("wcs_spendskillsmenu")
示例#50
0
def unload():
    cmdlib.unregisterServerCommand("wcsaddons_load")
    cmdlib.unregisterServerCommand("wcsaddons_unload")
def unload():
    """
    Executed when this file is unloaded. Ensure that we clear up any
    dependencies.
    """
    cmdlib.unregisterServerCommand("es_checkversion")
示例#52
0
def unload():
    cmdlib.unregisterServerCommand('isnumerical')
示例#53
0
def unload():
    cmdlib.unregisterServerCommand('keyfilter')
示例#54
0
def unload():
    cmdlib.unregisterServerCommand('keygroupsort')