Author Topic: MegaGlest 3.3.4  (Read 17199 times)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #50 on: 22 April 2010, 21:32:36 »
Ok, we will be doing away with the Global Fog of War setting in glest.ini (And elsewhere). This is replaced by per game setting for network games and soon I will be adding a lua script option to toggle it for scenarios and tutorials.

There will be another minor update called 3.3.4.2 soon with this fix.

EDIT:

New binaries are ready for testing and we are calling it 3.3.4.2.

We fixed the fog of ware issue introduced when we added it as an option in multiplayer games, it unfortunately did not default to be turned on for scenarios and tutorials. For any Tutorial or Scenarip that you want Fog of Ware turned OFF (it is on by default) simply add the following into the startup script:

unfogMap()

and the tutorial or scenario will start with fog of war turned off.

Once we hear feedback about 3.3.4.2 and are confident its in good shape we will publish full installers. These installers should not be required for current users since it is intended for new installations. Current users can just grab the smaller binary updates posted below:

Linux:

https://sourceforge.net/projects/megaglest/files/current_release/megaglest3.3.4.2_i386_linux_bin.tar.bz2/download


Windows:

https://sourceforge.net/projects/megaglest/files/current_release/megaglest3.3.4.2_i386_win32_bin.7z/download

Enjoy.
« Last Edit: 23 April 2010, 03:25:02 by softcoder »

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: MegaGlest 3.3.4
« Reply #51 on: 23 April 2010, 03:54:49 »
Good, downloading, and then I will test it... thanks. :)  :thumbup:

MJR

  • Guest
Re: MegaGlest 3.3.4
« Reply #52 on: 23 April 2010, 06:05:41 »
I am using Windows XP 64 bit on scenarios no matter what setting I put it at Fog of War is always on and I just installed the 3.3.4.2 update. But on the regular game I can choose either on or off but not in scenarios.

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: MegaGlest 3.3.4
« Reply #53 on: 23 April 2010, 06:10:58 »
I am using Windows XP 64 bit on scenarios no matter what setting I put it at Fog of War is always on and I just installed the 3.3.4.2 update. But on the regular game I can choose either on or off but not in scenarios.
Did you-
For any Tutorial or Scenarip that you want Fog of Ware turned OFF (it is on by default) simply add the following into the startup script:

unfogMap()

and the tutorial or scenario will start with fog of war turned off.
::)

Good Luck. I will still need to test...  ::)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #54 on: 23 April 2010, 06:24:34 »
Ok try this for example, edit advanced_tutorial.xml like this:

   <scripts>
      <startup>
           unfogMap()
         disableAi(0)

Add that line and save the file, then try running the advanced tutorial. Works fine for me.

P.S. all Lua functions ARE case sesitive.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: MegaGlest 3.3.4
« Reply #55 on: 23 April 2010, 08:34:02 »
You have to modify the scenario-xml itself.
This unfogMap() thing has to be set in in this xml file.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: MegaGlest 3.3.4
« Reply #56 on: 23 April 2010, 08:44:03 »
Please remove this 'new' Lua function.

This function already exists in GAE for a different purpose.
http://sourceforge.net/apps/trac/glestae/wiki/LuaReference#gui

While I am partly to blame to begin with, you should have contacted me, the things I forgot to add were,

in struct ScenarioInfo
+   bool fogOfWar;

in MenuStateScenario::loadScenarioInfo()
+   scenarioInfo->fogOfWar = scenarioNode->getOptionalBoolValue("fog-of-war", true);

in MenuStateScenario::loadGameSettings()
+   gs->setFogOfWar(scenarioInfo->fogOfWar);


It is then set in an XML node,
Code: [Select]
<fog-of-war value="false"/>
Glest Advanced Engine - Code Monkey

Timeline | Downloads

wciow

  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Re: MegaGlest 3.3.4
« Reply #57 on: 23 April 2010, 10:10:55 »
Another example of why MG and GAE guys need to communicate more.

Work is being pointlessly replicated in both forks  :look:
Check out my new Goblin faction - https://forum.megaglest.org/index.php?topic=9658.0

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: MegaGlest 3.3.4
« Reply #58 on: 23 April 2010, 12:28:35 »
Yes, thats true. We talked about how it should be done and I mentioned it was already possible to switch on/off FOW in GAE in scenarios.
Maybe softcoder didn't found it or get it wrong. I think it should really be done the same way in MG.
« Last Edit: 23 April 2010, 12:34:14 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #59 on: 23 April 2010, 14:26:31 »
New binaries are ready for testing and we are calling it 3.3.4.3

Fog of ware switch is now the same as GAE.

Once we hear feedback about 3.3.4.3 and are confident its in good shape we will publish full installers. These installers should not be required for current users since it is intended for new installations. Current users can just grab the smaller binary updates posted below:

Linux:

https://sourceforge.net/projects/megaglest/files/current_release/megaglest3.3.4.3_i386_linux_bin.tar.bz2/download


Windows:

https://sourceforge.net/projects/megaglest/files/current_release/megaglest3.3.4.3_i386_win32_bin.7z/download

Enjoy.

