• GMod - What are you working on? August 2015 (#48)
    457 replies, posted
Not sure if this fits here. Just drew up a little sketch of what will soon be my first published Map. [img]http://oi57.tinypic.com/219tg1e.jpg[/img] Sorry for the poor quality. All I have is my shitty phone cam. And also I have the drawing skills of a third grader. Anyways, gonna call it Riverton. Or gm_Riverton, however naming works. A small city along a mountain river. A couple buildings would be enterable, shops and such in the center. There's a farm to the north, with wide crop fields before you get to the forest. Down the river is a sort of bandit fortress next to a waterfall, which falls down into a death pit. the Fortress has a bridge going over the river, with a gun emplacement on it. There's a dock for boats, with a larger, sunken boat The forest in the middle houses a pond and a small camp/outpost for the bandits. There is a cave system running from the Fortress, under the Forest, to the outpost, to the edge of the Farm. there's also a cavern in the middle with a big crack up at the surface to let light in. A small fancy house sits up on the hill to the northwest of the town. Tunnels leading off through the mountains are caved in, or gated off. Though I'm still practicing with Hammer and stuff, I hope to start actually working on it soon.
[QUOTE=Leystryku;48468025][t]http://i.imgur.com/2lVrNuK.png[/t] Made my own gmod client. It connects, authenthificates, spawns, activates, receives chat messages, voice messages, it can do pretty much everything your gmod can.[/QUOTE] make it a text-based rendered that renders the game as ascii art.
[QUOTE=Lonke;48470673]make it a text-based rendered that renders the game as ascii art.[/QUOTE] Not much work at all :why:
[QUOTE=FPtje;48470696]Not much work at all :why:[/QUOTE] ley can handle it, I'm sure
Somewhat more intelligent linting: [img]http://i.imgur.com/eQqE7RN.png[/img] [img]http://i.imgur.com/Nwf9OoG.png[/img] The fifth nested scope will make you a fucking pharao. Whether 5 is a good number is debatable, for now it's just an arbitrary number, I'll have to look at some serious Lua files to find a good number for that. The other one berates people for using [U]goto[/U] [I]anywhere but[/I] two nested loops. Note that the "[I]goto hell[/I]" on top of the pyramid gets a warning, while the one in the double for loop does not. In the meantime I've made [url=http://facepunch.com/showthread.php?t=1481371]this thread right here[/url] for linting ideas.
[QUOTE=mcormack1994;48465229]Been working on this with two mates for the past week and a bit for the August gamemode contest [url]http://steamcommunity.com/sharedfiles/filedetails/?id=500037814&searchtext=dungeon[/url] [video=youtube;_3LBkAkc3X4]http://www.youtube.com/watch?v=_3LBkAkc3X4[/video][/QUOTE] Look at the flick of that wrist.
So I've been messing around with sockets a bit and I made a thing that sends all global chat from the server to a website, and embedded that on my fourms. Turns out that the site receives the chat about a tenth of a second before the client does. [vid]https://dl.dropboxusercontent.com/u/86696893/ShareX/2015/08/2015-08-16_21-30-49.mp4[/vid]
[QUOTE=BigBadWilly;48468793]But what about voice coms? You could make your system more advanced by viewing all players screen's and recording it[/QUOTE] That's very NSA. If I knew a server was running an addon that records players' screens then I would actually quit cause I don't like when people invade my privacy on that scale.
[vid]https://my.mixtape.moe//pictwi.webm[/vid]
[media]https://youtu.be/qkOQ9-VgDZ4[/media]
[QUOTE=Ott;48473979]video[/QUOTE] That is oddly soothing... (what is that song btw)
[QUOTE=Revenge282;48474112]That is oddly soothing... (what is that song btw)[/QUOTE] [url]https://www.youtube.com/watch?v=CWkTfKE1Tvg[/url]
[QUOTE=Abendorp;48473977]That's very NSA. If I knew a server was running an addon that records players' screens then I would actually quit cause I don't like when people invade my privacy on that scale.[/QUOTE] Record your screen? On there server where your playing? Why would you care if someone is looking at what you're doing in game? Anyone can simply do it by following you or spectating you or just about anything.
[img]http://i.imgur.com/Jw18HBp.png[/img] [url]http://daaott.github.io/maestro/[/url] [url]http://facepunch.com/showthread.php?t=1481504[/url]
[t]http://i.imgur.com/GqcGksd.png[/t] After almost two years of lurking WAYWO, I finally have something to show! :excited: sorta aStonedPenguin was really awesome and helped me figure out databases using ptmysql and I connected all of my servers to a database on my own webserver. I didn't want to do a lot of frontend design before I got the base done, so I shamelessly copied the design he used on his own servers. I wrote UTime and AutoPromote replacements to work with it, and made usergroups persistent across all servers. I know this probably isn't a big deal for all you big server men, but this was a huge stride for me and was a great learning experience. It still needs a whole lot of optimization and tidying up, but I'm really glad I got everything to work right.
[QUOTE=BigBadWilly;48474174]Record your screen? On there server where your playing? Why would you care if someone is looking at what you're doing in game? Anyone can simply do it by following you or spectating you or just about anything.[/QUOTE] Ever heard of 1984? [IMG]http://ecx.images-amazon.com/images/I/41oIXG0LcmL._SY300_.jpg[/IMG]
So I'm not sure how many of you would approve of my methods, but often times I like to script quick things that I'll never use again using Luapad for my community to enjoy. Latest, I built a subway after I learned how to use map materials on props, and then subsequently made a high speed train of death to go with it. [vid]http://puu.sh/jE9GP.webm[/vid]
[QUOTE=FPtje;48470753] The other one berates people for using [U]goto[/U] [I]anywhere but[/I] two nested loops. Note that the "[I]goto hell[/I]" on top of the pyramid gets a warning, while the one in the double for loop does not. [/QUOTE] Holy fuck what, glua has goto? I just came up with a whole lot of bad ideas.
[QUOTE=Abendorp;48473977]That's very NSA. If I knew a server was running an addon that records players' screens then I would actually quit cause I don't like when people invade my privacy on that scale.[/QUOTE] By connecting to their server, you give them your IP address. Your IP address can give away the city and state that you live in. You can do a lot of things with a city, state, and IP address. I hope you don't have a unique username or your real name on your Steam profile? People looking at your screen for hacks should be the least of your concern. If privacy is your priority, you've failed already.
[QUOTE=Abendorp;48474343]Ever heard of 1984? [IMG]http://ecx.images-amazon.com/images/I/41oIXG0LcmL._SY300_.jpg[/IMG][/QUOTE] :tinfoil: You're not doing yourself any favors posting on a public forum which does not use HTTPS with your real IP. :unimpressed:
[QUOTE=LegoGuy;48474917]:tinfoil: You're not doing yourself any favors posting on a public forum which does not use HTTPS with your real IP. :unimpressed:[/QUOTE] How else is Big Brother gonna find you and watch you sleep?
I made a thing like the Steam market for my gamemode. Works how you'd expect. Players put a listing for any item on the market and other players can purchase them. If you're offline when a player purchases an item you made, you still get money of course. So now there can be an actual economy rather than using those "economy" addons. [media]https://www.youtube.com/watch?v=iXvc9Y2uIXg[/media]
[QUOTE=Chessnut;48476189]I made a thing like the Steam market for my gamemode. Works how you'd expect. Players put a listing for any item on the market and other players can purchase them. If you're offline when a player purchases an item you made, you still get money of course. So now there can be an actual economy rather than using those "economy" addons. -snip-[/QUOTE] I know this is super specific but where you have the radio listings and show colors going from green to red down the list, use HSVToColor( numberfrom0-100, 1, 1 ) so you don't get the murky gross yellow you see near the end of the video.
Working on an in game changelog system. This is for server owners who want their players to be able to see what changes were made without having to go out of game and to a forums. [t]http://i.imgur.com/X03x0H8.jpg[/t]
Not really lua, but I found myself in need of such a tool for creating content packs for gamemodes when I start using custom models without really thinking. [url]https://gist.github.com/MattWalton12/e7f229ea1fe7c7cda27f[/url] It's a NodeJS script that can scan an entire gamemode/addon and extract every model, and dump it to a file - then I feed the output into an MDLToMaterials application that someone released on here a while ago, so I can get all the materials from each model.
Post codes and door groups. Door groups are done, post codes are there but the actual mailing system isn't in place yet. [video=youtube_share;Q8-0zGaEg6Y]http://youtu.be/Q8-0zGaEg6Y[/video] [IMG]http://i.imgur.com/SyyRW4O.png[/IMG]
[QUOTE=DaWhale;48482960]Post codes and door groups. Door groups are done, post codes are there but the actual mailing system isn't in place yet. [video=youtube_share;Q8-0zGaEg6Y]http://youtu.be/Q8-0zGaEg6Y[/video] [IMG]http://i.imgur.com/SyyRW4O.png[/IMG][/QUOTE] SetNWInt("penis", 69) Whatttt??????
[QUOTE=geferon;48484397]SetNWInt("penis", 69) Whatttt??????[/QUOTE] I was literally about to say the same exact thing.
[img]http://i.imgur.com/bFE9HcG.png[/img] Variable shadowing. It can deal with global/local variables, function names, parameters and loop variables in any arbitrary depth of scopes. Note that it doesn't moan about "e = 2" and "function f.shit" because those are redefinitions of (members of) existing variables, not shadowing variables. This feature somehow only takes up 85 lines of code. It doesn't work with standard gmod library stuff.
[QUOTE=FPtje;48484872][img]http://i.imgur.com/bFE9HcG.png[/img] Variable shadowing. It can deal with global/local variables, function names, parameters and loop variables in any arbitrary depth of scopes. Note that it doesn't moan about "e = 2" and "function f.shit" because those are redefinitions of (members of) existing variables, not shadowing variables. This feature somehow only takes up 85 lines of code. It doesn't work with standard gmod library stuff.[/QUOTE] What does it do about tabs, does it count that as 4/8 'columns' or 1 ? [sp]oh god you wrote it in haskell, I don't know how to feel about this[/sp] [editline]18th August 2015[/editline] Ahh, nevermind you convert tabs to spaces from what I can read.
Sorry, you need to Log In to post a reply to this thread.