EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
16000 (15) abilities (15) addon (71) addons (17) admin (348) admins (23) advert (27) adverts (26) afk (17) alerts (12) ammo (25) anti (20) armor (11) auth (16) automatic (15) awp (29) ban (24) ba_jail (34) bhop (45) block (27) bomb (47) bonus (25) boost (21) bot (35) bot-management (20) bots (24) bullet (13) bunnyhop (18) Buy (27) buymenu (13) c4 (12) cash (76) Change (14) chat (75) cheat (15) clan (17) classes (24) color (30) colors (20) command (23) commands (20) config (28) configurable (11) connect (55) counter (11) Counter-Strike-Source (18) CS:S (20) css (3320) custom (13) Damage (48) database (14) dead (19) Deagle (11) death (19) deathmatch (79) deathrun (17) deutsch (13) dice (11) disconnect (24) Dissolve (12) dm (24) dod:s (11) dods (494) download (12) easy (26) effect (14) effects (125) English (16) entity (24) est (12) es_tools (14) Eventscript (12) exploit (11) flashbang (27) français (104) french (36) fun (312) funny (18) Gabeee (11) game (12) gamemode (11) gameplay (175) German (11) give (20) gravity (15) grenade (28) grenades (32) gun (15) GunGame (31) GunGame5 (11) guns (20) Hack (16) headshot (37) health (70) hegrenade (15) help (11) hit (13) hl2dm (432) HP (25) hudhint (11) hungarian (24) info (52) information (17) invisible (11) IP (13) jail (79) jailbreak (14) join (45) jump (19) kick (25) kill (50) kills (23) knife (65) leveling (38) LnD (14) lol (11) magyar (34) management (14) manager (11) mani (16) map (31) map-management (26) maps (17) match (21) Memphis-84 (13) menu (139) message (30) messaging (52) minecraft (12) mod (121) model (18) models (33) modye (16) money (50) motd (13) music (32) mute (20) nades (20) name (15) new (13) noblock (54) orangebox (23) player (46) player-management (31) player-tracking (28) popup (70) prop (13) propmenu (14) props (34) protect (11) protection (31) punish (11) punishment (51) python (79) quake (32) QuakeSounds (12) race (13) races (20) radio (29) random (47) rank (41) rates (15) rcon (12) realism (22) Regeln (22) respawn (67) restrict (40) round (26) rpg (32) rules (60) say (17) score (15) scout (29) Script (25) script-helper (25) scriptpack (33) sdk (171) server (60) server-tools (42) shop (12) showdamage (19) silly (31) simple (32) skin (17) skins (34) slay (13) soccer (14) sound (65) sounds (106) source (13) spanish (18) spawn (81) speed (25) statistics (13) stats (55) status (15) Steam (11) STEAMID (29) Superhero (15) surf (41) Team (29) team-balance (14) teleport (16) text (17) TF2 (142) time (22) timer (15) tools (15) tracers (19) triggers (11) uedi (17) uses_auth (18) vip (23) vote (39) voting (22) war (25) Warcraft (12) warcraft-source (20) wc3 (14) wcs (47) wcs:Python (32) weapon (87) weapons (116) web (16) welcome (13) wuerfeln (11) zm (26) zombie (99) zombiemod (55) zombies (12)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (20) .:modye:. (14) .eMko* (6) 101satoon101 (12) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (9) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) Ayuto (5) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (8) Bioko (10) blackshoxx (9) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (32) cagemonkey (8) capo azzlack (7) captain master (6) carbon-14 (10) CaskioUTF (5) cbirou (15) CbRRR (16) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (10) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) CrAzD (6) craziest (11) dani12356 (12) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (17) Di[M]aN (12) DJ Fire-Black prod (8) DoCky (31) Don (15) dordtcore (9) DragonFreddo (8) Drassil (5) dretax14 (11) Einlanzers (47) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (10) FMIS (5) Franc1sco (17) freddukes (18) Frequency (6) Fugi91 (6) Fulmine (5) G4ME (5) GAMEREN2 (8) german9114 (13) GODJonez (40) GoodfellaDeal (5) Hansi (6) Hisoka (6) HitThePipe (7) HOLLDIDAY (24) Icetouch (6) ichthys (25) Im the new guy (14) iNexus (13) infamous1 (9) isivisi (13) ispaine (7) Jackmaster (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (11) KDBFame (6) L'In20Cible (11) L.P.H (8) Largo Usagi (10) LnD (14) Lobe (11) loKkdoKk (8) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (7) magyar-oneill (9) Matth (7) Mattie (21) mave1993 (5) MBchrono (15) McFly (20) Medda (5) Memphis-84 (15) Messiah93 (19) Mickyy (5) micmacx (6) Mitchell (5) Mixer57 (5) modye (6) Monster_Bitch1 (9) Mordavolt (7) motomoto (12) MrScriptaz (6) mryoung (6) MyTechZone.de (8) Nicolous (23) ojii (31) oliVier (10) Omega68 (6) Omega_K2 (11) Owned|Myself (8) P3N (7) pand3mic (6) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) PixelGamer (7) qwern (5) randomknifer (9) Raptor150 (31) Ratzee (6) ReaCtioN2oo9 (6) RedCliff (5) Rennnyyy (17) revolutionfighters (8) RideGuy (12) Rio (9) Roeliekt (6) roof (16) runamagic (13) Ryezin (5) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (15) sgt.angel (6) Shad0w (11) ShoTaXx# (7) sicilia (7) sicman_adrian (22) skillz92 (7) sn4k3 (18) Snake12 (7) snake38 (10) sonicsight (7) SpeedFreak (9) spoonman184 (10) stabby (22) stas (27) Stirni (6) stonedegg (7) Strontium Dog (30) SumGuy14 (25) SuperDave (49) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (27) TheDonFather (5) theresthatguy (6) Tiny Tod (7) tooshkan4uk (8) Totyahun (9) uedi (38) ultimatebuster (6) Undead (25) usernamesaretaken (15) wanted241 (9) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) Wundermaxe (5) X-Mania (5) XE_ManUp (14) xfalcon61 (5) zSweetXz (5) ZZMatty (6) [Cs]Lord_Inferno2 (11) [DAP]Kickbutt (5) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3  Next
Author Message
User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-04, 2:54 pm 
   Post subject: DeathRun Mod v 1.9.2 UPDATED![2011-06-16]

DeathRun Mod v 1.9.2

Requires:

Description:
This is deathrun mod, which will be updated as soon as possible:
At the moment it contains:
v1.9.2
- Bonuses
- Select a terrorist
- Noblock
- Save the frags
- Night Vision
- Automatic notification of a new version of the plugin
- Bhop settings
- Ban for a disconect of terrorists
- Block kill command
- Restrict team
- Scouts for the counter-terrorists
- Give frag for the victory of terrorists
- Dissolver
- Crysis skin when player have 10> frags
- Respawn player
- One scout per player
- Prevent pressing the trap more than once
- Shows the number of live counter-terrorists
- DeadChat
- Antifalldamage
- Slay ct at roundtime end
- Multilangual
- Easy configuration for server settings
- Weapon restrict for terrorists

Installation:
Remove in the folder orangebox\cstrike
In the file, cstrike\cfg\autoexec.cfg write es_load deathrun

About multilanguage:
I speak Russian and all of the text to do with translate.google.ru if you noticed errors in some sentences here and lay out the files with the correct sentences. If your language is not in this list, write here also translate all sentences into your language and in the next version of the mod will be added

Known Issues:
When a player bans through sourcebans, his nickname is not visible

Featurelist:
http://featurelist.org/deathrun

Google Code:
http://deathrunmod.googlecode.com

Download:
http://addons.eventscripts.com/addons/view/DeathRunMod

_________________
Image


Last edited by tooshkan4uk on 2011-08-09, 11:46 am, edited 12 times in total.




User avatar
Power User
Profile

Posts: 695
Location:
United Kingdom

Steam Friends Name: n0my
 
New postPosted: 2010-10-05, 5:21 am 

deathrun.py not included. Deleted by mistake? I see the compiled file tho :D


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-05, 6:01 am 
   Post subject: Re: DeathRun Mod v 1.6 [2010-10-04]

Sorry. I forgot to add .py file)Here it is)
PYTHON:
    import es
    from cfglib import AddonCFG

    config = AddonCFG(es.getAddonPath('deathrun') + '/deathrun.cfg')

    config.text('This is configuration for Deathrun Mod by Tooshkan4uk v 1.6')
    config.text('Visit our site <!-- m --><a class="postlink" href="http://www.tk-portal.ru'">http://www.tk-portal.ru'</a><!-- m -->)
    config.text('And visit our server 188.134.21.171:27015')
    config.text('')
    config.text('**********************************')
    config.text('DeathRun Config')
    config.text('**********************************')
    config.cvar('deathrun_enable', 1, '').makepublic()
    config.text('Disable/Enable DeathRun Mod (default 1)')
    config.text('Выключить/Включить DeathRun Mod (по умолчанию 1)')
    config.text('')
    config.text('**********************************')
    config.text('Gameplay config')
    config.text('**********************************')
    config.cvar('deathrun_randomplayer', 1, '').makepublic()
    config.text('Disable/Enable randomplayer choose terrorist (default 1)')
    config.text('Выключить/включить рандомный выбор террористов (по умолчанию 1)')
    config.cvar('deathrun_noblock', 1, '').makepublic()
    config.text('Disable/Enable NoBlock (default 1)')
    config.text('Выключить/включить NoBlock (по умолчанию 1)')
    config.cvar('deathrun_armor', 1, '').makepublic()
    config.text('Disable/Enable give counter-terrorists armor (default 1)')
    config.text('Выключить/включить выдачу контр-террористам бронежилета (по умолчанию 1)')
    config.cvar('deathrun_nightvision', 1, '').makepublic()
    config.text('Disable/Enable possibility of counter-terrorists include night vision (default 1)')
    config.text('Выключить/включить возможность контр-террористам включать ночное видение (по умолчанию 1)')
    config.cvar('deathrun_deadchat', 1, '').makepublic()
    config.text('Disable/Enable dead chat (default 1)')
    config.text('Выключить/Включить возможность видеть чат мертвых игроков (по умолчанию 1)')
    config.text('')
    config.text('**********************************')
    config.text('Bonus config')
    config.text('**********************************')
    config.cvar('deathrun_bonuses', 1, '').makepublic()
    config.text('Disable/Enable bonuses for frags (default 1)')
    config.text('Выключить/включить бонусы за фраги (по умолчанию 1)')
    config.cvar('deathrun_savescores', 1, '').makepublic()
    config.text('Disable/Enable savescores (default 1)')
    config.text('Выключить/включить сохранение фрагов (по умолчанию 1)')
    config.cvar('deathrun_correctfrag', 1, '').makepublic()
    config.text('Disable/Enable add frag for suicide (default 1)')
    config.text('Выключить/включить добавление фрага в случае суицида, чтобы фраги не уходили в минус(по умолчанию 1)')
    config.cvar('deathrun_givefragter', 1, '').makepublic()
    config.text('Disable/Enable give score a terrorist for a win in round (default 1)')
    config.text('Выключить/Включить выдачу фрага за победу в раунде (по умолчанию 1)')
    config.cvar('deathrun_crysisskin', 1, '').makepublic()
    config.text('Disable/Enable crysis skin, when player have 10 frags (default 1)')
    config.text('Выключить/включить скин крайзиса игроку, если он набирает 10 фрагов (по умолчанию 1)')
    config.text('')
    config.text('**********************************')
    config.text('Antibugs config and config for terrorist')
    config.text('**********************************')
    config.cvar('deathrun_blockkill', 1, '').makepublic()
    config.text('Disable/Enable block kill command (default 1)')
    config.text('Выключить/включить блокировку команды kill (по умолчанию 1)')
    config.cvar('deathrun_blockchange', 1, '').makepublic()
    config.text('Disable/Enable block change team for terrorists (default 1)')
    config.text('Выключить/включить запрет смены команды для террористов (по умолчанию 1)')
    config.cvar('deathrun_banter', 1, '').makepublic()
    config.text('Disable/Enable ban for disconect terrorists (default 1)')
    config.text('Выключить/включить бан за выход из террористов (по умолчанию 1)')
    config.cvar('deathrun_timeban', 1440, '').makepublic()
    config.text('Time to ban exit from the server, playing a terrorist (default 1440)')
    config.text('Время бана за выход c сервера, играя за террористов (по умолчанию 1440)')
    config.text('')
    config.text('**********************************')
    config.text('Scout config')
    config.text('**********************************')
    config.cvar('deathrun_scout', 1, '').makepublic()
    config.text('Disable/Enable scouts for counter-terrorists (default 1)')
    config.text('Выключить/включить скауты для контр-террористов (по умолчанию 1)')
    config.cvar('deathrun_scoutlimit', 10, '').makepublic()
    config.text('Limit scouts for counter-terrorists (default 10)')
    config.text('Лимит скаутов для контр-террористов (по умолчанию 10)')
    config.cvar('deathrun_onescout', 1, '').makepublic()
    config.text('Disable/Enable The player to get only one scout in the round (default 1)')
    config.text('Выключить/включить ограничение скаута для игрока до 1 на раунд (по умолчанию 1)')
    config.cvar('deathrun_giveammo', 0, '').makepublic()
    config.text('Give scouts with ammo (default 0)')
    config.text('Выдача скаутов с патронами (по умолчанию 0)')
    config.text('')
    config.text('**********************************')
    config.text('Additional config')
    config.text('**********************************')
    config.cvar('deathrun_bhop', 1, '').makepublic()
    config.text('Disable/Enable bhop config (default 1)')
    config.text('Выключить/Включить бхоп настройки (по умолчанию 1)')
    config.cvar('deathrun_antidoublepush', 0, '').makepublic()
    config.text('Disable/Enable antidoublepush (default 0)')
    config.text('Выключить/Включить запрет на нажатие ловушек более одного раза (по умолчанию 0)')
    config.cvar('deathrun_ctsleft', 0, '').makepublic()
    config.text('Disable/Enable antidoublepush (default 0)')
    config.text('Выключить/Включить написание количества оставшихся в живых контр-террористов (по умолчанию 0)')
    config.cvar('deathrun_dissolve', 1, '').makepublic()
    config.text('Disable/Enable dissolve (default 1)')
    config.text('Выключить/Включить растворение умерших игроков (по умолчанию 1)')
    config.cvar('deathrun_rndconnectsnd', 0, '').makepublic()
    config.text('Disable/Enable random connect sound (default 0)')
    config.text('Выключить/Включить рандомное проигрывание звуков при заходе на сервер (по умолчанию 0)')
    config.text('')
    config.text('**********************************')
    config.text('Respawn config')
    config.text('**********************************')
    config.cvar('deathrun_respawn', 0, '').makepublic()
    config.text('Disable/Enable Respawn counter-terrorists in the event of death(Works, when is more than 1 ct!!!) (default 0)')
    config.text('Выключить/Включить восрешение контр-террористов в случае их смерти(работает, когда на сервер больше одного кт!!! (по умолчанию 0)')
    config.cvar('deathrun_respawntime', 10, '').makepublic()
    config.text('How many runs respawn (default 10)')
    config.text('Сколько времени работает респаун (по умолчанию 10)')

    config.write()

    deathrun_enable = es.ServerVar("deathrun_enable")
    deathrun_deadchat = es.ServerVar("deathrun_deadchat")
    deathrun_randomplayer = es.ServerVar("deathrun_randomplayer")
    deathrun_noblock = es.ServerVar("deathrun_noblock")
    deathrun_armor = es.ServerVar("deathrun_armor")
    deathrun_nightvision = es.ServerVar("deathrun_nightvision")
    deathrun_bonuses = es.ServerVar("deathrun_bonuses")
    deathrun_savescores = es.ServerVar("deathrun_savescores")
    deathrun_crysisskin = es.ServerVar("deathrun_crysisskin")
    deathrun_givefragter = es.ServerVar("deathrun_givefragter")
    deathrun_blockkill = es.ServerVar("deathrun_blockkill")
    deathrun_blockchange = es.ServerVar("deathrun_blockchange")
    deathrun_scout = es.ServerVar("deathrun_scout")
    deathrun_scoutlimit = es.ServerVar("deathrun_scoutlimit")
    deathrun_giveammo = es.ServerVar("deathrun_giveammo")
    deathrun_correctfrag = es.ServerVar("deathrun_correctfrag")
    deathrun_banter = es.ServerVar("deathrun_banter")
    deathrun_timeban = es.ServerVar("deathrun_timeban")
    deathrun_bhop = es.ServerVar("deathrun_bhop")
    deathrun_antidoublepush = es.ServerVar("deathrun_antidoublepush")
    deathrun_ctsleft = es.ServerVar("deathrun_ctsleft")
    deathrun_dissolve = es.ServerVar("deathrun_dissolve")
    deathrun_rndconnectsnd = es.ServerVar("deathrun_rndconnectsnd")
    deathrun_respawn = es.ServerVar("deathrun_respawn")
    deathrun_respawntime = es.ServerVar("deathrun_respawntime")

    info = es.AddonInfo()
    info.name = "DeathRun"
    info.version = "1.6"
    info.author = "Tooshkan4uk"
    info.url = "http://addons.eventscripts.com/addons/view/DeathRunMod"
    info.basename = "DeathRun"

    es.ServerVar('DeathRun', info.version, 'by <!-- m --><a class="postlink" href="http://www.tk-portal.ru'">http://www.tk-portal.ru'</a><!-- m -->).makepublic()

    def load():
        es.msg('#multi', '#green%s v %s by %s [Loaded]'%(info["name"], info["version"], info["author"]))
        es.server.queuecmd('sv_tags %s v %s'%(info["name"], info["version"]))
        es.server.cmd("es_xmexec ../addons/eventscripts/deathrun/deathrun.cfg")
        if not es.exists('clientcommand', 'deathrun_version'):
            es.regclientcmd('deathrun_version', 'deathrun/version', 'Version')
        if int(deathrun_enable) == 1:
            if int(deathrun_randomplayer) == 1:
                es.load('deathrun/randomplayer')
            if int(deathrun_deadchat) == 1:
                es.load('deathrun/deadchat')
            if int(deathrun_bonuses) == 1:
                es.load('deathrun/bonus')
            if int(deathrun_blockkill) == 1:
                es.flags('add', 'cheat', 'kill')
            if int(deathrun_blockchange) == 1:
                es.load('deathrun/restrictteam')
            if int(deathrun_scout) == 1:
                es.load('deathrun/givescout')
            else:
                es.set("deathrun_scoutlimit", 0)
            if int(deathrun_banter) == 1:
                es.load('deathrun/banter')
            if int(deathrun_bhop) == 1:
                es.server.queuecmd('sv_accelerate 10')
                es.server.queuecmd('sv_airaccelerate 1000')
                es.server.queuecmd('sv_enablebunnyhopping 1')
            if int(deathrun_antidoublepush) == 1:
                es.load('deathrun/antidoublepush')
            if int(deathrun_dissolve) == 1:
                es.load('deathrun/dissolve')
            if int(deathrun_rndconnectsnd) == 1:
                es.load('deathrun/connectsound')
            if int(deathrun_ctsleft) == 1:
                es.load('deathrun/ctsleft')
            if int(deathrun_correctfrag) == 1:
                es.load('deathrun/correct')
            if int(deathrun_respawn) == 1:
                es.load('deathrun/respawn')
            es.set("dr_randomplayer", deathrun_randomplayer)
            es.set("dr_deadchat", deathrun_deadchat)
            es.set("dr_bonuses", deathrun_bonuses)
            es.set("dr_blockchange", deathrun_blockchange)
            es.set("dr_scout", deathrun_scout)
            es.set("dr_banter", deathrun_banter)
            es.set("dr_antidoublepush", deathrun_antidoublepush)
            es.set("dr_dissolve", deathrun_dissolve)
            es.set("dr_rndconnectsnd", deathrun_rndconnectsnd)
            es.set("dr_ctsleft", deathrun_ctsleft)
            es.set("dr_correct", deathrun_correctfrag)
            es.set("dr_bhop", deathrun_bhop)
            es.set("dr_respawn", deathrun_respawn)    
            es.set("dr_rnd", deathrun_rndconnectsnd)        
        else:
            es.unload('deathrun')

    def unload():
        es.msg('#multi', '#green%s v %s by %s [Unloaded]'%(info["name"], info["version"], info["author"]))
        if es.ServerVar("dr_randomplayer") == 1:
            es.unload('deathrun/randomplayer')
        if es.ServerVar("dr_bonuses") == 1:
            es.unload('deathrun/bonus')
        if es.ServerVar("dr_scout") == 1:
            es.unload('deathrun/givescout')
        if es.ServerVar("dr_banter") == 1:
            es.unload('deathrun/banter')
        if es.ServerVar("dr_blockchange") == 1:
            es.unload('deathrun/restrictteam')
        if es.ServerVar("dr_antidoublepush") == 1:
            es.unload('deathrun/antidoublepush')
        if es.ServerVar("dr_dissolve") == 1:
            es.unload('deathrun/dissolve')
        if es.ServerVar("dr_rndconnectsnd") == 1:
            es.unload('deathrun/connectsound')
        if es.ServerVar("dr_ctsleft") == 1:
            es.unload('deathrun/ctsleft')
        if es.ServerVar("dr_correct") == 1:
            es.unload('deathrun/correct')
        if es.ServerVar("dr_deadchat") == 1:
            es.unload('deathrun/deadchat')
        if es.ServerVar("dr_respawn") == 1:
            es.unload('deathrun/respawn')
        if es.ServerVar("dr_bhop") == 1:
            es.server.queuecmd('sv_enablebunnyhopping 0')
        if es.ServerVar("dr_rnd") == 1:
            es.unload('deathrun/connectsound')
                   
    def round_start(event_var):
        es.server.cmd("es_xmexec ../addons/eventscripts/deathrun/deathrun.cfg")
        es.msg('#multi', '#green%s v %s by %s'%(info["name"], info["version"], info["author"]))
        es.msg('#multi', '#greenVisit our server #lightgreen188.134.21.171:27015')
        if int(deathrun_enable) == 1:
            if int(deathrun_randomplayer) == 0 and es.ServerVar("dr_randomplayer") == 1:
                es.unload('deathrun/randomplayer')
                es.set("dr_randomplayer", deathrun_randomplayer)
            if int(deathrun_randomplayer) == 1 and es.ServerVar("dr_randomplayer") == 0:
                es.load('deathrun/randomplayer')
                es.set("dr_randomplayer", deathrun_randomplayer)
            if int(deathrun_bonuses) == 0 and es.ServerVar("dr_bonuses") == 1:
                es.unload('deathrun/bonus')
                es.set("dr_bonuses", deathrun_bonuses)
            if int(deathrun_bonuses) == 1 and es.ServerVar("dr_bonuses") == 0:
                es.load('deathrun/bonus')
                es.set("dr_bonuses", deathrun_bonuses)
            if int(deathrun_deadchat) == 1 and es.ServerVar("dr_deadchat") == 0:
                es.load('deathrun/deadchat')
                es.set("dr_deadchat", deathrun_deadchat)
            if int(deathrun_deadchat) == 0 and es.ServerVar("dr_deadchat") == 1:
                es.unload('deathrun/deadchat')
                es.set("dr_deadchat", deathrun_deadchat)
            if int(deathrun_blockkill) == 1:
                es.flags('add', 'cheat', 'kill')
            if int(deathrun_blockchange) == 1 and es.ServerVar("dr_blockchange") == 0:
                es.load('deathrun/restrictteam')
                es.set("dr_blockchange", deathrun_blockchange)
            if int(deathrun_blockchange) == 0 and es.ServerVar("dr_blockchange") == 1:
                es.unload('deathrun/restrictteam')
                es.set("dr_blockchange", deathrun_blockchange)
            if int(deathrun_scout) == 1 and es.ServerVar("dr_scout") == 0:
                es.load('deathrun/givescout')
                es.set("dr_scout", deathrun_scout)
            if int(deathrun_scout) == 0 and es.ServerVar("dr_scout") == 1:
                es.unload('deathrun/givescout')
                es.set("deathrun_scoutlimit", 0)
                es.set("dr_scout", deathrun_scout)
            if int(deathrun_banter) == 1 and es.ServerVar("dr_banter") == 0:
                es.load('deathrun/banter')
                es.set("dr_banter", deathrun_banter)
            if int(deathrun_banter) == 0 and es.ServerVar("dr_banter") == 1:
                es.unload('deathrun/banter')
                es.set("dr_banter", deathrun_banter)
            if int(deathrun_bhop) == 1 and es.ServerVar("dr_bhop") == 0:
                es.server.queuecmd('sv_enablebunnyhopping 1')
                es.server.queuecmd('sv_accelerate 10')
                es.server.queuecmd('sv_airaccelerate 1000')
                es.set("dr_bhop", deathrun_bhop)
            if int(deathrun_bhop) == 0 and es.ServerVar("dr_bhop") == 1:
                es.unload('sv_enablebunnyhopping 0')
                es.set("dr_bhop", deathrun_bhop)
            if int(deathrun_antidoublepush) == 1 and es.ServerVar("dr_antidoublepush") == 0:
                es.load('deathrun/antidoublepush')
                es.set("dr_antidoublepush", deathrun_antidoublepush)
            if int(deathrun_antidoublepush) == 0 and es.ServerVar("dr_antidoublepush") == 1:
                es.unload('deathrun/antidoublepush')
                es.set("dr_antidoublepush", deathrun_antidoublepush)
            if int(deathrun_dissolve) == 1 and es.ServerVar("dr_dissolve") == 0:
                es.load('deathrun/dissolve')
                es.set("dr_dissolve", deathrun_dissolve)
            if int(deathrun_dissolve) == 0 and es.ServerVar("dr_dissolve") == 1:
                es.unload('deathrun/dissolve')
                es.set("dr_dissolve", deathrun_dissolve)
            if int(deathrun_ctsleft) == 1 and es.ServerVar("dr_ctsleft") == 0:
                es.load('deathrun/ctsleft')
                es.set("dr_ctsleft", deathrun_ctsleft)
            if int(deathrun_ctsleft) == 0 and es.ServerVar("dr_ctsleft") == 1:
                es.unload('deathrun/ctsleft')
                es.set("dr_ctsleft", deathrun_ctsleft)
            if int(deathrun_correctfrag) == 1 and es.ServerVar("dr_correct") == 0:
                es.load('deathrun/correct')
                es.set("dr_correct", deathrun_correctfrag)
            if int(deathrun_correctfrag) == 0 and es.ServerVar("dr_correct") == 1:
                es.unload('deathrun/correct')
                es.set("dr_correct", deathrun_correctfrag)
            if int(deathrun_respawn) == 1 and es.ServerVar("dr_respawn") == 0:
                es.load('deathrun/respawn')
                es.set("dr_respawn", deathrun_respawn)
            if int(deathrun_respawn) == 0 and es.ServerVar("dr_respawn") == 1:
                es.unload('deathrun/respawn')
                es.set("dr_respawn", deathrun_respawn)
                es.set("deathrun_respawntime", 0)
            if int(deathrun_rndconnectsnd) == 1 and es.ServerVar("dr_rnd") == 0:
                es.load('deathrun/connectsound')
                es.set("dr_rnd", deathrun_rndconnectsnd)  
            if int(deathrun_rndconnectsnd) == 0 and es.ServerVar("dr_rnd") == 1:
                es.unload('deathrun/connectsound')
                es.set("dr_rnd", deathrun_rndconnectsnd)  
        else:
            es.unload('deathrun')

           
    def es_map_start(event_var):
        es.msg('#multi', '#green%s v %s by %s'%(info["name"], info["version"], info["author"]))
        es.msg('#multi', '#greenVisit our server #lightgreen188.134.21.171:27015')
        es.server.cmd("es_xmexec ../addons/eventscripts/deathrun/deathrun.cfg")
        if int(deathrun_enable) == 1:
            if int(deathrun_randomplayer) == 0 and es.ServerVar("dr_randomplayer") == 1:
                es.unload('deathrun/randomplayer')
                es.set("dr_randomplayer", deathrun_randomplayer)
            if int(deathrun_randomplayer) == 1 and es.ServerVar("dr_randomplayer") == 0:
                es.load('deathrun/randomplayer')
                es.set("dr_randomplayer", deathrun_randomplayer)
            if int(deathrun_bonuses) == 0 and es.ServerVar("dr_bonuses") == 1:
                es.unload('deathrun/bonus')
                es.set("dr_bonuses", deathrun_bonuses)
            if int(deathrun_bonuses) == 1 and es.ServerVar("dr_bonuses") == 0:
                es.load('deathrun/bonus')
                es.set("dr_bonuses", deathrun_bonuses)
            if int(deathrun_deadchat) == 1 and es.ServerVar("dr_deadchat") == 0:
                es.load('deathrun/deadchat')
                es.set("dr_deadchat", deathrun_deadchat)
            if int(deathrun_deadchat) == 0 and es.ServerVar("dr_deadchat") == 1:
                es.unload('deathrun/deadchat')
                es.set("dr_deadchat", deathrun_deadchat)
            if int(deathrun_blockkill) == 1:
                es.flags('add', 'cheat', 'kill')
            if int(deathrun_blockchange) == 1 and es.ServerVar("dr_blockchange") == 0:
                es.load('deathrun/restrictteam')
                es.set("dr_blockchange", deathrun_blockchange)
            if int(deathrun_blockchange) == 0 and es.ServerVar("dr_blockchange") == 1:
                es.unload('deathrun/restrictteam')
                es.set("dr_blockchange", deathrun_blockchange)
            if int(deathrun_scout) == 1 and es.ServerVar("dr_scout") == 0:
                es.load('deathrun/givescout')
                es.set("dr_scout", deathrun_scout)
            if int(deathrun_scout) == 0 and es.ServerVar("dr_scout") == 1:
                es.unload('deathrun/givescout')
                es.set("deathrun_scoutlimit", 0)
                es.set("dr_scout", deathrun_scout)
            if int(deathrun_banter) == 1 and es.ServerVar("dr_banter") == 0:
                es.load('deathrun/banter')
                es.set("dr_banter", deathrun_banter)
            if int(deathrun_banter) == 0 and es.ServerVar("dr_banter") == 1:
                es.unload('deathrun/banter')
                es.set("dr_banter", deathrun_banter)
            if int(deathrun_bhop) == 1 and es.ServerVar("dr_bhop") == 0:
                es.server.queuecmd('sv_enablebunnyhopping 1')
                es.server.queuecmd('sv_accelerate 10')
                es.server.queuecmd('sv_airaccelerate 1000')
                es.set("dr_bhop", deathrun_bhop)
            if int(deathrun_bhop) == 0 and es.ServerVar("dr_bhop") == 1:
                es.unload('sv_enablebunnyhopping 0')
                es.set("dr_bhop", deathrun_bhop)
            if int(deathrun_antidoublepush) == 1 and es.ServerVar("dr_antidoublepush") == 0:
                es.load('deathrun/antidoublepush')
                es.set("dr_antidoublepush", deathrun_antidoublepush)
            if int(deathrun_antidoublepush) == 0 and es.ServerVar("dr_antidoublepush") == 1:
                es.unload('deathrun/antidoublepush')
                es.set("dr_antidoublepush", deathrun_antidoublepush)
            if int(deathrun_dissolve) == 1 and es.ServerVar("dr_dissolve") == 0:
                es.load('deathrun/dissolve')
                es.set("dr_dissolve", deathrun_dissolve)
            if int(deathrun_dissolve) == 0 and es.ServerVar("dr_dissolve") == 1:
                es.unload('deathrun/dissolve')
                es.set("dr_dissolve", deathrun_dissolve)
            if int(deathrun_ctsleft) == 1 and es.ServerVar("dr_ctsleft") == 0:
                es.load('deathrun/ctsleft')
                es.set("dr_ctsleft", deathrun_ctsleft)
            if int(deathrun_ctsleft) == 0 and es.ServerVar("dr_ctsleft") == 1:
                es.unload('deathrun/ctsleft')
                es.set("dr_ctsleft", deathrun_ctsleft)
            if int(deathrun_correctfrag) == 1 and es.ServerVar("dr_correct") == 0:
                es.load('deathrun/correct')
                es.set("dr_correct", deathrun_correctfrag)
            if int(deathrun_correctfrag) == 0 and es.ServerVar("dr_correct") == 1:
                es.unload('deathrun/correct')
                es.set("dr_correct", deathrun_correctfrag)
            if int(deathrun_respawn) == 1 and es.ServerVar("dr_respawn") == 0:
                es.load('deathrun/respawn')
                es.set("dr_respawn", deathrun_respawn)
            if int(deathrun_respawn) == 0 and es.ServerVar("dr_respawn") == 1:
                es.unload('deathrun/respawn')
                es.set("dr_respawn", deathrun_respawn)
                es.set("deathrun_respawntime", 0)
            if int(deathrun_rndconnectsnd) == 1 and es.ServerVar("dr_rnd") == 0:
                es.load('deathrun/connectsound')
                es.set("dr_rnd", deathrun_rndconnectsnd)  
            if int(deathrun_rndconnectsnd) == 0 and es.ServerVar("dr_rnd") == 1:
                es.unload('deathrun/connectsound')
                es.set("dr_rnd", deathrun_rndconnectsnd)  
        else:
            es.unload('deathrun')

    def version():
        userid = es.getcmduserid()
        es.cexec(userid ,"echo DeathRun v1.6")
                 

_________________
Image


User avatar
Helper
Profile

Posts: 243
Location:
Just about here...
 
New postPosted: 2010-10-05, 12:34 pm 
   Post subject: Re: DeathRun Mod v 1.6 [2010-10-04]

First:
+woot

Second:
Maybe i will start playing deathrun again :D

Third:
Looks good

Fourth:
:D

_________________
"Man invented language to satisfy his deep need to complain."
"Everyone is entitled to their own opinion. It's just that yours is stupid."


User avatar
Reader
Profile

Posts: 101
Location:
Ukraine, Odessa
 
New postPosted: 2010-10-11, 2:17 pm 

У меня теры не меняются 0_о


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-11, 11:13 pm 

Source Python Extensions самой последней версии стоит?

_________________
Image


User avatar
Reader
Profile

Posts: 101
Location:
Ukraine, Odessa
 
New postPosted: 2010-10-12, 6:03 am 

Помоему вообще не стоит :D спасибо ща попробую)


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-12, 12:30 pm 

DeathRun Mod Updated!
Version: 1.7
Updated on: 2010-10-12 13:21:01
Version Notes:
- Antifalldamage
- Slay ct at roundtime end
- Multilangual

_________________
Image


Last edited by tooshkan4uk on 2011-01-11, 4:33 pm, edited 1 time in total.

User avatar
Reader
Profile

Posts: 101
Location:
Ukraine, Odessa
 
New postPosted: 2010-10-13, 12:13 pm 

Поставил то про что ты мне говорил, не работает, а влияет ли на это сервер после обновления или нет?


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-13, 12:20 pm 

Source Python Extensions поставил самой последней версии? Больше вариантов нет:) Все проверял на своем сервере и с ботами и с игроками и работало корректно

