274 Results
It's something I do after work (but in the office). I guess this depends on your relationship to your coworkers.
#NaN Programming Reply
Same here. That's why a coworker of mine invented the "Open Source Friday" at our company. The idea is, that everyone who wants to work on their personal projects can gather together at the end of the day and just code for 1-2 hours. It's really motivating to collaborate and d...
#NaN Programming Reply
https://files.facepunch.com/forum/upload/114056/67b2a101-9e72-4a7d-8cf3-a3d99efcd6c6/image.png I feel like showing a rating (scraped from IMDb) there would be a neat addition. Would that be possible?
#NaN {{Meta}} Reply
Not anymore with .NET Core applications. Runs on Windows, Linux and Mac OS. You can build a self-contained application, which doesn't require the user to have any framework installed, because it comes bundled with the necessary dependencies. Not sure how well it works with GUI...
#NaN Programming Reply
Does it handle complex values like tables for example? Or should I serialize my data before sending to redis?
#NaN Addons Reply
[QUOTE=Robotboy655;50983573][img]http://i.imgur.com/HkdsPng.png[/img] This just makes me sad. ( DLabel source )[/QUOTE] [CODE]-- all three methods are semantically identical. Player.Name Player.GetName Player.Nick[/CODE] This makes me sad too.
#NaN Developing Reply
[QUOTE=Giraffen93;50941244][t]http://i.imgur.com/hacjX89.jpg[/t] i [I]might[/I] have overengineered this just a tiny bit[/QUOTE] I like the barcode detail. I wouldn't buy the sugar though :v:
#NaN Developing Reply
Added a maximum range option for superadmins. Setting this will also affect all currently spawned money detectors. You can access the option under "Utilities > Money Detector" or via convar "wire_money_detector_admin_maxrange" (can only be set from the server console). [...
#NaN Addons Reply
[QUOTE=XxLMM13xXx;50740865]What about money pots?[/QUOTE] Added support for money pots. [QUOTE=VeXan;50741114]I feel like this could somehow be abused. Does it internally set a max range?[/QUOTE] It does not at the moment, but I could add a server convar, if there i...
#NaN Addons Reply
This is a DarkRP addon, which allows you to detect money (and optionally cheques, money pots) in a specified radius and report it to your wire system. This is extremely useful for automatic gunshops. Since I couldn't find a working version, I decided to make my own one. ...
#NaN Addons Reply
[QUOTE=Oldrid;50725675]PS: Those skins are serverside and don't appear on a server they haven't been installed on, right? If that's the case, they don't have that much of a use[/QUOTE] They should appear on every server that allows you to execute clientside Lua scripts (Sa...
#NaN Garry's Mod General Reply
[QUOTE=Robotboy655;50720476][url]https://facepunch.com/showthread.php?t=1527079[/url] I guess I will post this here as well.[/QUOTE] Well, I was about to create a pull request to update the Sandbox Tools UI :v: Anyway, good job. I like the new UI changes a lot.
#NaN Developing Reply
[QUOTE=vigi8;50448863]Just dropping by to say that 'game.RedirectPlayer' function ([url=https://github.com/Facepunch/garrysmod-requests/issues/707]github request[/url]) would be incredibly useful for multiserver communities, and it would be great to see it make it to one of ne...
#NaN Developing Reply
Next Update v. "You're not the only one doing it."
#NaN Developing Reply
I don't get it, why you wouldn't want to store the 64-bit SteamID. It's just 4 more bytes to save per row (compared to an int column). Let's say you have 1000 unique entries in your table. That are 4000 bytes more to store. ~3.9 kilobytes. Holy shit. And you wouldn't have t...
#NaN Developing Reply
How to summon FPtje: Say something about Haskell. [editline]13th October 2015[/editline] Shit, pageking. I have nothing guys, sorry.
#NaN Developing Reply
[QUOTE=Z0mb1n3;48747782]and if I can ever figure it out, sound won't play for you if emitted from entities not in your 'map'.[/QUOTE] You could try to prevent sending information about the entity to the client by using [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=...
#NaN Developing Reply
[QUOTE=Ott;48721858]Commit whenever your code stops being broken.[/QUOTE] Or create a separate branch whenever you're working on some big changes and merge them, when you're done ([URL="https://atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow"]featur...
#NaN Developing Reply
It really needs some sort of anti aliasing. Besides that it looks good so far.
#NaN Developing Reply
[QUOTE=Nak;48644403]Shadowplay( or AMDs thingy): free and high quality OBS: free, but low quality Fraps: Cost money , offers high quality but slows down the pc Also COVERT! Only takes 15 mins to convert and upload it. The alternatively is 3-4 hours spent uploading it raw....
#NaN Developing Reply
What about ingame code editors? Wouldn't they need that feature?
#NaN Developing Reply
[QUOTE=Robotboy655;48524705][code] [...] * Finalized Vehicle.GetVehicleParams() [...][/code] Latest.[/QUOTE] Will there be a Vehicle.SetVehicleParams function soon?
#NaN Developing Reply
[QUOTE=xaviergmail;48478449]Jesus, no need to be so hostile.[/QUOTE] Sorry, I didn't meant to be hostile. I guess the feature might be useful for some people out there.
#NaN Developing Reply
[quote]Max line width of 79 characters. Annoying at first but god damn useful after you get used to it.[/quote] I already hate it that I'm forced to 80 characters when I'm coding stuff for university. And no - I'm not getting used to it after 2 semesters. It's just stupid. ...
#NaN Developing Reply
[QUOTE=YourStalker;48420650]Could you check for sv_lan?[/QUOTE] Or try to check if the server uses an ip address in a private address range.
#NaN Addons Reply
[QUOTE=xaviergmail;48130614]However, feel free to send HTTP POST requests to / with the argument 'script' as your source code if you want to use this anywhere other than the little web UI. Please let me know if you find any issues with it![/QUOTE] [IMG]http://i.imgur.co...
#NaN Developing Reply
[QUOTE=Snappy29;47711137]The module system works by first finding all the modules within a folder, registering them and then [B]loading them based on a priority given to them (defaults to 3, where 1 is highest)[/B]. Not really modular but I feel that's the best way to describe...
#NaN Developing Reply
[QUOTE=SkitZz;47466961]I feel like Share and Downloaders is just put there to fill empty space out.[/QUOTE] Well, seems like the layout changed a bit recently: [t]http://i.imgur.com/DLU85Ma.png[/t]
#NaN Developing Reply
[QUOTE=VIoxtar;47309097]Shit. That's what I thought. Whatever it is I wanted to do just became trickier. Thanks.[/QUOTE] Well, what do you want to achieve? Maybe there is another way.
#NaN Developing Reply
[QUOTE=sarge997;47305459]I'm working on some vgui for choosing a player's team, but I'm unsure how to call a function from another script? Does anyone have an example?[/QUOTE] Use a global function or a function inside a global table (I like to use the latter one).
#NaN Developing Reply
[QUOTE=FPtje;47296643]time = 02:16PM [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/os/time]os.time[/url]? Surely that is shorter to network than that string?[/QUOTE] Can also be used to replace the date field.
#NaN Developing Reply
[QUOTE=LUModder;47246660]So I decided to test Ott's script on a random server. Result: [img]https://dl.dropboxusercontent.com/u/67402346/ShareX/2015/03/2015-03-02_18-13-17.png[/img] Some people... :v:[/QUOTE] "Hey, lets set sv_allowcslua to 1, but we won't allow cli...
#NaN Developing Reply
[QUOTE=Nick78111;47203939]or you can use this if you want everyone to see the bans: [URL="http://forums.ulyssesmod.net/index.php?topic=5878.0"]http://forums.ulyssesmod.net/index.php?topic=5878.0[/URL][/QUOTE] This is in fact not a true history of kicks/bans, as the [URL="h...
#NaN Help & Support Reply
Someone posted a sorted list of files, where you can see, which files will be run at first. [url]http://pastebin.com/HR1FWScu[/url] If that helps.
#NaN Developing Reply
[QUOTE=Hoffa1337;47202154]Edit: previously we had [url]http://dumps.garrysmod.com/[/url] atleast[/QUOTE] I remember this site from the old days. Don't know if it still works. [url]http://dumps.metastruct.uk.to/[/url]
#NaN Developing Reply
[QUOTE=Giraffen93;47026885]actually not my furniture thing is ~13kb when in a compressed json string, when sent as a table it goes easily over the limit[/QUOTE] Well, perhaps not, but you'll still have an overhead, which you really want to avoid when sending data over t...
#NaN Developing Reply
[QUOTE=Exho;47026860]I primarily use WriteTable in my gPhone. Maybe I'll create a function to better manage net messages later [B]perhaps sending the table as a JSON string[/B][/QUOTE] That will make it worse.
#NaN Developing Reply
[QUOTE=Author.;46383325]Considering the server is triggering the screenshotting, you could make the server send a special key to the web server, and if the client's key match, let the image go through or something.[/QUOTE] I did that once for my school project and it worke...
#NaN Developing Reply
[QUOTE=Alex_grist;46144287]I would say if you don't know how to escape strings, you shouldn't be using MySQL.[/QUOTE] Or if you don't know how to normalize a database. Whenever I see a serialized string in a table...
#NaN Developing Reply
[QUOTE=Phoenixf129;45767251]Notepad++ Master Race. I don't see what the big hype is with sublime, honestly.[/QUOTE] Cross platform support 'Sleek' design (looks cleaner imo) Better plugin integration with package control (no need for restarts)
#NaN Developing Reply
[CODE]Array(4) == ",,," // true[/CODE] wtfjs
#NaN Developing Reply
[QUOTE=find me;44549305]I don't get it, what would the proper way be then? I always assumed this was the best method considering it takes one query to get all the info one one player, especially large things like an inventory. So a table per player is the proper way? Isn't tha...
#NaN Developing Reply
CoderHire should get an own category on [URL="http://clientsfromhell.net/"]clientsfromhell.net[/URL] :v:
#NaN Developing Reply
[QUOTE=IceMod;43736089]Sublime Text is nice cause it shows the functions that can be used example if you write Inflictor it can come up with :GetInflictor() But Notepad++ has sooooo many features and SOOOOOOOOOOOOO much community support compared to ST2[/QUOTE] There ar...
#NaN Developing Reply
The atomic save feature is enabled by default in ST3. From the default settings file: [code]// Save via writing to an alternate file, and then renaming it over the // original file. "atomic_save": true,[/code]
#NaN Developing Reply
[QUOTE=IceMod;43724562]Fixed the bug in the video :d The menu aint finish and some features is missing. I need to change the color on the buttons ::suicide: [video=youtube;kF2A7hvPzrA]http://www.youtube.com/watch?v=kF2A7hvPzrA[/video][/QUOTE] Back in my days it was e...
#NaN Developing Reply
[QUOTE=Ghost_Sailor;43371175]That's the GWEN Logo. I found the actual skin PSD [url]https://github.com/garrynewman/GWEN/blob/master/gwen/skins/DefaultSkin.psd[/url] there.[/QUOTE] Oh, thanks. Couldn't check it since I've no Photoshop installed currently.
#NaN Developing Reply
Here's the .psd file for editing the default GWEN texture: [url]https://github.com/garrynewman/GWEN/blob/master/gwen/Logo/GWEN.psd[/url]
#NaN Developing Reply
[QUOTE=MuteTM;43311383]Oh god I just caught a guy watching porn in shift-tab (thanks, zerothefallen) [img]http://i.imgur.com/walOFCJ.jpg[/img][/QUOTE] I should learn modeling.
#NaN Developing Reply
[QUOTE=MDave;43259654]Uh oh pageking, emergency content: [t]https://dl.dropboxusercontent.com/u/7659139/Facepunch/vecmath_is_fun.png[/t] Vectormath![/QUOTE] I'm pretty sure that I already saw this picture at some point :v:
#NaN Developing Reply
[QUOTE=rejax;43177830]Stick to a nice color scheme. There's a PowerPoint from Microsoft somewhere about their metro ui, try googling that because I'm on my phone. Also [url]www.flatuicolors.com[/url][/QUOTE] It's probably this: [url]https://skydrive.live.com/view.aspx?...
#NaN Developing Reply
[QUOTE=arcaneex;42762575]Is there anyway to get this working on singleplayer? I do all my "developing" there and I'd rather not download SRCDS and all that stuff just to get one module working I tried renaming it to gmcl but that didn't help, either.[/QUOTE] Just start ...
#NaN Addons Reply
[QUOTE=SashaWolf;41708771]Lets say a player F5's this for awhile: [URL="http://www.mygaywebsite.com/reportdacheeter.php?report=CHEETER"]www.mygaywebsite.com/reportdacheeter.php?report=CHEETER[/URL] IS IN THE SERVER HELP ADMENS RIP mailbox. Also, if you do use php, don't ...
#NaN Developing Reply
[QUOTE=BoowmanTech;41695706]I just realized that on coderhire if someone buys something they very rarely leave a review. For example my hud was bought 23 times and I have 3 reviews. You should force the player to leave the review. You could make like if they bought like 3 scri...
#NaN Developing Reply
[QUOTE=Drak_Thing;41685504]What happens when you use create a table with gmods built in sqlite database, and it already exists? Like for example, if i make a generic table called "users" in my gamemode, and another plugin/addon uses a table called "users" does it conflict? or...
#NaN Developing Reply
[QUOTE=Sparky-Z;41654414]Made a model panel where you can pan around it and zoom in. Not perfect, but good enough for me. -content-[/QUOTE] I see that you're still using the old ass Luapad editor. You might wanna take a look at the [url=http://www.facepunch.com/showthre...
#NaN Developing Reply
You should remove the stripes.
#NaN Developing Reply
[QUOTE=RocketMania;41236166]-vid- Middle BOSS - Orisi[/QUOTE] IMO the 'red screen' damage indicator is a bit annoying. Maybe you should not cover the whole screen with that.
#NaN Developing Reply
Here you go: [url]http://pastebin.com/izs1pXqP[/url] [url]http://pastebin.com/SWKU0zw6[/url]
#NaN Addons Reply
[QUOTE=RocketMania;40923501]-video- i just want to make Diablo2 ( sry for pooooooor resolution ) how about GarryBlo2? lol[/QUOTE] Wow, that looks really professional! For a moment I thought it was another game, unless I saw the zombies and the net graph. Good job,...
#NaN Developing Reply
[QUOTE=Vilusia;40846319]Can you make a chat command like ! that opens the menu so we dont have to type it in console?[/QUOTE] You can open the menu using "!menu".
#NaN Addons Reply
Could you make it remain the latest menu you were in, when closing it? It is a bit annoying, when you have to navigate to a sub menu each time, when you open up it again. Apart from that, it is a really well designed admin mod.
#NaN Addons Reply
Could we have a better way of displaying optional arguments? Because at the moment, you can't really tell if it's optional or not. [t]http://i.imgur.com/1lHAKPH.png[/t] IMO the PHP documentation handles it quiet well. [t]http://i.imgur.com/AvU2gqw.png[/t] It also...
#NaN Developing Reply
[QUOTE=MonkeysLP;40791912]I'd feel bad making a thread every time I have a little issue, I'd end up cluttering the board. Maybe we should make a "I need help/Post your questions" thread?[/QUOTE] I disagree with you, it is much easier to search (with Google) for a solution ...
#NaN Developing Reply
[QUOTE=garry;40499927]coding shit [url]http://www.twitch.tv/garrynewman[/url][/QUOTE] Damn, I'm always too late!
#NaN Developing Reply
Can you please remove the tooltip from the sidebar? It's kinda annoying and useless. [t]http://puu.sh/26WlO[/t]
#NaN Garry's Mod General Reply
[QUOTE=Lerpaderp;39604320]Something like: db:query("SHOW STATUS LIKE 'tablenamehere';")[/QUOTE] You can make it even simpler: db:query("SELECT 1+1;")
#NaN Addons Reply
[lua] Entity:Fire("HandBrakeOn") Entity:Fire("HandBrakeOff") [/lua]
#NaN Developing Reply
I hope you will support the new [URL="http://www.facepunch.com/showthread.php?p=38564636#post38564636"]Kinect Lua binds[/URL] that garry added to the GMod SVN. :smile:
#NaN Developing Reply
Photoshop
#NaN Developing Reply
[QUOTE=TheEyes;38285914]You're installing wire from SVN - you're meant to install it from git.[/QUOTE] You can use Github with SVN, too. [editline].[/editline] [url]https://github.com/blog/966-improved-subversion-client-support[/url]
#NaN Addons Reply
[QUOTE=Dark Slayre;38277398]Is it just me, or would GMod be much easier to navigate if underneath 'Find a Multiplayer Game' there was a 'Legacy Browser' button, or at the very least a drop down menu that displayed the 'Find a Multilayer Game' options (internet, history, legacy...
#NaN Garry's Mod General Reply
[QUOTE=cartman300;38226455]Woo, i managed to complete POWER addon, POWERLink tool is bugged like hell, has no GUI and no visual link between linked entities, but it works! I managed to link button to explosive and detonate it! So, does anybody know how to create a rope betwe...
#NaN Addons Reply
[QUOTE=Madman07;38196800]@AlexALX, Steam Workshop is WAY better than svn. No need for client, no need for update. Easier for noobs, easier for pros. svn is NOT an addon system - it's an developer platform. It was used because lack of such tool, but since there is Workshop, why...
#NaN Addons Reply
[QUOTE=highvoltage;38154133]Man I'm good at making effects: :suicide: -video- Can someone give me some pointers on how to make it not shit? The black sprite is a .vmt error but the rest is me attempting to make an effect from scratch. [/QUOTE] Some lens flares / blend...
#NaN Developing Reply
[QUOTE=LEETNOOB;37358956]I've been working on a stealth system based on Splinter Cell: Chaos Theory. Features include: Light level indicator. (top right corner) Light level based visibility. View cones that modify the range at which a NPC is able to detect a player. Noi...
#NaN Developing Reply
[QUOTE=Pigbear;37250918]Yep here come the boxes, Assholes. I guess that the community has something against me.[/QUOTE] Stop derailing this thread. Nobody cares about your personal problems.
#NaN Developing Reply
[QUOTE=Rayss;37055806]I'm sure you guys get this all the time, but should I learn Java or C++ before jumping into LUA? I have no experience with programming so I'm looking to start somewhere. I want to use it for more practical applications than just Gmod, so I would appreciat...
#NaN Developing Reply
[QUOTE=Kopimi;36957927]awesome thanks also how are clientside entities created in gm13? i read that ents.create was removed in update 10 but never saw a solution. i'm trying to create a "ghost prop" sort of like a preview for players to be able to place objects on walls and...
#NaN Developing Reply
[QUOTE=Lexic;36942342]Is there an offline copy of the backup wiki?[/QUOTE] Found a [URL="http://maurits.tv/data/garrysmod/GMod_Wiki.zip"]zip file[/URL] on Maurits' Webspace that says "GMod_Wiki". Maybe it's the old wiki.
#NaN Developing Reply
[QUOTE=bobthe2lol;36923273]Just wondering, is it possible to draw 3d lines? Because surface.DrawLine only takes an x and a y.[/QUOTE] You can use the [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index658c.html"]cam library[/URL] for this.
#NaN Developing Reply
[QUOTE=ollie;36896453]How can i make so only a specific player can open a door? Like in RP gamemodes.[/QUOTE] You could try to use the [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5f71.html"]PlayerUse[/URL] Hook and check if the player is in a table. R...
#NaN Developing Reply
[QUOTE=Jamies;36650889]How would i go about auto including files in the game mode folder on garrys mod 13. e.g. I would have gamemode/sh_modules/ and all files in it would be included and AddCSLuaFile inside of the shared file. Thanks[/QUOTE] [lua] for k,v in pairs(f...
#NaN Developing Reply
Maybe this could help you: [url]http://trac.caspring.org/wiki/LuaPerformance[/url]
#NaN Developing Reply
[QUOTE=Panto;36496549]How does sending an entity over the network with the net library work internally? Does net.WriteEntity send the EntIndex of the entity and net.ReadEntity get the entity related to the EntIndex? What would be more optimized, this ... [lua] --Server si...
#NaN Developing Reply
[QUOTE=I Fail At Lua;36160907]Sorry if this is the wrong place to ask but, does anyone happen to have a link to a mirror of the wiki?[/QUOTE] [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index4875.html?title=Main_Page[/url] (seems to be down for some reaso...
#NaN Developing Reply
[QUOTE=Hentie;35750680]Does anyone know why [lua]local chars = {}; for i = 1, 6000 do table.insert( char, "asd" ); end local txt = table.concat( chars );[/lua] is faster than [lua]local txt = ""; for i = 1, 6000 do txt = txt .. "asd" end[/lua][/QUOTE] [url]...
#NaN Developing Reply
I'm trying to send data from PHP to a GMod server. It's working well when I'm using double quotes. However, if I use single quotes I get a "GLSOCK_ERROR_ADDRESSFAMILYNOTSUPPORTED" error. So my question is: Is this intentional or just a bug?
#NaN Developing Reply
[QUOTE=AppoCeurT;35718397]Just wondering Garry, does gmod have a specific ToS?[/QUOTE] Yes, it has: [url]http://garrysmod.com/terms[/url]
#NaN Garry's Mod General Reply
[QUOTE=garry;35708236]I definitely know what you mean, but the second method is for selecting files, not folders[/QUOTE] I'm pretty sure that I've already seen programs that uses the second box to select folders.
#NaN Garry's Mod General Reply
Watch out! Singstar gamemodes are coming.
#NaN Developing Reply
[QUOTE=Threethumb;35647413]I would like to claim false on the models having been merged with the pack. Because I installed the newest version with SVN and I miss a LOT of models.[/QUOTE] [url]http://www.wiremod.com/forum/wiremod-svn-log/28333-2512-merged-wire-model-pack-1-in...
#NaN Garry's Mod General Reply
[QUOTE=fishcake;35465416]I'm using some code to make a set of NPCs move to where the player is looking; [LUA] v:SetLastPosition(EyeTrace) v:SetSchedule(SCHED_FORCED_GO_RUN) [/LUA] Anyone know how I would go about having them forget their enemy once they have reached their de...
#NaN Developing Reply
[QUOTE=Krizzu;35461732]I got a problem with SWEP. Player should commit suicide when pressed LMB, but it doesn't work. [LUA] self.Owner:Kill() [/LUA][/QUOTE] Are you calling it serverside?
#NaN Developing Reply
[QUOTE=ollie;35411905]I would like to see you transfer lets say.. a table with consolecommands.[/QUOTE] Table -> Glon encode -> concommand -> Glon decode -> Table :eng101:
#NaN Developing Reply
[QUOTE=Johnny Guitar;35396440]This is what I am using Should this not be correct?[/QUOTE] "root\garrysmodbeta\materials\icon16\heart.png"
#NaN Developing Reply
[QUOTE=LilRobot;35387605]as for an explosion effect, i'm taking a wild guess that this modifier should work it [lua] local effectsplode = EffectData() effectsplode:SetOrigin(tr.HitPos) effectsplode:SetStart(tr.HitPos()) effectsplode:SetEntity(self) util.Effect("UNKNOWN", e...
#NaN Developing Reply
Another way: [lua] local explosion = ents.Create("env_explosion") explosion:SetPos(pos) explosion:SetKeyValue("iMagnitude", 100) -- damage explosion:SetKeyValue("iRadiusOverride", 250) -- radius explosion:Spawn() explosion:Fire("explode", "", 0) [/lua]
#NaN Developing Reply
[QUOTE=LilRobot;35385313]thanks for that, but what i meant was kind of like an explosion where the bullet hits as in, an explosion that kills things, preferably dissolves them.[/QUOTE] A real explosion or just the explosion effect?
#NaN Developing Reply
[QUOTE=LilRobot;35384079]i ironed out a lot of the problems with my weapon. now my only question is, is it possible to make it have a radius explosion or zap type thing where a bullet hits?[/QUOTE] Yes, there is a way. For example: [lua] local tr = self.Owner:GetEyeTrace() ...
#NaN Developing Reply