Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Update 01.129 - Server Side Character Control & Client Side Prediction

Discussion in 'Change Log' started by Drui, Apr 7, 2016.

  1. Drui Keen Update Guy KeenSWH Developer

    Joined:
    Jan 20, 2014
    Messages:
    1,095
    Trophy Points:
    347
    Summary
    In this week's update we are bringing you a new multiplayer feature called server side character control. It basically means that client position will always be determined on a server instead of on the client itself. This should prevent unnecessary deaths due to spawning inside of a wall and jumping into objects caused by a lower server speed. We also fixed performance issues for worlds with a complex conveyor system - they should no longer be so slow. Some improvements have also been made to gyroscopes - they should not spin heavier ships more than light ones anymore. And lastly, the situation where all the sounds played at once when a player alt+tabbed is also taken care of.



    Features
    - character on server with client side prediction
    - programmable block improvements (see details below)

    Fixes
    - fixed very slow worlds
    - performance increase and optimization for conveyor systems
    - fixed small ship missile turrets not shooting
    - fixed gyro behavior (spinned heavier ships faster)
    - fixed sensors detect ship out of their area of detection
    - fixed sounds play all at once when window focus is regained
    - fixed blocks were not ground from certain angles on DS
    - fixed wheels are not attached when blueprint is welded
    - fixed small ship missile turret won't reload

    Community Fixes
    - Programmable Block: Added runtime information to MyGridProgram via the Runtime property. [Malware]
    - Programmable Block: Allows for a usable, instruction-counted constructor with all peripherals initialized, and a save method which is called by the game on demand to avoid unnecessary serialization. [Malware]
    - Programmable Block: Implemented "yield return" support to programmable blocks. [Phoenix84]
    - ModAPI: Implemented support for custom emissivity settings. [Phoenix84]
    - ModAPI: Fixed duplicate GPS bug. [Phoenix84]
    Special thanks to Malware and Phoenix84 for the programmable block and ModAPI improvements!

    Update 007:
    -fixed crash on ilcompiler initialization
    -improved character rotation control when standing on ground
    -fixed advanced tools
    -fixed inventory bug when player was away from base
    -improved lighting
     
    Last edited by a moderator: Apr 8, 2016
    • Like x 35
    • Disagree x 5
    • Agree x 2
    • Informative x 1
    • Late x 1
  2. Spherical

    Joined:
    Jul 24, 2014
    Messages:
    17
    Trophy Points:
    67
    FIRST

    Really hope the fixes for simspeed drops are working
     
    • Late Late x 2
    • Like Like x 1
  3. Hemp Plan[e]t

    Joined:
    Apr 1, 2016
    Messages:
    144
    Trophy Points:
    22
    2nd

    Xocliw ur friend seems nervous ;)
     
    • Agree Agree x 3
    • Disagree Disagree x 1
    • Late Late x 1
  4. Diegor34

    Joined:
    May 13, 2014
    Messages:
    98
    Trophy Points:
    82
    hkStackTracerWin32.cxx error in DS are worse than ever... "ThanksĀ¹"

    My DS will be closed for longer... All that work to build and maintain that "####" to stay closed for the second consecutive update "Awesome, ThanksĀ²".
     
    Last edited: Apr 7, 2016
    • Funny Funny x 3
    • Agree Agree x 1
    • Disagree Disagree x 1
  5. Sumyunguy

    Joined:
    Nov 7, 2013
    Messages:
    71
    Trophy Points:
    87
    Gud gud gud. Thanks, devs :)
     
    • Like Like x 1
  6. Phoenix84

    Joined:
    Mar 16, 2014
    Messages:
    879
    Trophy Points:
    147
    Sweet.

    To use emissives:
    1) Model as usual in any editor, and create emissive textures with any name you want (You can use Emissive, Emissive0, etc... if you want, but you don't have to).
    2) In ModAPI, call IMyEntity.SetEmissiveParts("NameOfEmissiveTexture", Color, brightness);

    This also works with stock emissives! It also works with everything! Blocks, floating entities, and should work for weapons and the character too!

    Code:
    void SetEmissiveParts(string emissiveName, VRageMath.Color emissivePartColor, float emissivity)
        Member of VRage.ModAPI.IMyEntity
    
    Summary:
    Sets the emissive value of a specific emissive material on entity.
    
    Parameters:
    emissiveName: The name of the emissive material (ie. "Emissive0")
    emissivity: Level of emissivity (0 is off, 1 is full brightness)
    emissivePartColor: Color to emit
    
     
    Last edited: Apr 7, 2016
    • Like Like x 5
    • Informative Informative x 2
    • Agree Agree x 1
  7. 4o

    Joined:
    Sep 12, 2014
    Messages:
    308
    Trophy Points:
    82
    first page!)
    hooray to rubberbanding for your camera!:)
    hooray to drunk astronaut! it literally cant walk straight :)
    hooray to astronaut fsm failures:) it seems like it misses transaction event. right now it walks, with "falling" animation.
    caught desync. now a suit walks right when i press w. camera lost 1 degree of freedom: moves only up-down (mouse). hooray :)
    lifehack: switching to flying forces sync.

    @Malware: i used to save state every run. now i can decrease pb load on server. sincere thanks.
     
    Last edited: Apr 8, 2016
    • Agree Agree x 1
  8. DS_Marine

    Joined:
    Oct 17, 2014
    Messages:
    493
    Trophy Points:
    122
    - fixed small ship missile turrets not shooting

    The automated gatling turret were not working too (on previous version).
    Can't test the new version until night time...
     
    • Like Like x 1
  9. Dicarus

    Joined:
    Oct 13, 2014
    Messages:
    127
    Trophy Points:
    82
    More handheld weapon variety, neato.

    Any idea when astronaut NPCs will be a thing, if ever?
     
    • Agree Agree x 3
  10. mepox

    Joined:
    Apr 1, 2016
    Messages:
    4
    Trophy Points:
    6
    first page? :p
     
    • Funny Funny x 1
  11. Kham

    Joined:
    Apr 24, 2015
    Messages:
    424
    Trophy Points:
    72
    Looking forward to testing. Last week's update made our DS game unplayable, so fingers crossed I can actually move this week.
     
  12. lostjounin

    Joined:
    Jul 19, 2014
    Messages:
    43
    Trophy Points:
    52
    As much as I love programmable blocks... aren't there more pressing matters to attend to? Like SSS and Inventory related disasters? Either way, good update and hopefully at least half the community can still play the game :)
     
    • Agree Agree x 1
    • Disagree Disagree x 1
  13. joemorin73

    Joined:
    Oct 23, 2014
    Messages:
    951
    Trophy Points:
    147
    Nice teaser of Winona at the end.
     
    • Agree Agree x 1
  14. MalkContent

    Joined:
    Nov 18, 2015
    Messages:
    44
    Trophy Points:
    17
    does this fix the solar panels MaxOutput read on DS?
     
    • Like Like x 1
  15. tharkus

    Joined:
    Nov 15, 2013
    Messages:
    704
    Trophy Points:
    122
    Yay Community Fixes are back :)
    also I love that Pistol, love the teasers, they feed the hype :)
    good job !
     
    Last edited: Apr 7, 2016
    • Agree Agree x 3
  16. TheFurryLion

    Joined:
    Jul 15, 2015
    Messages:
    6
    Trophy Points:
    51
    really nice pistol, but where's the trigger ?
     
    • Agree Agree x 3
    • Disagree Disagree x 1
    • Funny Funny x 1
  17. Bobylein

    Joined:
    Jan 24, 2014
    Messages:
    201
    Trophy Points:
    82
    Yaaaay first site!

    Hope our dedicated server runs better now.
     
  18. Bolex

    Joined:
    Mar 31, 2016
    Messages:
    4
    Trophy Points:
    6
    o i guess that means that still the animation wont work on our DS :/ jetpack still wont lift me up from the ground and I STRONGLY HOPE that when You said Gyro wierd behavior you mean that the strenght of my gyros will return to USABLE state becouse since last update it takes about 20 sec to rotate my ship 306 degree :( ...just when i was about to succeed in encouraging by 2 frends to buy the game :/
     
    • Funny Funny x 1
  19. PsicoPato

    Joined:
    Mar 27, 2015
    Messages:
    1,094
    Trophy Points:
    147
    OMG that HandGun!

    Flametrower next. ;D
     
    • Funny Funny x 2
  20. Commander Rotal

    Joined:
    Apr 25, 2014
    Messages:
    4,576
    Trophy Points:
    247
    @Xocliw @Deepflame SimSpeed still sitting at disastrous 0.08 while typing this. I call lies! Slander! Misconceptions! Cats and dogs living together!

    [​IMG]

    [​IMG]

    Edit: i'm always amazed to see people "disagreeing" with a factual statement. It's not a Dislike button kids.
     
    Last edited: Apr 8, 2016
    • Funny Funny x 9
    • Agree Agree x 4
    • Disagree Disagree x 1
  21. Harrekin

    Joined:
    Mar 6, 2015
    Messages:
    2,795
    Trophy Points:
    182
    Programmable block fixes/improvements were community fixes by professional programmers on their spare time...
     
    • Agree Agree x 5
  22. Scorpion00021

    Joined:
    Sep 10, 2013
    Messages:
    1,344
    Trophy Points:
    187
    Changes to the way MP works? Butthole tightly clenched....
     
    • Funny Funny x 10
  23. L0v0lup

    Joined:
    Mar 10, 2016
    Messages:
    10
    Trophy Points:
    7
    Wow.. my character on my server is lagging in random directions. Same problem for other players on my server. PLEASE hand out a hotfix ASAP! :oops:
     
    • Agree Agree x 2
  24. Potter

    Joined:
    Jan 19, 2015
    Messages:
    425
    Trophy Points:
    132
    So happy to see community fixes again.

    To all those who contribute on Github, you have my unending gratitude. Thanks for helping to make the game better.
     
    • Friendly Friendly x 3
    • Like Like x 1
  25. Mr Engineer

    Joined:
    Sep 11, 2014
    Messages:
    435
    Trophy Points:
    112
    First page! Very nice update. New Pistol? Looks good. I like those fixes. Thanks Keen!
     
  26. ltdan83

    Joined:
    Apr 24, 2014
    Messages:
    195
    Trophy Points:
    122
    What planet was that video on?
     
  27. Nefali

    Joined:
    Apr 7, 2016
    Messages:
    2
    Trophy Points:
    6
    What you the devil losses have made you? With your last patch pulls me at the movement, at me lighting, synchronization with the server to hell has broken to devils! Just tell WHY WHY YOU HAVE ACTED THIS WAY?
    The lamps which are adjusted earlier within two fucking hours don't give now the necessary flowers at all! Hey yeah - they burn in those color scales which have been conceived - BUT LIGHTING STUPIDLY NEUTRAL EVERYWHERE! Instead of beautiful shades IT is SIMPLE BLYaT ANY!
    Besides now of your checks locations of the player on the server or as you have written it there - at me the character continuously PULLS Izz when walking! Plus to it also returns on an old position just regularly! WHY to do patches which BREAK and nothing is repaired?
    Why then to you not to upload publicly the OLD version (here literally without this last patch) the client that I could play with NORMAL awesome beautiful from within (thanks to WORKING AS it is NECESSARY to lamps) the ship instead of beholding stupidly "neutral" lighting moreover and continuously lags in that case if the server - not Im?
     
    • Funny Funny x 4
    • Agree Agree x 2
    • Like Like x 1
    • Disagree Disagree x 1
  28. CanOmer

    Joined:
    Feb 27, 2015
    Messages:
    636
    Trophy Points:
    97
    I grouped my forward thrusters then add them increase/decrease thrust override in to bottom toolbar. But they don't show the thrust power.
    Sliding instead of walking continues.
     
  29. rexxar KeenSWH Developer

    Joined:
    Dec 11, 2014
    Messages:
    1,337
    Trophy Points:
    177
    The PB improvements were implemented by Malware. Keen put only a small amount of time into it.
     
    • Agree Agree x 2
  30. doncdxx

    Joined:
    Mar 1, 2014
    Messages:
    193
    Trophy Points:
    112
    Awfully big patch. Time for some content folder diving to see what they're not telling us about.
     
    • Agree Agree x 1
    • Funny Funny x 1