[Bug] Space Invasion [0.9.24.1]

4 replies [Last post]
UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 44 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

Hello!
I want to go a bit short here
So, I play with my friends & Space Invasion
We played for several matches
But then it went nuts all the sudden
And by 'nuts' I mean the console alerting endless & continuous error messages
It's a Lua scripting error of course ~my best bet
Idk what is actually happening as I watching Youtube at the time (lmao)
With my first friend watching Youtube too
And the other one speaks Spanish, which gets me no further as well
The investigation ends, with gamelogs is all I've got...

Summary:
> Reporter: UltiMaxKom
> Witnesses: 'cencored' & 'cencored' (sry)
> Game: Hedgewars (isn't this obvious?)
> Version: 0.9.24.1
> Area: Online
> Platform: Windows Ultimate x32 bit i3
> Type: Mid-game Lua error
> Reproduce: Unknown
> Known causal: None
> Result: Continous Lua Script Error Msgs
> Termination: Normal, I've just quit the game...
> Highlighted Flags: Max graphical quality, Fullscreen
> Classification: Medium-Major
> Stardate: June 8, 2018 ~Earth Based Calendar
> Extra Note: "Wanted to say hi to mikade"
/eol

Here the attachment for this open case:
HW_UMK June 8 2018_Space Invasion Crash_preview0
HW_UMK June 8 2018_Space Invasion Crash_game0

Further question or clarification (or literally anything digitally writeable here duh...)
Can be asked via reply section (is there any other way, really?)

Attachment License: CC-0

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

mikade
mikade's picture
User offline. Last seen 45 weeks 3 days ago. Offline
Joined: 2010-10-22
Posts: 355

UltiMaxKom allegedly wrote:

Wanted to say hi to mikade"

Hi Ulti. Nice to see you active, again.

I'm happy someone was enjoying Space Invasion, though sad you had problems. I haven't tried it in the new version yet, though I believe Wuzzy made some quality of life changes over time.

Did this happen at the end of the match? From a brief look at the log it seems like it occurred after the hedgehogs were deleted, which only happens at the end when someone "wins". Logged errors are "attempt to perform arithmetic on global 'g1X' (a nil value)" so if I had to make a quick guess, the game was probably trying to run math (calculate distances etc) with those deleted hogs. I haven't looked at the code in a long time, but obviously it shouldn't be doing that.

mikade
Hedgewars Developer

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 44 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

mikade allegedly wrote:

UltiMaxKom allegedly wrote:

Wanted to say hi to mikade"

Hi Ulti. Nice to see you active, again.

I'm happy someone was enjoying Space Invasion, though sad you had problems. I haven't tried it in the new version yet, though I believe Wuzzy made some quality of life changes over time.


"Hi Ulti. Nice to see you active, again." Actually I'm going to be inactive, again xD and It's going to be another gap since I gotta go somewhere else irl, somewhere quite remote place where I (believe) can't get any internet connection whatsoever (unless there's an unexpected miracle happen lol). Therefore I may not able to contact any of my friends via internet, or checking my Youtube/Hedgewars Forum/Reddit/Etcetera etcetera until I'm back to the civilization =/ (Btw this is one of my last(kinda) messages until then x)). Okay, if you ask about mobile phone/mobile wifi then for short answer: I have none, yet(?). Longer one? Well, I rely on my favorite cafe here in the city, or free puclic wifi, or *cough* my 'nice friend's internet hotspot *cough*.

Then, about the Space Invasion, ahem.
Actually I think I'm the only one that playing them.
And introducing them to people, which is quite hard (high-lover syndrome).
Because ppl hate new things (errr...)
And that's why 80% asked me "Is this new mode?" or "Since when we have this" or sayin' not a thing and left the game with team staying in the middle of the game xD

Also, mikade I believe it's you the author of Space Invasion, amrite? Because what all I can say is that SP is SuPer awesome :O I mean, it's feels like an arcade minigame which short yet fun at a quick pace! It's all about fun, even though it could be competitive (duh, haven't met someone comp, ahem, about the people I introduced). Derp, it needs to be at least a bit competitive to be fun though =/ because the challenge is what makes us stay playing the game in the first place...

Well... Idk why but my foolish brain think that it deserve something it can't handle: Challenging Space Invasion Master himself. Huush! My brain talked too much xD Please forgive it, I guess it just joking around! *put hand to shut brain's mouth while laughing awkwardly* -Okay, seriously this ain't serious (Wait wha? Need lv.99 Brain-Wrap to understand this)

mikade allegedly wrote:

Did this happen at the end of the match? From a brief look at the log it seems like it occurred after the hedgehogs were deleted, which only happens at the end when someone "wins". Logged errors are "attempt to perform arithmetic on global 'g1X' (a nil value)" so if I had to make a quick guess, the game was probably trying to run math (calculate distances etc) with those deleted hogs. I haven't looked at the code in a long time, but obviously it shouldn't be doing that.

Idk if that happen at the end of the match, sry
And yeah, I believe that is the problem you describe
Because *cough* I had many(yeesh) experiences around those kind fails in my project, where I place some failsafe.

Anyway
I guess you can take another closer look for your SPecial mode :O
And fix it in the blink of an eye :OOO
Request: Can we add another type of attack? Like Butthole Strike? I mean, shooting barrels from the butt lmao (Launching My Asz Off) xD

PS: I think at least I can't go back online about ~a week
Sooo... See you next week and have such great time!!!
^^

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

Wuzzy
Wuzzy's picture
User offline. Last seen 25 weeks 2 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Another question:
Does this bug occour every time you play Space Invasion or does it only appear sometimes, or even very rarely?

In any case, thank you for the bug report. Smile The game log was important.

---

Anyway, I have looked at this and made a commit which might fix this bug:

https://hg.hedgewars.org/hedgewars/rev/93ba1826b8c2

Although I am not 100% sure about this.

Hi, I am a Hedgewars developer. Smile

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 4 years 44 weeks ago. Offline
Joined: 2016-06-26
Posts: 381

Wuzzy allegedly wrote:

Another question:
Does this bug occour every time you play Space Invasion or does it only appear sometimes, or even very rarely?

Well, in my entire life I've only had one chance to see such thing, although I played Space Invasion quite *air quote* "much" (only recently and not as much nor on par with Highlander, obv). As it only happened once on me; I feel it should be a "Rare" bug
_/( " 3")\_

Yeah, game log IS very important (mostly because of the fact that if you play another match it'll be replaced with the recent one [b]automatically[b] *cough*, making it seriously important to get the data before da unnecessary replacement x)). Also Wuzzy, we'll have a better reporting, data logging, and debugging method next release right? As if it is, then I can't wait to see that .25 =O

Also, dagnabbit! I've just noticed that the part "Witness" on the OP only contain "&".
BUT I ain't do it intentionally! So that's why I just edit the OP, fyi

And finally, thanks for the commit Wuzzy (it'll be the least I can do tho), as it makin' me happy ~as always~ ^^

╟───NW──────┼──────N╢

╓──────────────────╖ ╓──────────────────╖
⠀HP: ██████████ 1E9/1E91E9/1E9 ██████████ :MP
╙──────────────────╜ ╙──────────────────╜

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]