New pages
Jump to navigation
Jump to search
- 15:35, 22 June 2018 Scripts:ReadingClanmembers (hist | edit) [994 bytes] Pireax (talk | contribs) (Created page with "For some scripts you need to add all your Clanmembers in an array.(for ex. Clan TK Protection) So I made a little Scriptpart which you can use to...")
- 15:35, 22 June 2018 Scripts:PostUrl (hist | edit) [6,646 bytes] Pireax (talk | contribs) (Created page with "'''posturl''' Usage of postdata(url, data): <code>temp = postdata('[http://www.yourdomain.com/postdata.php%27 http://www.yourdomain.com/postdata.php'], {'field1': 'field1data...")
- 15:35, 22 June 2018 Scripts:EventsPy (hist | edit) [1,728 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == What It Does == * Prints connections, disconnections, and chat messages to the server console. == Installation == # Browse to <code>admin/standard_admin</code>...")
- 15:35, 22 June 2018 Scripts:EvalPy (hist | edit) [2,642 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == What It Does == * Allows you to test snippets of Python code while the server is running, without having to restart it to load changes from files. == Installatio...")
- 15:34, 22 June 2018 Scripts:ConParser (hist | edit) [4,613 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == This is a very simple parser for the BF2 Con files. You can use it to create BF-Style configs for your python scripts! I haven't tried it in BF2 y...")
- 15:34, 22 June 2018 Scripts:Aircraft Only (hist | edit) [8,525 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Purpose == Makes playing outside of an aircraft rather pointless, as you only get 25 seconds before you start to take damage. This was needed as an admin script o...")
- 15:34, 22 June 2018 Scripts:Vehicle Class Limit (hist | edit) [8,634 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == This ModManager script prevents use of certain vehicle classes. Whenever a player enters one of the forbidden vehicles a 10 second timer is start...")
- 15:34, 22 June 2018 Scripts:BF2Oldschool (hist | edit) [44,452 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == Today infantry game is strictly connected to official rules that are in ClanBase or ESL. Many of ranked or waib servers put in thier rules: no unl...")
- 15:33, 22 June 2018 Scripts:ThreatAndWorth (hist | edit) [18,050 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Description == ; Module : <code>ThreatAndWorth.py</code> ; Author : SHAnders ; Version : 1.01 Server side only admin script or mod addon, you deside the usage!...")
- 15:33, 22 June 2018 Scripts:ClanTkProtection (hist | edit) [6,370 bytes] Pireax (talk | contribs) (Created page with "This script is a modified version of the default tkpunish script. Clanmembers is a list of current members that will be protected This is the only code changed besides the de...")
- 15:32, 22 June 2018 Scripts:OfftimePy (hist | edit) [2,412 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == What It Does == Allows you to have specific settings for when the number of players is below or equal to and above <code>sv.numPlayersNeededToStart</code>. For in...")
- 15:32, 22 June 2018 Scripts:MM MapAutoSizer (hist | edit) [6,392 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == After trying out Scripts:AutoMap and finding that it didn't do exactly what I wanted (and didn't seem to work with BF2 1.12),...")
- 15:31, 22 June 2018 Scripts:SquadlessKick (hist | edit) [6,616 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == In an effort to learn Python and create something useful, I wrote this script to kick squadless players. It's a step towards a smoothly running te...")
- 15:31, 22 June 2018 Scripts:Autoteam by Tickets (hist | edit) [3,842 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == I was toying with the idea of using the teamBalanceRatio server setting to alter the team balance based on team ticket counts. This script basical...")
- 15:31, 22 June 2018 Scripts:AutoMap (hist | edit) [4,003 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == With the 16/32/64 player map modes from BF2, I was upset to see that BF2 didn't support dynamic scaling of the map size based on the number of pla...")
- 15:30, 22 June 2018 Scripts:AntiBaseRape (hist | edit) [9,157 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Description: == ; Module : <code>AntiBaseRape.py</code> ; Author : SHAnders ; Version : 1.11 Server side only admin script. This script will punish players who...")
- 15:30, 22 June 2018 Scripts:TXT File base Automatic Announcements (hist | edit) [5,972 bytes] Pireax (talk | contribs) (Created page with "I just finished this and it's late, so I'm just going to throw it up and beef up the text later. It's pretty well documented, so you shouldn't have much trouble. Refer to Wood...")
- 15:27, 22 June 2018 Scripts:BF2Admin (hist | edit) [20,859 bytes] Pireax (talk | contribs) (Created page with "{{wip}} This script so far, should read a file for a list of administrators listed by their profileID. This administrator can then use chat commands to kick and ban players....")
- 15:27, 22 June 2018 Scripts:RconCfg (hist | edit) [1,159 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == Here's a script that adds an rcon command called 'cfg'. It is intended for server admins that want to execute several commands at once. For exampl...")
- 15:27, 22 June 2018 Scripts:RconMap (hist | edit) [6,351 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == Here's a script that adds an rcon command called 'map'. I'm not really a programmer so some of this can probably made in a better way but I'm just...")
- 15:26, 22 June 2018 Scripts:BadWords (hist | edit) [7,156 bytes] Pireax (talk | contribs) (Created page with "== Introduction == I own a cybercafe / game center where the most popular game is BF2. Most of our customers are teenagers, but we get quite a few younger and older gamers,...")
- 15:26, 22 June 2018 Scripts:AutoShutdown (hist | edit) [3,469 bytes] Pireax (talk | contribs) (Created page with "== Introduction == I got tired of manually warning my users before shutdown, so I wrote this to automate the task for me. It warns players at intervals before shutting down....")
- 15:25, 22 June 2018 Scripts:Automatic Announcements (hist | edit) [1,990 bytes] Pireax (talk | contribs) (Created page with "Ever want to have an some announcement that is automatically periodically displayed on all players' screens? Here's how to do it: <pre> import bf2 import bf2.Timer import...")
- 15:25, 22 June 2018 Scripts:dc ass (hist | edit) [33,401 bytes] Pireax (talk | contribs) (Created page with "__TOC__ == Introduction == The DontCamp Administrative Support System is a completely server-side, python based admin system for Battlefield 2 that uses in-game chat comman...")
- 15:25, 22 June 2018 Scripts:Kicking for high ping (hist | edit) [18,156 bytes] Pireax (talk | contribs) (Created page with "__TOC__ = Introduction = There are many things that may influence the quality of a BF2 server. One of them is the ping of the players. Playing against a lot of players with...")
- 15:24, 22 June 2018 Scripts:IdleKick (hist | edit) [14,437 bytes] Pireax (talk | contribs) (Created page with "<pre> # ------------------------------------------------------------------------ # Module: IdleKick.py # Authors: xlr8or, www.xlr8or.com # Version 2.02 # Description: #...")
- 15:24, 22 June 2018 Scripts:CountryFilter (hist | edit) [22,240 bytes] Pireax (talk | contribs) (Created page with "== Description == The feature of CountryFilter is as follows. * This script can display country name by finding the country from IP-address of the player. * This script prov...")
- 15:23, 22 June 2018 Scripts:ReserveSlots (hist | edit) [44,719 bytes] Pireax (talk | contribs) (Created page with "This will open a file "knownplayers.txt" and use it to maintain a list of players who should get priority. To use it, log in with rcon and type "rcon addPlayer playerName" or...")
- 15:22, 22 June 2018 Scripts:ReservedSlots (hist | edit) [5,419 bytes] Pireax (talk | contribs) (Created page with "A small script to make sure there will always be a few reserved slots for certain players. If a non approved nick logs on and the server has reached its limit, that player wil...")
- 15:22, 22 June 2018 Scripts (hist | edit) [10,307 bytes] Pireax (talk | contribs) (Created page with "Please add your scripts to this list for others to see, use and get inspiration from: __TOC__ == Access == ; Scripts:ReservedSlots|Always Keep Slots Free for Special Pl...")
- 19:30, 21 June 2018 Cookbook:Ploting Object Positions on a Map Image (hist | edit) [6,399 bytes] Pireax (talk | contribs) (Created page with "== Problem == You want to plot the position of objects or events in the BF2 game world on a map; for example, you want to plot the positions of player deaths, the positions...")
- 19:30, 21 June 2018 Cookbook:Easy Custom Config Variables (hist | edit) [3,048 bytes] Pireax (talk | contribs) (Created page with "== Problem == You are writing a script that has some configuration parameters that you want the server operator to be able to set. So as not to reinvent the wheel, can you...")
- 19:29, 21 June 2018 Cookbook:Finding the Value of a Server Configuration Variable (hist | edit) [1,910 bytes] Pireax (talk | contribs) (Created page with "== Problem == Many configuration options for BF2 are read from <code>.con</code> files that can be edited by the server administrator. You are writing a cool Python expansi...")
- 19:29, 21 June 2018 Cookbook:Dynamically Changing an Event Handler (hist | edit) [4,141 bytes] Pireax (talk | contribs) (Created page with "== Problem == The standard Python code that comes with BF2 includes an event handler that you want to change. You know it's a Bad Idea™ to screw around with the original...")
- 19:29, 21 June 2018 Cookbook:How To Implement Better Error Catching (hist | edit) [7,552 bytes] Pireax (talk | contribs) (Created page with "== Problem == Normal Python interpreters will abort when an uncaught exception (programming error) occurs, printing a "traceback" message to help you track the problem down...")
- 19:28, 21 June 2018 Cookbook:Adding New RCon Commands (hist | edit) [3,558 bytes] Pireax (talk | contribs) (Created page with "== Problem == You want to create your own RCon command(s) to add administrative features to BF2. You really don't want to change the code for standard BF2 administration mod...")
- 19:28, 21 June 2018 Cookbook:Reloading modules at runtime (hist | edit) [6,250 bytes] Pireax (talk | contribs) (Created page with "== Problem == You're sick of having to restart the server everytime you make a change to your Python code. Simple changes that should take all of two seconds end up taking...")
- 19:27, 21 June 2018 Cookbook:Changing Objects At Runtime (hist | edit) [8,160 bytes] Pireax (talk | contribs) (Created page with "== Problem == You don't like how some of the standard Python code that comes with BF2 works, and want to change it. Maybe you want to add your own RCon commands; maybe you...")
- 19:27, 21 June 2018 Cookbook:Computing CD Key Hashes (hist | edit) [1,787 bytes] Pireax (talk | contribs) (Created page with "== Problem == You have one or more BF2 CD keys that you want to convert into key hashes. BF2 uses [http://en.wikipedia.org/wiki/MD5 MD5] [ht...")
- 19:27, 21 June 2018 Cookbook:Accessing CD Key Hash (hist | edit) [2,146 bytes] Pireax (talk | contribs) (Created page with "== Problem == You want to access the CD Key Hashes for players in a game from within a Python script. == Solution == Use the <code>host....")
- 19:26, 21 June 2018 Python Cookbook (hist | edit) [3,342 bytes] Pireax (talk | contribs) (Created page with "This is a "cookbook" of short, simple snippets of Python code that illustrate how to do some common BF2 programming task. Cookbook items will generally not be complete scripts...")
- 19:24, 21 June 2018 Loading Python .pyd extensions (hist | edit) [3,126 bytes] Pireax (talk | contribs) (Created page with "If you've found yourself on this page hoping to find out how to load your own C++ code (.DLL) via a .pyd file. You may well be dissappointed. As of yet I have not worked out h...")
- 19:23, 21 June 2018 ModManager (hist | edit) [42,773 bytes] Pireax (talk | contribs) (Created page with "== Mod Manager == === What is ModManager === ModManager is server framework that enables players, admins and developers to get the most out of BattleField 2 servers. It en...")
- 19:22, 21 June 2018 Useful Software (hist | edit) [1,524 bytes] Pireax (talk | contribs) (Created page with "Some software that is useful in dealing with BF2: * [http://www.bf2online.net/bf2ra-battlefield-2-remote-administrator.html BF2RA] : Simple and easy to use Battlefield 2 Remo...")
- 19:20, 21 June 2018 Quick Tips (hist | edit) [4,040 bytes] Pireax (talk | contribs) (Created page with "== Prevent Commander and Squad Leaders from being autobalanced == In the file <tt>admin/standard_admin/autobalance.py</tt> find line 34: <pre> # dont use autobalance when i...")
- 19:19, 21 June 2018 BF2CC (hist | edit) [3,140 bytes] Pireax (talk | contribs) (Created page with "== Knowledge base for the Battlefield 2 Command Console == === FAQ === '''Q: Is there a BF2CC for the retail server?''' A: Demo build 1990 together with version 2.1 of t...")
- 20:08, 17 June 2018 BF2 Internals (hist | edit) [5,523 bytes] Pireax (talk | contribs) (Created page with "The BF2 engine has been written in C++ and also make heavy use of STL. == Reference Counting == A lot of the internal components of the game use intrusive reference counting...")
- 13:18, 4 May 2018 RCon Protocol (hist | edit) [4,640 bytes] Pireax (talk | contribs) (Created page with "== Basics == This document describes the RCON ("Remote Console") protocol spoken by the Battlefield 2 server; RCON is run as a TCP service, operating on port 4711 by default...")
- 13:18, 4 May 2018 Admin Module (hist | edit) [6,404 bytes] Pireax (talk | contribs) (Created page with "Battlefield 2 provides for a Python "administrative" module; this module can do pretty much anything, but the Python code that ships with BF2 serves two basic roles: * It imp...")
- 22:04, 26 April 2018 Command Line Options (hist | edit) [11,618 bytes] Pireax (talk | contribs) (Created page with "== Introduction == Battlefield 2 supports quite a few command line options. Most of you are probably already familiar with ones such as <code>+fullscreen 1</code>. Incase some...")