Your Ad Here

Subscribe
 Post #1
 30th September 2008
Dennab
September 2008
39 Posts


Release zip:
http://azuisleet.gayluadad.net/gmode...ib_release.zip

Source:
http://www.sendspace.com/file/ui4bg1

Credit:
gmode, garry, JackQW, that guy who made llmozlib, and those other guys who made Mozilla.

How to use:
I've included "gecko.lua" in the release zip, which includes an HTML panel that uses the embedded browser. You can derive from this, or use the browser functions to draw in 3d space and shit.

By default the "flash friendly" option is enabled, which updates the browser more often, you can turn this off by looking in gecko.lua.

Edit:
I found a memory leak, I'll post a patch soon.
 Post #2
 30th September 2008
ShaRose's Avatar
April 2007
1,709 Posts
Fuck yes.
 Post #3
 30th September 2008
Jinto's Avatar
May 2005
1,121 Posts
Wow! Very nice use of the surface interfaces. You found the interface I have been searching for.
 Post #4
 30th September 2008
phantompain5's Avatar
December 2007
405 Posts
What does this thing do?
 Post #5
 30th September 2008
Gold Member
foszor's Avatar
April 2005
2,184 Posts
Just awesome!

Do you mind if I include this with a modified version of Firebox?
 Post #6
 30th September 2008
Dennab
September 2008
39 Posts
Go ahead.
 Post #7
 30th September 2008
Internet Detective (HBIED certified)
leach139's Avatar
August 2007
3,920 Posts
This is a absolutely BRILLIANT module. It's a shame that at the end of the day you're still Azuisleet, but if you keep up with this I'm sure most of us might forgive you.
 Post #8
 30th September 2008
Dennab
April 2008
1,022 Posts
Awesome! You did use the surface library right? Can I use this as a demo for Derma3D2D?

Edit:

