Raised This Month: $32 Target: $400
 8% 

View Poll Results: What do you think of it? (post additional comments too)
Love it. 43 34.68%
Its ok. 66 53.23%
Hate it. (Please, tell me why) 15 12.10%
Voters: 124. You may not vote on this poll

Xaphan v0.261


  
 
 
Thread Tools Display Modes
Author Message
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 12-06-2004 , 23:26   Xaphan v0.261
#1

First off, If you redistribute this, include a link to this post. Thats all I ask. It's released under the GPL, so you could do that and not link, but all thats going to do is make me angry, and how hard is it to add the link?

Thanks to slowhand for all the testing he's done.

Install:
(Follow normal plugin install stuff)
Extract .dll and .vdf to $moddir\addons\ folder.

You need a users.ini file in the $moddir\addons\ folder. The syntax is:

Quote:
steamid accessflags name
Access flags are any combination of:
a - reserved slot
b - kick command
c - map command
d - ban command
e - msg commands
z - all exec commands (rcon included)

Commands are: (See xaphan.html for a nicer looking list)
x_listadmins - List all admins loaded
x_listips -List the IP addresses of all connected users
x_kick (user) (reason) - Kick that user
x_slay (user) - Slay user
x_map (map) - Change to map
x_ban (user|"steamid"|"ip") (seconds) - Ban user for specified time, 0 is permanent
x_exec (user) (command) - Execute command on client. Commands with spaces must be enclosed in quotes
x_execall (command) - Execute command on all clients.

x_rcon (command) - Executes rcon command on the server.
x_reloadadmins - Reload admins from file
x_chat (text) - Sends text to other admins with an access of kick or better.
x_chatmode - Takes your next say, and uses it with x_chat
x_psay (user) (msg) - Sends msg to specific user
x_help

Known bugs:
x_chatmode doesn't work. You can't hook say from plugins, as I found out.


Source is included.
http://forums.alliedmods.net/showthread.php?t=36858
Attached Files
File Type: zip xaphan.zip (143.7 KB, 886 views)
File Type: zip xaphanl.zip (964.7 KB, 448 views)
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
stryfe
Junior Member
Join Date: Dec 2004
Old 12-07-2004 , 09:48  
#2

Tested on what platforms
stryfe is offline
slowhand
Member
Join Date: Mar 2004
Location: berlin
Old 12-07-2004 , 10:59  
#3

okk tested ... work well ( on w )

console msg:
[Xaphan] This server is using Xaphan, version 0.100000
[Xaphan] Your access is 30
slowhand connected

console msg:
] x_help
Unknown command: x_help ?
[Xaphan] Help:
x_listadmins - List all admins loaded
x_kick (user) (reason) - Kick that user
x_slay (user) - Slay user
x_map (map) - Change to map
x_ban (user|"steamid") (seconds) - Ban user for specified time, 0 is permanent
End Help List

console msg:
] x_listadmins
[Xaphan] Listing admins
STEAM_xxxxxx 30 ( why no name ? plz add name )

console msg:
] x_map de_dust
no action nwn bug

console msg:
] x_kick slowhand test
Disconnect: Kicked by Console : test.
Disconnect: Kicked by Console : test.

console msg:
] x_ban slowhand 10
[Xaphan] User was bannedDisconnect: Kicked and banned.
Disconnect: Kicked and banned.

reserved slot ... not testet ... give me some minutes


btw: You should includ a xaphan.vdf. in ure xaphan.zip

xaphan.vdf

"xaphan"
{
"file" "../cstrike/addons/xaphan"
}
slowhand is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 12-07-2004 , 23:30  
#4

Quote:
Originally Posted by slowhand
okk tested ... work well ( on w )

console msg:
[Xaphan] This server is using Xaphan, version 0.100000
[Xaphan] Your access is 30
slowhand connected

console msg:
] x_help
Unknown command: x_help ?
[Xaphan] Help:
x_listadmins - List all admins loaded
x_kick (user) (reason) - Kick that user
x_slay (user) - Slay user
x_map (map) - Change to map
x_ban (user|"steamid") (seconds) - Ban user for specified time, 0 is permanent
End Help List

console msg:
] x_listadmins
[Xaphan] Listing admins
STEAM_xxxxxx 30 ( why no name ? plz add name )

console msg:
] x_map de_dust
no action nwn bug

console msg:
] x_kick slowhand test
Disconnect: Kicked by Console : test.
Disconnect: Kicked by Console : test.

console msg:
] x_ban slowhand 10
[Xaphan] User was bannedDisconnect: Kicked and banned.
Disconnect: Kicked and banned.

reserved slot ... not testet ... give me some minutes


btw: You should includ a xaphan.vdf. in ure xaphan.zip

xaphan.vdf

"xaphan"
{
"file" "../cstrike/addons/xaphan"
}
Fixed all of them except adding a vdf

Quote:
Tested on what platforms Smile
On whatever platform you can. ;)

I'll post a new version shortly, here's the changelog as of right now.
Quote:
v0.2
-Added x_exec, x_execall, x_rcon, x_reloadadmins
-Added new user flag, z, for x_exec and x_execall access
-Changed file format. Added a username field

-Removed debug code from x_map
-Fixed x_map invalid map detecting stuff
-Fixed x_help saying invalid command
-Fixed x_map not changing the map
-Fixed some missing line endings
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
HnyBear
Member
Join Date: Dec 2004
Location: Miami, FL
Old 12-08-2004 , 00:00  
#5

Linux???? Please!!!
HnyBear is offline
Send a message via AIM to HnyBear
nubh4t
Junior Member
Join Date: Apr 2004
Old 12-08-2004 , 10:06  
#6

i hump linux
nubh4t is offline
Send a message via AIM to nubh4t
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 12-08-2004 , 10:55  
#7

I can attempt to post a linux compile when I get home, and I'll also be posting the 0.20 version.. Not sure how sucessful I'll be in compiling under linux though.

I'll be including a vdf file in this zip... but seriously, how many people actually need one?
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 12-08-2004 , 11:38  
#8

I think the .vdf file is to help with the all support questions from people's lack of reading a simple manual or something.

heh I dunno, I do however what to ask you how did you come up with the name for your plugin lol?
BigBaller is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 12-08-2004 , 12:21  
#9

Well.. click here



Has very little relation to the plugin, but it sounds pretty cool
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
slowhand
Member
Join Date: Mar 2004
Location: berlin
Old 12-08-2004 , 12:39  
#10

crash test
4 servercrashes @ last slot ( no log ?? )

as v0.2 is done *gg* the last slot crash must be fixed .... is hard to test on a 32ps ( tested with 30 31, 32, 33 slots. ) and become after 10 minutes a crash .... the crowd rages those ones want to kill me
slowhand is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode