For those interested in trading, Freeworlds: Tides of War has a treat in store for you!

Posted by FW:ToW_Sushi on Jun 10th, 2011

By Qi

Acronyms:

PB-price = price when player-buys at a base

PS-price = price when player-sells at a base

Note: never use the terms "buying" and "selling", because is the base doing the buying/selling, or is the player?

Basic principle of the dynamic economy

PS-prices decrease due to transactions, and recover (increase) at time intervals when there aren't transactions.

The minimum PS-price is the "baseline PS-price" and the maximum PS-price is a multiplication factor (per category) of the PS-price set by the admins.

When there are no transactions at all for longer than 1 hour, price recovery is halted and PS-prices will be set to baseline at a rate of 1 price per 10 seconds, eventually resetting the entire economy to baseline. However as soon as someone starts to trade, the dynamic economy will resume normal behavior.

"NOTE" wrote: PB-prices are not changing at all. This is due to the principle that Freelancer will allow the player to sell a commodity for PB-price everywhere. However the dynamic prices have to be set at each base for each commodity. This poses the following dilemma: If the PB-price would increase at the moment that the player buys something, he can sell it right away at the same station for a profit, which is unacceptable

If we would increase the PB-price after some hours, we would have to increase it at all bases, which would be a performance hog.

The server programs:

There are two server programs that have to run all the time:

Event Mode Scanner -- this program only does one thing: scans events (FLHook Eventmode) and store them in the events table. This program could not be expanded to do more than that, because in the time it would do additional stuff, it would miss events (so tested).

-- this program only does one thing: scans events (FLHook Eventmode) and store them in the events table. This program could not be expanded to do more than that, because in the time it would do additional stuff, it would miss events (so tested). Event Actions Program -- This does the following: On a cycle of 10 seconds Scans the events table and parses the events, executes activities where required When trading is done, recovers 4 (random) PS-prices per cycle, that have not been recovered in the past hour. All prices will have had a turn within 1 hour. Price increase is set per category by the admins (so it's an "PS-price hourly increase factor") When a player sells a commodity at a designated destination, decreases that price and sends out a universe message with the new price. The amount of price decrease is set per category by the admins (so it's an "PS-price decrease per 100 items factor") When there is no trading since 1 hour, stops with prices recovery, and start to set 1 (random) PS-price per cycle back to baseline. As soon as trading is restarted, the economy switches back to normal behavior. Adds counted items at Player-Sells designated destinations to the stockpiles.

-- This does the following:

An Economy message about a price decrease.

Location of the screens

Go to the FW:TOW community website at:

Freeworldstidesofwar.com

If you want to see screens that are behind player login you have to register on this website. The game server web applications use the same login idents.

In the community website, in the menu click GOTO, game server. That opens the web application of the game server.

The Trades Runs screen

This screen is made for the typical situation: the player is in a certain system, and wishes to pick up a cargo. What would be the best thing to take, and where is it?

Click on the system, then click the bases one by one. When doing so, the screen will show what commodities are sold where. Clicking on each commodity the player can see where the trade destinations are.

Terms on the screen:

Commodity = the type of goods. Each type is grouped in a category, which the player cannot see. Each category has its own PB-price and multipliers. So if the player trades Spice, and finds that the price decrease is severe after selling some of it, then that is true for all contraband. The categories are: Basic Materials Beings (Misc) Civilian Vehicles Contraband Food Intel Luxury Items Military Technology Military Vehicles News Pharmaceuticals Precious Minerals Raw Materials Soldiers/Battle Droids Technology Vips/Passengers

= the type of goods. Each type is grouped in a category, which the player cannot see. Each category has its own PB-price and multipliers. So if the player trades Spice, and finds that the price decrease is severe after selling some of it, then that is true for all contraband. The categories are: Volume -- the cargo hold of a ship is given in "volume". For example cargo hold size = 200. If a commodity has a volume of 1, you can load 200 items in this hold. If the volume is 0.2 (example: water), you can load 1000 (200 divided by 0.2). If the volume is 15, you can load only 13 items (example Hutt passengers, 13x15=195, you got 5 volume left free)

-- the cargo hold of a ship is given in "volume". For example cargo hold size = 200. If a commodity has a volume of 1, you can load 200 items in this hold. If the volume is 0.2 (example: water), you can load 1000 (200 divided by 0.2). If the volume is 15, you can load only 13 items (example Hutt passengers, 13x15=195, you got 5 volume left free) Price -- the dynamic economy calculates prices at 4 decimals precision, but will round it off to full numbers on the screens and while setting new prices.

-- the dynamic economy calculates prices at 4 decimals precision, but will round it off to full numbers on the screens and while setting new prices. Travel minutes -- on this screen, this is the time to travel from the set base selling this commodity, to given destination. However the profits are based on the shortest travel from any base selling that commodity. So it may be possible that you travel a long time for a small profit, because the commodity is also PB-bought nearby. The travel is taking trade lanes into account.

-- on this screen, this is the time to travel from the set base selling this commodity, to given destination. However the profits are based on the shortest travel from any base selling that commodity. So it may be possible that you travel a long time for a small profit, because the commodity is also PB-bought nearby. The travel is taking trade lanes into account. Profit 1min 1vol -- The profit if flying 1 minute with 1 volume of given commodity. So this is easily multiplied by your cargo size for having an idea how much credits can be obtained. This way also allows for comparing trades with things having different volumes.

The Dynamic Economy screen

When players are trading, the PS-price is lowered on selling the goods. Then every 10 seconds 4 PS-prices are increased to recover. On this screen you can see that happening. It is just an indication that the dynamic economy is running.

ADMIN Goods screen

You can click on a commodity to get information about it. In the top block the category can be adjusted. Click on infocard to see the icon, volume and text of the infocard. The infocard text can be changed. These changes can be gathered by a server-based program which updates the TOW_Dynamic.dll, which belonges in the Freelancer EXE folder.

Click on Player Buys to see the source bases of the commodity. The shown PB-price is the commodity category price multiplied by the commodity volume (so it is the PB-price per item). New bases can be added and existing bases can be deleted. These changes can be gathered by a server-based program which updates the market_commodity.ini file which belongs in the Freelancer DATA/EQUIPMENT folder.

Click on Player Sells to see the destination bases of the commodity. The shown PS-price is the commodity baseline price which is the minimum PS-price. Next to that is the current PS-price of the dynamic economy. Next to that the maximum PS-price, which calculated from a multiplication factor set (by admin) at the category. New destination bases can be added and existing bases can be deleted. These changes can be gathered by a server-based program which updates the market_commodity.ini file which belongs in the Freelancer DATA/EQUIPMENT folder.

The ADMIN Goods Catergories screen

On this screen the admin can control the dynamics. All control is by category.

As always any comments, suggestions or questions are always welcomed!

-------------------------

Please follow us also on: