New pages
Jump to navigation
Jump to search
- 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...")