Difference between revisions of "Running Bug List"
From Bitfighter
Watusimoto (Talk | contribs) (→General Bugs) |
(→General Bugs) |
||
Line 20: | Line 20: | ||
# 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 | ||
# Remove access to dangerous Lua libraries (esp. os and io) See http://lua-users.org/wiki/SandBoxes for ideas. | # Remove access to dangerous Lua libraries (esp. os and io) See http://lua-users.org/wiki/SandBoxes for ideas. | ||
− | |||
# Render order issues: | # Render order issues: | ||
#* ships render under flags | #* ships render under flags | ||
Line 27: | Line 26: | ||
# 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. | # 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. | ||
# When running with no joysticks attached, get this message on the system console: Error opening joystick 1 [(null)] | # When running with no joysticks attached, get this message on the system console: Error opening joystick 1 [(null)] | ||
− | |||
# /idle always respawns you after 5 seconds (no key press needed) | # /idle always respawns you after 5 seconds (no key press needed) | ||
# 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! | ||
− | |||
− | |||
# Symbols rendered off-center vertically: http://sam6.25u.com/upload/3screenshot_19.png | # Symbols rendered off-center vertically: http://sam6.25u.com/upload/3screenshot_19.png | ||
− | |||
# Cycling through full screen modes and back to normal window causes window size and position to be lost | # Cycling through full screen modes and back to normal window causes window size and position to be lost | ||
+ | # Selecting 'SWITCH TEAMS' doesn't kick you out of the menu when selected. I think there are others like this floating around, too.. | ||
====Things to test after next lua rewrite==== | ====Things to test after next lua rewrite==== | ||
# 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." | # 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." | ||
#:<code>-- for bug #33 from sam686<br>function main()<br> for x = 0, 20 do<br> for y = 0, 20 do<br> item2 = ResourceItem.new()<br> item2:setGeom(x * 100, y * 100)<br> levelgen:addItem(item2)<br> textitem = TextItem.new()<br> textitem:setText(x .. "," .. y)<br> textitem:setGeom(x * 100, y * 100, x * 100 + 100, y * 100)<br> levelgen:addItem(textitem)<br> end<br> end<br>end</code> | #:<code>-- for bug #33 from sam686<br>function main()<br> for x = 0, 20 do<br> for y = 0, 20 do<br> item2 = ResourceItem.new()<br> item2:setGeom(x * 100, y * 100)<br> levelgen:addItem(item2)<br> textitem = TextItem.new()<br> textitem:setText(x .. "," .. y)<br> textitem:setGeom(x * 100, y * 100, x * 100 + 100, y * 100)<br> levelgen:addItem(textitem)<br> end<br> end<br>end</code> |
Revision as of 23:38, 1 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
- Fix (or kill) /suspend command. Removed client-side by raptor Do we need to remove the server ability to suspend client?
- 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
-
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.temporary workarounds in 4d6f2a48d254 and 01414236b4ed
-
- Disable fast regen when standing still trying to build something with engineer
- Lua API doc fixes:
- event method signatures are not documented
- Check that all the old the Lunar classes mentioned at http://bitfighter.org/wiki/index.php/Scripting_018 are also in the luadocs.
- How to document the global enums 'WeaponInfo' 'ModuleInfo'?
- Bobdaduck's Lua API crashes:
- create and delete a spybug each tick, then shoot the spybug. crash! See: http://pastie.org/7818433
- 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
- Remove access to dangerous Lua libraries (esp. os and io) See http://lua-users.org/wiki/SandBoxes for ideas.
- Render order issues:
- ships render under flags
- Objective arrows rendering on top of F2 display
- server messages/ loadout boxes render on top of F2 level info display
- 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.
- When running with no joysticks attached, get this message on the system console: Error opening joystick 1 [(null)]
- /idle always respawns you after 5 seconds (no key press needed)
- 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!
- Symbols rendered off-center vertically: http://sam6.25u.com/upload/3screenshot_19.png
- Cycling through full screen modes and back to normal window causes window size and position to be lost
- Selecting 'SWITCH TEAMS' doesn't kick you out of the menu when selected. I think there are others like this floating around, too..
Things to test after next lua rewrite
- 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