Author Topic: Glest 3.2-beta1  (Read 22994 times)

Yggdrasil

  • GAE Team
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
(No subject)
« Reply #25 on: 17 July 2008, 22:00:37 »
yes, i tried the latest revision (rev173).
« Last Edit: 1 January 1970, 00:00:00 by Yggdrasil »

Idanwin

  • Guest
(No subject)
« Reply #26 on: 17 July 2008, 22:11:43 »
um?
I don't really understand what you mean with svn. :-[
I'm sorry, that is not the part of computers I'm at home in.
(I did some research but didn't find anything (is it stadvervoer nederland? don't think so...))
« Last Edit: 19 July 2008, 21:08:33 by Idanwin »

KaSek

  • Guest
(No subject)
« Reply #27 on: 19 July 2008, 00:23:58 »
I have the same problem as Yggdrasil's post. The tutorial always failed.

One more thing. I found Glest sometime stopped at TextRenderer2DGl::begin() called from Game::Renderer::renderTextShadow(). I think Renderer::renderConsole() makes "rendering" variable in textRenderer conflict. It calls renderTextShadow() after textRenderer->begin(). Right?
« Last Edit: 1 January 1970, 00:00:00 by KaSek »

Yggdrasil

  • GAE Team
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
(No subject)
« Reply #28 on: 19 July 2008, 15:51:50 »
Quote from: "KaSek"
One more thing. I found Glest sometime stopped at TextRenderer2DGl::begin() called from Game::Renderer::renderTextShadow(). I think Renderer::renderConsole() makes "rendering" variable in textRenderer conflict. It calls renderTextShadow() after textRenderer->begin(). Right?


I think i have the same problem. You get it when you select a building and then rightclick somewhere on the ground (not only in tutorials).
Code: [Select]
glest.debug: shared_lib/sources/graphics/gl/text_renderer_gl.cpp:29: virtual void Shared::Graphics::Gl::TextRenderer2DGl::begin(const Shared::Graphics::Font2D*): Assertion `!rendering' failed.
Aborted


i was able to work around the problem with the ok messages.
source/glest_game/game/script_manager.cpp:

paste this in the if-clause at line 102 ( if(!messageQueue.empty()) ):
Code: [Select]
if(messageQueue.size() > 1){
messageQueue.pop();
messageBox.setText(wrapString(lang.getScenarioString(messageQueue.front().getText()), messageWrapCount));
messageBox.setHeader(lang.getScenarioString(messageQueue.front().getHeader()));
}else{
messageBox.setText(wrapString(lang.getScenarioString(messageQueue.front().getText()), messageWrapCount));
messageBox.setHeader(lang.getScenarioString(messageQueue.front().getHeader()));
messageQueue.pop();
}

or use this patch in source/glest_game/game:
http://http://www1.inf.tu-dresden.de/~s1445051/rev173_script_manager.patch

The problem was a queue with only one element. You first delete it with pop and then tried to get the next with front which fails.
From my workaround i would expect the last message twice but it's all fine. Don't know why. My first thought was to move pop at the end of the if-clause but then you get the first message twice and the last is missing. That's somehow weird.
« Last Edit: 1 January 1970, 00:00:00 by Yggdrasil »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #29 on: 19 July 2008, 18:25:47 »
Thanks a lot for your bug reports, I've fixed everything and it is up again in the SVN.

Regards.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
sadsda
« Reply #30 on: 2 August 2008, 21:45:07 »
Quote
Why removed IP?   I dont know my local ip  

Heh, neither do I. I use a laptop and roam a lot. I think (just think) the IP is displayed as the original number in the 'join game' menu. I can't test it though because some idiot stole my name in irc.freenode.net

Oh, if I get my hands on that guy...

IDENTITY CRISIS, SOMEONE'S PRETENDING TO BE ME!
« Last Edit: 23 June 2009, 09:38:34 by @kukac@ »
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

mictes

  • Guest
Re: Glest 3.2-beta1
« Reply #31 on: 3 December 2008, 11:40:17 »
I still see this posts. Where the mods ?

@kukac@

  • Guest
Re: Glest 3.2-beta1
« Reply #32 on: 3 December 2008, 14:15:18 »
Only administrators have right to delete/edit posts in the Announcements forum.

mictes

  • Guest
Re: Glest 3.2-beta1
« Reply #33 on: 3 December 2008, 14:51:03 »
Ouch that is a great pity in this case.
Ok

 

anything