User:Luk4ward: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
Luk4ward (talk | contribs)
No edit summary
Luk4ward (talk | contribs)
No edit summary
Line 20: Line 20:


* unzip all files to etpro folder on your server
* unzip all files to etpro folder on your server
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
=== [http://luk4ward.boo.pl/files/gallery.php?id=1 Screenies] ===
=== [http://luk4ward.boo.pl/files/gallery.php?id=1 Screenies] ===
* [http://luk4ward.boo.pl/files/gallery/ftp_1.gif ftp main]
* [http://luk4ward.boo.pl/files/gallery/ftp_1.gif ftp main]
Line 29: Line 30:
* [http://luk4ward.boo.pl/files/gallery/players.gif in game /players]
* [http://luk4ward.boo.pl/files/gallery/players.gif in game /players]
* [http://luk4ward.boo.pl/files/gallery/rcon.gif rcon]
* [http://luk4ward.boo.pl/files/gallery/rcon.gif rcon]
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
==== This Plugin / Mod / Script includes 3 mods: ====
==== This Plugin / Mod / Script includes 3 mods: ====
 
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
# Notes:
# Notes:
#* cl_guid is spoofable so keep this data secured !
#* cl_guid is spoofable so keep this data secured !
#* tested on 2.60b server using etpro 3.2.6 and etadmin mod
#* tested on 2.60b server using etpro 3.2.6 and etadmin mod
#* you have to get the write/read rights to ipbans folder inside your etpro folder
#* you have to get the write/read rights to ipbans folder inside your etpro folder
 
http://luk4ward.boo.pl/files/gallery/rule10.gif
===== Logging data of players in etadmin_mod format =====
===== Logging data of players in etadmin_mod format =====
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
http://luk4ward.boo.pl/files/gallery/thumbs/ftp_3.gif
http://luk4ward.boo.pl/files/gallery/thumbs/ftp_3.gif


Line 65: Line 68:
* file: logs/accepted_players.log <- players with banned IP and accepted PB GUIDs [ output to console log ] :
* 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>
<pre>filtercheck: client cleanplayer accepted with cl_guid [ GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID ] @ ip [ 83.100.100.5 ] | more info @ accepted_players.log</pre>
 
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
===== /players =====
===== /players =====
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
http://luk4ward.boo.pl/files/gallery/thumbs/players.gif
http://luk4ward.boo.pl/files/gallery/thumbs/players.gif


Line 85: Line 89:


* Notes and warning about players' data
* Notes and warning about players' data
 
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
===== Banmask with exceptions =====
===== Banmask with exceptions =====
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
http://luk4ward.boo.pl/files/gallery/thumbs/error.gif
http://luk4ward.boo.pl/files/gallery/thumbs/error.gif


Line 93: Line 98:
if #1 is <b>false</b> then allow player to join the server<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 -> see Logging data of players in etadmin_mod format section)
* For every condition script will get the data of connecting player (his name, cl_guid, etpro guid, ip and date -> see Logging data of players in etadmin_mod format section)
 
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
====== #1st way via rcon: ======
====== #1st way via rcon: ======
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
http://luk4ward.boo.pl/files/gallery/thumbs/rcon.gif
http://luk4ward.boo.pl/files/gallery/thumbs/rcon.gif


Line 107: Line 113:
Example#2: add cheater 83.100.100.5 admin
Example#2: add cheater 83.100.100.5 admin
</pre>
</pre>
 
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
====== #2nd way via ftp: ======
====== #2nd way via ftp: ======
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
http://luk4ward.boo.pl/files/gallery/thumbs/ftp_2.gif
http://luk4ward.boo.pl/files/gallery/thumbs/ftp_2.gif


Line 127: Line 134:
   GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID=luk4ward @ Wed Nov 28 16:45:09 2007 by admin
   GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID=luk4ward @ Wed Nov 28 16:45:09 2007 by admin
   </pre>
   </pre>
 
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
====== #3rd way via etadmin mod: ======
====== #3rd way via etadmin mod: ======
http://luk4ward.boo.pl/files/gallery/rule10.gif <br>
http://luk4ward.boo.pl/files/gallery/thumbs/etadmin.gif
http://luk4ward.boo.pl/files/gallery/thumbs/etadmin.gif



Revision as of 01:44, 5 December 2007

http://forum.wolfteam.pl/templates/xandgrey/ettp/logo.jpg


Contact


ETpro lua scripts

DataPlug.lua

http://luk4ward.boo.pl/files/gallery/thumbs/ftp_1.gif

  • unzip all files to etpro folder on your server

http://luk4ward.boo.pl/files/gallery/rule10.gif

Screenies

http://luk4ward.boo.pl/files/gallery/rule10.gif

This Plugin / Mod / Script includes 3 mods:

http://luk4ward.boo.pl/files/gallery/rule10.gif

  1. Notes:
    • cl_guid is spoofable so keep this data secured !
    • tested on 2.60b server using etpro 3.2.6 and etadmin mod
    • you have to get the write/read rights to ipbans folder inside your etpro folder

http://luk4ward.boo.pl/files/gallery/rule10.gif

Logging data of players in etadmin_mod format

http://luk4ward.boo.pl/files/gallery/rule10.gif
http://luk4ward.boo.pl/files/gallery/thumbs/ftp_3.gif

  • 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

http://luk4ward.boo.pl/files/gallery/rule10.gif

/players

http://luk4ward.boo.pl/files/gallery/rule10.gif
http://luk4ward.boo.pl/files/gallery/thumbs/players.gif

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

http://luk4ward.boo.pl/files/gallery/rule10.gif

Banmask with exceptions

http://luk4ward.boo.pl/files/gallery/rule10.gif
http://luk4ward.boo.pl/files/gallery/thumbs/error.gif

  • 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 -> see Logging data of players in etadmin_mod format section)

http://luk4ward.boo.pl/files/gallery/rule10.gif

#1st way via rcon:

http://luk4ward.boo.pl/files/gallery/rule10.gif
http://luk4ward.boo.pl/files/gallery/thumbs/rcon.gif

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

http://luk4ward.boo.pl/files/gallery/rule10.gif

#2nd way via ftp:

http://luk4ward.boo.pl/files/gallery/rule10.gif
http://luk4ward.boo.pl/files/gallery/thumbs/ftp_2.gif

  1. how to ban 83.100:
    • create a file 83_100_.dat
    • copy to ipbans/
    • the end ! you can add comments by using #, example:
   # 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
   
  1. how to add exception:
    • open file 83_100.dat and add new line:
   GUIDGUIDGUIDGUIDGUIDGUIDGUIDGUID=luk4ward @ Wed Nov 28 16:45:09 2007 by admin
   

http://luk4ward.boo.pl/files/gallery/rule10.gif

#3rd way via etadmin mod:

http://luk4ward.boo.pl/files/gallery/rule10.gif
http://luk4ward.boo.pl/files/gallery/thumbs/etadmin.gif

  • edit etc/etadmin.cfg
  • find:
* IP Bans (works with all (etmain, etpro, shrub):
  • after commands add:
addguid = add <PART2GUID> <PART2NAME> <PART2IP> <PLAYER>
addmask = add mask <PART2NAME> <PART2IP> <PLAYER>
  • find where x is the highest level:
# Level x
    • and add:
x       = addguid, addmask
  • Usage in game:
/m mynick !addguid id/part2nick_of_clean_player
/m mynick !addmask id/part2nick_of_cheater
  • Notes:

You can use those commands only when a target is on the server or is connecting to the server !

Php scripts

soon

ETadmin mod hacks

soon

Programms

soon