[bf1942] Database support in Py?

Jorrit Schippers jorrit at gameparty.net
Tue Jul 5 17:21:00 EDT 2005

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 www.evenbalance.com


Van: Morten Striboldt [mailto:morten.striboldt at boomtown.net] 
Verzonden: dinsdag 5 juli 2005 23:11
Aan: bf1942 at icculus.org
Onderwerp: SV: [bf1942] Database support in Py?

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.
It would also be nice to have a private message method.


Fra: "Einar S. Idsø" [mailto:esi at itk.ntnu.no]
Sendt: ti 05-07-2005 23:02
Til: bf1942 at icculus.org
Emne: Re: [bf1942] Database support in Py?

The script checks the IP of a player upon connection, and if it does not
belong to a certain list of countries, the player is immediately kicked
out, hopefully with a descriptive message of what's just happened.

I am currently doing research abroad with only my old laptop available,
and am unable to run BF2 from here. Thanks for the offer to test, but I
think it will be a lot easier if I just get Panic to do it since we will
be working together on the script anyways as soon as he manages to once
again dump IRL (he does this at least on a weekly basis) ;)

We are not entirely sure whether we will be releasing this script to the
public, partly because it involves some non-Python setup where other
licenses are involved, and partly because it may be very much against EA
policy. I've mailed them to ask if it is okay with this kind of
filtering, and am awaiting a response.

Thanks for your interest :)


Chris wrote:
> What script are you working on. If its something im interested in i'll definatly help test :)
> -Python
> www.railbait.com
> -----Original message-----
> From: "Einar S. Idsø" esi at itk.ntnu.no
> Date: Tue,  5 Jul 2005 15:07:17 -0500
> To: bf1942 at icculus.org
> Subject: Re: [bf1942] Database support in Py?
>>>I haven't tried it yet myself, but did you try installing the missing
>>>modules/packages yourself? As long as the modules/packages you are
>>>trying to import are located in one of the directories in sys.path, they
>>>ought to work.
>>Ah, but of course! I just placed _sqlite.so and the sqlite dir in admin,
>>and it seems to be working perfectly! :)
>>Now all I need is to get someone to test the script, and then we'll be
>>all set for instakicking non-Nordic players ;)
>>Thanks a lot!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/bf1942/attachments/20050705/f984ca37/attachment.htm>

More information about the Bf1942 mailing list