[bf1942] Database support in Py?

Joe sechon at blackmud.com
Wed Jul 6 14:17:33 EDT 2005


Does that even work? It is broken via rcon -- I can't get any PB commands to
give me any response via telnet rcon. In-game rcon seems to work...had a
ticket @ EB for a week now with nothing coming of it. Blarg.

-----Original Message-----
From: Paul Bowsher [mailto:paul.bowsher at gmail.com]
Sent: Tuesday, July 05, 2005 4:25 PM
To: bf1942 at icculus.org
Subject: Re: [bf1942] Database support in Py?


That's doable from python. rcon_invoke("pb_sv_kick..."). Well found,
Jorrit, you've just helped a load of us out :)

On 7/5/05, Jorrit Schippers <jorrit at gameparty.net> wrote:
>
> 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
>
> Jorrit
>
>  ________________________________
>  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.
>
> -Morten
>
>  ________________________________
>  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 :)
>
> Einar
>
> 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!
> >>
> >>Einar
> >
> >
> >
>


--
Paul Bowsher
IT Systems Developer
Simply Stuck Ltd




More information about the Bf1942 mailing list