Author Topic: Glest 3.2-alpha1  (Read 19858 times)

jrepan

  • Guest
(No subject)
« Reply #25 on: 13 June 2008, 15:25:27 »
I am using Linux too and I got Segmentation Fault in "Advanced tutorial". Backtrace:
Code: [Select]
#0  0x00000000004227cf in Glest::Game::ScriptManager::onMessageBoxOk ()
#1  0x000000000041874b in Glest::Game::Game::mouseDownLeft ()
#2  0x00000000004b7cf9 in Shared::Platform::Window::handleMouseDown ()
#3  0x00000000004b7e49 in Shared::Platform::Window::handleEvent ()
#4  0x000000000043eddd in Glest::Game::glestMain ()
#5  0x000000000043f125 in main ()
« Last Edit: 1 January 1970, 00:00:00 by jrepan »

Alexfolland

  • Guest
I Can Help...
« Reply #26 on: 4 July 2008, 03:31:04 »
Hey, I got windows. I could test it on windows if you like.
« Last Edit: 1 January 1970, 00:00:00 by Alexfolland »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
(No subject)
« Reply #27 on: 12 July 2008, 17:08:46 »
Ok, I'm trying to make my own tutorial. I got everything to work except the fighting the enemies bit at the end. On my custom tutorial, I had it so you would search and fight the enemies at the end. Now, the tutorial is for my own custom factions, but it always says unit not found 'keep' when i removed the eep and left the rest in, it said unit not found 'minion'.
Whats wrong? Should I try making the enemy the same faction as me?

Heres the part I wrote: Note you won't recognize the units, but it may help: (NOTE: this is just the last part, it all works until it gets to the defeat_enemy objective.


      </unitCreatedOfType>         
      <unitCreatedOfType type="holy_one">
         if objective=='produce_holy_one' then
            showMessage('HolyOneBrief', 'WellDone')
            showMessage('CommandGroupBrief', 'Armies')
            showMessage('GroupNumberBrief', 'Armies')      
            showMessage('FinalMission', 'Armies')   
            objective= 'defeat_enemy'   
            setDisplayText('DefeatEnemy')
            createUnit('demon', 1, startLocation(1))
            createUnit('demon', 1, startLocation(1))
            createUnit('demon', 1, startLocation(1))
            createUnit('minion', 1, startLocation(1))
            createUnit('shadow_source', 1, startLocation(1))            
         end
      </unitCreatedOfType>   
      <unitDied>
         if objective=='defeat_enemy' and unitCount(0)==0 then
            clearDisplayText()
            setPlayerAsWinner(1)
            endGame()
         end
      </unitDied>
   </scripts>
</scenario>
« Last Edit: 1 January 1970, 00:00:00 by omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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