Author Topic: Tech build nothing...  (Read 9160 times)

mictes

  • Guest
Tech build nothing...
« on: 30 September 2008, 11:29:51 »
Uhii, the board is back :)
Ok, the tech faction does build nothing except the farm. I can't find the error.
What could be a reason ? Did you saw such a thing, too ?!

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Tech build nothing...
« Reply #1 on: 4 October 2008, 03:44:45 »
Same thing that happened to my military tech tree. Really, I got no clue. If you find the solution, please post, because this may be VERY helpful. (try deleting appdata, and restart computer)
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

mictes

  • Guest
Re: Tech build nothing...
« Reply #2 on: 4 October 2008, 07:16:19 »
I have XP, there is no Appdata (Really don't know....^^)
So I didn't find a solution yet, but I'll have a look on the original Techtree and start again modding it.

EDITED:

@ Omega:

Quote
My workers does harvest ressources. Did you add a new ressource (which need to be harvested/mined) ? Remove it and try again - that solved this problem when I had it. But now I have a new, the worker does AI just the farm and then harvesting and mine without any end...
(actually Military-Tech thread)

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Tech build nothing...
« Reply #3 on: 6 October 2008, 12:19:11 »
There is 'c:\Documents and Settings\[user]\Application Data\' but I don't think this would have anything to do with the problem.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

modman

  • Guest
Re: Tech build nothing...
« Reply #4 on: 7 December 2008, 14:43:06 »
It has nothing to do with the problem because I used Omega's faction and it didn't work for me either.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Tech build nothing...
« Reply #5 on: 7 December 2008, 21:05:55 »
Yeah, I know it's not that. IT seems that glests AI have trouble for some unknown reason...
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

battle machine man

  • Guest
Re: Tech build nothing...
« Reply #6 on: 7 February 2009, 16:13:04 »
no, oh, mabey on strike lol rly no. really a bug if its grfx card the game wouldnt work at all. :'( rly how?  ???

Geek Squad 2gb

  • Guest
Re: Tech build nothing...
« Reply #7 on: 7 February 2009, 16:53:11 »
Uhii, the board is back :)
Ok, the tech faction does build nothing except the farm. I can't find the error.
What could be a reason ? Did you saw such a thing, too ?!

idk..... but is there any way to be anything else but mage/tech?
« Last Edit: 10 April 2016, 18:22:38 by filux »

modman

  • Guest
Re: Tech build nothing...
« Reply #8 on: 9 February 2009, 02:53:31 »
No.
I think it has to do with the faction.xml.

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: Tech build nothing...
« Reply #9 on: 19 February 2009, 13:54:33 »
No.
I think it has to do with the faction.xml.

You may be right, but I think it more has to do with the AI programing. I had a problem with that a while ago and just decided to restore all resources the way they were and build my mod around gold wood food and stone. Now i have an issue that when I delete the wood resource the AI would just build anything it can with the starting resources it has but will not harvest anything.

Maybe its because you are playing on a map that has extra resources than the mod does not have? (ex map has 3 different resources, while mod only uses 2.) Ill experiment with that later.

It would be nice to know exactly how the AI logic is set up, at least about how it builds and harvest. That would help tremendously.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

modman

  • Guest
Re: Tech build nothing...
« Reply #10 on: 21 February 2009, 02:45:15 »
Who (GAE Team please) knows this!  I would like to know as well!!

mictes

  • Guest
Re: Tech build nothing...
« Reply #11 on: 22 February 2009, 20:31:57 »
I used no other ressource and tech built nothing, too.
But i can confirm Ishmarus statement.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Tech build nothing...
« Reply #12 on: 11 March 2009, 18:36:28 »
Maybe its because you are playing on a map that has extra resources than the mod does not have? (ex map has 3 different resources, while mod only uses 2.) Ill experiment with that later.
This is late, but I can guarentee this is not the problem. When making the crappy ancient tech a LONG time ago, I added an extra resource to all my maps so that the mod would work. And the AI there were great, despite the extra resource. The XMLs were all custom too, just no new models in that (abet horrible) tech tree.

I also didn't use the techtree.xml for anything except the starting units, so that's not the problem.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

mictes

  • Guest
Re: Tech build nothing...
« Reply #13 on: 18 March 2009, 08:34:23 »
Maybee it have something to do with the worker unit?
Is is somewhere in this sector.

modman

  • Guest
Re: Tech build nothing...
« Reply #14 on: 21 March 2009, 02:30:25 »
Nope, I've gone over that line by line...nothing special.

(Gosh, not to sound offensive, but it was the first thing I went over)

I appreciate people trying to fix this problem!

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Tech build nothing...
« Reply #15 on: 30 March 2009, 15:56:00 »
Just started looking at Glest code this past week, but you should be able to debug the AI by looking at what your faction is doing through the AI engine. Edit glest.ini and add:

AiLog=99999 # I picked 99999 cause I don't know the max loglevel, the logfile will get created called aiXX.log where XX is a faction index number
AiRedir=1     # only use this if you want glest to output to console instead of a logfile

I got this info from the code below:

logLevel= Config::getInstance().getInt("AiLog");
redir= Config::getInstance().getBool("AiRedir");

string getLogFilename() const   {return "ai"+intToStr(factionIndex)+".log";}

wciow

  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Re: Tech build nothing...
« Reply #16 on: 31 March 2009, 13:24:33 »
Thanks Softcoder, I wondered why I couldn't get AI logging to work.  ???

I was using a bool value (1) for AiLog in the Glest.ini
Check out my new Goblin faction - https://forum.megaglest.org/index.php?topic=9658.0

 

anything