2,392 Results
I'd probably annoy people because I do this for HTML tags that get long: <a href='blah' target='whatever' class='idk' > whatever goes inside </a> Something about having it all on one line seems really awful to me.
wauterboi Webdev Reply
That is simply not true. Node Security Platform | Tools https://snyk.io/vuln/?packageManager=all The first, nsp, allows you to check all of the packages in use by your project at once. The second allows you to search a database of security issues. As it turns out, PHP librarie...
wauterboi Webdev Reply
Const is something I use a lot in languages when it's provided. If I'm going in and I know something shouldn't change even on a super localized scope, I use const. It helps detect side-effects, or me accidentally modifying a reference. I've really dug into the functional rabbi...
wauterboi Webdev Reply
I feel, as with most things in life, everything you get used to will eventually show some faults. People who can't admit those faults are sheep and need to practice being self-aware.
wauterboi Webdev Reply
Correct, but there is nothing that PHP offers that makes it bearable. That was the point I was making. There's nothing to fix with PHP - it is just an incompetent, inconvenient, meat-headed language. Again, I have problems with JavaScript. I have issues with a lot of its basic...
wauterboi Webdev Reply
There's nothing to fix in PHP. It's just bad design all the way to the very beginning. Just start at something basic like naming everything in the API with some level of consistency. I guess they decided that the best way to approach the standard library was to incorporate all...
wauterboi Webdev Reply
I'm not gonna heal you from now on
wauterboi Valve Games Reply
If you really don't like that, you could alternatively expand upon IRC with always-online connectivity like IRCCloud and just use that instead. Make it so everyone's automatically registered via NickServ and have a webchat client that simplifies everything.
wauterboi {{Meta}} Reply
Well, if you're going to force me to answer, then I have to say tough. Discord with their bots and stuff are convenient as people tend to already use Discord, and you can expand on Discord's functionality. It would be nice to integrate chatrooms into Facepunch so they're sti...
wauterboi {{Meta}} Reply
What I was saying is have the forum automatically genearate a Discord channel per forum, and move all the chat thread style discussions into those chatrooms. On the front page and forum pages, have a link that points to each channel.
wauterboi {{Meta}} Reply
I just thought of something - what if each forum was integrated into Discord? Move chat threads into the official subforum discord channel.
wauterboi {{Meta}} Reply
Post your desktop!
wauterboi Hardware & Software Thread
Note: if you've got a large desktop, be a pal - use a link. Here's mine: 4K warning! Ignore the garbage code on the right, that's me messing with Firefox's new userchrome stuff with stuff that I and other /r/firefoxcss users find. If only I could find a Messenger theme to matc...
wauterboi Hardware & Software Reply
I know it's silly, but I'm able to glitch the game if I drag really far on my 4k screen. You should have max bounds on strength to stop assholes like me.
wauterboi Unity3D Reply
At the start of January 2017 I released this album but never told anyone on Facepunch about it simply because I felt it was too much attention whoring or whatever and there wasn't a good spot to put it. But now I figure I can fit it in this forum, right? :P It's available on...
wauterboi Creationism Corner Reply
My Body the Space Station - an experimental album by wauterboi
wauterboi Creationism Corner Thread
:O!!! I wonder if it has anything to do with what I read yesterday in the Rust documentation about the weirdness of strings: https://doc.rust-lang.org/book/second-edition/ch08-02-strings.html#indexing-into-strings Is it because a single "character" to us can actually made up...
wauterboi Meta Reply
They don't have to be constantly making games, though. There are plenty of games to play as is.
wauterboi Valve Games Reply
People can whine about him using names, but let's not pretend that doesn't happen from the rest of the people on here.
wauterboi Polidicks Reply
80's Tomorrow Night, Zenburn, and elflord. Something about Solarized bothers me.
wauterboi Programming Reply
I'm not bothered by Garry's choice to have plain-text quotes. I don't need quotes to be rich with anything except links.
wauterboi Meta Reply
A map making gamemode Edit: I've experimented with David Lynchian themes and stuff in Garry's Mod with grainy B&W post-processing, but at the end of the day working in Garry's Mod is kind of miserable (although it's not necessarily anyone's fault in particular - it's an old...
wauterboi Garry's Mod General Reply
He's actually a nice guy, but people are too obsessive and want to make him out to be a white supremacist punching bag to vent their anger about Trump being president
wauterboi Polidicks Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Oh, wait, is it my turn to contribute to the conversation? Okay! <language/framework/editor/OS/distribution> is bad because of <shortcoming/philosophical difference>! I will conveniently ignore or downplay all shortcomings of my favorite <language/framework/editor/OS/distribut...
wauterboi Webdev Reply
I think it would be funny for it to show "!!!" instead.
wauterboi Meta Reply
Ah yes, I'd love the ability to post looping screamers. Joking aside, you can actually do that and mute to protect against screamers.
wauterboi Meta Reply
Instead of things happening automatically, I think it should either: Respond automatically to a specific syntax, i.e. markdown Generally respond specifically to mouse button presses (a la Microsoft Word - urls become clickable but don't expand into full images, etc.) I find it...
wauterboi Meta Reply
Testing Haskell and F#... main :: IO () main = putStrLn "Hello World" open System [<EntryPoint>] let main argv = printfn "Hello World" Console.ReadLine() |> ignore 0 I really like this! Good job, Garry!
wauterboi Programming Reply
[QUOTE=Crazy Knife;52904803]I'm working on a close quarter rifle that shoots dysons. [vid]https://cf-e2.streamablevideo.com/video/mp4/47sgd.mp4?token=1510978779-A3vCVIS%2FwSGvcR2H80X9joTWZSfK4MBSlWQzeXMGPbE%3D[/vid][/QUOTE] All of that view model moving and view tilting ...
wauterboi Developing Reply
The only time I think it's correct to use "Angles" is if you literally have multiple angles that are not components of the same angle, much like "positions" vs. "position".
wauterboi Developing Reply
Honestly I just use vanilla Lua so standard Lua tools don't freak out and because my code will resemble existing code. Garry's change to Lua conventions with new operators aren't my cup of tea.
wauterboi Developing Reply
[QUOTE=bobbleheadbob;52863580]I want to like VSCode but I feel too comfortable in Notepad++ to change :([/QUOTE] What about VSCode makes you uncomfortable?
wauterboi Developing Reply
Could always append that parameter to the URL.
wauterboi Developing Reply
Jesus Christ So here are the functions that are for sure available: [code] function Color:new() -- can be called by just Color, and with '#RGB', '#RGBA', '#RRGGBB', '#RRGGBBA', a table with the keys 'r', 'g', 'b', and 'a', and your normal 3-4 argument method function C...
wauterboi Developing Reply
Currently working on a complete implementation of the Color class. - The constructor now takes hex strings ("#RGB", "#RGBA", "#RRGGBB", and "#RRGGBBAA") as well as tables (i.e. {r = 1-255, g = 1-255, b = 1-255}) - You can also use Color.FromHSL() and Color.FromHSV() - New...
wauterboi Developing Reply
[QUOTE=ActuallyFBI;52843204]GoDot is a great engine unsure if it supports LUA or not.[/QUOTE] It uses their own language that is pretty python-like.
wauterboi Programming Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Sure, none of it is necessary. It's just a personal gamemode base that works the way I want it to, and with changes to Garry's Mod base code that I think is convenient to have. I don't like repeating certain things, and I like the idea of inferring what to type out by thinking...
wauterboi Developing Reply
So far, for my ReBase project: [quote] debug.TypeToColor(typeStr) - Returns a color for given type. Used by debug.PrintTable and debug_printglobaltable. debug.PrintTable(tbl) - Prints a formatted table in the console split into three columns: Key, Type, and Value. ...
wauterboi Developing Reply
[QUOTE=BlueSkilly;52821681]It is a map for a gamemode we're working on. As for anything that "only mappers would notice" that just doesn't make sense. There's usually a clear difference, and if for some reason there wasn't, I wouldn't post it, or I would explain what it is. ...
wauterboi Developing Reply
I think it should be fine as long as it doesn't turn into spam or doesn't appeal to Garry's Mod players. Working on a TTT map? Cool. Posting about a map that doesn't have to do with a gamemode with constant improvements that only a mappers would really notice? Not okay, I don'...
wauterboi Developing Reply
I'm basically making a printing function that takes a message and a color as parameters. The color is going to represent errors, successes, and general logging into for my Garry's Mod module.
wauterboi Programming Reply
C++ QUESTION: If I have four colors of type Color and they're never going to change, and I'm going to be using it for a void function, what's the best way to store those four colors and reference them for later use? The Color structure is created by Color(0-255, 0-255, 0-255) ...
wauterboi Programming Reply
It's been a couple days and there hasn't been a response from a developer. To recap, there are now a list of shaders people want to be accepted or rejected, as well as someone who has experience working with shaders who has offered help in the past and is interested. What more...
wauterboi Developing Reply
[QUOTE=MPan1;52804576]I was trying to do a thing and I accidentally replaced the crowbar's animation but I liked it and so I made it an addon: [video=youtube;dyDV9yYagfs]https://www.youtube.com/watch?v=dyDV9yYagfs[/video] It's useless shit but I don't care[/QUOTE] I have no...
wauterboi Developing Reply
[QUOTE=BlueSkilly;52804169]A triangular block light?[/QUOTE] [img]https://developer.valvesoftware.com/w/images/0/0c/Toolsblocklight.gif[/img] ^ this blocks light, creating shadows
wauterboi Developing Reply
[QUOTE=BlueSkilly;52804044]-minigolfness-[/QUOTE] You just using a triangular block light?
wauterboi Developing Reply
[QUOTE=MDave;52800829]Not trying to be a dick, but feels like you have overengineered that a bit. Also, for repeating strings, lua has the builtin function string.rep, I recommend using that instead of manual concatenation. I have been using this little snippet for a while ...
wauterboi Developing Reply
Have a nice addition to your string library: toLen(): [code]-------------------------------------------------------------------------------- -- Returns lengthened or shortened string given a string and length -- @param str The string to lengthen or shorten -- @...
wauterboi Developing Reply
[QUOTE=Sam Za Nemesis;52798326]I actually had discussed with 1/4 Life about a theoretical way to add a flexible shader helper for garry's mod that can load arbritary shaders into the game, or even a fixed one that exposes enough data to the shader to do something interesting, ...
wauterboi Developing Reply
[QUOTE=gonzalolog;52797477]Well...Unity 5 main feature was pbr rendering pipeline, it's a master material, just like VertexLitGeneric I've seen someone in programming waywo implementing pbr in a source ask 2013 project although, merging it would be way satisfying[/QUOTE] [v...
wauterboi Developing Reply
[QUOTE=CapsAdmin;52795458]I think I've misunderstood the point of this thread, in WAYWO there was talks of adding a shader API so I kinda wrote my post with context from that thread. If gmod has a shader API, you can do some of these things by yourself. SSAO for instance is...
wauterboi Developing Reply
[QUOTE=gonzalolog;52794222]IIRC first requirement for parallax mapping is directx 11 implementation into source, not sure about SSAO, but i've seen some SSAO implementations on source shader editor, but it looked pretty bad, maybe once again, due engine limitations... But as ...
wauterboi Developing Reply
I think something like Phong for materials, corrected cubemaps, parallax, and SSAO would go a long way.
wauterboi Developing Reply
Hey, could use some help in convincing Robotboy to do changes to shaders and shader support in Garry's Mod: [url]https://facepunch.com/showthread.php?t=1582480&p=52790864&viewfull=1#post52790864[/url]
wauterboi Level Design Reply
A lot of mappers would totally love having fixed shaders. It wouldn't be just one or two people. Lots of rooms are generally box-shaped because of how Source and vis works. You could break plenty of maps into boxes. And with Source Shader Editor and the stuff people have...
wauterboi Developing Reply
I've dug deep into this knowing that there's multiple threads, but none of the threads really received a definitive answer. From what I understand, Garry has been quoted as saying this: [QUOTE=garry;38396931]This is totally awesome. I did consider doing something simila...
wauterboi Developing Reply
What's the reason Garry's Mod won't get any new shaders at all?
wauterboi Developing Thread
[QUOTE=Stiffy360;52789718]Too bad gmod will probably never get new shaders. There's a lot of broken/missing stuff that would be incredibly useful to have.[/QUOTE] I really wish MadParakeet could share how he got custom shaders working. I don't really understand what's hold...
wauterboi Developing Reply
[QUOTE=Yashirmare;52786945]I beg to differ. [t]https://steamuserimages-a.akamaihd.net/ugc/877498811161698428/4742CE27B582796D9B6A9E3825E149083AE27163/[/t] Edit: There is also some quite fucky method to get parallax reflections, never tried them myself though but here's a v...
wauterboi Developing Reply
Working on some stuff for developers [code]] rb_printclienttree _G/cam Building list... ---------------------------------------------------------------------------------------- Number of items within table: 14 Filter includes: Numbers (n): true Strings (s): true F...
wauterboi Developing Reply
The trick, I think, is to make it subtle so attention isn't drawn to the fact that they're static. A lot of people overdo their cubemaps.
wauterboi Developing Reply
[QUOTE=Silverlan;52725611]What is it that you don't like about Lua?[/quote] Well, quite a bit actually. A lot of it can be traced back to the things Garry doesn't like about Lua, which includes the non-conformity to other languages. Keywords like "then" and "end" in place o...
wauterboi Programming Reply
Would you ever be willing to set your game up to work with JavaScript, C#, etc? It looks great, but I'd enjoy either of those languages a lot more.
wauterboi Programming Reply
I've been talking in the FP Programming Discord, but I've been trying to get the hang of Unity and noticed that there's a whole lot of dragging and dropping components and I was hoping that things would be done through code. How much do you have to use the interface strictly f...
wauterboi Programming Reply
[QUOTE=pac0master;52699216]a proper HD re-imagined City 17[/QUOTE] [QUOTE=pac0master;52699216]not talking about Fake Factory[/QUOTE] That's a bit redundant, don't ya think? :P
wauterboi Level Design Reply
I have a project I'm working on that uses Typescript, SASS, Express, and Gulp, and I wanted to come up with a folder structure and gulp set-up that I think makes sense but I think could use some criticism. [code] Source: /assets/ /js/ [static js files with no ...
wauterboi Programming Reply
Honestly I think a lot of Garry's Mod should be rewritten to fit the standards set by things like LuaRocks. Their module system is gouda.
wauterboi Developing Reply
Have you tried using the vararg that is returned from include? I haven't tried it myself, but I enjoy being able to set the name of my things myself in other languages. For instance, in JavaScript: [code]var gulp = require('gulp')[/code] Perhaps there is a way we can ...
wauterboi Developing Reply
[QUOTE=MPan1;52642178]Or, you could just get rid of the self-glorification and use: [CODE] sent [/CODE] Garry didn't name the hook library like this: [CODE] garrynewman.Add( "HUDPaint", "blah", HUD ) [/CODE] It makes sense for the name to actually have relevance to wha...
wauterboi Developing Reply
[QUOTE=Nak;52624837][media]https://www.youtube.com/watch?v=Fpdn8bxvgO8[/media] [/QUOTE] A lot of particles in that video seem way too big.
wauterboi Developing Reply
Well, for starters, you're sending it to only one person, which is the player that joins. Secondly, you aren't sending any data, and so when the client receives the message, it has no idea what "ply" is. You should do the following: 1. After net.Start(), use net.WriteEnt...
wauterboi Developing Reply
[QUOTE=Skerion;52496175]I fucking love how you can see rooms through some of those windows instead of just a window texture.[/QUOTE] Personally I feel like they are kind of distracting. I feel like I'd see all that and think "oh, that's an area I should be able to explore". A...
wauterboi Level Design Reply
[QUOTE=TehBigA;52486363]All you are doing is making your code slower and more fragile. Just because you are use to using snake casing doesn't mean you should monkeypatch GMod so that you can use it because you are afraid to type/see effect:GetMaterialIndex(). Variable names...
wauterboi Developing Reply
[QUOTE=Ott;52483857]I sincerely you aren't using a table for __index. Use a function that translates through code. [url]https://www.lua.org/pil/13.4.1.html[/url][/QUOTE] I'm using a table as a "thesaurus", and then iterating over the table with a function to clone the methods...
wauterboi Developing Reply
I was interested in how metatables work, and in toying with them I realized I could attempt to remedy some of the issues I have with the naming of the globals, classes, methods, etc. From the very beginning, I prefer snake_case. It's what is used outside of Garry's Mod in Lua....
wauterboi Developing Reply
[QUOTE=code_gs;52461604]You'd divide each surface up into triangles. For example, the face of a cube would be two triangles that have points at 3 adjacent verticies, and the hypotenuse would run between two diagonal points. One of my calculus textbooks has a chart listing a...
wauterboi Developing Reply
If I've got a set of points that make up a cube or a ramp, how do I create a mesh out of them? I understand how to make a single triangle mesh, but not a full on 3D object.
wauterboi Developing Reply
Since ENT:OnGround() isn't working for my SENT, and doing a TraceHull downwards is resulting in no hits when my SENT is on the ground, are displacements just broken for tracing? What would be an alternate soluition? I've tried a variety of tracing methods and distances to no a...
wauterboi Developing Reply
Best way to completely isolate player from the world after new CalcView?
wauterboi Developing Thread
Hey, I know of many methods of preventing the player from interacting from the world, but I'm interested in the best way to do so after focusing the CalcView on a different user-controlled entity that will be using the player's input. I'm basically emulating a vehicle. Here's ...
wauterboi Developing Reply
Why do you think it's necessary? If I were to run a server, the gamemodes I would run would require no databases. And admin tools don't need MySQL to work.
wauterboi Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
I don't like the tilted lambda and feel it could also be cropped out a little bit.
wauterboi Developing Reply
[QUOTE=Knifey;52205166]Here is a video preview of a house I've had been spent about 4 weeks on making, (was one of my first assets) but only recently I completed and compiled it. It's a small piece for a very large open world map I've been making for my own FPS MMO Gamemode on...
wauterboi Level Design Reply
I'm not asking why SST isn't out for Garry's Mod, but instead any work with shaders at all.
wauterboi Developing Reply
Stupid question, but why are there things like the Source Shader Tool readily available for other mods and yet not much for Garry's Mod?
wauterboi Developing Reply
Or just don't use the workshop since it's clear the Garry's Mod staff doesn't want your add-on. People like me thinks it's cool and will download it separately. All these workarounds just encourage things to not change, imo.
wauterboi Developing Reply
I do recall a lot of changes happening in the Next Update thread. [url=http://www.garrysmod.com/updates/]The last reported Awesomium change was in '16, though.[/url]
wauterboi Developing Reply
[QUOTE=wauterboi;52135913]Oh, maybe I'm wrong on that then. I always jump to the beginning of the line and delete. I'm not really a Vim junky that gets off to speed.[/QUOTE] I actually caught myself doing it without realizing it. It's Shift < and >. Maybe I'm in the transitio...
wauterboi Developing Reply
Oh, maybe I'm wrong on that then. I always jump to the beginning of the line and delete. I'm not really a Vim junky that gets off to speed.
wauterboi Developing Reply
[QUOTE=Rocket;52135320]I know editors can insert spaces when pressing the tab button, but none of them that I've used know to delete the proper amount of spaces when pressing the backspace button. So to delete a tab that's been converted to spaces, I need to press the backspac...
wauterboi Developing Reply
[QUOTE=Dgc2002;52129075]I like to call this SCREAMING_SNAKE_CASE Overall I agree with your guidelines. For as much crap as people give PHP(old iterations and code deserve that crap) the Framework Interop Group(FIG) have produced some nice style standards([url=https://github...
wauterboi Developing Reply
My personal guidelines when writing personal code are as follows: In general, adhere to vanilla standards whenever possible. That means forgoing "&&" for and, "!=" for "~=", and so forth. The reason for this is simple: when working on vanilla Lua and Garry's Mod Lua simulta...
wauterboi Developing Reply
[QUOTE=Darkomni;52120130]The answer is simple: I'm cheating. [code] function GM:FinishMove( pl, move ) pl.ballEnt.moveData = (pl.ballEnt.ballViewAng:Forward() * move:GetForwardSpeed()) + (pl.ballEnt.ballViewAng:Right() * move:GetSideSpeed()) end [/code] It's hac...
wauterboi Developing Reply
A lot of the newer CMS' are far more barebones, and WordPress sports a fair amount just so it can be extended. I think most experienced users would opt for the freedom that those CMS' provide. But that's just my thinking. Speaking hypothetically, I wouldn't mind spending mo...
wauterboi Programming Reply
It sounds like what you're describing should just be split up into a series of plugins for an already existing CMS. And a lot of those plugins seem like tackling them individually would take up quite a bit of time for just one person. And making it all come together in a secur...
wauterboi Programming Reply
[QUOTE=Darkomni;52118455]I want to have a system that lets me load in courses as sets of entities - I could have levels made in hammer with Propper, for example. Then I could re-use the sun lighting system I made for another gamemode for this, as well. For the gamecube...
wauterboi Developing Reply
[QUOTE=GoldenCumfart;52117525]What in the hell is wrong with car physics in gmod. I mean the stock car from hl2 drives nicely so why does every addon vehile drive so akward and glitchy.[/QUOTE] Singleplayer vs. multiplayer. I've found that everything that feels weird in multi...
wauterboi Level Design Reply