EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (11) awp (23) ban (18) ba_jail (17) bhop (19) block (18) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2513) Damage (36) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (18) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (288) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (55) hegrenade (13) hl2dm (332) HP (13) info (48) information (16) IP (11) jail (26) jailbreak (11) join (23) jump (12) kick (22) kill (44) kills (22) knife (57) leveling (36) management (14) mani (14) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (13) music (29) mute (17) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (49) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (41) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (151) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (25) slay (13) soccer (11) sound (45) sounds (92) spanish (11) spawn (63) speed (25) statistics (13) stats (48) status (11) STEAMID (24) Superhero (13) surf (31) Team (25) team-balance (14) teleport (12) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (12) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) 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) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (16) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (10) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (6) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (9) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (9) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) Snake12 (7) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

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

Posts: 336
Location:
Germany
 
New postPosted: 2006-03-09, 1:44 pm 
   Post subject: ][K][0riz0n's AwayMode Script v1.3 for HL2DM [03.08.2006]

][K][0riz0n's AwayMode Script v1.3

Look here for CSS version of this script.

Description:

I made this script, because its so annoying get killed if telephone
rings or your girlfriend is screaming for you :-)

Feature List:


When activated, player recieves a lots of health
and cant move, shoot or look around.

Requirements:

- Matti EventScripts http://mattie.info/cs
- ES-Tools http://forums.mattie.info/cs/forums/vie ... php?t=3413 (optional)

Installation:

- download script (Link is down there)
- create a new directory in or hl2mp/addons/eventscripts/ called away
- upload scriptfile to hl2mp/addons/eventscripts/away
- edit away color in scriptfile (optional, default is black)
- add the following line somewhere in autoexec.cfg or server.cfg
Code:
es_load away


If you're updateing from previous versions please delete following in your autoexec.cfg or server.cfg
Code:
eventscripts_subdirectory events
eventscripts_register away
es_keygroupdelete away
es_keygroupcreate away



How to use:

If you want to enter awaymode, type !away in chat.
When you're ready, just type !back to be back in game.


History:

v1.3
- bugfix

v1.3
- changed info message
- away color can be set (black to red)
- armor is now saved too (only when ES-Tools 0.415 or above is installed)
- away players not moving on physical contact

v1.2a
- deleted debug console messages

v1.2
- did bugfix with health in TDM
- disabled name changing, because of problems on some events (map change, disconnect...)

v1.1
- work without ManiAdminPlugin
- players name gets changed when in away mode
- away guy receives more health
- code optimized and convert to new ES script style
- added public cvar

v1.0a
- Little bugfix,
now dead and spawnkill protected people cant join awaymode

v1.0
- First Release

Demo?
][BC][ killbox911 GravGun only / epacs
][BC][ killbox911 only - fast DL / epacs

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


Last edited by k0riz0n on 2006-08-04, 2:48 pm, edited 13 times in total.




User avatar
Helper
Profile

Posts: 286
Location:
Derby, UK
 
New postPosted: 2006-03-11, 6:27 pm 

How about adding the ability so that if you go into away mode but you are a T on a de map, you auto drop the bomb so as to not inconvenience the rest of the team for that map?

Also maybe have it so that the person becomes invisible or invulnerable but have a glow around them to make it obvious that they are in away mode


User avatar
Newbie
Profile

Posts: 60
 
New postPosted: 2006-03-12, 5:32 am 

mass wrote:
How about adding the ability so that if you go into away mode but you are a T on a de map, you auto drop the bomb so as to not inconvenience the rest of the team for that map?

Also maybe have it so that the person becomes invisible or invulnerable but have a glow around them to make it obvious that they are in away mode


this is for hl2dm not css


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-03-12, 6:59 am 

it can be edited to work for cs too.. including bomb drop

give me a few days :D

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


Last edited by k0riz0n on 2006-03-12, 3:23 pm, edited 1 time in total.

User avatar
Newbie
Profile

Posts: 60
 
New postPosted: 2006-03-12, 2:22 pm 

what bomb in hl2dm?


User avatar
Helper
Profile

Posts: 286
Location:
Derby, UK
 
New postPosted: 2006-03-12, 2:44 pm 

Sorry, it was also posted in the CSS section khjb007 with a link to this post

_________________
Image

www.CoWclan.co.uk


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-03-12, 3:22 pm 

yes. if its only in hl2dm section just a few persons find it :(

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


User avatar
New User
Profile

Posts: 12
 
New postPosted: 2006-03-27, 10:44 am 

This map pack is brilliant thanks


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-03-27, 11:40 am 

nice to hear you like it.. :)

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


User avatar
Regular
Profile

Posts: 131
Location:
USA
 
New postPosted: 2006-04-12, 5:20 pm 

Thanks for writing this AFK script k0riz0n :-)
We've been running it on our TDM server fr some time now and it's GREAT!


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-05-08, 10:25 am 

:)

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


User avatar
Regular
Profile

Posts: 154
Location:
Florida
 
New postPosted: 2006-06-12, 7:12 pm 

I have run accross one problem maybe someone can help out as to whats wrong.


Everything works but one thing. The freeze works, and the blind works on both away and back but on away it's not giving the 10000 health as it says it is. Any ideas ?


Also I noticed that in the Readme and Instructions above you're asking that 4 things be listed in the server.cfg. Shouldn't them 4 lines be listed in the autoexec.cfg file not the server.cfg ?

These:
=====
eventscripts_subdirectory events
eventscripts_register away
es_keygroupdelete away
es_keygroupcreate away



