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 (12) awp (23) ban (18) ba_jail (17) bhop (19) block (19) 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 (2507) Damage (35) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (389) easy (17) 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) jail (26) jailbreak (11) join (23) jump (12) kick (23) kill (44) kills (22) knife (57) leveling (36) management (14) mani (15) 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 (18) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (56) props (23) protection (27) punishment (50) 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 (42) 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) spawn (63) speed (25) statistics (13) stats (48) STEAMID (23) 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 (9) 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 (8) 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) 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
Author Message
User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-06-16, 9:39 am 
   Post subject: Ace Info *Updated 06 Feb 2008*

This script replaces my old Ace Info script.

It now uses the clients. dB txt file. See below.

Any player may type "Info + Partial Name" or "detail + Partial Name" and will recieve a block of info about the player he targeted.

For example "info ace" = will give info on any player containing the words "ace "in his player name.

It will give you his Steam ID, Player ID and also it will give you his known aka, tell you if he is admin or not, it will display all his admin and immunity keys and display notes about the player.[/color]

Player can also type "infolist" for a list of players on the server who he can then pick from and get their info.

Requirements:

Event Scripts v1.0 or higher


INSTALLATION:

Download the .rar file
    Extract the folders exactly as they are in the rar file.
    ../addons/eventscripts/ace_inf/es_ace_inf.txt
    IMPORTANT:You MUST have an es_clients_db.txt file installed! (See below)
    Add the line es_load ace_inf your autoexec.cfg
    Restart Server
    Know who you are talking to:-)


----------

The final folder structure should look like this:

addons/eventscripts/ace_inf/es_ace_inf.txt
addons/eventscripts/clients/es_clients_db.txt


INSTRUCTIONS:

Make an admin clients file and upload it to: addons/eventscripts/clients/es_clients_db.txt

If you don't have a client file, either convert your MANI 1.2 file using the tool OR make your own.

Structure for clients file:

es_clients_db.txt
Code:
"clients"
{
"STEAM_0:1:5130123117"
{
"email"   "ace@riffsandrays.com"
"name"   "Ace Rimmer"
"password"   "07cd55c7b4271ghd5ec44c133a6a165e8d2"
"notes"   "Clan leader & server owner"
"steam"   "STEAM_0:1:51301238117"
"adminflags"  "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g i j k l m o p q r s t v w x y z q2 q3 admin spray grav pban client"
"immunityflags"  "a b c d f h i j k l m n p r v afk autojoin ping Immunity"
}
"STEAM_0:0:50012365012"
{
"name"   "Sniperumm"
"notes"   "RnR Senior Member"
"steam"   "STEAM_0:0:51231312"
"adminflags"  "A B C D E F H I L M N O Q R S T U V Y a b c d e g i j k l o q r s v w x y admin spray grav"
"immunityflags"  "a b d h k n p t v afk autojoin Immunity"
}
}


IMPORTANT:

IF you already have another script that uses the client DB file you do not need to uncomment:

Code:
block load
{
// for use if you dont have another script that uses clients
// es_xsetinfo clients_dir "|clients"
// es_keygroupload clients server_var(clients_dir)
}


If this is the only script that uses this file then uncomment thusly:

block load
{
// for use if you dont have another script that uses clients
es_xsetinfo clients_dir "|clients"
es_keygroupload clients server_var(clients_dir)
}

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


Last edited by Ace Rimmer on 2008-02-06, 2:31 pm, edited 13 times in total.




User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-06-16, 11:56 pm 

The clan team sorter doesn't seem to be working too well. It is very difficult to test as you can imagine. I will get it sorted soon.

The general info works perfectly though.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-06-20, 2:18 pm 

Updated the clan team sorter now works perfectly.

Bare in mind that it will not swap bots.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-06-20, 2:56 pm 

I am planning to make the team sorter as a standalone script which will only require a list of steam IDs.

I will also have to only swap players when they are dead and also give messaging etc.

I will then remove it from the info script.

If anyone has any suggestions for this please get them in now! :-)

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-06-20, 8:44 pm 

Updated; removed clan team sorting to a separate script. Script much more efficient now.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2006-09-27, 11:19 am 

Updated now uses the clients dB admin system.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2008-02-04, 6:40 am 

Player can also type "infolist" for a list of players on the server who he can then pick from and get their info.

Thanks to Jozzy from ARSE Team for this new feature.

ARSE = Ace Rimmer's Scrip Events :-)

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2008-02-06, 2:31 pm 

Updated 6 Feb, fixed bug where non admins could be marked as admin.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Newbie
Profile

Posts: 40
Location:
Buffalo, NY
 
New postPosted: 2008-02-12, 10:43 am 

Can't believe I completely overlooked this when I was trying to convert my clients.txt file over. Looks like yet another interesting idea from ARSE.

Cheers. :-)


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2008-02-12, 10:49 am 

Hehe actually this is my favourite script and most useful of all. Especially if you add non-admins as well.

i.e. People that you just want to know about but don't have admin:

