• gm_chrome - Awesomium binding
    273 replies, posted
  • Avatar of Quidsy the Squi
  • I've put the 'google_chrome.dll' in 'garrysmod\lua\includes\modules', and i've put the ADDON in question in ADDONS folder. And then i get the aforementioned error. :(
  • Avatar of blackops7799
  • For the dumb asses who can't figure out how to install the dlls. [url=http://solidfiles.com/d/aGwf][img]http://solidfiles.com/info_imgs/aGwf.jpg[/img][/url] Lol chome. Whoops.
  • Avatar of Quidsy the Squi
  • Ok, even though to me it seemed i already had all the .dlls like that, its working now. Thanks for the help.
  • Avatar of Maxaxle
  • [QUOTE=blackops7799;17762365]For the dumb asses who can't figure out how to install the dlls. [url=http://solidfiles.com/d/aGwf][img]http://solidfiles.com/info_imgs/aGwf.jpg[/img][/url] Lol chome. Whoops.[/QUOTE] Thank you. A lot.
  • Avatar of Whitewater
  • I found that a remarkable majority of people couldn't click-drag some files or unrar a file, so I made this [img]http://solidfiles.com/info_imgs/Fdgy.jpg[/img] *Disabled* See below for fix. It is a compiled autohotkey file (source included) that directs you to select your username folder (starts in steamapps, almost foolproof!) and then puts the files in the appropriate place.
  • I really hate to ask this but I seriously read all of the thread. I downloaded multiple times after scouring the SVN repo. I then saw the drag and drops I did that. Then I saw the auto install and I did that. I cleared garry's mod of everything 3 times... Basically I'm asking how you spawn it. I tried ent_create google as I saw a couple pages back.. I can't find it anywhere in either my tool gun or my entity's spawn. Just a bit of help for some one who needs a bit of catching up.
  • Avatar of Crazy Quebec
  • [QUOTE=BuckyBunny;18327866]I really hate to ask this but I seriously read all of the thread. I downloaded multiple times after scouring the SVN repo. I then saw the drag and drops I did that. Then I saw the auto install and I did that. I cleared garry's mod of everything 3 times... Basically I'm asking how you spawn it. I tried ent_create google as I saw a couple pages back.. I can't find it anywhere in either my tool gun or my entity's spawn. Just a bit of help for some one who needs a bit of catching up.[/QUOTE] This module is intended for use by developers. It doesn't give you anything that you can "spawn".
  • Yeah I understand it's in use for developers. Fine we can play this game. Hey I'm having trouble implementing this module into game-play I was wondering if anyone could help me out. I see that it's a functional demonstration and I was wondering if I could maby jump into lua coding from this. It's something I'm obviously avid about since I just spent the last 4 hours trying to figure out how to do this on my own. So I ask again. Could anyone help me out in putting this into actual game-play. ---EDIT--- And honestly if it's just for developers maby those developers should learn how to use a SVN trunk and follow directions installing librarys so other developers can work on developing instead of making compiled autohotkey files.
  • Avatar of Whitewater
  • [QUOTE=BuckyBunny;18328223]Yeah I understand it's in use for developers. Fine we can play this game. Hey I'm having trouble implementing this module into game-play I was wondering if anyone could help me out. I see that it's a functional demonstration and I was wondering if I could maby jump into lua coding from this. It's something I'm obviously avid about since I just spent the last 4 hours trying to figure out how to do this on my own. So I ask again. Could anyone help me out in putting this into actual game-play. ---EDIT--- And honestly if it's just for developers maby those developers should learn how to use a SVN trunk and follow directions installing librarys so other developers can work on developing instead of making compiled autohotkey files.[/QUOTE] I know nothing about lua; I just made a small file to install the dlls for those who couldn't figure it out. Though it may be broken... I'll see if I can include gm_bass and the example from the SVN (3d2d browser) from a few pages back, if I can. (I'll ask for permission.) EDIT---- Great news, its finished. It doesn't include the 3d2d browser and radio, but thats a simple download anyway. However, it does include gm_bass and gm_chrome, and the related files. Additionally, the file size is greatly reduced, because it pulls the files from the svn. (Conviently doubles as an updater?) Again, not ENTIRELY foolproof, as I haven't found a method to just pull your username folder out, but, its the best I can do. [img]http://solidfiles.com/info_imgs/LkwC.jpg[/img]*Disabled* I also added a little gui front end, so you know what you are getting into. EDIT2--- Finished again! Thanks to the permission I got, now it downloads the 3d2d browser and radio as well. Filesize went up due to having to include the svn folders, but it was worth it. (Still doubles as an updater.) Foolproofness isn't complete yet. [img]http://solidfiles.com/info_imgs/SJV4.jpg[/img] Excluded the source, but you can unpack the code yourself. Improved the GUI a little bit. Bugs- I have noticed that sometimes the svn folder doesn't get deleted from your desktop. I can't fix this, so just do it yourself. There is a reason why I put them on the desktop people! EDIT3--- Major bugfix. Bass actually works now! :D Everything remained the same, it just retrieves one more file. [url=http://solidfiles.com/d/8Z1n][img]http://solidfiles.com/info_imgs/8Z1n.jpg[/img][/url] If you ran it before, run it again to get bass fixed and all the dlls.
  • Avatar of Crazy Quebec
  • [QUOTE=BuckyBunny;18328223]And honestly if it's just for developers maby those developers should learn how to use a SVN trunk and follow directions installing librarys so other developers can work on developing instead of making compiled autohotkey files.[/QUOTE] There's no real need to host and maintain a SVN for a simple file that's not going to get updates frequently, if at all. :smile: Like Whitewater said examples have been posted earlier in the thread.
  • Avatar of Grocel
  • It's nice. But you should read this (outdated-link) some dlls must to be moved to work. :)
  • Avatar of Whitewater
  • I literally just fixed that. I deleted all the relevant dlls and reloaded, and bass wasn't working. Found the problem. I missed bass.dll Thanks anyway. BTW, if you downloaded before November 13th, you will need to run this once again. I failed badly, and had the wrong bass.dll. SHOULD be fixed. I'm getting so tired of fixing this thing. [url=http://solidfiles.com/d/9orl][img]http://solidfiles.com/info_imgs/9orl.jpg[/img][/url]
  • Avatar of Pilotclan9404
  • [QUOTE=Bletotum;18565217]This thing is awesome. I'm posting from it right now :D.[/QUOTE] Neat - How DID you open it?
  • Avatar of Grocel
  • Why does the setvolume function of the gm_bass module not work correctly, setvolume take a float number according to the documentation, but when I give the function a 0.5 or below then you can hear nothing but when you give a number that's higher then 0.5 then you hear it like full volume.
  • Avatar of Levybreak
  • [QUOTE=Grocel;18731162]Why does the setvolume function of the gm_bass module not work correctly, setvolume take a float number according to the documentation, but when I give the function a 0.5 or below then you can hear nothing but when you give a number that's higher then 0.5 then you hear it like full volume.[/QUOTE] Indeed, I have experienced this before as well. Is not not actually a SNDLVL_ eneum like in some other things for gmod, instead?
  • Avatar of Bletotum
  • Can this module give what the currently loaded page is to lua? How about for any given player? (Detect serverside.) I'd like to know, because if so I could make myself a basic page-synchronization.
  • Avatar of Grocel
  • Can some one post/make a documentation of all available functions and hooks of gm_chrome, please?
  • Avatar of 3viLoc1Ty
  • [QUOTE=ntzu;14009746]Steam Browser doesn't run youtube videos and such ( At least not for me, says I don't have the addon.)[/QUOTE] mine does! I don't know why yours doesn't. [B]EDIT: [/B]I don't care if I'm "late," I didn't feel like reading five pages to find out if his issue was resolved...
  • [QUOTE=AzuiSleet;14009381]This is my second attempt at a browser in gmod. LLMozLib had too many issues, but Awesomium reached a stable point, and shows a lot of potential. This is my binding for it in gmod. This uses Awesomium! [url]http://princeofcode.com/awesomium.php[/url] [URL=http://img12.imageshack.us/my.php?image=gmchrome.jpg][IMG]http://img12.imageshack.us/img12/9562/gmchrome.th.jpg[/IMG][/URL] [url]http://code.google.com/p/gmodmodules/[/url] [url]http://code.google.com/p/gmodmodules/source/browse/#svn/trunk/gm_chrome[/url][/QUOTE] I was reading the read me file and I was wondering what the Awesomium binary files were?
  • Avatar of Colton Rappe
  • Uh, i've been at this thing for a while now, I have all the files in the correct locations, and the radio plays just fine, but what is all this trouble I keep coming into when I try to enter a URL String into the google chrome browser entity? Why isn't it just a simple Press-E to enter URL kind of thing? I find it rather frustrating. and why are there wirelink parts to it as well? Which only further confuses me, as I am trying to get it to function to enter a url. It's like the first time you spawn it, it lets you enter a google search term, but from there, it wont function anymore to do anything. Help would be appreciated. P.S. The mouse cursor works, just not the url entering.
  • Avatar of AzuiSleet
  • I don't know what you're using but the code on the SVN (and GMT) is set up so that it only holds input when you have a text box selected. You'll know it has focus because you can't move and instead your keys are redirected to the browser. And it will also say "Press TAB to regain control" at the top of your screen.
  • Avatar of Grocel
  • [QUOTE=Colton Rappe;19857936]Uh, i've been at this thing for a while now, I have all the files in the correct locations, and the radio plays just fine, but what is all this trouble I keep coming into when I try to enter a URL String into the google chrome browser entity? Why isn't it just a simple Press-E to enter URL kind of thing? I find it rather frustrating. and why are there wirelink parts to it as well? Which only further confuses me, as I am trying to get it to function to enter a url. It's like the first time you spawn it, it lets you enter a google search term, but from there, it wont function anymore to do anything. Help would be appreciated. P.S. The mouse cursor works, just not the url entering.[/QUOTE] I developing an addon with 2 sents with on you can listen to the Internet radio (using gm_bass) and with the another sent you can browse through Internet (using gm_chrome), both entities has wire in- and outputs. SVN link of the addon: [url]http://svn.xp-dev.com/svn/2d3d_Browser[/url] It based on blackops' example script for sandbox gamemode some where in this thread and is little bit synchrony with clients on the server (with using datastream), press E on it before use it. If you have some bug reports, suggestion or questions for it, so please post it here or PM me.