Difference between revisions of "Running Bug List"

From Bitfighter
(General Bugs)
(General Bugs)
Line 7: Line 7:
 
===General Bugs===
 
===General Bugs===
  
# <del>Fix (or kill) /suspend command.  ''Removed client-side by raptor''  Do we need to remove the server ability to suspend client?</del>
 
 
# Figure out how to get ids working properly with walls/polywalls
 
# Figure out how to get ids working properly with walls/polywalls
# Fix memory leak with robots/levelgen because of disabling every luaW_hold<T>(L, obj); --> use reference counting to delete proxy when appropriate, and reenable this line
 
#* <del>sam686: repeated /addbots /kickbots kindof leaks memory and won't free memory until after running LuaScriptRunner::shutdown() which is normally run only when quitting. Check if everything is freed when a robot is removed.</del> temporary workarounds in [https://code.google.com/p/bitfighter/source/detail?r=4d6f2a48d2543b95939382c8619686a9ac5e7529 4d6f2a48d254] and [https://code.google.com/p/bitfighter/source/detail?r=01414236b4edcdc510b42ac3e2c1144adf17d249 01414236b4ed]
 
#* Added back luaW_hold and reverted 01414236b4ed by updating to latest LuaW upsteam.  See [https://code.google.com/p/bitfighter/source/detail?r=e20c8828f30e1a2b3d55d6e115b4c4b8b045b267 e20c8828f30e]  Still need to test if memory leak is there, but crashes don't happen like they used to with earlier LuaW revisions.
 
 
# Disable fast regen when standing still trying to build something with engineer
 
# Disable fast regen when standing still trying to build something with engineer
 
# Lua API doc fixes:  
 
# Lua API doc fixes:  
Line 18: Line 14:
 
#* How to document the global enums 'WeaponInfo' 'ModuleInfo'?
 
#* How to document the global enums 'WeaponInfo' 'ModuleInfo'?
 
# Improve screen for loading levels in editor -- perhaps general keyword search, or options for picking by author/title/file, or perhaps navigating a folder tree
 
# Improve screen for loading levels in editor -- perhaps general keyword search, or options for picking by author/title/file, or perhaps navigating a folder tree
# <del>bitfighter.ini [QuickChatMessages] is empty with missing comments after a newer version of Bitfighter is run, when "[Settings] version=" is older. Comments only appears after "[QuickChatMessages]" is removed and bitfighter is run.</del>
 
 
# in onShipLeftZone/etc. events with 'ship' object, either the ship or the ship:getPlayerInfo() doesn't return the same userdata object each time anymore
 
# in onShipLeftZone/etc. events with 'ship' object, either the ship or the ship:getPlayerInfo() doesn't return the same userdata object each time anymore
 
# Start game with joystick plugged in; remove joystick; go to Options>Input... crash!  Can't even get a stack trace in Windows!
 
# Start game with joystick plugged in; remove joystick; go to Options>Input... crash!  Can't even get a stack trace in Windows!
# <del> Shooting a burst or mine while in commander's map makes the map flicker  -- Can reproduce on Windows if I have the sensor in my loadout</del>
 
# Lua ship:getPlayerInfo() is nil with bots?  Might only be with recent LuaW changes...
 
 
# Two clients connecting to a server, all on the same machine, some how share a gameconnection.  This is evident when one client does /idle, but immediately respawns without the user typing a key
 
# Two clients connecting to a server, all on the same machine, some how share a gameconnection.  This is evident when one client does /idle, but immediately respawns without the user typing a key
  

Revision as of 23:53, 19 June 2013

This is list of our current high-priority bugs for Bitfighter.

Not all issues belong on this list -- only those that are a high priority for the next release. Other cases should be added to the Google Code bug tracker.

General Bugs

  1. Figure out how to get ids working properly with walls/polywalls
  2. Disable fast regen when standing still trying to build something with engineer
  3. Lua API doc fixes:
  4. Improve screen for loading levels in editor -- perhaps general keyword search, or options for picking by author/title/file, or perhaps navigating a folder tree
  5. in onShipLeftZone/etc. events with 'ship' object, either the ship or the ship:getPlayerInfo() doesn't return the same userdata object each time anymore
  6. Start game with joystick plugged in; remove joystick; go to Options>Input... crash! Can't even get a stack trace in Windows!
  7. Two clients connecting to a server, all on the same machine, some how share a gameconnection. This is evident when one client does /idle, but immediately respawns without the user typing a key


Things to test after next lua rewrite

  1. Levelgen: Having addItem() in main() may randomly fail on repeated ctrl+R in editor or repeated level restart, showing message "***LEVELGEN ERROR*** Error encountered while attempting to run script's main() function: ***.levelgen:44: attempt to call missing or unknown method 'addItem' (a nil value). Aborting script."
    -- for bug #33 from sam686
    function main()
      for x = 0, 20 do
        for y = 0, 20 do
          item2 = ResourceItem.new()
          item2:setGeom(x * 100, y * 100)
          levelgen:addItem(item2)
          textitem = TextItem.new()
          textitem:setText(x .. "," .. y)
          textitem:setGeom(x * 100, y * 100, x * 100 + 100, y * 100)
          levelgen:addItem(textitem)
        end
      end
    end