[bug] Alien Buy Menu Bug

SyknikSyknik InversionNS2.com Join Date: 2002-11-01 Member: 2064Members, Constellation, NS2 Map Tester, Reinforced - Supporter, Reinforced - Shadow
<div class="IPBDescription">GetSatisfaction is down.</div>Okay so... Figured out the whole alien buy menu bug, which has been happening every once in a while.

Here's the video: <a href="http://www.youtube.com/watch?v=pDXbltUpit0" target="_blank">Alien Buy Menu Bug Video</a>


<b><u>Info the devs probably need</u></b>
------------------------------------------------

Script Error: lua/GUIAlienBuyMenu.lua:1149: attempt to index fieldref 'mouseOverInfo' (a nil value)
_ShowMouseOverInfo lua/GUIAlienBuyMenu.lua:1149
_UpdateAlienButtons lua/GUIAlienBuyMenu.lua:995
_InitializeAlienButtons lua/GUIAlienBuyMenu.lua:310
Initialize lua/GUIAlienBuyMenu.lua:108
_SharedCreate lua/GUIManager.lua:66
CreateGUIScript lua/GUIManager.lua:74
Buy lua/Alien_Client.lua:379
HandleButtons lua/Player.lua:2141
HandleButtons lua/Alien.lua:156
callFunc lua/Player.lua:1290
lua/MixinUtility.lua:90
Harvester:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Hive:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Infestation:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Egg:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Egg:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Egg:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Harvester:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Hive:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Infestation:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Egg:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Egg:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client
Egg:SetPoseParam(intensity): Actor animations locked during OnProcessMove(). - Client

-------------------------------

