1. Post #1
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,896 Posts


    It's that time of month again! Post yo shit.

    Splambob - Wire Holo 'IDE'

    (SO YOU CAN BE "MODIVATED TO DO MORE WORK AGAIN!")

    I didn't include any flash videos this time - it lagged up the front page. You can still link to the original video if they have videos, I just replaced them with screenshots :)
    Reply With Quote Edit / Delete Windows 7 United States Show Events Winner Winner x 8Friendly Friendly x 1Informative Informative x 1Zing Zing x 1 (list)

  2. Post #2
    Map in a box's Avatar
    July 2009
    5,791 Posts
    This thread is stuffy. I think my sinuses are acting up. But yay new thread!
    Reply With Quote Edit / Delete Windows XP United States Show Events

  3. Post #3
    Looking into the vgui creation lag error. Shooting blanks. Joined a DarkRP server and pressed f4 so it lags. Attached VSleepy and did it multiple times. This is the offending callstack..



    So I'm now looking at the possibility that it's caused by some of the updated steam libs. Although that doesn't quite explain why it's only happening when creating vgui.

    Anyone got anything that can help me debug? Does it happen when creating any vgui? Only DImage panels? Only DLabel?

    Edited:

    Ok - it looks like it might be to do with the Pyro's vision changing shit.
    Reply With Quote Edit / Delete Windows 7 Show Events Informative Informative x 12Lua King Lua King x 1Useful Useful x 1 (list)

  4. Post #4
    Gold Member
    Bletotum's Avatar
    June 2008
    6,397 Posts
    i think you forgot foohy's rollercoaster

    how could you
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 8Disagree Disagree x 1Lua King Lua King x 1 (list)

  5. Post #5
    .. Fixed it!

    Edited:

    Due to the change in the HTML system - Panel:GetHTMLMaterial no longer exists - so in the next update I'll be making it error.

    I have however added panel:BindHTMLTexture(). When you call it if it's successful it will return width and height of the texture, and bind it - so that any textured rects you draw (using surface) will draw using the texture.

    If not successful it will return nothing.
    Reply With Quote Edit / Delete Windows 7 Show Events Winner Winner x 12Informative Informative x 2Optimistic Optimistic x 1 (list)

  6. Post #6
    Coble's Avatar
    January 2012
    274 Posts
    Working on some HL2RP addons, one simple CWU combine lock and an auto application system for MPF so people don't need to be interviewed. Nothing special.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Funny Funny x 1Informative Informative x 1 (list)

  7. Post #7
    Dragon Dildoes
    Wizard of Ass's Avatar
    April 2009
    4,589 Posts
    .. Fixed it!

    Edited:

    Due to the change in the HTML system - Panel:GetHTMLMaterial no longer exists - so in the next update I'll be making it error.

    I have however added panel:BindHTMLTexture(). When you call it if it's successful it will return width and height of the texture, and bind it - so that any textured rects you draw (using surface) will draw using the texture.

    If not successful it will return nothing.
    Will this also work for drawing sprites etc?


    It's kinda annoying though, you usually were able to just store the material and delete the html panel, can't you manually move the html texture to a new texture?

    I know that might be slower but it would keep functionality.

    Thanks regardless.
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree Agree x 1Disagree Disagree x 1 (list)

  8. Post #8
    PENISCORP DIRECTOR
    Gran PC's Avatar
    August 2007
    2,604 Posts
    Why don't you do that yourself in Lua? Create a RT, bind the HTML texture, draw to the RT and remove the HTML panel.
    Reply With Quote Edit / Delete Windows 7 Spain Show Events Disagree Disagree x 2 (list)

  9. Post #9
    Dragon Dildoes
    Wizard of Ass's Avatar
    April 2009
    4,589 Posts
    Why don't you do that yourself in Lua? Create a RT, bind the HTML texture, draw to the RT and remove the HTML panel.
    Creating rendertargets takes ages as you might know, therefor this methode is not exactly practical as you would need 1 rt per html material you would like to keep, additionally a c++ implementation would be faster anyways.
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree Agree x 2Disagree Disagree x 1Informative Informative x 1 (list)

  10. Post #10
    PENISCORP DIRECTOR
    Gran PC's Avatar
    August 2007
    2,604 Posts
    Creating rendertargets no longer takes ages - not in GMod 13.

    Edited:

    Also don't bring up the performance argument on something that you should do ONCE per HTML panel.
    Reply With Quote Edit / Delete Windows 7 Spain Show Events Informative Informative x 4Agree Agree x 1 (list)

  11. Post #11
    Dragon Dildoes
    Wizard of Ass's Avatar
    April 2009
    4,589 Posts
    Creating rendertargets no longer takes ages - not in GMod 13.

    Edited:

    Also don't bring up the performance argument on something that you should do ONCE per HTML panel.
    Well ok, I'll test it with my lua implementation once gm13 works again and see how slow the process really is.
    Reply With Quote Edit / Delete Windows 7 Germany Show Events

  12. Post #12
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,896 Posts
    i think you forgot foohy's rollercoaster

    how could you
    it was featured last month :)
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  13. Post #13
    Map in a box's Avatar
    July 2009
    5,791 Posts
    When I was playing a server with gmod 12, the HTML panel performance was amazing despite the fact it crashed when I tried to use the radio. New windows in HTML cause it to make a vgui window with the content and the mouse input seems to be slightly offset. But with like 10 HTML panels I didn't have much of a performance hit(other than the fact it was drawing 10 textured rects essentially) yet again the quality of the text looks pretty aliased. And the new transparency with the HTML panel -- if I can get that to work it would mean it wouldn't be unfeasable to have HTML guis like many games do now(crysis, dota 2, csgo etc, however they use scaleform which is just flash). I am pretty excited for this as the HTML panel used to have to be used very sparingly. You can actually make HUDs with HTML panels and not be afraid of a performance hit if you use it for each of your HUD elements!

    Edited:

    wall of text
    Reply With Quote Edit / Delete Windows XP United States Show Events Informative Informative x 1Agree Agree x 1 (list)

  14. Post #14
    using a HTML panel for stuff? that's dumb.
    Reply With Quote Edit / Delete Windows 7 Show Events Funny x 18Disagree x 2Dumb x 2Late x 2Friendly x 1Lua Helper x 1Lua King x 1Informative x 1Agree x 1 (list)

  15. Post #15
    Gold Member
    Bletotum's Avatar
    June 2008
    6,397 Posts
    it was featured last month :)
    i don't see why thats a reason not to showcase really good work that's been regularly shown to still be in progress
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  16. Post #16
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,896 Posts
    Doesn't Overgrowth by Wolfire Games use HTML for all it's menu elements?

    It does a pretty good job, I think it uses Awesomium? I know there was a module for it but it wasn't really widespread.
    Does anyone know anything about it and if it could benefit Garry's Mod?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  17. Post #17
    Gold Member
    Bletotum's Avatar
    June 2008
    6,397 Posts
    Pretty sure awesomium requires garry to pay for a license if he wants to include it in the game.

    edit

    Reply With Quote Edit / Delete Windows 7 United States Show Events

  18. Post #18
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,896 Posts
    I don't think Garry made less than $100K last year...

    Stop selling the game, Garry!

    Edited:

    $3000 isn't that much for a game like Garry's Mod AFAIK...
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 5Disagree Disagree x 1 (list)

  19. Post #19
    Gold Member
    Bletotum's Avatar
    June 2008
    6,397 Posts
    even with the money on hand, 3K is still a lot to pay for something that isn't really needed in the game

    large servers like GMT have shown that players are willing to go download it for free themselves
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 2 (list)

  20. Post #20

    May 2012
    39 Posts
    using a HTML panel for stuff? that's dumb.
    Says the person using in almost the hole startup menu? ^^
    Reply With Quote Edit / Delete Windows 7 France Show Events Dumb Dumb x 9Zing Zing x 3Agree Agree x 1Late Late x 1 (list)

  21. Post #21

    June 2012
    87 Posts
    even with the money on hand, 3K is still a lot to pay for something that isn't really needed in the game

    large servers like GMT have shown that players are willing to go download it for free themselves
    Depends, I remember a blog post from garry's blog of him spending ~£3.5k on a PC when a £1k one would do fine.

    Seems he's got enough money for 3k not to make a difference.

    Says the person using in almost the hole startup menu? ^^
    Satire (him saying it's a good idea).. Though I agree it's odd.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 1 (list)

  22. Post #22
    Donkie's Avatar
    July 2009
    1,033 Posts
    I think you people should stop debating about how much money garry has and if he's greedy or not. It's up to him.
    Reply With Quote Edit / Delete Windows Vista Sweden Show Events Dumb Dumb x 4Agree Agree x 4 (list)

  23. Post #23
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,896 Posts
    I don't think we were really touching on that subject, we were just wondering if the addition of the framework was feasible... pure development.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Artistic Artistic x 1 (list)

  24. Post #24
    Gold Member

    July 2006
    1,819 Posts
    Why would you even want to use Awesomium? We already have HTML panels.
    Reply With Quote Edit / Delete Linux Finland Show Events Dumb Dumb x 4 (list)

  25. Post #25
    So, good news and bad news.

    Looking further into the new HTML panel stuff shows that even though they're now reading the alpha channel from cef it's still an older version of cef - so alpha isn't included. Which means no alpha.

    So I looked into Awesomium this morning - and I like it! Took me 3 hours to fully implement it. And it has full transparency. It seems a lot faster in most situations too - but a lot slower in a couple of others. Which sucks but I think I can work around that.







    That last screenshot is showing this http://dl.dropbox.com/u/3590255/Test...nsparency.html
    Reply With Quote Edit / Delete Windows 7 Show Events Funny Funny x 17Winner Winner x 5Artistic Artistic x 2Zing Zing x 1 (list)

  26. Post #26
    Dragon Dildoes
    Wizard of Ass's Avatar
    April 2009
    4,589 Posts
    Sooo, does that mean you are gonna include Awesomium?
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Optimistic Optimistic x 2Agree Agree x 1 (list)

  27. Post #27
    All signs point to yes at the moment
    Reply With Quote Edit / Delete Windows 7 Show Events Winner Winner x 18Friendly Friendly x 1Optimistic Optimistic x 1Informative Informative x 1 (list)

  28. Post #28
    Dragon Dildoes
    Wizard of Ass's Avatar
    April 2009
    4,589 Posts
    Sounds promising.
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Optimistic Optimistic x 1 (list)

  29. Post #29
    Gold Member
    rebel1324's Avatar
    December 2008
    884 Posts
    Kinda late. Snip.
    Reply With Quote Edit / Delete Korea, Republic of Show Events Informative Informative x 1Agree Agree x 1 (list)

  30. Post #30
    CapsAdmin's Avatar
    August 2005
    3,772 Posts
    All signs point to yes at the moment
    Will this new HTML stuff be backwards with the old way of creating HTML panels?

    Cause the old way seems kinda hacky when you have to change the html title to send data to lua and having timers everywhere that execute shit the next frame. It looks less of a hack in the beta though.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Informative Informative x 1 (list)

  31. Post #31
    Map in a box's Avatar
    July 2009
    5,791 Posts
    It's kind of hard to transfer data from page to gmod is the problem.

    Edited:

    Also Garry, are you giving us access to the bare bones of Awesomium, so we can create views and use all the functions in it? That'd be awesome for making 3d2d browsers
    Reply With Quote Edit / Delete Windows XP United States Show Events Agree Agree x 5 (list)

  32. Post #32
    Get your own DarkRP Server!
    FPtje's Avatar
    January 2006
    4,712 Posts
    Thanks to Garry for fixing my DarkRP lag problems.

    Seriously, I thought the lag was caused by my F4 menu being a complete and utter 1251-line-long piece of shit.

    It probably still is a piece of shit, though, but still thanks to Garry for making it appear less shitty than it actually is.
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events Funny Funny x 13Dumb Dumb x 3Lua King Lua King x 2Friendly Friendly x 1 (list)

  33. Post #33
    My Blog
    Spencer Sharkey's Avatar
    July 2009
    1,896 Posts
    Mind giving some examples where the panels are faster and slower? :)

    Thanks for adding it, that's awesome.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  34. Post #34
    taste the salty dong
    Remscar's Avatar
    September 2009
    1,715 Posts
    Thanks to Garry for fixing my DarkRP lag problems.

    Seriously, I thought the lag was caused by my F4 menu being a complete and utter 1251-line-long piece of shit.

    It probably still is a piece of shit, though, but still thanks to Garry for making it appear less shitty than it actually is.
    IKR, when i needed to change someone in it, it took me longer to figure out what the fuck was going on then to actually make the change.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 3 (list)

  35. Post #35
    Awesome Gmod Servers!
    brandonj4's Avatar
    September 2011
    1,371 Posts
    Mind giving some examples where the panels are faster and slower? :)

    Thanks for adding it, that's awesome.
    A great example of a slow panel would be an outdone custom TTT shop. Lags like anything in-game.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  36. Post #36
    Facepunch's Local Lycanthrope
    Contron's Avatar
    December 2008
    1,623 Posts
    So I've been working on some prop damage script in the last few days for my addon framework, mainly as a test.

    Basically, all physical entities start with a set health when they are created (usually their mass). When they're severely damaged, they'll lose all constraints, and then once they've got no health, they'll get removed. It doesn't look that good on like 1-2 props, but on, say, a PHX truck, it looks pretty rad.


    (apologies for the choppy video, I can't upload anything too big without my internet shitting itself)

    The only thing left to do is add a nicer effect when props get destroyed.
    Reply With Quote Edit / Delete Windows 7 Jersey Show Events Zing x 5Winner x 2Optimistic x 1Funny x 1Lua King x 1 (list)

  37. Post #37
    Map in a box's Avatar
    July 2009
    5,791 Posts

    Reply With Quote Edit / Delete Windows XP United States Show Events Informative Informative x 1Dumb Dumb x 1 (list)

  38. Post #38
    Nexus435's Avatar
    July 2010
    1,414 Posts
    Not trying to be an ass but there really isn't any real purpose for any of that...
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  39. Post #39
    Map in a box's Avatar
    July 2009
    5,791 Posts
    There really isn't a purpose for gmod either. It's just for fun.
    Reply With Quote Edit / Delete Windows XP United States Show Events Dumb x 7Agree x 2Zing x 2Disagree x 1Informative x 1 (list)

  40. Post #40
    jakeabbott96's Avatar
    June 2011
    529 Posts
    There really isn't a purpose for gmod either. It's just for fun.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree x 12Funny x 3Friendly x 2Informative x 1Dumb x 1Lua Helper x 1 (list)