Exemplo n.º 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)
Exemplo n.º 2
0
def unload():
    # Unregister server commands
    unregisterServerCommand("spawn_add")
    unregisterServerCommand("spawn_remove")
    unregisterServerCommand("spawn_remove_all")
    unregisterServerCommand("spawn_print")
    unregisterServerCommand("spawn_show")
Exemplo n.º 3
0
def unload():
    gamethread.cancelDelayed("advertDelay")
    cmdlib.unregisterServerCommand("dump_colors")
    es.msg(
        "#multi",
        "\x07FF8D00[\x0703B0FFSimple Adverts\x07FF8D00] \x0703B0FF%s \x07FF8D00successfully unloaded!" % info.version,
    )
Exemplo n.º 4
0
def unload():
    gamethread.cancelDelayed('advertDelay')
    cmdlib.unregisterServerCommand('dump_colors')
    es.msg(
        '#multi',
        '\x07FF8D00[\x0703B0FFSimple Adverts\x07FF8D00] \x0703B0FF%s \x07FF8D00successfully unloaded!'
        % info.version)
Exemplo n.º 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)
Exemplo n.º 6
0
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)
Exemplo n.º 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)
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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")
Exemplo n.º 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")
Exemplo n.º 13
0
def unload():
    cmdlib.unregisterServerCommand('keyrand')
Exemplo n.º 14
0
def unload():
    cmdlib.unregisterServerCommand('vote')
Exemplo n.º 15
0
def unload():
    unregisterServerCommand('wcs_getcolor')
Exemplo n.º 16
0
def unload():
    cmdlib.unregisterServerCommand('foreach')
Exemplo n.º 17
0
def unload():
    unregisterServerCommand("wcs_randplayer")
Exemplo n.º 18
0
def unload():
	unregisterServerCommand('wcs_foreach')
Exemplo n.º 19
0
def unload():
    cmdlib.unregisterServerCommand('average')
Exemplo n.º 20
0
def unload():
    cmdlib.unregisterServerCommand('usermsg')
Exemplo n.º 21
0
def unload():
    cmdlib.unregisterServerCommand("wcs_myracemenu")
    es.unregclientcmd('myraces')
    es.unregsaycmd('myraces')
Exemplo n.º 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')
Exemplo n.º 23
0
def unload():
    cmdlib.unregisterServerCommand('getplayercount')
Exemplo n.º 24
0
def unload():
    cmdlib.unregisterServerCommand("inrange")
Exemplo n.º 25
0
def unload():
    cmdlib.unregisterServerCommand('exp')
    cmdlib.unregisterServerCommand('uxp')
    cmdlib.unregisterServerCommand('exp_reg')
    cmdlib.unregisterServerCommand('uxp_reg')
    cmdlib.unregisterServerCommand('_exp_eval')
Exemplo n.º 26
0
def unload():
  services.unregister("auth")
  cmdlib.unregisterServerCommand('initreeauth_importmani')
Exemplo n.º 27
0
def unload():
    cmdlib.unregisterServerCommand('setentname')
Exemplo n.º 28
0
def unload():
    unregisterServerCommand('wcsx')
Exemplo n.º 29
0
def unload():
    cmdlib.unregisterServerCommand("wcs_raceinfomenu")
Exemplo n.º 30
0
def unload():
    unregisterServerCommand('wcs')
    unregisterServerCommand('wcs_uptime')
    unregisterServerCommand('wcs_reset_cooldown')
Exemplo n.º 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')
Exemplo n.º 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')
Exemplo n.º 34
0
def unload():
    cmdlib.unregisterServerCommand('isnumerical')
Exemplo n.º 35
0
def unload():
    cmdlib.unregisterServerCommand('gettime')
Exemplo n.º 36
0
def unload():
    cmdlib.unregisterServerCommand('keymenu')
Exemplo n.º 37
0
def unload():
    cmdlib.unregisterServerCommand('exp')
    cmdlib.unregisterServerCommand('uxp')
    cmdlib.unregisterServerCommand('exp_reg')
    cmdlib.unregisterServerCommand('uxp_reg')
    cmdlib.unregisterServerCommand('_exp_eval')
Exemplo n.º 38
0
def unload():
    cmdlib.unregisterServerCommand('usermsg')
Exemplo n.º 39
0
def unload():
    cmdlib.unregisterServerCommand("exp")
    cmdlib.unregisterServerCommand("uxp")
    cmdlib.unregisterServerCommand("exp_reg")
    cmdlib.unregisterServerCommand("uxp_reg")
    cmdlib.unregisterServerCommand("_exp_eval")
Exemplo n.º 40
0
def unload():
    cmdlib.unregisterServerCommand('foreach')
Exemplo n.º 41
0
def unload():
    cmdlib.unregisterServerCommand("escinject")
Exemplo n.º 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')
Exemplo n.º 43
0
def unload():
    cmdlib.unregisterServerCommand('keygroupsort')
Exemplo n.º 44
0
def unload():
    cmdlib.unregisterServerCommand('uniqueid')
Exemplo n.º 45
0
def unload():
    cmdlib.unregisterServerCommand('vote')
Exemplo n.º 46
0
def unload():
	cmdlib.unregisterServerCommand('wcs_setfx')
	cmdlib.unregisterServerCommand('wcs_removefx')
Exemplo n.º 47
0
def unload():
    cmdlib.unregisterServerCommand("ultirank_upgrade")
    cmdlib.unregisterServerCommand("ultirank_enable")
    cmdlib.unregisterServerCommand("ultirank_info")
    rs.close()
Exemplo n.º 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")
Exemplo n.º 50
0
def unload():
    cmdlib.unregisterServerCommand("wcsaddons_load")
    cmdlib.unregisterServerCommand("wcsaddons_unload")
Exemplo n.º 51
0
def unload():
    """
    Executed when this file is unloaded. Ensure that we clear up any
    dependencies.
    """
    cmdlib.unregisterServerCommand("es_checkversion")
Exemplo n.º 52
0
def unload():
    cmdlib.unregisterServerCommand('isnumerical')
Exemplo n.º 53
0
def unload():
    cmdlib.unregisterServerCommand('keyfilter')
Exemplo n.º 54
0
def unload():
    cmdlib.unregisterServerCommand('keygroupsort')