Raised This Month: $51 Target: $400
 12% 

A console logging plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lasershock
Member
Join Date: Jul 2004
Old 10-29-2004 , 15:23   A console logging plugin
Reply With Quote #1

I have a entmod server. one problem is that many of my entmod admins type weird cmds and that makes the server crash.

so can someone make me a plugin that logs everthing that all the clients type in the console and make a log file out of it. so i can easily check the log file to see the cmd that crashed the server.

thanks in advance
Lasershock is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 10-29-2004 , 15:27  
Reply With Quote #2

AFAIK, you can't.
You cant grab all the console input from players. What you can do is create a plugin that registers the entmod command.. and see if you can log anything
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-29-2004 , 17:48  
Reply With Quote #3

I don't know how/what entmod works/is, but you could put a plugin in top of plugins.ini that has a "public client_command() {}" where you log all console commands that goes client->server.
Johnny got his gun is offline
Lasershock
Member
Join Date: Jul 2004
Old 10-29-2004 , 17:59  
Reply With Quote #4

a bad thing is that i dont know how to make plugins, but maybe ill try, anyhow anyone is free to do this plugin

if anyone does i will feel big gratitude to him/her

the cmd are:


weapon_entmover
entmod_keys
entmod_lookingat
entmod_worldcopy
entmod_create
entmod_noclip <1/0 on/off>
entmod_quickmake <entity>
entmod_spawn <entity> <offset x> <offset y> <offset z>
entmod_spawn2 <entity> <x> <y> <z>
entmod_spawnmodel <model> [velocity x] [velocity y] [velocity z]
entmod_addpack <team> <respawn time>
e_search
entmod_keyvalue <key> <value>
e_telestart <name>
e_teleend <name>
e_teledelete <name>
t_select <name>
t_start
t_end <speed>
t_go
e_use
e_god <1/0 on/off>
e_render <mode> [amt] [fx] [r] [g] [b]
e_drop
e_rotate_x
e_rotate_y
e_rotate_z
e_add <parameters>
e_kill [entity] [range]
e_classname <classname>
grabtype <entity> [range]
stopgrab
showx
showy
showz
e_stack <amount> <offset x> <offset y> <offset z>
+grabent
+copyent
mm_grab
mm_start
mm_end
e_show <classname>
es_start <name>
es_grab
es_graball <classname>
es_ungrab
es_save <follow 0/1>
es_list
es_listall
es_load <name>
e_undo

thats every cmd in entmod thank you!
Lasershock is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-30-2004 , 08:16  
Reply With Quote #5

Try this: http://forums.alliedmods.net/showthr...?p=66648#69822
Johnny got his gun is offline
Reply



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 12:07.


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