It works fine here - at least with the entity. Once you've added more code at least.
And forgive me if I am wrong, but surely $(ProjectName) will get replaced with "chrome" as it's a variable when compiling/linking?
Cloudy
It works fine here - at least with the entity. Once you've added more code at least.
And forgive me if I am wrong, but surely $(ProjectName) will get replaced with "chrome" as it's a variable when compiling/linking?
Cloudy
I know, the problem is the path:On my PC is the module here:Code:D:\Games\Steam\steamapps\azumarril\garrysmod\garrysmod\lua\includes\modules\...Code:C:\Programme\Steam\steamapps\<My steam account name>\garrysmod\garrysmod\lua\includes\modules\...
You need to copy awesomium.dll and icudt38.dll to where hl2.exe is. I explained this in the readme.
I'm not really happy with the state this module is in. There are still memory leaks I can't figure out. I also wasn't able to get procedural materials/textures to work, which means it's not as fast as it could be.
- Where did this second page come from? D: -
I found a serious bug:
Always when the Awesomium dlls are in the right folder (at the hl2.exe) and leave the game then the game freeze.
And when I go to desktop and go back to the game then you freeze on the desktop, but you can hear you playing.
I hope you can fix this, otherwise reject it a great shame to the module. :)
how about tell garry to do some magic with this >-<
When do you fix the crash bug?
I'm working on a version that uses the DirectX device directly, instead of going through some of the painful interfaces Source has.
Can't you use a procedural texture, like Jinto did with gm_image?
He is, he pioneered that method.
Oh.. well.. then..
Why not try to not use a procedural texture, unlike gm_image.
(:V)
Oh very fine, how many time will you need?
And please make a better documentation than in the last version. :)
Ok, I gave up on the DirectX version because it was a huge pain. I'm moving over to texture regenerators. This means you have to define a couple procedural vtfs for each browser you want. This means it won't be suitable for 2d display (because it's limited to the size of the texture). It still has to hack the alpha to display NPOW2 because the textures have to be a size of 2. I don't think this is a downside, I think it's the right direction I want this module to go, 3d browsers. I'll have it ready to release in a little bit. I also recompiled awesomium and chromium so it doesn't crash on Vista.
I'm also going to apply the texture regenerators to an Lua version that greasemonkey can use for his projectors.
Here is a 2d3d browser by aVoN without a dll module:
http://www.facepunch.com/showpost.ph...81&postcount=3
But the mouse and keyboard is not working. :(
I'm working on a 2d3d browser too, but I need help. :)
If you to want to see this check this out:
http://svn.xp-dev.com/svn/2d3d_Browser
That's horribly over-engineered.
There are 2 browsers the one uses a module and it running via a reload able entity and the another is a stand alone one.^^
Nice, could be useful if integrated into pcmod!
]OFF-TOPIC I will rape your face for watching completely useless anime-related taht you probably don't understand because it's in Japenese.
what
he does not like the video that is being played in the example picure.
Finally! I gave up using aVoN's code, adding input was.... very difficult. The only issue is, of course, that this requires the client to have the module but oh well.
May be you can combine the code from AzuiSleet to Avons code. ;)
Ah for module independance, maybe, maybe ;P
Any chance of releasing it now Azu? (I know you've finished ;0)
I still have a couple things to finish, as well as finals, and then I'll release it.
Awesome :D (I only posted because I saw the GMT update)
I gave you a heart since there is no gold star, this is great.
This isn't dead yet. The major roadblock right now is memory leaks. I'm considering having the module stay in memory, instead of unloading and reloading it.
Right now it's pretty good for 3d browsing, you can move the mouse over it, click, type, and scroll.
![]()
When will you release a fixed version of this module?
Awesome work.
Leaving it in the memory might help out seeing that's what i did for my IRC module to stop the memory leaks.
I look forward to seeing future versions :)
This would be required clientside also right?
It wouldn't be any other way.
Yea thought so, i really hope that this gets included into GMod by default later on then.
Ask garry
First the problem needs to be fixed.
Alright it's at a point where it's useable. You can find gm_chrome here it's set up to stay in memory until you quit gmod, http://code.google.com/p/gmodmodules/ (http://code.google.com/p/gmodmodules...runk/gm_chrome)
I'll release the "browser base" entity later.
Fine SVN :)
What the hell is gm_bass? :D
And is it gm_chrome compressed all ready?
I think GM_Bass is a module that can stream sounds to the client.
Oh nice XD
Edit:
Can you show me the LUA hooks please?
If so, FUCK YES.
I've only got it working clientside, streaming a mp3 from my website, but for some reason it stops after 10-20 seconds. No luck serverside yet.
Some stuff I found out by reading the sources:
require "bass" --Finds the sound file from garrysmod/sound local bassTest = BASS.StreamFile( "some/sound.wav" ) if bassTest then bassTest:play() end local function bassCall( handle, someNum ) if not handle then return end handle:play() end BASS.StreamFileURL( "http://randomsite.com/audio.mp3", 0 bassCall )
List of functions:
[list][*]BASS.StreamFile( string path ) --Returns BASS channel on success, false on fail[*]BASS.StreamFileURL( string path, int, function callback ) --Can't remember what it returns[*]BASS.SetPosition( vec Pos, vec Vel, vec Front, vec Up ) --Sets 3D position in world[*]BASS.p_PendingChannels --No idea what this is[/list]
List of metafunctions for BASS channels:
[list][*]play()[*]pause()[*]stop()[*]getlength()[*]getposition()[*]gettag( string Format ) --Returns formated tags http://gmodmodules.googlecode.com/sv...ags-readme.txt[*]getplaying()[*]getlevel()[*]setposition( number noIdeaWhat )[*]setvolume( float volume )[*]fft2048() --No idea[*]set3dposition( vec Pos, vec Orientation, vec Velocity)[*]getrawtag( int )[/list]
I hope this helps someone.
ON-TOPIC: I can't wait for the new version of gm_chrome :haw: