Author Topic: Magic Crash fix released  (Read 5566 times)

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Magic Crash fix released
« on: March 23, 2016, 07:17:45 PM »
Let me repost that here, on the main forum section:
I'm writing a program that we can use to fix that known crash with ctrl 1 and building and spells. Most time this bug comes up alot is when playing free castles or a map where you blizzard a lot and ctrl building. What i suspect happens if they didn't hit ctrl 1 fully and had a barrack for example on ctrl 1 so when they mage with blizzard and alt 1 the building tries to cast blizzard and the game crashes immediately.

This is ruined countless good games before and it will no longer be a problem soon. My program detects if a building is selected if so you cannot use a spell this will not effect game play at all just abuse or the random crash.

Just released the fix: http://forum.war2.ru/index.php/topic,1915.msg35767.html#msg35767
Please check and let me know that you have crash without my fix and war2 works fine with it.
I plan to include it to next version of loader, but need to make sure before.
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: Magic Crash fix released
« Reply #1 on: March 23, 2016, 07:42:46 PM »
Ohh yeah! !!!! We are blizzard  8)

Offline mousEtopher

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 2065
    • View Profile
    • War2.me
Re: Magic Crash fix released
« Reply #2 on: March 24, 2016, 07:00:18 PM »
Works perfectly for me https://www.twitch.tv/mousetopher/v/56419180?t=25s I'll use it when I next play to see if it has any horrific side effects. :D Nice fix.
squeak!

Offline mousEtopher

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 2065
    • View Profile
    • War2.me
Re: Magic Crash fix released
« Reply #3 on: March 24, 2016, 07:47:10 PM »
Found a bug maybe - was running and clicked on Allies button and game crashed: https://www.twitch.tv/mousetopher/v/56427277?t=2m25s

And again: https://www.twitch.tv/mousetopher/v/56449615?t=1m12s
« Last Edit: March 25, 2016, 12:42:06 AM by mousEtopher »
squeak!

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Magic Crash fix released
« Reply #4 on: March 25, 2016, 05:55:28 PM »
was running and clicked on Allies button and game crashed
Ops, sorry, my fault, i looked into fixed function and understood i forgot 1 more address for conditional jump, fixed now.
Thanks a lot for testing, mousey!

Please, test the new version now.
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline mousEtopher

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 2065
    • View Profile
    • War2.me
Re: Magic Crash fix released
« Reply #5 on: March 30, 2016, 01:22:01 PM »
was running and clicked on Allies button and game crashed
Ops, sorry, my fault, i looked into fixed function and understood i forgot 1 more address for conditional jump, fixed now.
Thanks a lot for testing, mousey!

Please, test the new version now.

Nice, fixed! I noticed something else -- I select the action for the peon then select the building with alt+1 and click, then next time I select the peon he won't move when I tell him to. After I press the hotkey to build something e.g. "bf" then esc he'll move again.
squeak!

Offline Warchief Lightbringer-

  • Server Admin
  • Axe Thrower
  • *****
  • Posts: 428
    • View Profile
Re: Magic Crash fix released
« Reply #6 on: March 31, 2016, 01:56:45 AM »
I don't even know what the bug is about and what it does and how to reproduce it :D
aka DeaDLyGaMeS

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: Magic Crash fix released
« Reply #7 on: March 31, 2016, 05:20:20 AM »
I don't even know what the bug is about and what it does and how to reproduce it :D
It's the mage crash from ctrl 1 a building and using 1 for mages also. If you dont properly ctrl 1boom you crash when mage.... very common in free castles.

Offline iL

  • Administrator
  • Ogre Mage
  • *****
  • Posts: 1653
    • View Profile
Re: Magic Crash fix released
« Reply #8 on: March 31, 2016, 04:04:33 PM »
Nice, fixed! I noticed something else -- I select the action for the peon then select the building with alt+1 and click, then next time I select the peon he won't move when I tell him to. After I press the hotkey to build something e.g. "bf" then esc he'll move again.
Wow, great, reproduced!
Peon don't react to right mouse click, if i select several peons, all of them can move except this one, But he could be moved if i press "m" or "a" and then left click target.
Same behavior with my fix and without it, so not caused by my fix.

ctrl 1 a building and using 1 for mages also.
Works for barracks for me, but didn't work for farm. Not sure about other buildings...
Need help to translate War2Combat to German, French, Italian, Polish or another language: http://forum.war2.ru/index.php/topic,4728.0.html
Please, contact me if you are interested in that.

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: Magic Crash fix released
« Reply #9 on: March 31, 2016, 04:19:57 PM »
Nice, fixed! I noticed something else -- I select the action for the peon then select the building with alt+1 and click, then next time I select the peon he won't move when I tell him to. After I press the hotkey to build something e.g. "bf" then esc he'll move again.
Wow, great, reproduced!
Peon don't react to right mouse click, if i select several peons, all of them can move except this one, But he could be moved if i press "m" or "a" and then left click target.
Same behavior with my fix and without it, so not caused by my fix.

ctrl 1 a building and using 1 for mages also.
Works for barracks for me, but didn't work for farm. Not sure about other buildings...
Now I wonder if mouse you did the ctrl 1 1 1 alt 1 1 1 known as one rax! Burnt could do the same thing a different way if he was supper fast ilk try to find that thread on occult and edit back.

This is also known as ten mage you know one mage controls 9. Hmmm.