Lurker News

Comments (141) 37 threads

Show all comments

Showing thread 14 of 37

IYasha2 replies#
Good job! But it reminds me of the dreaded VGUI.dll. (0_0) For those who wrote code for the GS engine it's probaby one of the worst experiences.
GranPC1 reply#
It didn't get much better in Source either, much to my dismay.
IYasha1 reply#
They also added, like, 80MB DLL (AFAIR, chromium) just to render HTML MOTD at some point.

I personally had to rewrite most of mod's VGUI code to make it less leaky and more usable, and not once have I thought of using CSS instead of those INI-style theme configs. But CSS is too complicated to parse (and no one will use that anyway). :(

GranPC1 reply#
Originally it used Windows's built-in embeddable IE thing, which as you can imagine was not stellar for security. IIRC there have been some incidents with bad servers serving up MOTDs that exploited vulnerabilities in Trident to execute arbitrary code.

I believe they switched to Chromium while preparing for the OS X port. You'd think this would be good for security, but they then proceeded to update to the latest version approximately once a decade.

nxobject1 reply#
I know a lot of servers exploited that as well to play music in the background... in retrospect, the idea of a web view hanging around while you're in a game is terrifying.

Continue this thread — 1 reply

jamesfinlayson#
Aww, I didn't think it was terrible (though I have limited experience with UI libraries).

The documentation was almost non-existent though.
What mod(s) did you work on?