(FUCK! I'm thanking Azui. :tinfoil)

Edit:

Humm, I find this slightly disturbing... Azui on the GMT team, that certainly prevents me from wanting to try it out at all now.

Edit:

If it did come out before Duke Nukem: Forever, Gold Version 3.

Edit:

PSSS: It should be gmcl_llmozlib since it's a client DLL.
 Post #9
 30th September 2008
Dennab
April 2007
3,330 Posts
Maybe a stupid question but what is it with Azu?
I have seen alts banned all the time but what did he do wrong?
 Post #10
 30th September 2008
ShaRose's Avatar
April 2007
1,709 Posts
He's broke script enforcer twice, and has done a hack for clients to download modules from servers and run them. Mind you, every time he's done an exploit, he's never done anything REALLY bad. Like the time with the modules, he could have easily have made it harvest and send the client's steam username / password to him, but instead he made a harmless module that extracted a lua file.
 Post #11
 30th September 2008
nofearkid's Avatar
April 2007
482 Posts
It's his way of making garry fix the bugs that wouldn't get fixed if nobody forced him to.

Edit:

Oh! I like this alot, fantastic job.
 Post #12
 1st October 2008
PC Camp's Avatar
July 2007
1,736 Posts
Hmm, this is very nice. Great release and work!

Edit:

Do you need Mozilla Firefox to use this also?
 Post #13
 2nd October 2008
Dennab
December 2006
1,050 Posts
PC Camp posted:
Do you need Mozilla Firefox to use this also?
No all the dll's are included.
 Post #14
 5th October 2008
Gold Member
Dennab
August 2006
2,743 Posts
I can't blame him. I would have done the same thing

Anyway, great module!
 Post #15
 7th October 2008
Gold Member
Deco Da Man's Avatar
July 2007
2,223 Posts
Argh, can you please upload the source somewhere besides sendspace! It won't let me friggin' download it

EDIT: Never mind, I got the bugger.
 Post #16
 8th October 2008
Chunk3ym4n's Avatar
August 2008
1,801 Posts
How do i use this in game?
 Post #17
 19th October 2008
phantompain5's Avatar
December 2007
405 Posts
How the heck do i use it, and where do i put gecko.lua at?

I have no idea how to use this please help.
 Post #18
 20th October 2008
Gold Member
Dennab
August 2006
2,743 Posts
phantompain5 posted:
How the heck do i use it, and where do i put gecko.lua at?

I have no idea how to use this please help.
This section of the releases is mainly for developers. There's nothing you just can install and use in here.

This forum really needs a sticky pointing this out...
 Post #19
 20th October 2008
TheDooMCat's Avatar
April 2007
677 Posts
Sippeangelo posted:
This section of the releases is mainly for developers. There's nothing you just can install and use in here.
Yeah: the OP's provided gecko.lua as a base script to build upon, which shows how you can implement the embedded browser into your own scripts via Derma/surfaces et cetera.
 Post #20
 21st October 2008
phantompain5's Avatar
December 2007
405 Posts
Oh ok then ill just wait, for someone to release a version with it.
 Post #21
 24th October 2008
TheDooMCat's Avatar
April 2007
677 Posts
phantompain5 posted:
Oh ok then ill just wait, for someone to release a version with it.
As a followup to my last post, I'd just like to say that I have done something useful involving llmozlib :D

It's actually extremely easy to port what's in gecko.lua to a surface-based thing such as the i64 computers.

However, there are some bugs which seem more likely to be related to llmozlib than i64, all of these may be related to surfaces - I haven't tested it just in a VGUI much.

- The browser object will only resize up to a certain width, after that it seems to clip: it renders it, and it resizes the page properly, but it doesn't display it after a certain point.
- When resizing to smaller sizes, it seems to leave artifacts behind: it looks like the effect you'd get if you didn't redraw a surface every frame, simply add to it.
- Gecko can steal keyboard focus from GMod to the point where you have to alt-tab from GMod and back to get keyboard focus within GMod again.

Some of these may be suspect of my shitty midnight hacking together of code, though. The artifacting upon resizing the browser seems like a bug though.

Also, what difference does setting browser:update(true) and browser:update(false) do? It seems to update the browser regardless.

Oh, and how do you remove the browser objects afterwards? browser:remove() or something?
 Post #22
 24th October 2008
Dennab
September 2008
39 Posts
1) I'm not sure about the resizing problems.
2) I think I made browser:setfocus(false) to restore the mouse
3) browser:update(true) forces a redraw, if you're displaying plugin content (like flash)
4) the browser object gets garbage collected

I've put this project on hold though, because there are memory leaks in Gecko I can't find/fix. I've considered using Chromium, but I'm waiting for a stable embedded version.
 Post #23
 24th October 2008
TheDooMCat's Avatar
April 2007
677 Posts
Thanks :D I've fixed the focusing bug I was having (I think)... and update(true) has had a positive effect on youtube videos et cetera.

And regarding Chromium: it uses Webkit for rendering, doesn't it? The only difference being good threading and the V8 javascript stuff... Webkit it's self seems relatively easy to embed into things.
 Post #24
 6th June 2009
Lyoko2's Avatar
September 2007
402 Posts
is there working link? wanna start using it.
 Post #25
 7th June 2009
Dennab
April 2007
3,330 Posts
Chrome > Firefox :

http://www.facepunch.com/showthread.php?t=704294
 Post #26
 3 Days Ago Last edited by Gbps; 3 Days Ago at 03:28PM..
Gbps's Avatar
December 2008
2,445 Posts
Sorry for bumping this thread, but I wanted to point out how amazing in the past two years how Azuisleet turned into someone to hate to someone who developed GMod...

That is all

And yes, pointless bump was indeed pointless, but this section needs some more action in it.

(User was banned for this post ("Pointless bump" - SteveUK))
 Post #27
 3 Days Ago
Tobba's Avatar
December 2008
1,625 Posts
Bumping really isnt a issue in this section as it has like no acivity except for modules used by tools
Reply

All times are GMT. The time now is 12:45AM.

Facepunch Studios 2010 - Server 'MARGE'