lunation / Awesomium-Killer-2.0

Awesomium replacement that uses CEF internally.
MIT License
9 stars 3 forks source link

Compatability with HTML server browser #28

Open MyDimeIsUp opened 8 years ago

MyDimeIsUp commented 8 years ago

For example: https://facepunch.com/showthread.php?t=1482414

With me just taking a guess, I guess it forces the html server browser to load. Maybe make it so we can use other lua ones like this?

60percentCaffeine commented 8 years ago

Seems that this thing don't work even with Awesomium ;( I've tried to get this working in the past, but had no luck. Latest code change was in 2015.

MyDimeIsUp commented 8 years ago

It works just fine without the Awesomium killer.

MDFL64 commented 8 years ago

Updating today, will check this. Disregard that, everything is fucked. I'll take a peek at it eventually though.

MDFL64 commented 8 years ago

I can't get the browser to do anything even without the replacement module, but I'll try to get it to behave consistently. Partially appears but crashes when dev tools are opened.

MyDimeIsUp commented 8 years ago

How do you even open the devdools?

Cynosphere commented 8 years ago

F11

MyDimeIsUp commented 8 years ago

Just found out, but it doesn't do anything. Might be because I'm not in a game?

Cynosphere commented 8 years ago

Yeah, you need to have a DHTML panel open for it to work

MyDimeIsUp commented 8 years ago

Got it, thanks LUModder :)

Cynosphere commented 8 years ago

thanks for getting my name wrong :v

MyDimeIsUp commented 8 years ago

Doesn't crash for me when opening f11. Ill upload a video of whats happening from what I can see atleast.

MyDimeIsUp commented 8 years ago

https://youtu.be/s7_LRwQTYfQ

EDIT: Crashes for me now, guess I forgot to put all HTMl files in. I uploaded MDMP file and it seems the crash reason is "EXCEPTION_BREAKPOINT" Click here for more info.

MDFL64 commented 8 years ago

I'm not sure how you guys are getting it to load up to that point, but I've found that the crash I'm encountering is caused by me failing to vailidate browsers in the browser table (AGAIN). It's pretty odd that devtools are launching a request though...

UPDATE: Devtools are attempting to fetch a source map. Fuck it.

UPDATE: That may not be the problem. Good news is I know what the real problem was. Probably.

UPDATE: No clue why it's eating shit on the CSS. It seems to be filling the request correctly, so WTF?

MDFL64 commented 8 years ago

Removing the doctype tag from the menu html fixes the issue. What the flying fuck?

MDFL64 commented 8 years ago

Mime type incorrect for all resources. Seems to be garry's fault.

This version of chromium seems to be a bit more strict and rejects stylesheets with bad mime types.

You can take the doctype tag out of the server list HTML if you really want to fix this, although I suspect we won't need to deal with the default shit browser for much longer.

MyDimeIsUp commented 8 years ago

guessing it still won't fix the problem where the listi doesn't populate?

MyDimeIsUp commented 8 years ago

Just restarted my computer because was some memory leak and the browser works now.

I am using 2.2