• Next Update v4 - March 2016 Update is out!
    1,930 replies, posted
The retry command does crash my client either if I create a private session. However it does only crash if players are online, with bots I have no problems.
the quti command was fun while it lasted
[QUOTE=Giraffen93;49602579]the quti command was fun while it lasted[/QUOTE] I still accidentally type quti every now and then [editline]Immersive[/editline] The switch from Awesomium to CEF3 is going pretty well. I've got the main-menu working (on Windows) but there's a couple of differences worth mentioning. For starters, the font rendering is quite different. This means that certain pages that look fine now might appear a little strange. For example: although the text on the main menu now renders really nicely, it's super fat. Stuff like this in the stock code would obviously be fixed. If it works fine in Chrome, it'll work fine here. [img]http://scrnsht.me/u/7hb/raw[/img] vs. [img]http://scrnsht.me/u/8hb/raw[/img] There's also another difference which concerns the calling of functions that are registered to JavaScript via PANEL:AddFunction( ... ). They no longer return a value and can instead be given a callback which will be passed the value, like this: [code] -- Lua PANEL:AddFunction( "myLibrary", "GetMyValue", function() return 5 end ) -- Current JS var myValue = myLibrary.GetMyValue(); -- New JS? myLibrary.GetMyValue( function( myValue ) { ... }); [/code] There's plenty of reasons for such a change, but the biggest is that the current method goes against the whole design of Chrome's architecture and nobody recommends it. It can shred performance. I didn't like the idea of a change that could actually break something, but I couldn't find any code that actually uses this feature (it isn't even documented) outside of Garry's Mod's stock code for "language.Update". Performance is great. Input is nice, things like double clicking select text properly. I'm gonna be setting up my Linux machine this week to get it working on POSIX and we'll see where this ends up from there. Tell me if you hate the changes :v:. [url]http://scrnsht.me/u/thb/raw[/url]
Noice
All hail Willox, our savior. <3
Jesus, I lose track of this thread and come back to Awesomium finally getting the axe? Hell yes!
Is there any way we can get some sort of function on javascript to get the next downloads, beacouse id like to see some sort of loading screen as on gmod 12 i think wich as you were joining a server there were some squares going green as you downloaded them and popping off when finishing, as well as other squares wandering around. [editline]26th January 2016[/editline] Or is there already?
- Snip -
[QUOTE=Willox;49602588]-cef stuff-[/QUOTE] When can we get a public (or public test) copy?
[QUOTE=LUModder;49607881]When can we get a public (or public test) copy?[/QUOTE] It'll be on the Dev Branch in due time, I would assume.
Probably a shit suggestion, but can we expect any updates that will help game performance (FPS wise) or have full, working multi-core support anytime soon?
[QUOTE=Noi;49607302]Hold your stallions, don't expect any built-in proprietary codecs in foreseeable future (like h264 or any).[/QUOTE] Or flash for that matter, yeah?
[QUOTE=kpjVideo;49608464]Probably a shit suggestion, but can we expect any updates that will help game performance (FPS wise) or have full, working multi-core support anytime soon?[/QUOTE] Did you even read the latest posts by Willox at all? Changing to CEF from Awesomium is a major and long requested change because of how performance shredding (and awful) Awesomium is.
Maybe I can stop running away from that part of UI design now
[QUOTE=Giraffen93;49608617]Or flash for that matter, yeah?[/QUOTE] I think Chrome has its own flash player.
To use flash you'll need the NPAPI plugin installed. The download site advertises it as the Firefox version. I'd suggest you all try to avoid relying on flash though.
[QUOTE=Willox;49609107]To use flash you'll need the NPAPI plugin installed. The download site advertises it as the Firefox version. I'd suggest you all try to avoid relying on flash though.[/QUOTE] it's the only way to play content though, since it doesn't support h264/vp9
[QUOTE=Willox;49609107]To use flash you'll need the NPAPI plugin installed. The download site advertises it as the Firefox version. I'd suggest you all try to avoid relying on flash though.[/QUOTE] Can you also make it so ISteamHTTP loads earlier instead of like first think? That would be cool.
[QUOTE=Giraffen93;49609207]it's the only way to play content though, since it doesn't support h264/vp9[/QUOTE] There should be support for: Vorbis audio codec Theora video codec Opus audio codec VP8 video codec VP9 video codec PCM 8-bit unsigned integer PCM 16-bit signed integer little endian PCM 32-bit float little endian Ogg container format WebM container format WAV container format There's plenty available and no need to force users to install separate software
[QUOTE=Willox;49609270]There should be support for: Vorbis audio codec Theora video codec Opus audio codec VP8 video codec VP9 video codec PCM 8-bit unsigned integer PCM 16-bit signed integer little endian PCM 32-bit float little endian Ogg container format WebM container format WAV container format There's plenty available and no need to force users to install separate software[/QUOTE] noice! i guess with this, the ingame 3d2d media players can live on :dogcited:
[QUOTE=kpjVideo;49608464]Probably a shit suggestion, but can we expect any updates that will help game performance (FPS wise) or have full, working multi-core support anytime soon?[/QUOTE] DarkRP server? I'd be interested if stripping all your weapons helps with performance at all. It's a serious suggestion, guys!
[QUOTE=Willox;49609553]DarkRP server? I'd be interested if stripping all your weapons helps with performance at all. It's a serious suggestion, guys![/QUOTE] In my case, no. I go from 40 to 90fps with gmod_mcore_test 1 (2500k/gtx770 everything maxed at 2560x1440), and the only drawbacks are no smoothing on 3d2d stuff and it [I]sometimes[/I] crashes with hacky draw operations. Running the map locally gives me like 100fps at all times so yes optimization is important, but finding out what causes it is tricky :v:
[QUOTE=Giraffen93;49609656]In my case, no. I go from 40 to 90fps with gmod_mcore_test 1 (2500k/gtx770 everything maxed at 2560x1440), and the only drawbacks are no smoothing on 3d2d stuff and it [I]sometimes[/I] crashes with hacky draw operations. Running the map locally gives me like 100fps at all times so yes optimization is important, but finding out what causes it is tricky :v:[/QUOTE] From memory, the biggest slowdowns are: Rendering, clientside prediction, Lua string-allocation/stringtable-lookup (largely caused by C hooks, I want to improve that), expensive Lua (ents.GetAll every frame, things like that).
[QUOTE=Willox;49609669]From memory, the biggest slowdowns are: Rendering, clientside prediction, Lua string-allocation/stringtable-lookup (largely caused by C hooks, I want to improve that), expensive Lua (ents.GetAll every frame, things like that).[/QUOTE] ...the hard part is when you have a gamemode with over 500 files with pages of code in each :v: didn't dbugr help with this or something? i know someone made a module a while ago [QUOTE=Noi;49609663]MP3, MPEG4, h264 are horribly needed though. openh264 ([url]https://github.com/cisco/openh264[/url]) can be downloaded from cisco servers on-site to mitigate license issues (this is what firefox is doing).[/QUOTE] h264 isn't used by that many though, right? i thought most sites used webm/vp9?
[QUOTE=Noi;49609694][url]https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC[/url] For example, see this streaming site - it utilizes HTML5 technology to make website usable both on desktop and mobile. [url]https://twist.moe/[/url][/QUOTE] holy shit how is a site like that still up? :v: but yeah that's true, you'd have to somehow implement it in cef though, if it's not a native npapi plugin
[QUOTE=Alex_grist;49608773]Did you even read the latest posts by Willox at all? Changing to CEF from Awesomium is a major and long requested change because of how performance shredding (and awful) Awesomium is.[/QUOTE] Yeah, I was mainly talking about multi-core. However, the switch from Awesominum will be quite nice. Haven't had chance to test it so I don't know much.
So since Garry's Mod is making the switch to CEF, I have a question that might sound dumb. As of now, if you put your server's forums as the loading screen; you can't really click buttons, scroll down, etc. Once Garry's Mod makes the change, will it be possible to do those things while you load into the server? Some server owners set their loading screens to their forums which is kind of dumb but it would be nice if you could go to other pages and so on.
[QUOTE=geferon;49607305]Is there any way we can get some sort of function on javascript to get the next downloads, beacouse id like to see some sort of loading screen as on gmod 12 i think wich as you were joining a server there were some squares going green as you downloaded them and popping off when finishing, as well as other squares wandering around. [editline]26th January 2016[/editline] Or is there already?[/QUOTE] Can you please do something like this please?
[QUOTE=LieutExcalibu;49611052]So since Garry's Mod is making the switch to CEF, I have a question that might sound dumb. As of now, if you put your server's forums as the loading screen; you can't really click buttons, scroll down, etc. Once Garry's Mod makes the change, will it be possible to do those things while you load into the server? Some server owners set their loading screens to their forums which is kind of dumb but it would be nice if you could go to other pages and so on.[/QUOTE] just the fact that you more often than not cannot cancel joining because of the lack of a threaded loading screen, that wouldn't really work anyway
[QUOTE=Giraffen93;49611231]just the fact that you more often than not cannot cancel joining because of the lack of a threaded loading screen, that wouldn't really work anyway[/QUOTE] Ah I see. Thanks for the clarification dude. Either way, excited for the change!
Sorry, you need to Log In to post a reply to this thread.