Author Topic: [fixed] 3.5.3-beta1: LUA bug in Storming scenario breaks summoner movement  (Read 1014 times)

TotalNoob

  • Guest
Hi

I had an error while testing Storming scenario. Screenshot: https://pzt.me/7ayf. The Summoner controlled by AI did not move downward to another village. After pressing OK I was able to finish the scenario.
« Last Edit: 17 November 2011, 02:44:40 by tomreyn »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [Bug] - 3.5.3 beta1 - Error while playing the Storming scenario
« Reply #1 on: 8 November 2011, 17:11:55 »
I think I encountered this issue on earlier versions but failed to take a screenshot. The scenarios' logic may be buggy.
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 · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [Bug] - 3.5.3 beta1 - Error while playing the Storming scenario
« Reply #2 on: 11 November 2011, 08:08:02 »
This is a bug in lua script. Who-ever wrote this scenario should fix it or perhaps we remove it?

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [Bug] - 3.5.3 beta1 - Error while playing the Storming scenario
« Reply #3 on: 11 November 2011, 16:32:30 »
I think this error doesn't always occur, so it'd be a pity to remove the scenario just because of this. I was looking at the AUTHORS.data.txt file which lists dome scenario authors, but not this one. Maybe one of the modders could take a look (one of the kids maybe)?
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 · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: [Bug] - 3.5.3 beta1 - Error while playing the Storming scenario
« Reply #4 on: 11 November 2011, 20:32:46 »
This is a bug in lua script. Who-ever wrote this scenario should fix it or perhaps we remove it?
Uh, I believe Martino wrote the script himself.
Edit the MegaGlest wiki: http://docs.megaglest.org/

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

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [Bug] - 3.5.3 beta1 - Error while playing the Storming scenario
« Reply #5 on: 11 November 2011, 23:29:27 »
I added some validations to the lua script and its in svn. Anyone who is able please try it out.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: 3.5.3-beta1: LUA bug in Storming scenario breaks summoner movement
« Reply #6 on: 17 November 2011, 02:44:22 »
Looks good. I played it various ways and did not run into LUA errors.
I did make it to make the summoner get stuck once because I never attacked the golem - you can destroy the library without triggering its attention at which point the summer just remains where it is. But this doesn't break the scenario really, since once the library is destroyed your objective is switched peoperly and you can still win.
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 · · ·