search -  faq -  rulez -  staff

forums






map cycle
irc              pwnalizer
voice         dswp bar




Register

Login


It is currently 04.20.24

 

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: 11.13.09 
Offline
Ingame Mod

Joined: 11.13.09
Posts: 13
Location: Austria
-----tdm:  
nick: dmiko
skill: 315.099
-----bomb:  
nick: dmiko
skill: 435.788
kills: 1
deaths: 12
ratio: 0.08
hy wurst.....hab mal ne frage.

es gibt ja den countryfilter, also wenn ein player auf den server kommt erscheint das Land woher er stammt. funktioniert dieses prog auch so? oder muss ich mit !locate [name] selber rausfinden?

beste grüsse



 


Top
 Profile  
 
PostPosted: 11.13.09 
Offline
Godlike
User avatar

Joined: 07.15.08
Posts: 4645
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09
müsstest du selber rausfinden.
es gibt (glaube ich) ein plugin dass das kann, ich persönlich würde übrigens niemals ein ganzes land ausschliessen. das ding lokalisiert direkt über den b3, also per python.


übrigens: die auflösung des orts über http request und php api ist aufwendiger als es über das python im bot zu machen.

naja, so hat man noch eine tolle geoIP-api mit der man supi hp effekte wie "heisse girls in deiner nähe" etc zusammenbasteln kann.
was man immer braucht, ist die proprietäre DB von maxmind, die gibts einmal in neu für geld und in veraltet für umsonst...

_________________
Image



 


Top
 Profile  
 
PostPosted: 11.13.09 
Offline
Ingame Mod

Joined: 11.13.09
Posts: 13
Location: Austria
-----tdm:  
nick: dmiko
skill: 315.099
-----bomb:  
nick: dmiko
skill: 435.788
kills: 1
deaths: 12
ratio: 0.08
kennst du dich damit zufällig aus? bei mir erscheint leider nur - - bei country



 


Top
 Profile  
 
PostPosted: 11.13.09 
Offline
posted some :)

Joined: 09.27.09
Posts: 80
wurst wrote:
hm, mit dem ?ip= gibst du ihm die IP, ohne die kann er nicht viel machen.
hier ist übrigens noch ein besserer:

dswp_tools/distance/geoip_test_api.php?ip=84.151.191.241

btw: mir schwant was das problem ist
theres no php-geoip extension installed?
did u download a ca. 40 MB database file and installed that php mod?

Wie muss der PHP mod aufgespielt werden?


Edit:
abder die geoip seite auf dem dswp server sollte doch auch gehen oder?

Edit2:
ist proprietäre DB ein Datenbank system?
wenn ja gibts da keine server software sodass das local geht?

_________________
Image



 


Last edited by JackAv on 11.13.09, edited 2 times in total.

Top
 Profile  
 
PostPosted: 11.13.09 
Offline
Godlike
User avatar

Joined: 07.15.08
Posts: 4645
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09
gugel --> howto install php geoip (+ dein betriebssystem)

_________________
Image



 


Top
 Profile  
 
PostPosted: 11.13.09 
Offline
Ingame Mod

Joined: 11.13.09
Posts: 13
Location: Austria
-----tdm:  
nick: dmiko
skill: 315.099
-----bomb:  
nick: dmiko
skill: 435.788
kills: 1
deaths: 12
ratio: 0.08
sry man, ich bin blutiger anfänger. meine server hat ein kumpel von mir gemacht bzw alles installiert.

ich will nur das wen wer kommt sein land da steht.

hab den countryfilter den es bei "bigbrotherbot.com" gibt installiert, es kommt aber nur -- bei land

von php und den ganzen kram hab ich null ahnung. sry is so :(

kann das dein prog? oder kann es nur manuele abfragen steuern?



 


Top
 Profile  
 
PostPosted: 11.13.09 
Offline
posted some :)

Joined: 09.27.09
Posts: 80
XiniX wrote:
sry man, ich bin blutiger anfänger. meine server hat ein kumpel von mir gemacht bzw alles installiert.

ich will nur das wen wer kommt sein land da steht.

hab den countryfilter den es bei "bigbrotherbot.com" gibt installiert, es kommt aber nur -- bei land

