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 (2498) Damage (35) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (386) easy (17) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (286) 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 (54) hegrenade (13) hl2dm (329) 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 (12) music (29) mute (18) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (55) 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 (149) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (24) slay (13) soccer (11) sound (45) sounds (92) spawn (62) speed (25) statistics (13) stats (48) STEAMID (23) Superhero (13) surf (31) Team (25) team-balance (14) teleport (11) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (11) 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 (15) 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 (5) 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 (6) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (8) 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
Go to page 1, 2, 3, 4, 5 ... 26  Next
Author Message
User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-16, 7:07 pm 
   Post subject: PopupAdmin v1.52

PopupAdmin v1.52

Description

Creates a simple admin menu system using popup script (released officially with EventScripts 1.2).

Features
  • Restrict usage by STEAM-ID, IP or name/password pair
  • Slay players
  • Burn players
  • Freeze players
  • Explode players
  • Heal players
  • Give weapons and items to players
  • Spy players
  • Anti-camp:
    • Jump
    • Emit sound
    • Explosion
    • Shoot
    • Secondary fire
    • Move
    • Drop weapon
    • Announce
  • Kick players
  • Perma-ban players
  • Adjust player cash
  • Show player info
  • Change player team
  • Add to admin list
  • Adjust bots
  • Control server
  • Control other scripts
  • Adjust server settings

Requirements
  • Mattie's EventScripts 1.3 or 2.0 (not 1.5 !)
  • Popup loaded

Installation
Download both PopupAdmin and Popup scripts (attachments at the end of this post) and extract them to your addons/eventscripts/ folder.
To use this script addon, you have to have loaded corelib and popup script before loading this script addon. No server restart required.

If you want to run this every time, please adjust your autoexec.cfg to execute es_load commands in this order:
ES:
    mattie_eventscripts 1
    es_load corelib
    es_load popup
    es_load popupadmin
    pa_log 1
Other than that you can have your autoexec.cfg whatever you want it to be like.

Note: As from version 1.5 the zip file does not contain admin database file. If you don't have one yet, the script creates an example file automatically on first load. Edit it to suit you, then either reload popupadmin or give console command:
es_xdoblock popupadmin/update_admin_list

In-game usage
Say "!pa" for the menu to pop out if you are in the admin list. As of version 1.1 you can also use !pa in your client console, so you can for example bind a key to open the menu.

Screenshot
Image Image Image

Compatibility version 1.52
Made compatible with ES 1.5, nothing else. (does not work in 1.5 still due to problem with popup)

Changes for v1.51
Only fixed name/password recognization. In 1.5 it would authenticate everybody without a password set :o

What's new in v1.5
  • It works!
  • Using !pa command when menu is open closes it (does not apply to player lists and the bug in popup script might prevent it from working)
  • New console command pa_clearlog, clears the admin log
  • pa_addlog now shows usage when used without parameters
  • Removed IP display in player info when IP not saved

Note: Might cause some console spam about key not found, they are not serious, but due to clock showing late, I can't fix them now.

Another note: Admin recognization by IP address and Name/Password has not been tested, but should work. Report if they don't.

What's new in v1.4e
This is non-tested version. It contains following improvements:
  • Admin authentication now uses separate file es_pa_admins_db.txt
  • Admin authentication can be specified by STEAM ID, IP address and Name/Password pair (when any of those match, the user is admin)
  • For user to be authenticated using password, he must use !password <password> in his console after joining the server
  • Fixed exploit that could make user able to execute any command on server
  • Announce now has multiple levels: off, all, admins, self to control who see the admin actions
  • Fixed kick messages having two punctuations or not being shown
  • Fixed script handling to be more reliable (also affects unloading popupadmin itself, the useless function)
  • Added admin action logging:
    • pa_log <0/1> controls if logging is enabled or not
    • pa_viewlog [<start> [<end>]] show entire log or entries between start and end
  • Other random fixes


