Breaking Script for Windows and Linux
File describing the progress made working on the above Project


Introduction:

General:

As a fan of the Star-Fury, an online text, tick based multiplayer game i'll start describing SF(from this point SF = Star-Fury). The game is being played with round system. Each round lasts at about 2 months depending the style of the game and the administrator’s decision. Before the start of the round players that wish to play must sign up to have their account.

I won’t get into details but in general lines each player create his own economy by building houses and builds star ships that are necessary for him to defend his empire and conquer others.

 

What word break – open means:

If you ever will play SF and decide to be IRC active (1) players you'll hear the words break and open . To break an empire means to kill-destroy all the ships that currently defending it. To kill a you must attack with a force that its damage points are equal or exceed the sum of the defending ship's hull and shields points.

Take for example the following scan status (I’ll explain what scan is later in this document):

            1 Mine1 Wolverine Defending 8,000 / 8,000 8,000 / 8,000 70% / 0% Disrupters
            2 Mine2 Corvette Defending 4,000 / 4,000 3,000 / 3,000 90% / 0% Disrupters
            3 Mine3 Wolverine Defending 8,000 / 8,000 8,000 / 8,000 0% / 100% Disrupters
            4 Mine4 Eagle Exploring Asteroids 13,000 / 13,000 13,000 / 13,000

The fist number indicates the ships number then follows the name of the ship ,then the type of the ship followed by it's status. Then the first two set of numbers are the Current Shields / Total Shields and Current Hull / Total Hull. After that there’s a percentage that indicates the distribution of ships energy between the Weapons Power and Engines Power. Finally there’s the type of the weapons the current ship uses when it attacks or defends.

To break the empire from which the above scan was taken you'll need to send total :

8000 +8000+4000+3000+8000+8000 = 39,000

damage points, if the empire doesn’t have defence platforms that is a kind of building ( 1 defence platform = 100 defence points – We'll discuss later about defence platforms) .

When a group of attackers ( need more than one to break an empire ) kill-destroy all the empires defending ships then this empire is called open. Open means that a Corvette with power modification 25% weapons and 75% engines ( it will take only four hours to return and called by players LEECHER) is enough to exceed the empire's defence points and conquer 10% of its asteroids/land/resources ( LEECH).

 

About the SF script:

This program was created to calculate very fast the damage needed to be sent so an empire get broken. This program is made mainly for BL's (Break – Battle Leaders). Although it can be used by anyone who wants to learn how to calculate correctly and for players whos ambition is to become a SF professional.

 

SF Breaking Script's Diary:

Aplril 6 2005

The Calculator for Linux is almost done and left some minor bugs to fix. The programm is heading towards it last state and after releasing the first BETA version i'll try to internationalize the code to release the Windows XP release. GTK code can be easily internationalized so i wont be late to release the Windows edition.

March 23 2005

Finally i found some free time to start creating the calculator in X window system. I'll use the GTK (the GIMP Toolkit) for the Project and during the creation i’ll also find out the advantages and disadvantages of this GUI Toolkit. For the moment i didn't have any problems with it.

March 14 2005

Started to write this log and am about to start the version for Linux although i have not got much free time. With the first opportunity the project will be started with the God's blessings

March 2005

After considering this a lot and many times was about to decide to create it with Win32 API (actually stared in Win32 ) finally i thought why don’t create them both. Quite difficult with a lot work required but i hope it will work.

January - February 2004

Because of the inconvenience of the previous version i decided to remake the program so it can have GUI (Graphical User Interface). The main problem with the whole idea is whether to create the program under Win32 API platform or under X windows platform for Linux.

June 2004

Playing SF and seeing how long it takes to calculate the damage points need for a break and how easily mistakes can be done i decided to write a program for the calculation. Thinking on how to take the input i decide to create a program that takes the scan data from a file. The user should copy-paste into the file the data ,save the file and then execute the program. This version of the program is not convenient although it works correctly(may contain some bugs :) ).