-=orbit=-


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-06-12, 7:59 pm 

orbit wrote:
... it's not giving the 10000 health ...

hmm, tried to set it manually for testing?
e.g. ma_sethealth orbit 150
it happens to all people? or just admins?

Quote:
... Shouldn't them 4 lines be listed in the autoexec.cfg file not the server.cfg ?

i'm not sure at the moment if autoexec.cfg is executed everytime server changes map.

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


User avatar
Regular
Profile

Posts: 154
Location:
Florida
 
New postPosted: 2006-06-13, 1:49 pm 

I know i posted a reply but for some reason it's gone, nothing bad was said and i explained what I did but i guess someone didn't like it and removed it, i don't know. not looking to repost all what i posted as i had the one in detail and it was removed for no reason.


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-06-13, 2:25 pm 

hm, thats bad :(

write me an instant message if you like..

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


User avatar
Regular
Profile

Posts: 154
Location:
Florida
 
New postPosted: 2006-06-13, 2:25 pm 

k0riz0n wrote:
orbit wrote:
... it's not giving the 10000 health ...

hmm, tried to set it manually for testing?
e.g. ma_sethealth orbit 150
it happens to all people? or just admins?

Quote:
... Shouldn't them 4 lines be listed in the autoexec.cfg file not the server.cfg ?

i'm not sure at the moment if autoexec.cfg is executed everytime server changes map.



Ok One more time or i'll never get my problem resolved.
=====================================

Here is what the log said and I did find and error and i have no clue why it's saying what it's saying.

=============LOG

=========Away
orbit: !away

L 06/12/2006 - 19:24:21: "orbit<4><STEAM_0:0:00000000><Unassigned>" say "!away"

L 06/12/2006 - 19:24:21: CONSOLE : froze user [orbit] [STEAM_0:0:00000000]

(CONSOLE) : froze player orbit

L 06/12/2006 - 19:24:21: CONSOLE : blinded user [orbit] [STEAM_0:0:00000000]

(CONSOLE) : blinded player orbit

ERROR: Eventscripts cannot find/create the away key!

L 06/12/2006 - 19:24:21: CONSOLE : ma_sethealth : Player [orbit] [STEAM_0:0:00000000] had [0] health, now has [10000] health

(CONSOLE) : changed player orbit health to 10000

L 06/12/2006 - 19:24:21: CONSOLE : ma_csay orbit is in awaymode.

======Back
orbit: !back

L 06/12/2006 - 19:24:46: "orbit<4><STEAM_0:0:00000000><Unassigned>" say "!back"

L 06/12/2006 - 19:24:46: CONSOLE : defrosted user [orbit] [STEAM_0:0:00000000]

(CONSOLE) : defrosted player orbit

L 06/12/2006 - 19:24:46: CONSOLE : unblinded user [orbit] [STEAM_0:0:00000000]

(CONSOLE) : unblinded player orbit

L 06/12/2006 - 19:24:46: CONSOLE : ma_sethealth : Player [orbit] [STEAM_0:0:00000000] had [0] health, now has [100] health

(CONSOLE) : changed player orbit health to 100

L 06/12/2006 - 19:24:46: CONSOLE : ma_csay orbit is back in game.

=============End logs.


As you see there is an error there and i don't know why cause the only thing not working is the health but everything else seems to work fine.


As for the autoexec.cfg and to what you said, what i did was i added autoexec.cfg to the server.cfg this way it will load no matter what but i'm still getting the same results.

IE: exec autoexec.cfg


I tired this on both Admins and Non-Admins and still have the same problem with the health not working. As for doing the command you suggested I did that as well.

ma_sethealth orbit 150

in logs/console it says it's giving me the health but on the game it's not doing anything at all. I have another script that adds health which is the spawn protection script and it gives health with no problem and removes it back to 100 i'm not sure what code he's using and if it's the same as what you mentioned to do, so i know higher health can be given just don't know why you're script isn't doing it for me as well or what this key group error is.


ERROR: Eventscripts cannot find/create the away key!


Saved a copy of this post just incase for some reason someone doesn't like it again and removes it without saying why they removed it and for no reason.


-=orbit=-


User avatar
Regular
Profile

Posts: 154
Location:
Florida
 
New postPosted: 2006-06-13, 2:30 pm 

BTW: this script kicks A** if i can get it to add the health, just had to let you know that!! This is deff something that is needed for my 9 servers. :)


k0riz0n, Thank you for the help and the script!!... :)


User avatar
Experienced
Profile

Posts: 336
Location:
Germany
 
New postPosted: 2006-06-13, 3:09 pm 

problem's source is, script cant set users origin health in database because the key doesn't exist

look at your player_activate.cfg there had to be something like this
Code:
es_keycreate away event_var(userid)
es_keysetvalue away event_var(userid) isaway 0
es_keysetvalue away event_var(userid) awayhealth 1


then type
Code:
es_keygroupsave away

in server console, a text file called es_away_db.txt should be generated in
hl2mp/cfg/events/
this is a dump from database, everytime a player connects a key is generated in database.

_________________
easy edit your banlists -> Banlisteditor v1.1
Analyze your log files for chatmessages -> LogAnalyzer v1.0
administrate gameserver via browser -> k0ri's WebAdmin v0.3
PHPKIT Addons und mehr - eintreten & wohlfühlen
Infoportal Regensburg
Image


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


Who is online

Users browsing this forum: No registered users and 0 guests


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