_________________
Image


User avatar
Reader
Profile

Posts: 101
Location:
Ukraine, Odessa
 
New postPosted: 2010-10-13, 2:19 pm 

Да, то что у тебя лежит в ссылке на плагинах!


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-13, 11:41 pm 

Сервер не на ли Linux случайно? viewtopic.php?f=125&t=40195

_________________
Image


User avatar
Reader
Profile

Posts: 101
Location:
Ukraine, Odessa
 
New postPosted: 2010-10-14, 6:33 am 

Нет. Windows Office 2003


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-10-22, 5:35 am 

Если все работает кроме смены теров, то это уже проблема с Source Python Extensions. Возможно он не совместим с твоей ОС

_________________
Image


User avatar
New User
Profile

Posts: 3
Steam Friends Name: dekamarus
 
New postPosted: 2010-10-30, 12:00 pm 

Скинь исходник (deathrun.py) твоей последней версии плиз


User avatar
New User
Profile

Posts: 3
 
New postPosted: 2010-11-28, 4:22 pm 

У меня не работает !scout и bhop настройки,можно узнать причину?


User avatar
Power User
Profile

Posts: 521
Location:
Russia
 
New postPosted: 2010-11-29, 8:57 am 

Логи из консоли please!

_________________
Image


User avatar
New User
Profile