Super Tom

  • Draco Rider
  • *****
  • Posts: 311
    • View Profile
Re: MegaGlest 3.3.4
« Reply #60 on: 25 April 2010, 00:19:01 »
In the end what happened, why I posted without notice, Why is that???
Is not my problem makes you feel angry??? But I really need your help, please forgive me, thank you!
« Last Edit: 25 April 2010, 00:39:04 by tom123 »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #61 on: 25 April 2010, 00:45:41 »
Sorry I don't understand your question? If you are referring to the compile problem, is was moved to the "report problems" section and was answered.

Thanks

Super Tom

  • Draco Rider
  • *****
  • Posts: 311
    • View Profile
Re: MegaGlest 3.3.4
« Reply #62 on: 26 April 2010, 01:58:08 »
Today I compiled the windows version of glest code (version number is v3.3.4.3), but the following error occurred:

By the way: I did not compile the latest SVN code inside.
components.cpp
auto_test.cpp
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation.  All rights reserved.
Linking...
   Creating library .\..\..\data\glest_game\glest_game.lib and object .\..\..\data\glest_game\glest_game.exp
menu_state_join_game.obj : error LNK2001: unresolved external symbol "public: __thiscall Glest::Game::MenuStateConnectedGame::MenuStateConnectedGame(class Glest::Game::Program *,class Glest::Game::MainMenu *,bool)" (??0MenuStateConnectedGame@Game@Glest@@QAE@PAVProgram@12@PAVMainMenu@12@_N@Z)
.\..\..\data\glest_game\glest_game.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\trunk\mk\windoze\Release\glest_game\BuildLog.htm"
glest_game - 2 error(s), 69 warning(s)
========== Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #63 on: 26 April 2010, 05:03:03 »
Tom, I don't have any such linker errors when compiling this. Are you compiling from the release-3.3.4.1 folder? (That should contain the 3.3.4.3 code which compiles and works fine for me. I just tested again doing a full rebuild and it compiles fine and there are no files to checkin to SVN)

Super Tom

  • Draco Rider
  • *****
  • Posts: 311
    • View Profile
Re: MegaGlest 3.3.4
« Reply #64 on: 26 April 2010, 05:50:34 »
Was my mistake, caused by lost files, please send a glest 3.3.4.3 version of the code to me, can you???

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #65 on: 26 April 2010, 06:14:19 »

Super Tom

  • Draco Rider
  • *****
  • Posts: 311
    • View Profile
Re: MegaGlest 3.3.4
« Reply #66 on: 26 April 2010, 06:23:26 »
 OK, has been successfully compiled, softcoder, Thank you very much!
« Last Edit: 26 April 2010, 12:29:12 by tom123 »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: MegaGlest 3.3.4
« Reply #67 on: 30 April 2010, 16:52:56 »
Blast, my school blocks sourceforge now... Any chance someone can provide a mirror for the windows full install of the latest version? I have a very old binary only version, but my home internet can't manage the huge size of the full install... :'(
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: MegaGlest 3.3.4
« Reply #68 on: 30 April 2010, 18:41:30 »
I could put one up later.

Is Filefront ok?
Or do they block that too.
Egypt Remastered!

Proof: Owner of glest@mail.com

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MegaGlest 3.3.4
« Reply #69 on: 30 April 2010, 19:23:52 »
In case of emergency etc.. I'll try to keep a mirror on my website for Mega-Glest files in the following location:

http://soft-haus.com/glest/sf-files/

This will only contain current releases.

The full installers for Linux and Windows should be there within an hour or two.

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: MegaGlest 3.3.4
« Reply #70 on: 1 May 2010, 02:47:19 »
Well, can't wait till the new stable v. of MG... although there is the dev, there is that annoying bug when you exit the MG process hangs...  :|
also
Quote from:  ultifd, IRC
maybe new bug? I tried pressing M to see what would happen, no messages were typed already, so my other comp got disconnected...it said like waiting for message over and over and "disocnnected" over and over till I killed the glest process...
maybe I should have tried to type something...  ::)
Oh well, cool, now that I am pretty sure i can host games...at least on my 32 bit comp...  :thumbup:

Super Tom

  • Draco Rider
  • *****
  • Posts: 311
    • View Profile
Re: MegaGlest 3.3.4
« Reply #71 on: 1 May 2010, 03:13:49 »
I share your point of view, I am running vista 32bit operating system, this game. When I quit the game when prompted: "glest_game.exe has stopped working" I said that (glest-3.3.5 version, so that windows version ). I do not know what happened, why is it so? Thank you!
« Last Edit: 1 May 2010, 03:17:35 by tom123 »

ultifd

  • Airship
  • ********
  • Posts: 4,443
  • The Glest Video Guy :) The one and only. :P
    • View Profile
    • My Youtube Channel
Re: MegaGlest 3.3.4
« Reply #72 on: 1 May 2010, 03:14:35 »
I share your point of view, I am running vista 32bit operating system, this game when I quit the game when prompted: "glest_game.exe has stopped working" I said that (glest-3.3.5 version, so that windows version ) Thank you!
Don't worry Tom, Softcoder said it will be fixed by the next version...or so...  :|

 

anything