lp:~armagetronad-ap/armagetronad/BattleMania

Created by LOVER$BOY and last modified

This is for the Tron server: Battle Mania {Underworld|Overworld}

Currently the script is in the Underworld stage because it is still under development. The Overworld will be the official released version of the server.

These are the current bugs:
There are no current bugs...

Get this branch:
bzr branch lp:~armagetronad-ap/armagetronad/BattleMania
Members of Armagetron Advanced Alpha Project can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

122. By LOVER$BOY on 2014-03-07

Adjusted the bounty assignment to only AIs when one human is active on the grid.

121. By LOVER$BOY on 2014-03-07

Added #death_time variable to cycle.php
Renamed Attack functions to suitable names which make better sense and purpose.
Renamed KillTheKingInteract function to KillTheKingInteractAllowed for purposeful definition.
Renamed RandomColors function to RandomColorsRGB for purposeful definition.
Changed the integer value of DELAY_COMMAND function to float value.
Used BridgePieces function in config.php to grab values.
Simplify the chat string in chat.php for script memory check.

120. By LOVER$BOY on 2014-03-02

Simplified all fields and code in all areas for better as they seem to repeat themselves.

119. By LOVER$BOY on 2014-03-02

A lot of updates but forgot most of it since it had been done last year. My bad!

118. By LOVER$BOY on 2014-02-19

Updated battle_mania.cfg
Added a automatic respawn point to players for the CTF game mode.
Added a if statement to now allow processing of player positions during zombie challenge.
Increased the focus factor of attacks to 3 and adjusted attack messages.
Added attack learning code to bag when first created to immediately learn basic attacks.
Modified server.sh to adjust it to the use of a new method.

117. By LOVER$BOY on 2014-02-18

Updated battle_mania.cfg and mode_2.cfg with improved settings.
Fixed the mistake with attacks.php in showing the list of all attacks to users.
Added a attack trigger to ensure attacks will not interact with team-mates.
Fixed the mistake in the game mode counter (was 3 rounds instead of 2).

116. By LOVER$BOY on 2014-02-18

Removed everytime.cfg because it is no longer needed when the script can do its job nicely.
Renamed ReadLine() function to ReadStdin() since it already exists within php functions protocol.
Added extra pm() messages to areas where the "\n" doesn't work within script.

115. By LOVER$BOY on 2014-02-17

Moved attacks code to src/battle directory.
Added the paralyzed_name variable to identify the zone which is keeping the player at constant speed.
Added a reassignment of battle types for mode 3 (Frontier Battles) when a player (king) leaves the game.
Added when a team is destroyed, it automatically clears the data of all players in that team.
Added Frontier Battles code in src/special/ktk.
Modified item.php for simpler and efficient method in processing the items code.
Renamed kill.php to kills.php
Modified the records which won't save the maximum amount allocated for individual items.
Moved debug.php to src/tools/ directory.
Added a zone effect class creation instead of blind creation of normal zone.
Updated TODO.txt, base.php, common.php and test.php

114. By LOVER$BOY on 2014-02-15

-- Updated --
Updated TODO.txt
Updated base.php
Updated common.php and attacks and items within it.
Update game settings with battle_mania.cfg, mode_1.cfg. mode_2.cfg, everytime.cfg and ladderlog.cfg
Update logs/ladderlog.txt
Updated scripts to use BridgePieces() to simplify the process of gathering name data.
Updated the exp gain by a fraction for better performance.
Updated map.php to handle the direct urls within map_file(map_url).

-- Upgraded --
Upgraded attacks.php with the newest invention of focus an attack to increase its effectiveness x2).
Upgraded all game mode switch() to simplified format.
Upgraded the format of the bash scripts to resolve code errors and syntax bugs.

-- Renamed --
attack_execute.php => execute.php
attack_trigger.php => trigger.php

-- Moved --
Moved the targetting system for players to target.php

-- Added --
Added the effect "poison" to slowly drain away the player's rubber until it kills them!
Added BridgePieces() function to easily put together seperated parts of the line read from stream.
Added listener to ladderlog ROUND_WINNER.
Added RandomColors to color.php
Added listener to ladderlog DEATH_TEAMKILL.

-- Removed --
Removed BOUNTY_ENABLED, BOUNTY_ROUND, BOUNTY_ROUND_RANDOM because they are not required.
Removed ZOMBIES_ENABLED, ZOMBIES_ROUND, ZOMBIES_ROUND_RANDOM because they are not required.

113. By LOVER$BOY on 2014-02-13

Moved variable, ARENA, to main Base class in base.php instead of sub-class to MAP variable.
Moved the reading of lines to ReadLine() function in ./src/main.php
Adjusted code for CurrentMap() function to parse from ladderlog.txt with appropriate values.
Reduced the price values of items for easier gameplay, earning and buying.
Improved the exp max, gain and loss amount in fairness to some pro players.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.