1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Devlog KAG Build 2367 - Contributions Galore; Performance, Translations and a Bug Massacre

Discussion in 'Announcements' started by Geti, Oct 10, 2017.

  1. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    This build is the first "big" build with a lot of changes from contributors, both via github and internally.

    In particular, Asu and Fuzzle have been given access to our internal repositories. Asu has taken on a variety of performance improvements, modding quality-of-life changes, and translation work. Fuzzle has focussed on fixes and gameplay quality of life, and is preparing a lot of changes that aren't quite ready for release yet, including new gamemodes and a lot of overhauled "behind the scenes" stuff.

    This build should improve performance, particularly serverside. Enormous collapses should no longer "kill" servers (thanks makmoud98 for help testing this), water and fire shouldn't cause issues with certain graphics setups, the minimap should be a lot faster in general.

    This build features improved (but experimental!) translation support, with more to come. We've had expressions of interest from serveral members of the community - if you'd like to help get KAG translated to your locale, Asu is probably the one to get in touch with. There's an open github issue but the forums are also a good place to discuss this. We'd love to get official translation support for lots of languages in to help KAG reach and welcome all sorts of international audiences.

    There are also a lot of bugs fixed and improvements for modders, check the changelog for details on those!

    Next month will be more fixes, more performance work, an improvement pass on the in-game (and discord) emoticons, yet more modder-requested functionality, and ongoing translation efforts.

    I'll get something a little nicer looking up ASAP - I didn't expect the build to be released so soon :)
    Max

    Code:
    Changelog:
    
    Game:
    
    	[removed] immobilise button from vehicles with drivers (thanks fuzzle)
    	[added] mirror_map and water_baseline config options to kaggen
    
    Heads:
    
    	[added] greece head to heads2.png
    	[modified] heads selection has 8 columns now to fit more heads in
    	[added] extra head slot to FOTW for greece head
    	[modified] mazey head (dutch pride, no antenna)
    
    Performance:
    
    	[fixed] angelscript on linux performance (thanks asu, furai)
    	[fixed] very slow rebuild when video is enabled (thanks asu)
    	[fixed] slow file hashing in launcher (thanks asu)
    	[fixed] collapse performance bug (thanks asu, fuzzle)
    	[added] minimap updating is batched
    	[modified] flood layers (water, fire) only update minimap if a cell actually changed
    
    Translation:
    
    	[added] language switch menu (see misc options) (thanks asu)
    	[added] french json locale (thanks asu)
    	[added] extra translation support (thanks asu)
    	[removed] legacy irrlicht translations
    
    Github:
    
    	[added] README (thanks fuzzle)
    	[added] legal clarifications on distribution rights
    
    Scripting/Modding:
    
    	[added] kickafk and mechanisms support to challenge gamemode
    	[added] GUI DrawShadowedText functions for AS
    	[added] DrawTextPlain methods - the old DrawText keeps the legacy behaviour to avoid compatibility issues.
    	[added] config color for console + new default colors (thanks asu)
    	[modified] Improved /performance command (thanks asu)
    	[modified] TextureFromFile fails rather than returning a default texture if the file doesn't exist
    	[added] hasMatch() to CFileMatcher for testing if there's actually a match for the searched file or not
    	[added] show script console command exceptions (thanks asu)
    	[modified] new mod downloader appearance (thanks asu)
    	[added] Maths::ATan2
    	[added] Vec2f_lengthdir(f32 length, f32 dir) alternative vec2f constructor for people from gamemaker
    	[added] Vec2f toString and string concatenation (though no working += yet)
    
    Bugs:
    
    	[modified] "onHit" safety pass which may help server/client stability.
    	[modified] moved knight sword cling to its own script so knightlogic can be removed when dead (onHit safety)
    	[fixed] initialize materials correctly (thanks fuzzle)
    	[fixed] each team's flag being 1 block different on maps that don't have flag positions defined (i.e. generator maps) (thanks cameron)
    	[fixed] "respawn in approximately never" happening when build time is set to 0. (thanks cameron)
    	[fixed] buildOnGround tagged builder blocks (buildings) getting picked up incorrectly
    	[fixed] first map in cycle skipped in non-shuffle mode
    	[fixed] mapcycle "first map" behaviour to work across different script-loaded mapcycles
    	[fixed] crash in toUpper (thanks asu)
    	[modified] cleaned up a few places where shadowing is unhelpful in-engine (dark text)
    	[modified] explain the mod verification failure to be less confusing (thanks asu)
    	[modified] 'cannot create blob on client' message is now more detailed (thanks asu)
    	[fixed] crash when passing a map name that doesn't exist to /loadmap (thanks asu)
    	[fixed] issue with minimap updating when water/fire set somewhere impossible
    	[fixed] dumb outlining on minimap
    
     
    ValiantVoyager, Tern, Osmal and 26 others like this.
  2. epsilon

    epsilon Assonist THD Team Forum Moderator Donator Tester
    1. Gather Oceania
    2. KAG World Cup 2018

    Messages:
    506
    @Cruxiat :kappa:
     
    FuzzyBlueBaron, Cruxiat and Pineapple like this.
  3. Cruxiat

    Cruxiat Haxor Tester
    1. Gather Oceania
    2. KAG World Cup 2018

    Messages:
    116
    that was the only way we managed to actually win clanwars, what will we do now?!
     
    epsilon, FuzzyBlueBaron and Geti like this.
  4. erik102003

    erik102003 Base Burner Tester

    Messages:
    126
    Wait So TC serber wont die So eazily? :rekt::rekt:
     
    Geti likes this.
  5. Eluded

    Eluded Haxor Official Server Admin

    Messages:
    132
    Looks great, lots of good changes :D good job fuzzle, asu
     
  6. GoldenGuy

    GoldenGuy Haxor Tester

    Messages:
    105
    3 scripts got broken, working on update :)
     
    Geti and erik102003 like this.
  7. jimmyzoudcba

    jimmyzoudcba Haxor Tester

    Messages:
    274
    Great update :P love that translation is coming along!
     
    Geti likes this.
  8. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    I've heard some vague "reports" of "bugs" but nothing particularly concrete, would anyone be able to elucidate things here or in the bug report forum please? :heart:
     
  9. 8x

    8x Elimination Et Choix Traduisant la Realité Forum Moderator Staff Alumni Tester
    1. The Young Blood Collective - [YB]

    Messages:
    1,325
    For what I saw yesterday, eu CTF servers started to lag heavily with high population. Somebody said it was 100% serverside lag: tomato bombs, delayed water arrow hits, delayed kills etc. This happened in both eu servers we played ( we migrated from one to the other eventually), and on the us CTF too. Will come with little things if so.

    Also, psshht, the new emot doesn't work :wink:
     
    Last edited: Oct 11, 2017
  10. Mazey

    Mazey Haxor Global Moderator Forum Moderator Staff Alumni Donator Official Server Admin

    Messages:
    1,914
    Bombs have made official EU servers (actually) literally unplayable.
     
  11. Furai

    Furai THD Team THD Team Administrator

    Messages:
    3,124
    Just pushed small hotfix. Apparently the AS optimisations didn't work in the previous build. Now they should be working as supposed.
     
  12. FoxyLady

    FoxyLady Haxor Staff Alumni

    Messages:
    193
    The only bug that has been been around since the last few updates which i'm not sure if you guys are aware is when messing with the chat command !team. A lot of mods with textures that have to do with team color changing don't switch colors when pressing !team to change to a different color. I've noticed it in Sandbox but other game modes might be affected as well.
     
    Last edited: Oct 11, 2017
  13. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    They'll be coming but be patient :wink:
     
    Last edited: Oct 12, 2017
    Varion likes this.
  14. Koveltskiis

    Koveltskiis Shark Slayer

    Messages:
    33
    Any plans on making buckets start filled? I remember you talked about that ages ago and it would be a welcome change :)
     
    erik102003 and Lava like this.
  15. Geti

    Geti Please avoid PMing me (poke a mod instead) THD Team Administrator Global Moderator

    Messages:
    3,730
    We can try that out next build, I'll mark it experimental for the moment :)
     
    Pineapple, Koveltskiis, EhRa and 2 others like this.