Comments

  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    Nice. So to reproduce all you do is spam b and move around?
  • KuBaNKuBaN Join Date: 2002-11-16 Member: 8979Members, Constellation
    This also happened to me once. I managed to hit B immediately after selecting a team amidst spawning (no egg since it was before the round start).
  • vizioNzvizioNz InversionNS2.com Join Date: 2003-12-21 Member: 24595Members, Constellation, NS2 Playtester
    I've experienced this issue in the past a couple of times and the only way to fix it is to exit out of NS2.exe and re-open it. I've seen this reported in the past but I've never seen UWE comment or show attention to it.
  • DarksterDarkster Join Date: 2010-02-17 Member: 70612Members, Reinforced - Gold
    edited August 2011
    It's actually a simple fix. If you open up GUIAlienBuyMenu.lua and just remove line 310, you'll be all good to spam b and look around crazily.
  • KuBaNKuBaN Join Date: 2002-11-16 Member: 8979Members, Constellation
    <!--quoteo(post=1867934:date=Aug 9 2011, 05:48 PM:name=Darkster)--><div class='quotetop'>QUOTE (Darkster @ Aug 9 2011, 05:48 PM) <a href="index.php?act=findpost&pid=1867934"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->It's actually a simple fix. If you open up GUIAlienBuyMenu.lua and just remove line 310, you'll be all good to spam b and look around crazily.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Now this is just me, but I would advise against removing a function call named "_UpdateAlienButtons" ...
  • twilitebluetwiliteblue bug stalker Join Date: 2003-02-04 Member: 13116Members, NS2 Playtester, Squad Five Blue
    Getsatisfaction is online now. Check out this solution: <a href="http://getsatisfaction.com/unknownworlds/topics/alien_buy_menu_bug" target="_blank">http://getsatisfaction.com/unknownworlds/t...en_buy_menu_bug</a>
  • DarksterDarkster Join Date: 2010-02-17 Member: 70612Members, Reinforced - Gold
    edited August 2011
    <!--quoteo(post=1868104:date=Aug 10 2011, 08:41 AM:name=KuBaN)--><div class='quotetop'>QUOTE (KuBaN @ Aug 10 2011, 08:41 AM) <a href="index.php?act=findpost&pid=1868104"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Now this is just me, but I would advise against removing a function call named "_UpdateAlienButtons" ...<!--QuoteEnd--></div><!--QuoteEEnd-->

    It's called during the GUI's update function... The worst thing that will happen is it will be messed up for a single frame, compared to crashing.

    The other solution works as well. <strike>however, I'm not sure why the menu is being constantly made and destroyed at all, anyways.</strike>

    I figured out why, nvm.
  • vizioNzvizioNz InversionNS2.com Join Date: 2003-12-21 Member: 24595Members, Constellation, NS2 Playtester
    <!--quoteo(post=1868155:date=Aug 10 2011, 02:06 PM:name=Darkster)--><div class='quotetop'>QUOTE (Darkster @ Aug 10 2011, 02:06 PM) <a href="index.php?act=findpost&pid=1868155"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->It's called during the GUI's update function... The worst thing that will happen is it will be messed up for a single frame, compared to crashing.

    The other solution works as well, however, I'm not sure why the menu is being constantly made and destroyed at all, anyways.<!--QuoteEnd--></div><!--QuoteEEnd-->
    It's is opened and trigger in the same fashion as the flashlight. What this means is a user can hold down the [default] B key and spam the build menu over and over again.
  • PricePrice Join Date: 2003-09-27 Member: 21247Members
    nice found, so that bug happend.
  • KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
    edited August 2011
    While we are at it, can we have a more organic looking alien style font?

    The graphics are nice but the font style doesnt fit (at least if you ask me), the only way to make it more ugly is if you would use comic sans...
  • MurphyIdiotMurphyIdiot NS2 programmer Join Date: 2008-04-17 Member: 64095Members, Super Administrators, NS2 Developer, Subnautica Developer, Pistachionauts, Future Perfect Developer
    Wow, thanks for figuring this one out! We have known about it but didn't know how to reproduce the problem so couldn't fix it.

    I'll get right on it :)

    <!--quoteo(post=1868235:date=Aug 10 2011, 04:05 PM:name=Koruyo)--><div class='quotetop'>QUOTE (Koruyo @ Aug 10 2011, 04:05 PM) <a href="index.php?act=findpost&pid=1868235"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->While we are at it, can we have a more organic looking alien style font?

    The graphics are nice but the font style doesnt fit (at least if you ask me), the only way to make it more ugly is if you would use comic sans...<!--QuoteEnd--></div><!--QuoteEEnd-->

    Any suggestions?
  • FloodinatorFloodinator [HBZ] Member Join Date: 2005-02-22 Member: 42087Members, Reinforced - Shadow
    Use the NS2 Fonts like on top right of this Frame for the Marines.
    And for the aliens somethinh like Quake but "rounder".
  • perfectheatperfectheat Join Date: 2007-06-28 Member: 61405Members
    edited September 2011
    <!--quoteo(post=1874431:date=Sep 12 2011, 10:46 PM:name=MurphyIdiot)--><div class='quotetop'>QUOTE (MurphyIdiot @ Sep 12 2011, 10:46 PM) <a href="index.php?act=findpost&pid=1874431"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Any suggestions?<!--QuoteEnd--></div><!--QuoteEEnd-->

    Had 20 minutes, just went to dafont.com and tested a bunch of typefaces. Ended up doing some edits to this one: <a href="http://www.dafont.com/elminster.font?fpp=50" target="_blank">http://www.dafont.com/elminster.font?fpp=50</a> Added some infection, sharper edges, styles and so on... It's far from perfect though.

    <img src="http://i.imgur.com/6IoN3.png" border="0" class="linked-image" />

    <img src="http://i.imgur.com/dNJkJ.jpg" border="0" class="linked-image" />
    Original posted by peregrinus.

    What I imagine being right is something that leans on some of the shapes you find on the alien classes, but that is still very readable. Basically a custom font. I'm thinking the pointy hooves on the Skulk and up and round it's heavier kneecap. Pointy lower ends and a bit heavier and round on top maybe.

    Typefaces and especially GUI is something most games don't do well. It's really hard to get it right and I don't think I could do it any better.
  • vizioNzvizioNz InversionNS2.com Join Date: 2003-12-21 Member: 24595Members, Constellation, NS2 Playtester
    This will be a major fix and I am glad UWE has managed to take an attempt to tackle it!
  • SteinhauerSteinhauer Join Date: 2010-07-17 Member: 72493Members
    <!--quoteo(post=1874514:date=Sep 13 2011, 05:35 AM:name=perfectheat)--><div class='quotetop'>QUOTE (perfectheat @ Sep 13 2011, 05:35 AM) <a href="index.php?act=findpost&pid=1874514"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Had 20 minutes, just went to dafont.com and tested a bunch of typefaces. Ended up doing some edits to this one: <a href="http://www.dafont.com/elminster.font?fpp=50" target="_blank">http://www.dafont.com/elminster.font?fpp=50</a> Added some infection, sharper edges, styles and so on... It's far from perfect though.

    (images)

    What I imagine being right is something that leans on some of the shapes you find on the alien classes, but that is still very readable. Basically a custom font. I'm thinking the pointy hooves on the Skulk and up and round it's heavier kneecap. Pointy lower ends and a bit heavier and round on top maybe.

    Typefaces and especially GUI is something most games don't do well. It's really hard to get it right and I don't think I could do it any better.<!--QuoteEnd--></div><!--QuoteEEnd-->

    A step in the right direction, but a bit too hard to read to be anything but a title, especially if you're new to the game and don't know what it's supposed to say beforehand. It is hard to find a good organic-looking font that's easy enough to read though
  • KoruyoKoruyo AUT Join Date: 2009-06-06 Member: 67724Members, Reinforced - Shadow
    edited September 2011
    love the font suggestion - its very readable if you ask me. (+ the only thing thats really interessting is the res cost number anyways)
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    <!--quoteo(post=1874754:date=Sep 14 2011, 02:57 PM:name=Steinhauer)--><div class='quotetop'>QUOTE (Steinhauer @ Sep 14 2011, 02:57 PM) <a href="index.php?act=findpost&pid=1874754"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->A step in the right direction, but a bit too hard to read to be anything but a title, especially if you're new to the game and don't know what it's supposed to say beforehand. It is hard to find a good organic-looking font that's easy enough to read though<!--QuoteEnd--></div><!--QuoteEEnd-->
    Seconded.

    I prefer a standardized font because its provides quick comprehension. I have much more difficulty quickly reading the suggested font style.
  • basti1337basti1337 Join Date: 2011-05-13 Member: 98538Members
    Here is a list of some nice fonts for that purpose
    <a href="http://www.fontsquirrel.com/fonts/list/style/Grunge" target="_blank">http://www.fontsquirrel.com/fonts/list/style/Grunge</a>
Sign In or Register to comment.