von php und den ganzen kram hab ich null ahnung. sry is so :(

kann das dein prog? oder kann es nur manuele abfragen steuern?

tja der kumpel bin ich^^

_________________
Image



 


Top
 Profile  
 
PostPosted: 11.14.09 
Offline
Ingame Mod

Joined: 11.13.09
Posts: 13
Location: Austria
-----tdm:  
nick: dmiko
skill: 315.099
-----bomb:  
nick: dmiko
skill: 435.788
kills: 1
deaths: 12
ratio: 0.08
kannst du damit was anfangen? weis ned was ich wo reinschreiben soll.....mein english is auch ned das beste ^^



<configuration plugin="countryfilter">

<settings name="commands">
<set name="cfcountry-country">40</set>
</settings>

<settings name="settings">

<!--
'code': 2 character code ie: NL
'code3': 3 character code ie: NLD
'name': full name ie: Netherlands
-->
<set name="cf_country_print_mode">name</set>

<!--
Specify Countries that will not generate messages.
LAN (private ranges) = - - (but without the whitespace!)
ALL Countries = all
or use the Countrycode with 2 characters
-->
<set name="cf_message_exclude_from">none</set>

<!--
You can limit the connection by using cf_allow_from,
cf_deny_from, and cf_order. Please specify this by the country
code of two characters. Basically, it is the same as the
mod_access module of Apache. See this URL:

http://httpd.apache.org/docs/mod/mod_access.html

Examples:

Allowing only NL and US. Others are denied:
<set name="cf_order">deny,allow</set>
<set name="cf_deny_from">all</set>
<set name="cf_allow_from">NL US</set>

Denying only US. Others are allowed:
<set name="cf_order">allow,deny</set>
<set name="cf_allow_from">all</set>
<set name="cf_deny_from">US</set>

If you want to find country codes, refer to this page.
http://www.maxmind.com/app/iso3166
-->
<set name="cf_order">allow,deny</set>
<set name="cf_allow_from">all</set>
<set name="cf_deny_from">none</set>

<!--
Specify the path of GeoIP.dat file.
-->
<set name="cf_geoipdat_path">b3/extplugins/GeoIP/GeoIP.dat</set>

</settings>

<settings name="messages">

<!--
Message when player is allowed to connect.
$name is replaced with player name.
$country is replaced with country name.
An empty message will make allowed connections silent
-->
<set name="cf_allow_message">^7$name ^2(Country: $country)^7 connected.</set>

<!--
Message when player is denied.
%(name)s is replaced with player name.
%(country)s is replaced with country name.
An empty message will make allowed connections silent
-->
<set name="cf_deny_message">^7$name ^1(Country: $country)^7 was rejected by B3.</set>

<settings name="ignore">
<!--
Add a list of names of players that will be able to allways connect.
Seperate names with a ,
-->
<set name="names"></set>
<!--
Add a list of IP's of players that will be able to allways connect.
Seperate ip's with a ,
-->
<set name="ips"></set>
</settings>

</settings>
</configuration>



 


Top
 Profile  
 
PostPosted: 11.14.09 
Offline
posted some :)

Joined: 09.27.09
Posts: 80
Ich kapier halt nicht was das mir apache zu tun hat. Man muss ja nirgends eine adresse angeben.

_________________
Image



 


Top
 Profile  
 
PostPosted: 11.15.09 
Offline
Ingame Mod
User avatar

Joined: 05.08.09
Posts: 437
Location: Germany
Ich will keineswegs Werbung für andere Foren machen, aber schau doch mal auf Tutorials.de ich bin da immer recht schnell fündig geworden oder man bekommt sehr schnell antwort.

Grüßle



 


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Imprint

Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009, 2010 phpBB Group

Skin by Lucas Kane
we use apache2 mod rewrite with phpBB SEO
map train_beta1-100 © 2009 by SteveMcQueen
Statistics Backend + Database by XLR Stats and B3 Bot
mapvote robot and gameserver monitor © 2009 by BlinKy
mumble viewer Copyright © 2008 Dominik Radner (aka Urmel)
mumble switcher and integration © 2008 by XTJ7, Unclefragger and Wursti
Localisation Plugin © 2009, Team Leads Plugin © 2009 and Knifer Plugin © 2009 by SvaRoX
for our stats we use Chart.js Copyright (c) 2013-2015 Nick Downie.
the stats also use some jQuery jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc.



voice server
top 20 players


nameskillkills
-Dws.BLINGBLING*-*1730.63418631
NormaSnockers1865.75400492
Zottel1760.8276378
make.them.suffer1846.17269872
>8v=1825.35230156
moon1777.56195615
sjas1692.49192315
peace1878.86190660
Wagner_Moura1562.9188001
Goomba1859.75182677
z0rn1608.41181016
Mad1803.76179124
[dswp]PLZ1847.85178516
Graf_ZahlIII1835.73167407
Zohan1611.07159737
ubercunt1634.93159240
Yarrr!1917.33156233
I_am_nOOb1909.64151268
Pandageddon1891.75148319
Pirat1664.08145798