Code:
"Critex"
      {
         // Client real name
         "name"   "Critex"
         "notes"   "Tosser"
         // Steam ID for client
         "steam"   "STEAM_0:1:11087070"
         "groups"
         {
            "Admin"   "None"
            "Immunity"   "None"
         }
      }


You must add an admin and immunity group called "None" and give them no flags at all of course.

Quote:
"None" ""

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Newbie
Profile

Posts: 40
Location:
Buffalo, NY
 
New postPosted: 2008-02-12, 10:59 am 

Ace Rimmer wrote:
Especially if you add non-admins as well.


lol. It's funny you should mention that, that was one of my first thoughts.

I'll have to work on converting this into ES2.


User avatar
Newbie
Profile

Posts: 40
Location:
Buffalo, NY
 
New postPosted: 2008-02-12, 11:25 am 

Ace Rimmer wrote:
i.e. People that you just want to know about but don't have admin:

Code:
"Critex"
      {
         // Client real name
         "name"   "Critex"
         "notes"   "Tosser"
         // Steam ID for client
         "steam"   "STEAM_0:1:11087070"
         "groups"
         {
            "Admin"   "None"
            "Immunity"   "None"
         }
      }


You must add an admin and immunity group called "None" and give them no flags at all of course.


Just a question about this. Wouldn't this only be an issue for when you're converting the clients.txt file over to the database file?

For adding non-Admin users to an already converted es_clients_db.txt file, wouldn't you just have to avoid declaring the 'adminflags' and 'immunityflags' inside the keygroup? Or declare them and set them to a value say ""?


User avatar
Helper
Profile

Posts: 210
Location:
England
 
New postPosted: 2008-02-12, 11:27 am 

Ace Rimmer wrote:
Code:
"Critex"
      {
         // Client real name
         "name"   "Critex"
         "notes"   "Tosser"
      }



LOL!!! Want him to come back on the server just so I can see that displayed in the popup! :wink:
Still can't believe you refer to us as ARSE...Perhaps you should make a logo!


User avatar
Helper
Profile

Posts: 210
Location:
England
 
New postPosted: 2008-02-12, 11:37 am 

KillSwitch wrote:
Just a question about this. Wouldn't this only be an issue for when you're converting the clients.txt file over to the database file?

For adding non-Admin users to an already converted es_clients_db.txt file, wouldn't you just have to avoid declaring the 'adminflags' and 'immunityflags' inside the keygroup? Or declare them and set them to a value say ""?

Im sure Ace will check this and correct me if I'm wrong but from what I can see within the script you shouldn't even have to declare 'adminflags' and 'immunityflags'. If they're not there in the database the script knows that they have no admin. Best wait for Ace to reply before changing anything though matey - I have to admit I didn't tinker with that block when I made recent changes to the code :P
Joz / Dave


User avatar
Newbie
Profile

Posts: 40
Location:
Buffalo, NY
 
New postPosted: 2008-02-12, 11:45 am 

jozzy wrote:
...you shouldn't even have to declare 'adminflags' and 'immunityflags'. If they're not there in the database the script knows that they have no admin.


That's exactly what I was thinking. I could see having to set it to 'None' if you had something that converted from es_clients_db.txt back to clients.txt, in order to keep them both current/updated.

Edit: I think I see now what Ace was referring to. I thought he had a player_activate event declared where he added players to the es_clients_db.txt file. But after going through the code, he must just manually add Players to the clients.txt file and convert over (which would explain why you'd need to declare their Admin and Immunity status).


User avatar
Moderator
Moderator
Profile

Posts: 3171
Location:
10,000 feet

Steam Friends Name: Phil Pendlebury
 
New postPosted: 2008-02-12, 1:05 pm 

Exactly... I should have explained. The converter won't work if you don't have some kind of flags.

Doing it that way is also logical because:

1. You may still have ex clan members in your mani clients file so all you need to do is change their admin and immunity to the "None" group.

2. Adding new members to the mani clients file and then converting the clients file means you don't have to "edit" two files.

3. You could always edit the db file directly but to actually convert the clients file is easier and will also show up any errors.

_________________
How To: Download Ace Event Scripts (2010)
How To: Install ES + Scripts
How To: Get Scripts Running (for users)
How To: Get Scripts Running (for scripters)
How To: Using the MACE Clients Converter

Phil Pendlebury (Ace Rimmer)

http://www.pendlebury.biz - http://www.meap.biz - http://www.riffsandrays.com


User avatar
Newbie
Profile

Posts: 40
Location:
Buffalo, NY
 
New postPosted: 2008-02-12, 1:08 pm 

Thanks for clearing that up Ace. It makes sense now.


User avatar
Helper
Profile

Posts: 210
Location:
England
 
New postPosted: 2008-02-12, 2:06 pm 

One thing to avoid confusion Ace - point out that the Critex example above is from the mani clients.txt and not the es_clients_db.txt...must admit it threw me off for a few minutes :P


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  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