Posts: 3
 
New postPosted: 2010-11-30, 4:43 am 

L 11/30/2010 - 12:30:40: Log file started (file "logs\L1130000.log") (game "C:\Games\SERVER\orangebox\cstrike") (version "4394")
L 11/30/2010 - 12:30:40: server_cvar: "mp_autoteambalance" "0"
L 11/30/2010 - 12:30:40: "Console<0><Console><Console>" say ""Loaded SRCDS COUNTER-STRIKE: SOURCE SERVER CONFIGURATION" "
L 11/30/2010 - 12:30:40: World triggered "Round_Start"
L 11/30/2010 - 12:30:40: server_cvar: "sm_nextmap" "deathrun_iceworld_v2"
L 11/30/2010 - 12:30:40: server_cvar: "sv_airaccelerate" "9999"
L 11/30/2010 - 12:31:51: "Mr.Desmont<2><STEAM_0:0:36224567><>" connected, address "192.168.1.2:27006"
L 11/30/2010 - 12:31:52: "Mr.Desmont<2><STEAM_0:0:36224567><>" STEAM USERID validated
L 11/30/2010 - 12:31:58: World triggered "Round_Start"
L 11/30/2010 - 12:32:15: "Mr.Desmont<2><STEAM_0:0:36224567><>" entered the game
L 11/30/2010 - 12:32:19: "Mr.Desmont<2><STEAM_0:0:36224567><Unassigned>" joined team "CT"
L 11/30/2010 - 12:32:31: "Mr.Desmont<2><STEAM_0:0:36224567><CT>" say "!scout"
L 11/30/2010 - 12:32:57: "Mr.Desmont<2><STEAM_0:0:36224567><CT>" committed suicide with "world"
L 11/30/2010 - 12:32:57: World triggered "Round_Draw" (CT "0") (T "0")
L 11/30/2010 - 12:32:57: Team "CT" scored "0" with "1" players
L 11/30/2010 - 12:32:57: Team "TERRORIST" scored "0" with "0" players
L 11/30/2010 - 12:32:57: World triggered "Round_End"
L 11/30/2010 - 12:33:09: "Mr.Desmont<2><STEAM_0:0:36224567><CT>" say "!scout"
L 11/30/2010 - 12:33:11: World triggered "Round_Start"
L 11/30/2010 - 12:33:33: "Mr.Desmont<2><STEAM_0:0:36224567><CT>" committed suicide with "world"
L 11/30/2010 - 12:33:33: World triggered "Round_Draw" (CT "0") (T "0")
L 11/30/2010 - 12:33:33: Team "CT" scored "0" with "1" players
L 11/30/2010 - 12:33:33: Team "TERRORIST" scored "0" with "0" players
L 11/30/2010 - 12:33:33: World triggered "Round_End"
L 11/30/2010 - 12:33:35: "Mr.Desmont<2><STEAM_0:0:36224567><CT>" disconnected (reason "Disconnect by user.")
L 11/30/2010 - 12:33:47: World triggered "Round_Start"
L 11/30/2010 - 12:33:50: [META] Failed to load plugin addons/sourcemod/bin/sourcemod_mm.dll;*********. File not found: C:\Games\SERVER\orangebox\cstrike\LIST PLUGINS BELOW ***********.dll
L 11/30/2010 - 12:33:50: [META] Loaded 0 plugins (1 already loaded)
L 11/30/2010 - 12:33:50: server_message: "quit"
L 11/30/2010 - 12:33:50: Log file closed


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group