What's v1.3e?
This is non-tested version. It fixes kick/ban not working and improves the code by replacing all es_ commands with es es_x variations. Since the replacement was done using regular expression replacement, I can't assure it is 100 % correct since I have difficulties running my game to test it. So you still have 1.2 download here, but it has kick and ban commands broken.


(Note: Script flagged as unsupported 2007-03-29 and will stay in this state until the next major version is released for which there is no timetable set)


For downloads: http://addons.eventscripts.com/addons/viewaddon/7401

_________________
Would you like something new?
popuplib2


Last edited by GODJonez on 2007-12-28, 10:44 am, edited 26 times in total.




User avatar
Regular
Profile

Posts: 142
Location:
Rooftop with my l96
 
New postPosted: 2006-08-16, 7:09 pm 

Nice job! :)

_________________
Image

Like my work?


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-16, 7:10 pm 

(There was the whole script text file, removed because the updated version is so much bigger it would be insane amount of lines to scroll)

_________________
Would you like something new?
popuplib2


Last edited by GODJonez on 2006-08-19, 6:04 pm, edited 1 time in total.

User avatar
Site Administrator
Site Administrator
Profile

Posts: 5572
Location:
File not found.
 
New postPosted: 2006-08-16, 7:11 pm 

Nice job, GJ. I'll have to check it out and see how you've done this. I'm sure your code owns mine.

_________________
Code:
10 print "I'm a noob. I want code in my sig like everyone else!"
20 goto 10


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-16, 7:24 pm 

Test it! You might be amazed how it works. It contains some features requested from menus around the forums:

- keep the menu up for multiple inputs and update it as you choose options
- truly dynamic multi-page player list, supports unlimited number of players

_________________
Would you like something new?
popuplib2


User avatar
Site Administrator
Site Administrator
Profile

Posts: 5572
Location:
File not found.
 
New postPosted: 2006-08-16, 9:05 pm 

GODJonez wrote:
Test it! You might be amazed how it works. It contains some features requested from menus around the forums:

- keep the menu up for multiple inputs and update it as you choose options
- truly dynamic multi-page player list, supports unlimited number of players


I did test it out! Worked Great! I went LOOKING for bugs! Hehe

The only thing that I saw, which is no big deal at all, the Slay menu shows ALL of the players, even if they are already dead. :P

Awesome script GJ. Take this with EST.. Who needs Mani's? :)

I have a feature request already!

Use es_emit sound so that admins can make a player emit a sound of my choice. ;) (I guess it'd have to be a sound that the players already have or something....)

_________________
Code:
10 print "I'm a noob. I want code in my sig like everyone else!"
20 goto 10


User avatar
Experienced
Profile

Posts: 494
Location:
California
 
New postPosted: 2006-08-16, 10:35 pm 

Hey this one looks like it could work with DOD:S. Sweet!!!!!

_________________
No KnoW Server
Web site : Visit NoKnow.net!
DOD:S Server : noknow.nuclearfallout.net:27015
Image
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-17, 9:34 am 

I created this script to be more like an example of what you can do using my popup script ;)

Using the base it would be easy to implement more and more features. And having alive players in slay and burn menu... o_O nice catch.

Well, when making more per-player features, it could be divided to two categories: Commands for all and commands for alive players.

I already have some commands to be added for alive players (stealing ideas ftw!):

- slay (implemented)
- burn (implemented)
- heal
- give (weapon/ammo/equip)
- spy player
- explode player (BOOM!)
- player emit sound (I need list of sounds you want to the menu)

For all players:
- kick (implemented)
- ban (implemented)
- show player info (I want to know all about you)
- no cash (evil punishment)
- 16000 cash (Cha'ching! $)

Then of course there are lots of other things that can be done with conjuction of Es_Tools, like setting gravity, different effects, and so on.

More ideas?
I'm going to have this script as my own admin plugin on my server.

_________________
Would you like something new?
popuplib2


User avatar
Site Administrator
Site Administrator
Profile

Posts: 5572
Location:
File not found.
 
New postPosted: 2006-08-17, 9:53 am 

GODJonez wrote:
I created this script to be more like an example of what you can do using my popup script ;)

