• Next Update v4 - March 2016 Update is out!
    1,930 replies, posted
[QUOTE=Willox;49535111]• Fixed that sneaky assert that popped up in the dev branch (also fixes memory being leaked for every Workshop download that occurs) • Fixed Awesomium view leak (left behind processes) • Fixed incorrect line numbers being reported for errors when using C-styled multiline comments • Added Awesomium panel hooks: OnDocumentReady, OnChildViewCreated, OnChangeTitle, OnChangeTargetURL • Added Awesomium panel methods: Refresh, Stop, GoBack, GoForward, GoToHistoryOffset • WorkshopDL tasks are now concurrent, up to 3 run at a time while you are joining a server Information on the Awesomium panel hooks can be found in dhtml.lua on the dev branch. Not sure what I plan on doing tonight yet.[/QUOTE] Can we have a binding to IResourceInterceptor.OnRequest?
[QUOTE=Willox;49535111]• WorkshopDL tasks are now concurrent, up to 3 run at a time while you are joining a server[/QUOTE] This makes switching to WorkshopDL worth it.
[QUOTE=code_gs;49518135]Then people aren't getting the file. BASS error 41 is DNE.[/QUOTE] This is actually wrong, 41 means unsupported file format. Can we implement this as a fix? [url]http://www.un4seen.com/forum/?topic=11371.0[/url]
Is it me or is it some kind of bug, whenever i have tf2 updated, my gmod just crashesh on startup?
[QUOTE=SteppuFIN;49536117]Is it me or is it some kind of bug, whenever i have tf2 updated, my gmod just crashesh on startup?[/QUOTE] try validating your TF 2 files
[QUOTE=SteppuFIN;49536117]Is it me or is it some kind of bug, whenever i have tf2 updated, my gmod just crashesh on startup?[/QUOTE] Blame Steam for corrupting your TF2 .vpk files.
[QUOTE=Willox;49535111] • WorkshopDL tasks are now concurrent, up to 3 run at a time while you are joining a server Information on the Awesomium panel hooks can be found in dhtml.lua on the dev branch. Not sure what I plan on doing tonight yet.[/QUOTE] Workshop download list gets cleared when you cancel joining into a server? Last time i've tried it (Can't remember) this still were an annoying thing
[QUOTE=gonzalolog;49536680]Workshop download list gets cleared when you cancel joining into a server? Last time i've tried it (Can't remember) this still were an annoying thing[/QUOTE] That was fixed in 2015.
[url]https://github.com/garrynewman/garrysmod/pull/1113[/url] Want an 8% increase in halo rendering speed with no visual change? Just [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/render/SuppressEngineLighting]render.SuppressEngineLighting( true )[/url]. [t]http://images.akamai.steamusercontent.com/ugc/359527056815494183/67DDEBCBC46AC62F116CD050B9B9B993319EFAB8/[/t] EDIT: It can merge now.
-snipe-
[QUOTE=Willox;49535111]• Fixed that sneaky assert that popped up in the dev branch (also fixes memory being leaked for every Workshop download that occurs) • Fixed Awesomium view leak (left behind processes) • Fixed incorrect line numbers being reported for errors when using C-styled multiline comments • Added Awesomium panel hooks: OnDocumentReady, OnChildViewCreated, OnChangeTitle, OnChangeTargetURL • Added Awesomium panel methods: Refresh, Stop, GoBack, GoForward, GoToHistoryOffset • WorkshopDL tasks are now concurrent, up to 3 run at a time while you are joining a server Information on the Awesomium panel hooks can be found in dhtml.lua on the dev branch. Not sure what I plan on doing tonight yet.[/QUOTE] I was able to download 2.06gb(8,562 files) of server content, compressed by the workshop into 526mb while joining a server in roughly 30-40 seconds from connect to playing. I'm in love.
[QUOTE=slayer3032;49539598]I was able to download 2.06gb(8,562 files) of server content, compressed by the workshop into 526mb while joining a server in roughly 30-40 seconds from connect to playing. I'm in love.[/QUOTE] How many separate addons was that? If you rejoin the server you'll probably have a bad time until the dev branch updates later tonight btw. (I just ran a test and can get 1.8GB in 2 minutes (Steam caches stuff)). Without that cache it takes me 6 minutes to download that much, which is 750MB when compressed.
[QUOTE=Willox;49539666]How many separate addons was that? If you rejoin the server you'll probably have a bad time until the dev branch updates later tonight btw. (I just ran a test and can get 1.8GB in 2 minutes).[/QUOTE] 10 addons
[QUOTE=Willox;49539666]How many separate addons was that? If you rejoin the server you'll probably have a bad time until the dev branch updates later tonight btw. (I just ran a test and can get 1.8GB in 2 minutes (Steam caches stuff)). Without that cache it takes me 6 minutes to download that much, which is 750MB when compressed.[/QUOTE] Whoops, sorry I was a little off! Made sure to clear everything first. It took me exactly 58 seconds on my old i7 with 6gb of ram and a 5870. Comcast recently upped all their plans so I get like 75mbps down which is high by most standards but far from what many people have available. This shit is crazy, I remember waiting for hours for FastDL to finish and then having to download "content packs". Pretty sure this bit of content couldn't even go on the downloadables string table anyways. [editline]15th January 2016[/editline] Actually I have no idea how this can be so crazy fast, I know it's 527mb of compressed GMA's. But at like 10MB/s that still should be 52 seconds for just the download. Either way it's insanely fast.
Since Garry's Mod seems to be having more development recently, I'd like to turn our attention back to Awesomium for a moment. I've made a post similar to this one in the past, located [URL="https://facepunch.com/showthread.php?t=1485127&p=48950004&viewfull=1#post48950004"]here[/URL], which gained a lot of traction initially, however ultimately there was no progress made as a result. It would be beneficial for everyone if this one [I]did[/I] result in some action. As I have stated many times before, Awesomium does not support [B]many[/B] HTML5 features, especially those dealing with media playback. This has forced developers for the Cinema Gamemode to create workarounds using Flash-based players in order to get things that are [I]basic features[/I] in modern browsers to work in Awesomium. It doesn't even support H.264 in HTML5, which is the de facto standard for videos using the MPEG4 File Format, or [B]MP3 File Playback[/B]! [URL=https://html5test.com/]HTML5 Test[/URL] shows that Awesomium scores 335 out of 555 points, whereas Chrome 47 (what I'm running on my Desktop) scores 496 out of 555 points. That's a difference of [I][B]161 features that are missing.[/B][/I] And, if you haven't heard yet, Flash Player is being phased out of practically everything. It is full of security holes, as I'm sure you've seen in the news. As a result, many video services are phasing it out and moving to HTML5. This includes the likes of [URL=http://blog.twitch.tv/2015/07/video-player-controls-now-in-html/]Twitch[/URL], KissAnime/KissCartoon/KissAsian, and even [URL=http://youtube-eng.blogspot.com/2015/01/youtube-now-defaults-to-html5_27.html]YouTube[/URL], which is the very lifeblood of the Cinema Gamemode. Put quite frankly, the Cinema Gamemode and any future projects that rely on these technologies [B]will die within the next year or so[/B] if Awesomium is not replaced. We're already using workaround after workaround just to keep things working. For example, I'm having to use a version of the YouTube API and Player that has been [URL=https://developers.google.com/youtube/js_api_reference]marked deprecated since the beginning of last year[/URL], and could stop working at any moment, [URL=https://github.com/pixeltailgames/cinema/issues/99]just to get videos to play in HD[/URL] and not get stuck in 3D Mode. The lack of HTML5 Support also hinders developers wanting to use its features, such as 2D or 3D Graphics rendering. For example, [URL="http://lab.aerotwist.com/webgl/strange-attractor/"]this[/URL] or [URL="http://madebyevan.com/webgl-water/"]this[/URL] or even something as complex as [URL="http://cabbi.bo/enough/"]this[/URL]. You may argue that those are niche examples and things similar to them won't be made in GMod. However, a real scenario where this situation has proven to be in the way is in the creation of a Clientside Physics Engine (not using Source's built-in functions due to its inability to handle physics smoothly with many players), for use in an upcoming project my development team and I are creating. There are obviously a few ways we could execute such a system, however the simplest way is to use HTML5 to calculate things for us. WebGL inside of HTML5 is capable of simulating a variety of physics-based scenarios, including complex ones involving even water. The ability to use WebGL/HTML5 to accomplish this would make development for such a system a great deal more simple, as we wouldn't have to write everything in Lua, thus reducing development time. Not withstanding all of this, [B]Awesomium is an incredible resource hog[/B] (emphasis mine): [QUOTE=Zeh Matt;48542981]Follow up from: [url]http://facepunch.com/showthread.php?t=1474548&p=48388019&highlight=#post48388019[/url] I've been digging further into the performance loss that comes with the game and I think the evil has been identified. [IMG]https://l0dhta-sn3301.files.1drv.com/y3mvVvMM9vWcBFm36QIWLaSrc91Se62UIq3Q1ls9eP98OhoOsWiUtrxSHHtl3qKjywE51AgrBQYNZXIrffvkln67TGmEyvm3rIn-VuSuW9tv4qcLzuPUNIwdxH7PgngKglFrA3XoxICCKwmIcoM-U2ihQbkYt5QR6pH2iq8aYMFRik/gmod.png?psid=1[/IMG] [B]Awesomium alone takes 20 to 30% of each frame it seems[/B], it alone is doing a lot of cache misses (Meaning its bad, unpredictable memory access)[/QUOTE] This is, quite honestly, unacceptable. Players that have lower specification computers are getting a huge performance hit right out of the gate [I]just by running Garry's Mod[/I], even when Awesomium isn't doing practically anything. Think about all of the people that still have Dual Core Laptops from 2008 that can barely run the game because of this, let alone try and watch videos in Cinema or really experience anything else that's web-based. I used to be one of those people, and trust me when I say, watching videos at 8FPS is not an enjoyable experience. I once again call for the Developers of Garry's Mod to [B][I][URL=https://github.com/Facepunch/garrysmod-requests/issues/531]Replace Awesomium[/URL][/I][/B] with a web framework that supports technologies that have been [URL=https://en.wikipedia.org/wiki/HTML5_video#Browser_support]supported in major web browsers since 2011[/URL]. I'm tired of Awesomium's poor performance, I'm tired of writing workarounds for it, and I'm tired of having an idea involving web elements and not being able to do it because we're stuck with this piece of garbage. [B]tl;dr[/B] GMod's web framework doesn't support features we need for Cinema to continue to survive, it prevents developers from doing a lot of things that were possible in other web browsers 5 years ago, and it has incredibly poor performance. It needs to be replaced.
[QUOTE=Blasteh;49535970]This is actually wrong, 41 means unsupported file format. Can we implement this as a fix? [url]http://www.un4seen.com/forum/?topic=11371.0[/url][/QUOTE] I must have seen some outdated documentation; I looked it up before and I didn't see anything related to that, but thanks for finding a fix.
[QUOTE=WinterPhoenix;49553475]:words:[/QUOTE] [url=http://coherent-labs.com/buy-coherent-ui/]Facepunch will have to give Coherent Labs a call since I don't think it fits under the "Team" category[/url]
[QUOTE=LegoGuy;49553858][url=http://coherent-labs.com/buy-coherent-ui/]Facepunch will have to give Coherent Labs a call since I don't think it fits under the "Team" category[/url][/QUOTE] I didn't say anything about Coherent UI, however it does seem to be the most recommended option out of the lot. It is, by no means, the only option however.
[QUOTE=LegoGuy;49553858][url=http://coherent-labs.com/buy-coherent-ui/]Facepunch will have to give Coherent Labs a call since I don't think it fits under the "Team" category[/url][/QUOTE] So the next question is, what's taking so long for someone to pick up a phone and call them? :v:
[QUOTE=HDG_MrDeeJayy;49553984]So the next question is, what's taking so long for someone to pick up a phone and call them? :v:[/QUOTE] Have you been in a company before?
[QUOTE=Giraffen93;49554001]Have you been in a company before?[/QUOTE] [QUOTE=HDG_MrDeeJayy]:v:[/quote] Someone missed the joke.
[QUOTE=WinterPhoenix;49553475]:v:[/QUOTE] The devs are well aware of the issues with Awesomium. For one reason or another though they haven't gotten around to replacing it yet.
[QUOTE=WinterPhoenix;49553475]The lack of HTML5 Support also hinders developers wanting to use its features, such as 2D or 3D Graphics rendering[/QUOTE] Your post is totally accurate, but I should also point out that not only does Awesomium not support some HTML5 graphics rendering, it doesn't even support some really core things that IE9 supported such as CSS's "calc()" function. [i]Internet Explorer 9[/i].
[QUOTE=DarthTealc;49554217]Your post is totally accurate, but I should also point out that not only does Awesomium not support some HTML5 graphics rendering, it doesn't even support some really core things that IE9 supported such as CSS's "calc()" function. [i]Internet Explorer 9[/i].[/QUOTE] I had a [url=http://www.w3schools.com/tags/ref_language_codes.asp]language attribute[/url] in my Bootstrap-based website [url=http://answers.awesomium.com/questions/268/webview-and-responsive-design-fix.html]which broke the responsive design of the website completely[/url]. The smallest thing ever broke my website pretty badly in-game, and it was a pain to figure out why.
[QUOTE=WinterPhoenix;49553885]I didn't say anything about Coherent UI, however it does seem to be the most recommended option out of the lot. It is, by no means, the only option however.[/QUOTE] Do you know any other native C++ rendering engines that support HTML5?
[QUOTE=YourStalker;49554045]The devs are well aware of the issues with Awesomium. For one reason or another though they haven't gotten around to replacing it yet.[/QUOTE] I'd guess they're in too deep now and they would have to throw out a shitload of code.
Might be just me, but Halo's doesn't seem to work? Used the default example on the wiki and got "attempt to call field 'Add' (a nil value)"..
Updated the full changelist: [url]http://wiki.garrysmod.com/changelist/[/url] Update is incoming this week. [editline]18th January 2016[/editline] I guess latest changes are: [code] Improved Addons main menu.. menu - Per tag browsing for friends items, hide dupes/saves from all listings Addon extraction is now properly displayed on the workshop downloader Updated language files Update Bootil to fix that one problem with addon folders locking up GitSync Fixed Entity.IsRagdoll not working properly on client Added extra debug output for BASS.DLL Initialization Added test BASS.DLL config to hopefully help with weird "mp3s dont load with error 41" cases[/code]
[QUOTE=Robotboy655;49558361] [code] GitSync[/code][/QUOTE] waaaaait, what?
[QUOTE=Coment;49558398]waaaaait, what?[/QUOTE] Indicates a git pull from the Lua + HTML repo into the distribution repo.
Sorry, you need to Log In to post a reply to this thread.