<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: [bf1942] Database support in Py?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=359361921-05072005><FONT face=Arial
color=#0000ff size=2>You can kick through punkbuster, which allows for a
message. I don't know if you can do it with python, but it's just pb_sv_kick
#number "message" afaik. The number must be the punkbuster player ID, which you
can get through pb_sv_plist. See for more info the punkbuster documentation at
<A href="http://www.evenbalance.com">www.evenbalance.com</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=359361921-05072005><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=359361921-05072005><FONT face=Arial
color=#0000ff size=2>Jorrit</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=nl dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Van:</B> Morten Striboldt
[mailto:morten.striboldt@boomtown.net] <BR><B>Verzonden:</B> dinsdag 5 juli 2005
23:11<BR><B>Aan:</B> bf1942@icculus.org<BR><B>Onderwerp:</B> SV: [bf1942]
Database support in Py?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV id=idOWAReplyText53530 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>As far as I know it is not
possible to enter a kick-message to the user. I have also been looking for this
feature, but the kick method does not take any message-parameters.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>It would also be nice to have a
private message method.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>-Morten</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Fra:</B> "Einar S. Idsų"
[mailto:esi@itk.ntnu.no]<BR><B>Sendt:</B> ti 05-07-2005 23:02<BR><B>Til:</B>
bf1942@icculus.org<BR><B>Emne:</B> Re: [bf1942] Database support in
Py?<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>The script checks the IP of a player upon connection, and if it
does not<BR>belong to a certain list of countries, the player is immediately
kicked<BR>out, hopefully with a descriptive message of what's just
happened.<BR><BR>I am currently doing research abroad with only my old laptop
available,<BR>and am unable to run BF2 from here. Thanks for the offer to test,
but I<BR>think it will be a lot easier if I just get Panic to do it since we
will<BR>be working together on the script anyways as soon as he manages to
once<BR>again dump IRL (he does this at least on a weekly basis) ;)<BR><BR>We
are not entirely sure whether we will be releasing this script to the<BR>public,
partly because it involves some non-Python setup where other<BR>licenses are
involved, and partly because it may be very much against EA<BR>policy. I've
mailed them to ask if it is okay with this kind of<BR>filtering, and am awaiting
a response.<BR><BR>Thanks for your interest :)<BR><BR>Einar<BR><BR>Chris
wrote:<BR>> What script are you working on. If its something im interested in
i'll definatly help test :)<BR>><BR>> -Python<BR>>
www.railbait.com<BR>><BR>><BR>> -----Original message-----<BR>>
From: "Einar S. Idsų" esi@itk.ntnu.no<BR>> Date: Tue, 5 Jul 2005
15:07:17 -0500<BR>> To: bf1942@icculus.org<BR>> Subject: Re: [bf1942]
Database support in Py?<BR>><BR>><BR>>>>I haven't tried it yet
myself, but did you try installing the missing<BR>>>>modules/packages
yourself? As long as the modules/packages you are<BR>>>>trying to
import are located in one of the directories in sys.path,
they<BR>>>>ought to work.<BR>>><BR>>>Ah, but of course! I
just placed _sqlite.so and the sqlite dir in admin,<BR>>>and it seems to
be working perfectly! :)<BR>>><BR>>>Now all I need is to get someone
to test the script, and then we'll be<BR>>>all set for instakicking
non-Nordic players ;)<BR>>><BR>>>Thanks a
lot!<BR>>><BR>>>Einar<BR>><BR>><BR>><BR></FONT></P></DIV></BODY></HTML>