User:Luk4ward: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 16: | Line 16: | ||
== ETpro lua scripts == | == ETpro lua scripts == | ||
'' | === [http://luk4ward.boo.pl/files/file.php?id=1 DataPlug.lua] === | ||
==== This Plugin / Mod / Script includes 3 mods: ==== | |||
===== Logging data of players in etadmin_mod format ===== | |||
* Name | |||
* cl_guid | |||
* etpro guid | |||
* IP | |||
* Date | |||
<pre> | |||
[Data logged/[Guid NOT/accepted from banned IP] @ Wed Nov 28 19:09:35 2007] (depends on condition) | |||
name = requiem4dream | |||
guid = GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID | |||
eguid = GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID | |||
ip = 83.100.100.5 | |||
reason = data logged | |||
made = 11/28/07 19:09:35 | |||
expires = 0 | |||
banner = admin | |||
</pre> | |||
Depends on condition it will be logged in such format to those files: | |||
* file: logs/players.log <- players with not banned IPs | |||
* file: logs/not_accepted_players.log <- players with banned IP and not accepted PB GUIDs [ output to console log ] : | |||
<pre> | |||
filtercheck: client cheater NOT accepted with cl_guid [ GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID ] @ ip [ 83.100.100.5 ] | more info @ not_accepted_players.log</pre> | |||
* file: logs/accepted_players.log <- players with banned IP and accepted PB GUIDs [ output to console log ] : | |||
<pre>filtercheck: client cleanplayer accepted with cl_guid [ GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID ] @ ip [ 83.100.100.5 ] | more info @ accepted_players.log</pre> | |||
===== /players ===== | |||
<b>Showing after typing /players :</b> | |||
* Punkbuster IDs | |||
* Punkbuster GUIDs (last 8 digits from cl_guid) | |||
* IP (3 parts of IP) | |||
* Team (team and spawnpoint) | |||
* ETpro ID | |||
* Color names | |||
* State of player (blank / REF / muted) | |||
<pre> | |||
[PBid #] [ PBguid ] [ IP ] [ Team ] [ ETPRO Player ] | |||
last 8 parts 3 parts of IP team and spawnpoint id) name of player STATE: blank/REF/muted | |||
</pre> | |||
* Notes and warning about players' data | |||
===== Banmask with exceptions ===== | |||
* It's checking if the 2 parts of IP of connecting player matched with the names of files in the ipbans/ <br> | |||
if #1 is <b>true</b> then compare his guid with the guids inside the file if the guid wasnt found then script will kick a player<br> | |||
if #1 is <b>false</b> then allow player to join the server<br> | |||
* For every condition script will get the data of connecting player (his name, cl_guid, etpro guid, ip and date) depends on condition (see Logging data of players in etadmin_mod format section) | |||
====== #1st way via rcon: ====== | |||
<pre> | |||
16:52:18:> add | |||
-------------- | |||
Usage: add cl_guid nick ip by | |||
Example#1: add GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID luk4ward 83.100. admin | |||
Example#2: add guidGUIDGUIDGUIDGUIDGUIDGUIDguid luk4ward 83.100.100.5 admin | |||
Usage: add mask cheater ip by | |||
Example#1: add mask cheater 83.100. admin | |||
Example#2: add cheater 83.100.100.5 admin | |||
</pre> | |||
====== #2nd way via ftp: ====== | |||
# <b>how to ban 83.100:</b><br /> | |||
#* <i>create a file 83_100_.dat</i><br /> | |||
#* <i>copy to ipbans/ </i><br /> | |||
#* <i> <b>the end ! you can add comments by using #, example: </b><br /> | |||
<pre> | |||
# Banmask for banned IP 83.100.100.5 of cheater @ Wed Nov 28 16:48:11 2007 created by admin ! | |||
# cl_guid =nick @ Wed Nov 28 16:48:11 2007 by admin | |||
</pre> | |||
# <b>how to add exception:</b><br /> | |||
#* <i>open file 83_100.dat and add new line:</i><br /> | |||
<pre> | |||
GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID=luk4ward @ Wed Nov 28 16:45:09 2007 by admin | |||
</pre> | |||
== Php scripts == | == Php scripts == | ||
''soon | ''soon | ||
Revision as of 23:04, 4 December 2007
| http://forum.wolfteam.pl/templates/xandgrey/ettp/logo.jpg |
|
Contact |
ETpro lua scripts
DataPlug.lua
This Plugin / Mod / Script includes 3 mods:
Logging data of players in etadmin_mod format
- Name
- cl_guid
- etpro guid
- IP
- Date
[Data logged/[Guid NOT/accepted from banned IP] @ Wed Nov 28 19:09:35 2007] (depends on condition) name = requiem4dream guid = GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID eguid = GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID ip = 83.100.100.5 reason = data logged made = 11/28/07 19:09:35 expires = 0 banner = admin
Depends on condition it will be logged in such format to those files:
- file: logs/players.log <- players with not banned IPs
- file: logs/not_accepted_players.log <- players with banned IP and not accepted PB GUIDs [ output to console log ] :
filtercheck: client cheater NOT accepted with cl_guid [ GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID ] @ ip [ 83.100.100.5 ] | more info @ not_accepted_players.log
- file: logs/accepted_players.log <- players with banned IP and accepted PB GUIDs [ output to console log ] :
filtercheck: client cleanplayer accepted with cl_guid [ GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID ] @ ip [ 83.100.100.5 ] | more info @ accepted_players.log
/players
Showing after typing /players :
- Punkbuster IDs
- Punkbuster GUIDs (last 8 digits from cl_guid)
- IP (3 parts of IP)
- Team (team and spawnpoint)
- ETpro ID
- Color names
- State of player (blank / REF / muted)
[PBid #] [ PBguid ] [ IP ] [ Team ] [ ETPRO Player ]
last 8 parts 3 parts of IP team and spawnpoint id) name of player STATE: blank/REF/muted
- Notes and warning about players' data
Banmask with exceptions
- It's checking if the 2 parts of IP of connecting player matched with the names of files in the ipbans/
if #1 is true then compare his guid with the guids inside the file if the guid wasnt found then script will kick a player
if #1 is false then allow player to join the server
- For every condition script will get the data of connecting player (his name, cl_guid, etpro guid, ip and date) depends on condition (see Logging data of players in etadmin_mod format section)
#1st way via rcon:
16:52:18:> add -------------- Usage: add cl_guid nick ip by Example#1: add GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID luk4ward 83.100. admin Example#2: add guidGUIDGUIDGUIDGUIDGUIDGUIDguid luk4ward 83.100.100.5 admin Usage: add mask cheater ip by Example#1: add mask cheater 83.100. admin Example#2: add cheater 83.100.100.5 admin
#2nd way via ftp:
- how to ban 83.100:
- create a file 83_100_.dat
- copy to ipbans/
- the end ! you can add comments by using #, example:
- create a file 83_100_.dat
# Banmask for banned IP 83.100.100.5 of cheater @ Wed Nov 28 16:48:11 2007 created by admin ! # cl_guid =nick @ Wed Nov 28 16:48:11 2007 by admin
- how to add exception:
- open file 83_100.dat and add new line:
- open file 83_100.dat and add new line:
GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID=luk4ward @ Wed Nov 28 16:45:09 2007 by admin
Php scripts
soon
ETadmin mod hacks
soon
Programms
soon