Author Topic: MegaGlest 3.5.0, Egypt and food  (Read 1847 times)

Teuris

  • Guest
MegaGlest 3.5.0, Egypt and food
« on: 23 April 2011, 14:03:59 »
Egypt have 500 food at the start of a new game.
I think to be 50, right?
« Last Edit: 23 April 2011, 14:06:02 by Teuris »

JohnP4

  • Guest
Re: MegaGlest 3.5.0, Egypt and food
« Reply #1 on: 23 April 2011, 14:12:53 »
Are you sure?
When I play for the Egyptians, then I have the 150 food ...

Teuris

  • Guest
Re: MegaGlest 3.5.0, Egypt and food
« Reply #2 on: 23 April 2011, 14:16:22 »

other fractions get 50
« Last Edit: 23 April 2011, 14:23:17 by Teuris »

JohnP4

  • Guest
Re: MegaGlest 3.5.0, Egypt and food
« Reply #3 on: 23 April 2011, 14:27:05 »
Yes, noticed. Really odd.
But if you try to change it becomes 150.
I think 150 and it should be.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: MegaGlest 3.5.0, Egypt and food
« Reply #4 on: 23 April 2011, 19:31:27 »
It should be 50, but it appears to have a typo making it 500. Because the food maximum storage is 150, it will go down to that shortly after the first cycle.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: MegaGlest 3.5.0, Egypt and food
« Reply #5 on: 23 April 2011, 21:22:56 »
See also this previous thread which is discussing the same issue.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Teuris

  • Guest
Re: MegaGlest 3.5.0, Egypt and food
« Reply #6 on: 24 April 2011, 04:32:34 »
in the topic being discussed v3.5.0-beta2.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: MegaGlest 3.5.0, Egypt and food
« Reply #7 on: 25 April 2011, 01:47:50 »
This is all controlled in the xml's and appears to be how the faction was setup (there is likely to be the same issue with other factions).

The faction itself has:

Code: [Select]
<resource name="food" amount="500"/>
While The pyramid can only store:

Code: [Select]
<resource name= "food" amount="150"/>
So as soon as an update occurs it adjusts the max food to the sum of what the existing units allow (at game start for egypt it happens to be 150 because the pyramid has this as its maximum storage)

So the right thing to do would be to auto adjust the values at game start instead of waiting for an update cycle to adjust the #'s.

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: MegaGlest 3.5.0, Egypt and food
« Reply #8 on: 25 April 2011, 05:47:24 »
So the right thing to do would be to auto adjust the values at game start instead of waiting for an update cycle to adjust the #'s.
I think the *best* thing to do would be the fix the faulty xml. :look:

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,238
    • View Profile
Re: MegaGlest 3.5.0, Egypt and food
« Reply #9 on: 25 April 2011, 06:45:21 »
Fixed this is svn so that it corrects the resource amounts at game start for any faction doing the same type of thing.

 

anything