Using the base it would be easy to implement more and more features. And having alive players in slay and burn menu... o_O nice catch.

Well, when making more per-player features, it could be divided to two categories: Commands for all and commands for alive players.

I already have some commands to be added for alive players (stealing ideas ftw!):

- slay (implemented)
- burn (implemented)
- heal
- give (weapon/ammo/equip)
- spy player
- explode player (BOOM!)
- player emit sound (I need list of sounds you want to the menu)

For all players:
- kick (implemented)
- ban (implemented)
- show player info (I want to know all about you)
- no cash (evil punishment)
- 16000 cash (Cha'ching! $)

Then of course there are lots of other things that can be done with conjuction of Es_Tools, like setting gravity, different effects, and so on.

More ideas?
I'm going to have this script as my own admin plugin on my server.


Did you have Freeze Player (for living players)..

If you were going EST route, you could add est_setplayer model est_shake.. est_spawn est_teleport (not sure how that'd work exactly...)
those kinds of things. :)

_________________
Code:
10 print "I'm a noob. I want code in my sig like everyone else!"
20 goto 10


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3397
Location:
England
 
New postPosted: 2006-08-17, 10:31 am 

It's amazing how easy things like this become when using your popup script.

Nice work. :)

_________________
Image


User avatar
Veteran
Profile

Posts: 872
Location:
New Jersey
 
New postPosted: 2006-08-17, 11:47 am 

:(

starwars menu select makes the features I have on my second pop script?

I'm contacting both coders just in case.

_________________
Image
BYFBO. Custom Maps, http://www.pandatales.org/BYFBO_maps.html


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-17, 1:08 pm 

It happens if the two menus are displayed on top of each other, so none of the scripts can know there is another menu there.

That's the main reason actually I wrote the popup script: if all scipts used it, there would not be that problem, as the main purpose of popup is to track all the popups sent to user and make sure the correct script gets the feedback and that all the menus are shown in the order they are sent.

_________________
Would you like something new?
popuplib2


User avatar
Veteran
Profile

Posts: 872
Location:
New Jersey
 
New postPosted: 2006-08-17, 2:37 pm 

edit if you read my prior msg ignore it :o not sure where that older file came from.

_________________
Image
BYFBO. Custom Maps, http://www.pandatales.org/BYFBO_maps.html


User avatar
Helper
Profile

Posts: 286
Location:
Derby, UK
 
New postPosted: 2006-08-19, 3:38 pm 

Any more progress on this-eagerly awaiting the sound implementation


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-19, 4:45 pm 

Updating now. The 1.1 version will be a huge improvement ;)

_________________
Would you like something new?
popuplib2


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 3397
Location:
England
 
New postPosted: 2006-08-19, 4:46 pm 

w00t! Go GJ! :P

_________________
Image


User avatar
Regular
Profile

Posts: 178
 
New postPosted: 2006-08-19, 5:42 pm 

Ilike the popup admin. can you go here and show me how to do this? http://forums.mattie.info/cs/forums/vie ... php?t=7487

thanx

_________________
Give a man a match, and he'll be warm for a minute.
Set him on fire, and he'll be warm for the rest of his life.
Image


User avatar
EventScripts Administrator
EventScripts Administrator
Profile

Posts: 5787
Location:
I am nowhere to be found

Steam Friends Name: godjonez
 
New postPosted: 2006-08-19, 6:03 pm 

Now give me the list of sounds you want to be able to trigger by default (you can change it to suit you of course since the script is open source).

Other than that I have coded almost all now.

_________________
Would you like something new?
popuplib2


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


Who is online

Users browsing this forum: Gippo 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