More bugfixes and joystick/gamepad support (0.12) *hotfixed again*

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Hello players,

    Finally, joystick and gamepad support have been implemented. This should enable players to use any input device with StarMade. I chose to implement it in a very abstract and detailed way to maximize compatibility and customization. You can access the menu in the option menu. Choose your joystick from the drop down (keep in mind that atm newly plugged in controllers require a restart to be noticed by the game, but it will be replaced with a refresh button soon).

    You can assign any axis of your joystick or gamepad to any usable axis of StarMade, as well as individually define sensibility, as well as invert each axis. The bottom part of the menu is to test your input device: buttons should light up if you have the right device selected. There might still be some bugs: Some controllers cause an initial value for axis (if you seem to move in any way without pressing anything, please slightly touch all the axes on your controller to reset the one that is causing the problem). Also some button assignments might not yet work.



    What is still to come is a dedicated save system for the joysticks, so you can make files for each of your input device as well as for StarMade to provide a list for joysticks/gamepads to have vanilla configurations.

    The system has been tested with an xbox360 controller and a logitech extreme 3d pro joystick.



    There were also some bugfixes done. Here is the full changelog:

    - implemented abstract controller support
    - implemented controller custom axis support
    - implemented controller custom button support
    - implemented abstract system to apply the same system as for keyboard to any controller
    - implemented controller button duplication check
    - implemented controller saving
    - implemented controller loading
    - implemented individual controller axis sensivity
    - improved GUI a bit: no more moving when keys pressed in some menus; no more fireing weapons when deactivating menus (might still be some menus missing to be included)
    - prevented OS from giving initial value for controllers (rotation when starting until controller touched)
    - integrated controller into camera system
    - implemented remote debug system to check on raw server positions
    - removed sector physics mirroring from sectors to a planet and vice versa (physics glitches possible, but will take care of possible heavy lag and random warps, until better solution found)
    - structure panel now available for any usable structure
    - fixed some missiles not showing up
    - fixed GUI texture compression (washed out GUI textures)
    - fixed a accuracy problem in segment sorting (small alpha errors on transparent blocks can still occur)
    - removed unaffected segments within missile blast radius from missile block update (missile performance)
    - missile damage now sends segment update directly instead of issuing re-requests on client (faster update when missile hits & better synchronization)
    - fixed possible bug in updating whole segments when missiles hit (collections (ship properties) not updating correctly)


    Please be especially careful with this pre-build if you plan to use it on a server, and even in single player please make sure you backup your database before you use this build. Also please don't use this build to work on big projects, as i can't guarantee the data generated by the pre-build to be 100% error free, because a database migration has to be done from the old version.

    You can download the build here: http://files.star-made.org/build/pre/starmade-build_20140302_073735.zip

    nullpointer hotfix: http://files.star-made.org/build/pre/starmade-build_20140302_102800.zip

    apparently the deplyment didn't include the library for the controller input. I'm sorry about that: http://files.star-made.org/build/pre/starmade-build_20140302_215217.zip

    (to use that please extract that file into a folder named "StarMade" and put a launcher in the directory below: e.g. if you extract it to c:\users\schema\games\StarMade, the launcher has to be in c:\users\schema\games for it to see the installation)

    (The username and password is "dev". The link will be working around 15 minutes after this news post)

    This version will be installed on play.star-made.org:4242 to test.

    Thanks for playing StarMade,

    - schema
     
    Joined
    Aug 14, 2013
    Messages
    2,811
    Reaction score
    960
    • Councillor 3 Gold
    • Wired for Logic
    • Top Forum Contributor
    I think I\'ll still use JoytoKey to keep using my aditional controlers, I doubt the built in functions will be as flexible.
     
    Joined
    Aug 30, 2013
    Messages
    1,744
    Reaction score
    323
    Are you waiting until you get the ai fully working and the new weapons system implemented before you post the full release?
     

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    thanks for the report. it should be fixed now
     

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Yeah, I\'m waiting on some test reports for the AI, as I can\'t fully reproduce all the bugs reported. And also debugging on servers still to ensure the data is handled ok.

    Doing the joystick/gamepad now is basically the best option imo (instead of doing nothing) since it doesn\'t touch the main system which is being tested.
     
    Joined
    Jun 21, 2013
    Messages
    60
    Reaction score
    0
    I showed you thee video where i was having a problem with the AI going crazy when one spawns a Crew, and entering the core. Also I have been having the problem with ship AI\'s being turned on.
     

    therimmer96

    The Cake Network Staff Senior button unpusher
    Joined
    Jun 21, 2013
    Messages
    3,603
    Reaction score
    1,053
    • Legacy Citizen 10
    • Top Forum Contributor
    My flight stick has a thurst lever, so will the game all for me to use it to move slowly now? Could work with the trigger on the xbox controller aswell
     
    Joined
    Aug 30, 2013
    Messages
    1,744
    Reaction score
    323
    Glad you\'re working on getting it fully sorted before release.

    Good luck.
     
    Joined
    Jun 20, 2013
    Messages
    293
    Reaction score
    48
    • Purchased!
    How would I be able to use the \"remote debug system to check on raw server positions\"?
     
    Joined
    Jan 1, 2013
    Messages
    772
    Reaction score
    452
    The new weapon system is still not included in this patch, just making sure to remind everyone that it isnt part of the current one
     
    Joined
    Nov 29, 2013
    Messages
    28
    Reaction score
    0
    but the hotfix doesn\'t seem to be working for me. What should I do?
     
    Joined
    Jan 1, 2013
    Messages
    772
    Reaction score
    452
    Thank you everyone for sending in bug reports on these new things, this is exactly what helps resolve them.
     
    Joined
    Jun 20, 2013
    Messages
    2
    Reaction score
    0
    When I tried to configure my joystick, it first froze, then gave me a NullPointerException. Finally, I ended up with a BSOD and a disk check. I\'m thinking this is isolated, but please look into it.