• Next Update v4 - March 2016 Update is out!
    1,930 replies, posted
It seems that every now and then input.WasKeyPressed and input.WasKeyReleased returns true twice (in the same frame?). I tried with Move and FinishMove hooks, I'll post an example of what I am doing next time I'm on.
[QUOTE=YourStalker;50013407]It seems that every now and then input.WasKeyPressed and input.WasKeyReleased get called twice (in the same frame?). I tried with Move and FinishMove hooks, I'll post an example of what I am doing next time I'm on.[/QUOTE] By "get called" he means "return true".
Err, I just wanted to launch gmod and got this: [img]http://i.imgur.com/n7LltoH.png[/img] It's probably a false positive but, any idea what could cause it? I'm gonna click it and see what happens. Edit: ah crap, page king. Shouldn't be so negative! uhh... think fast.... So glad for the update! Good job guys! :D
[QUOTE=Neat-Nit;50014566]Err, I just wanted to launch gmod and got this: [img]http://i.imgur.com/n7LltoH.png[/img] It's probably a false positive but, any idea what could cause it? [/QUOTE] False positive. Submit a [url=https://newvirus.kaspersky.com/]false positive report[/url] to your antivirus provider (unless the antivirus is made by Facepunch). I bet the cause is .exe signature after gmod update and Kaspersky just mark every unknown program as "malicious".
That's weird, I also use Kaspersky (Internet Security 2016) and it has not complained about GMOD.
[QUOTE=NaRyan;50014944]That's weird, I also use Kaspersky (Internet Security 2016) and it has not complained about GMOD.[/QUOTE] Are you on the dev version? It only started doing it today so I'm guessing it's a recent update in dev. Edit: also it only happened when I started a singleplayer game, if I remember correctly.
[QUOTE=zerf;50013843]By "get called" he means "return true".[/QUOTE] It should only be called once when you let go or initially press the key anyways. The KeyPress hook doesn't have this issue.
I got this, too. The .exe itself is [B]not[/B] being detected by Kaspersky, instead, it's detected when loaded into the memory. It might be actually related to a .dll file. I'm currently trying to find out what's triggering this. [editline]27th March 2016[/editline] It only seems to happen when I try to join a multiplayer game via Steam's server browser.
[QUOTE=Neat-Nit;50014957]Are you on the dev version? It only started doing it today so I'm guessing it's a recent update in dev. Edit: also it only happened when I started a singleplayer game, if I remember correctly.[/QUOTE] Oh I was in normal branch. Just tried it on Dev branch, and as soon as I launch a single player game, the game is forced closed, hl2.exe is deleted and "Malware changes" are rolled back by Kaspersky. And Kaspersky is now nagging at me to reboot to "clean" the infection.
Does Kaspersky not give you any more details?
This is what it says. [t]http://i.imgur.com/wyiCchb.jpg[/t] [t]http://i.imgur.com/NLDwMNm.jpg[/t] It only moans about Malware when you try to start a single player game. Scanning the Garrysmod folder when you switch to Dev says all is clean.
[QUOTE=YourStalker;50015274]It should only be called once when you let go or initially press the key anyways. The KeyPress hook doesn't have this issue.[/QUOTE] input.WasKeyDown is a function, not an event/hook. To say it should only be called once means you don't want any other source to call the function. You mean that it returns true for multiple frames.
[QUOTE=NaRyan;50015790]This is what it says. [t]http://i.imgur.com/wyiCchb.jpg[/t] [t]http://i.imgur.com/NLDwMNm.jpg[/t] It only moans about Malware when you try to start a single player game. Scanning the Garrysmod folder when you switch to Dev says all is clean.[/QUOTE] Can I have a list of addons you've got installed?
Just subscribed to Workshop addons for Cinema (gamemode and maps). [url=http://steamcommunity.com/sharedfiles/filedetails/?id=118824086]Cinema[/url] , [url=http://steamcommunity.com/sharedfiles/filedetails/?id=120803809]theater_nexmultiplex_1m[/url] , [url=http://steamcommunity.com/sharedfiles/filedetails/?id=119060917]Cinema_Theatron[/url] , [url=http://steamcommunity.com/sharedfiles/filedetails/?id=188234267]lp_cinema_rc3[/url] & [url=http://steamcommunity.com/sharedfiles/filedetails/?id=158596376]Theater_GCinema[/url]
- Snip, nvm I was wrong -
Looks like a few people are getting the virus warning just like with the January update iirc. [url]https://facepunch.com/showthread.php?t=1512122[/url] [url]http://steamcommunity.com/app/4000/discussions/[/url] Steam discussions will cause you cancer reading all the threads complaining about it.
[QUOTE=The Commander;50019449]Looks like a few people are getting the virus warning just like with the January update iirc. [url]https://facepunch.com/showthread.php?t=1512122[/url] [url]http://steamcommunity.com/app/4000/discussions/[/url] Steam discussions will cause you cancer reading all the threads complaining about it.[/QUOTE] Why would you link us to that discussion forum? Are you trying to kill us?
If everything goes well today you can expect an update to be released Tuesday, probably around 3-5PM BST. The Kaspersky issue appears to be a false-positive just like earlier this year.
Kaspersky thing isn't limited to the dev branch anyway. I told them about it but since it isn't a heuristic detection it's not exactly the easiest thing to report.
Last time it happened it was more than Kaspersky reporting it as a virus. I did read in a steam discussion that an update to Kaspersky stops the false positive but I can't confirm that.
[QUOTE=The Commander;50019998]Last time it happened it was more than Kaspersky reporting it as a virus. I did read in a steam discussion that an update to Kaspersky stops the false positive but I can't confirm that.[/QUOTE] Nope it not fixed yet. Just checked and Kaspersky still deletes the HL2.exe when you start a single player game.
Ya I got Kaspersky as well, its doing the same thing
Willox, Is Chromium Embedded Framework still replacing Awesomium? It's been months since we've seen anything about it and a lot of us are starting to think it's not happening, which would frankly really really suck, but I want to confirm either way. For myself even moreso so I can decide how to code some of the systems in a gamemode I'm creating. I need to know whether or not I can expect a decent web framework that doesn't completely slaughter performance doing the simplest of things.
[QUOTE=WinterPhoenix;50020974]Willox, Is Chromium Embedded Framework still replacing Awesomium? It's been months since we've seen anything about it and a lot of us are starting to think it's not happening, which would frankly really really suck, but I want to confirm either way. [/QUOTE] Did you know Awesomium is a glorified CEF. Awesomium's only reason for existence is that integrating CEF is slow and I'd say painful process. Oh and nothing also guarantees CEF interfaces don't change with updates thereby forcing game developers fix their integration. Most gamedevs want to focus on the game rather than HTML viewing!
[QUOTE=Python1320;50022150]Did you know Awesomium is a glorified CEF. Awesomium's only reason for existence is that integrating CEF is slow and I'd say painful process. Oh and nothing also guarantees CEF interfaces don't change with updates thereby forcing game developers fix their integration. Most gamedevs want to focus on the game rather than HTML viewing![/QUOTE] It seems to me as though you haven't read [URL="https://facepunch.com/showthread.php?t=1497739&p=49553475&viewfull=1#post49553475"]my post(s)[/URL] concerning Awesomium and the many reasons why it is a bad thing. It's not just bad thing from a web framework prospective, it's a bad thing from a game performance prospective too, [B]even when it's not doing anything but handling the menu in the background[/B]. If most game devs want to focus on the game rather than web rendering, as you claim, then why would they allow a web framework in their game to have such a ridiculous impact on performance? [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] Furthermore, Awesomium is not glorified CEF as you claim. It's glorified, [B]incredibly out of date[/B], CEF. Don't believe me? [URL="https://html5test.com/"]HTML5 Test[/URL] shows that Awesomium scores 335 out of 555 points, whereas [URL="https://cefbuilds.com/"]The Test App for Chromium 49[/URL] scores 520 out of 555 points. [B]That's a difference of 185 features that are missing[/B] between the two, not including the countless updates to security, performance, and usability that CEF has gotten in the last 4 or 5 years. Finally, complaining about the fact that it may update is about the dumbest point you could've made when we constantly deride developers that don't keep their code up to date [I]for this game[/I]. Developers either have to be responsible and keep their code up to date universally, or not at all. You cannot claim one without claiming the other.
[QUOTE=WinterPhoenix;50022428]i'm so fuckin angry about web frameworks[/QUOTE] chill dude, they've been working on polishing shit for the next update. do you think willox would go so far with cef only to abandon it? it's an entirely different api, they can't just drag and drop it in. [editline]28th March 2016[/editline] we know awesomium is bad, this has been constantly reiterated for months now. you don't need to barge in here with benchmarks and tests to show us this, we know.
[QUOTE=Joeyl10;50022463]chill dude, they've been working on polishing shit for the next update. do you think willox would go so far with cef only to abandon it? it's an entirely different api, they can't just drag and drop it in.[/QUOTE] And I perfectly understand that. All I am looking for is an update on the situation, not screaming they need to get this done now. The only reason why I churned out a bunch of facts about the situation for Python1320 just now is because it really sounded to me like he had no idea why Awesomium is even a bad thing, despite all of the benchmarks and tests we've thrown up in this thread over the last several months.
[QUOTE=WinterPhoenix;50022479]And I perfectly understand that. All I am looking for is an update on the situation, not screaming they need to get this done now. The only reason why I churned out a bunch of facts about the situation for Python1320 just now is because it really sounded to me like he had no idea why Awesomium is even a bad thing.[/QUOTE] i'd be patient, typically when the facepunch devs don't say anything about a wip feature it's because there's nothing significant to report. all willox probably has to say on the matter right now is "i'm working on it" or "i've been working on other things in the mean time".
[QUOTE=WinterPhoenix;50022479]it really sounded to me like he had no idea why Awesomium is even a bad thing, despite all of the benchmarks and tests we've thrown up in this thread over the last several months[/QUOTE] I mostly tried to emphasis that[URL="https://facepunch.com/showthread.php?t=1485127&p=48975215&viewfull=1#post48975215"] integrating CEF is hard and slow [/URL]which is why it's taking so long. We've seen the benchmarks before. Mostly I probably just got frustrated at requests for updates on a huge feature. It's coming when more important things have been finished and the frustrating job of integration feels like something worth doing again. Though, [B]security [/B]should be pretty damn high on the priority list, there's active exploitation of Awesomium/CEF vulnerabilities from what I've gathered.
Is there any way we could get a IMaterial:GetTable() or something along those lines that returned all the parameters of a material? Right now I've just created a table of all the ones I care about until I spend the time to find them all.
Sorry, you need to Log In to post a reply to this thread.