Menu

#263 trade route only scoops energy on one leg of circuit

open
nobody
Gameplay (99)
1
2012-09-07
2003-06-12
Anonymous
No

i've tried a few tests with real space trade routes in the
bnt2 game, and it looks like it only scoops energy in one
direction of the round trip trade route... has anyone else
seen this or can confirm this?

looking at the code in traderoute.php, it looks like it
calculates and adds the energy scooped to the
$playerinfo var for each leg of the circuit, but only
updates the db on one leg of the trip. it requeries the db
for both legs however, so the energy is "lost".

at least that's the way i read it.

-Pachelbel

Discussion


Log in to post a comment.

MongoDB Logo MongoDB