Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Echelon - Web investigation tool for B3  (Read 149531 times)

Offline spacepig

  • Former Dev. (senate)
  • Full Member
  • *****
  • Posts: 99
    • Empire of Pigs
Re: Echelon - Web investigation tool for B3
« Reply #75 on: March 25, 2008, 08:52:22 PM »
Enter a comment/notice :)

Offline wiciu

  • Newbie
  • *
  • Posts: 7
    • gry.inea.pl
Re: Echelon - Web investigation tool for B3
« Reply #76 on: March 25, 2008, 08:53:19 PM »
heh.. Goood Job !
Sorry for my english.. !

1) I think that b3 +XLR plugins -> the bast way to administrate COD4 servers.
2) I dont know PHP at all... but... i like google and thats way i made small mod for echelon -> @matic -> give a level to the player via www (such like in sourcebans in counter-strike source software)

 As you see my mod change native layout of echelon client details.

My modifications:

clientdetails.php
adminadd.php  -> place it in /admin subdirectory

Download from:

http://pliki.g4g.pl/rozne/adminadd.zip

Offline spacepig

  • Former Dev. (senate)
  • Full Member
  • *****
  • Posts: 99
    • Empire of Pigs
Re: Echelon - Web investigation tool for B3
« Reply #77 on: March 25, 2008, 08:57:03 PM »
Yay, way prettier. I will download yours instead :)
thanks

Offline Anubis

  • Sr. Member
  • ****
  • Posts: 228
    • g4g.pl
Re: Echelon - Web investigation tool for B3
« Reply #78 on: March 25, 2008, 09:00:47 PM »
Enter a comment/notice :)

hmmm it would be nicer with a reason in the ban row. Other thing is that ban will expire, but notice not ;)

Offline wiciu

  • Newbie
  • *
  • Posts: 7
    • gry.inea.pl
Re: Echelon - Web investigation tool for B3
« Reply #79 on: March 25, 2008, 10:42:11 PM »
Heh.. next mod :)
Big THX for Anubis !



Reason for TempBan

Files:
clientdetails.php
tempban.php  in /admin subdirectory
http://pliki.g4g.pl/rozne/tempreason.zip

Offline spacepig

  • Former Dev. (senate)
  • Full Member
  • *****
  • Posts: 99
    • Empire of Pigs
Re: Echelon - Web investigation tool for B3
« Reply #80 on: March 26, 2008, 03:37:19 AM »
Ok, im out of ideas now lol, whats not showing is the possibility to add links

Offline |FaLLeN| Op-X

  • Full Member
  • ***
  • Posts: 97
    • |FaLLeN| Clan
Re: Echelon - Web investigation tool for B3
« Reply #81 on: March 26, 2008, 05:55:54 AM »
i cant get any bans to work, instant or temp :(
I click for either  and my screen reloads and nothing..
is there a permission im missing to execute the command?

xfire=specialopx
www.fallenclan.com

Offline flinkaflenkaflrsk

  • Sr. Member
  • ****
  • Posts: 238
Re: Echelon - Web investigation tool for B3
« Reply #82 on: March 26, 2008, 12:53:58 PM »
Ahhh yes :) Now the php files contains changes regarding tempbanning.
Thank you xlr8or. I will let you know about all strange behaviors which I find.

ps. flinkaflenkaflrsk: how it is possible that you had correct package before xlr8or uploaded repacked zip file? :>
huh it makes me wonder cause i was convinced i downloaded it from here. I guess i got mixed up sorry for that didnt mean to create confusion :)

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: Echelon - Web investigation tool for B3
« Reply #83 on: March 26, 2008, 01:28:06 PM »
I've made a selection of the mods above and added them to the current development version. Available for next release will be:
- tempban reason
- setting player level (from unregistered to admin - not above group bit 16)

Offline Anubis

  • Sr. Member
  • ****
  • Posts: 228
    • g4g.pl
Re: Echelon - Web investigation tool for B3
« Reply #84 on: March 26, 2008, 02:37:42 PM »
huh it makes me wonder cause i was convinced i downloaded it from here. I guess i got mixed up sorry for that didnt mean to create confusion :)

it's OK ;)

cheers

Offline wiciu

  • Newbie
  • *
  • Posts: 7
    • gry.inea.pl
Re: Echelon - Web investigation tool for B3
« Reply #85 on: March 26, 2008, 05:21:25 PM »
Hello :0
I noticed a bug in tempban.php !!!

Find code:
Code: [Select]
// PB_SV_BanGuid [guid] [player_name] [IP_Address] [reason]
if (( $type == "Ban" ) && ( $PBactive == "1" )) {
$command = "pb_sv_banguid " . $pbid . " " . $clientname . " " . $client_ip . " " . $reason;
rcon ($command);
sleep(2);
$command = "pb_sv_updbanfile";
rcon ($command);
}

and change this with that:
Code: [Select]
// PB_SV_BanGuid [guid] [player_name] [IP_Address] [reason]
if (( $type == "TempBan" ) && ( $PBactive == "1" )) {
$command = "pb_sv_banguid " . $pbid . " " . $clientname . " " . $client_ip . " " . $reason;
rcon ($command);
sleep(2);
$command = "pb_sv_updbanfile";
rcon ($command);
}

Nobody noticed that program wait for $type=='Ban' cvar instead $type=='TempBan'
Script added bans to database but i couldn't find echelon's bans at pbbans.dat



« Last Edit: March 26, 2008, 09:05:04 PM by wiciu »

Offline flinkaflenkaflrsk

  • Sr. Member
  • ****
  • Posts: 238
Re: Echelon - Web investigation tool for B3
« Reply #86 on: March 27, 2008, 06:23:38 PM »
You re right nice catch I did not check that part since I coded it for an urban terror game which does not use pb so i left it out of scope

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: Echelon - Web investigation tool for B3
« Reply #87 on: March 27, 2008, 06:38:20 PM »
I'm not sure that it is wise to write a permanent PB ban to the punkbuster banlist while placing a temporary B3 ban. Punkbuster will not remove the ban after the tempban expired and the player will not be able to reconnect untill you remove the PB ban from the PB banlist.

You might consider writing pb banlists from the B3 punkbuster plugin and the rebuildbans (crontab) function. This will however render all streaming bans from punksbusted.com or pbbans.com useless...

Consider this before you alter the tempban.php. I for one won't modify the tempban.php in the development version.

Offline wiciu

  • Newbie
  • *
  • Posts: 7
    • gry.inea.pl
Re: Echelon - Web investigation tool for B3
« Reply #88 on: March 27, 2008, 08:04:07 PM »
Maybe would be better to write tempbans in the /main/ban.txt file  ?
« Last Edit: March 28, 2008, 07:46:30 AM by wiciu »

Offline xlr8or

  • [ www.xlrstats.com ]
  • Project Lead
  • Hero Member
  • *
  • Posts: 2057
    • The Art of Tactical Gaming
Re: Echelon - Web investigation tool for B3
« Reply #89 on: March 28, 2008, 08:52:26 AM »
B3 is perfectly able to deal with bans and tempbans on its own. Writing permanent bans to the pb banlist is a good back-up facility when B3 is offline. I just don't think we need a back-up facility for temporary bans, B3 will be online practically all the time.

 


Rate this page +1 at Google Search