756 Results
Thanks for the help with my previous question. Unrelated, but is there any way to unload a rendertarget once it has been created with GetRenderTarget(...)? They just seems to consume memory indefinitely when I check with +mat_texture_list.
maurits150 Developing Reply
So is there some universal way to get a list of all the models and materials/textures that a client is missing?
maurits150 Developing Reply
Just updated my [url=https://maurits.tv/data/garrysmod/gmadownloader.html]workshop downloader[/url] to have a live progress report.
maurits150 Developing Reply
[url]https://steamcommunity.com/groups/melonbrew[/url]
maurits150 Garry's Mod General Reply
[thumb]https://maurits.tv/data/img/August%202017/2017-08-15_17-02-11_Xi0tppSXUz.png[/thumb] [thumb]https://maurits.tv/data/img/August%202017/2017-08-15_17-07-23_30mYNY5DB8.png[/thumb]
maurits150 Developing Reply
Maybe you'll have more luck at 15 tick, else get a newer system.
maurits150 Developing Reply
Also don't forget to remove that entity after you're done.
maurits150 Developing Reply
Awesome that it can stay. I really don't want game.MountGMA to disappear from the server either. I use it to hot-mount addons in place without restarting.
maurits150 Developing Reply
We're gonna loose the debug library at this rate.
maurits150 Developing Reply
We're gonna loose the debug library at this rate.
maurits150 Garry's Mod General Reply
How about you ask their support?
maurits150 Garry's Mod General Reply
Yes absolutely. As long as they run on different ports (and you have the CPU/RAM required) you're fine. You [url=https://facepunch.com/showthread.php?t=1305365]might have to be careful[/url] when you're running multiple servers of 1 folder if your code is using [url=http://...
maurits150 Garry's Mod General Reply
Overwriting the Nick/Name metamethods is not needed. Use [url]http://wiki.garrysmod.com/page/player/CreateNextBot[/url] and just pass a name to use. [editline]3rd May 2017[/editline] Upon further inspection this might not work to fake players on the server browser.
maurits150 Developing Reply
HOLY SHIT I grabbed my neightbours MAC address and the google API was accurate to the METER. This is scary as fuck. This literally means that any device with WiFi capabilities can locate me now. :( Guess I can't even trust my laptop anymore. Any program could just scan f...
maurits150 Developing Reply
Nice work on the gamemode. Any idea if you can get a github running? I've fixed some things such as the gamemode breaking at lower/higher tickrates [URL="https://github.com/maurits150/garrysmod_bugboys"]in the past[/URL] and would like to merge this with your version of the...
maurits150 Addons Reply
[QUOTE=yoloman707;52147858]To me that sounds like you may have the wrong .bsp file.[/QUOTE] I agree that the file might have become corrupted. Maybe your host has a bad hard drive or messed up file permissions. Either way try redownloading the map and reuploading it. In...
maurits150 Developing Reply
[QUOTE=rtm516;52125214]Can i ask how this gets the download urls from steam? Edit: for real addons that is[/QUOTE] https://api.steampowered.com/IPublishedFileService/GetDetails/v1?key=<API KEY>&format=json&publishedfileids%5B0%5D=150455514&includetags=1&includeadditiona...
maurits150 Developing Reply
[QUOTE=maurits150;52121329][url]https://maurits.tv/data/garrysmod/gmadownloader.html[/url][/QUOTE] In other news: [code] IP: (SHAME ON YOU) Host: gma.maurits.tv:8013 QUERY: url=https://steamcommunity.com/linkfilter/?url=https://scriptfodder.com/scripts/view/2580/v113-p...
maurits150 Developing Reply
[url]https://maurits.tv/data/garrysmod/gmadownloader.html[/url]
maurits150 Developing Reply
[QUOTE=h00dRat;52072716]So I might just be retarded but I just wanna comment this just in-case anyone else makes a similar mistake. Be very carefully when removing anything in the map because many things are group with other things. You may be looking at something in the 3d vi...
maurits150 Level Design Reply
[QUOTE=Legion of boo;52059057]I've done it before its just a pain going through all the addons 1 by 1. they should just bring back being able to mount .gma files. anyways thanks man[/QUOTE] Actually my bad, it will only work next GMod update. Next update you can put .gma f...
maurits150 Developing Reply
Put the GMA files in the root folder. (/garrysmod/XXX.gma)
maurits150 Developing Reply
If he's so deep into this that he's literally proxying traffic across the world all he has to do is proxy the queries packets themselves (and modify payload where needed) and then the ping would no longer be a bullshit value and this problem is solved. Or just add some artific...
maurits150 Developing Reply
[QUOTE=Apickx;51996761]I wish the SQL tutorial had a bit about injection and how to avoid it.[/QUOTE] Yea that SQL tutorial is actually pretty terrible when it comes to injection, not something I want to host like that. I'll add a big warning to it. - Nice work on the t...
maurits150 Developing Reply
[QUOTE=MasterDaPro11;51996521]What method did you use to capture the sound emitted near the camera? I understand the DSP and the rest of it, but your method of capturing the original sounds escapes me. I would assume you overwrote [img]http://wiki.garrysmod.com/favicon.ico[/im...
maurits150 Developing Reply
[QUOTE=Metamist;51985817]r_flushlod[/QUOTE] Tends to crash unfortunately.
maurits150 Developing Reply
[QUOTE=Robotboy655;51763904]Well if your network actively interferes with Steam to game server networking then I can see how it may be "slow, hang or unresponsive". You should try the new system in the Dev branch though, see if it makes any difference. As for "priority",...
maurits150 Developing Reply
I guess it kind of makes sense now, considering the way gma files are structured, that you need to read each GMA file to figure out which maps and what not are in there. I'm just hoping that it's only reading the necessary headers (containing file names, sizes, crc, etc) an...
maurits150 Developing Reply
Just wondering; Does GMod read every GMA file when starting up the game and it starts checking for subscriptions? Or am I interpreting this wrong? At the moment fetching subscriptions for 413 addons (~25GB cuz yay ppl want cars) freezes the menu for 2 minutes and 33 second...
maurits150 Developing Reply
[QUOTE=helifreak;51914654] [url]https://mega.nz/#!ONlkxLhQ!w9afYYX78LNiSl8ZG5BO3Z-LGxkA7DF062Wc8Orefcs[/url] [/QUOTE] Kinda sucks that it takes 6+ hours to download.
maurits150 Garry's Mod General Reply
[QUOTE=maurits150;51756340]Will game.MountGMA ever be removed or can we maybe get rid of its deprecation status? I'd like to use it in my own mounting solution.[/QUOTE] Serverside that is.
maurits150 Developing Reply
Will game.MountGMA ever be removed or can we maybe get rid of its deprecation status? I'd like to use it in my own mounting solution.
maurits150 Developing Reply
Anyone anyone else experiencing that mounting stuff from /addons/ folder (legacy addon.txt ones) is much slower on linux than on windows? Like on windows I can mount 100+ addons in a second from a HDD, while on linux running an SSD it only goes at like 5 addons/second. T...
maurits150 Developing Reply
Disable autosave maybe?
maurits150 Level Design Reply
RIP server [thumb]https://maurits.tv/data/img/September%202016/2016-09-08_22-44-37_bzJKbA80Ie.png[/thumb] [thumb]https://maurits.tv/data/img/September%202016/2016-09-08_22-59-42_DQ7Yqm0PdW.jpg[/thumb] [thumb]https://maurits.tv/data/img/September%202016/2016-09-08_22-42-45...
maurits150 Addons Reply
I'd like to take advantage of the ability to leave away extra parentheses or junk. All without sacrificing readability obviously. Also C style operators are gross. I prefer that my .lua files (not .glua) can be interpreted in a native lua environment too.
maurits150 Developing Reply
This game with increased token generation and increased build time turns into massive wall fight quickly, and it's fun as hell. [img]https://maurits.tv/data/img/August%202016/2016-08-30_02-19-47_yRXPL1uWVs.jpg[/img] [img]https://maurits.tv/data/img/August%202016/2016-08-30...
maurits150 Addons Reply
DarkRP Community
maurits150 Garry's Mod General Reply
[QUOTE=wad wafes;50955928] Advert .[/QUOTE] The deal looks good enough but the panel URL is the same as TCAdmin (/Interface/Base/Login.aspx?ReturnUrl=%2fInterface%2fBase%2fHome.aspx) so doesn't look like a true custom panel. I also doubt you can protect against -all- s...
maurits150 Garry's Mod General Reply
Example gamemode using [url=https://github.com/maurits150/simploo]simploo[/url] classes instead of plain tables. [url]https://github.com/maurits150/garrysmod_endeavor/tree/master/gamemode/endeavor[/url]
maurits150 Developing Reply
Try [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/IsFirstTimePredicted]IsFirstTimePredicted[/url]
maurits150 Developing Reply
[img]https://maurits.tv/data/img/August%202016/2016-08-14_16-16-50_5MqDn8gCXb.png[/img] Each model exists out of multiple files, so if you have 4k .mdl's it will actually have like 16k files added. That's over the limit of 8k. [editline]14th August 2016[/editline] Either ...
maurits150 Garry's Mod General Reply
[QUOTE=Tomelyr;50827729]You could check the [URL="https://github.com/FPtje/gmosh"]gmosh sourcecode[/URL]. It contains an function to directly download an GMA and extract it[/QUOTE] Thanks, I see it's just LZMA compressed. Should be easy.
maurits150 Developing Reply
How to extract GMA files that come directly from the steam cdn? For example: [url]http://cloud-3.steamusercontent.com/ugc/396676773816676270/DC73539672AC88F134C3CE283E5D2A4C70BD1D26/[/url] which is this addon: [url]https://steamcommunity.com/sharedfiles/filedetails/?id=1...
maurits150 Developing Reply
[QUOTE=Ott;50813011][code]] lua_run_cl print("─") ─ ] lua_run_cl print(#"─") 3 [/code] sigh[/QUOTE] Unicode characters use more then one byte.
maurits150 Developing Reply
[QUOTE=Noi;50810652]But then what number should they pick? 100? 150? 400? 500? 30 minutes?[/QUOTE] Take your AUS vps and ping your US server. That's the ping you should add. Basically assuming the program that runs on your AU server already contacts the US server to get...
maurits150 Garry's Mod General Reply
[QUOTE=Noi;50810627]It's not source engine that sends the info, but yeah, it's easy.[/QUOTE] If they've written their own program to replicate A2S info there's even less excuse to not be able to do this haha.
maurits150 Garry's Mod General Reply
I'm fine with making mirrors to overcome GeoIP issues with valve master servers. But if you're going through the effort to replicate player information, then also go through the effort of displaying the right latency by artificially delaying packets. [url=https://maurits.tv...
maurits150 Garry's Mod General Reply
Might be [url]https://maurits.tv/data/file/May%202016/waterworld.bsp[/url] ? [editline]4th May 2016[/editline] I actually don't recall an underwater base, but it has tons of water, small islands, and an island with gold bars, and a ship in the water [editline]4th May 2016[/...
maurits150 Garry's Mod General Reply
Just putting it out here that I recently rewrote my 'Simple Lua Object Orientation' library that I initially posted about in this thread a couple of years ago and that it's just so much better in terms of features, code quality and performance compared to the previous version,...
maurits150 Developing Reply
Why is it that my FPS is like 30% higher when I open chat, even when running the base gamemode (see vid in url). [URL="https://maurits.tv/data/file/January%202016/2016-01-20_18-54-32_9v3HKxTmRKoWhNEa.mp4"]https://maurits.tv/data/file/January%202016/2016-01-20_18-54-32_9v3HK...
maurits150 Developing Reply
Guess I'm not out of touch then. Thanks for the research guys, looking forward to a fix. [url]https://github.com/Facepunch/garrysmod-issues/issues/2352[/url] for reference
maurits150 Developing Reply
[QUOTE=Robotboy655;49405771]modelprecache table is at least 4k [/QUOTE] Man I'm way out of touch.
maurits150 Developing Reply
How hard is it to change modelprecache stringtable from 2048 to 8192? I mean the lua files stringtable has been upgraded from 2k to 8k so any reason this can't be done for models? I see Kilburn made that change through so I'm not expecting Robotboy to know or change it but ...
maurits150 Developing Reply
[QUOTE=BillyOnWiiU;49209347]Does anyone know how to run 2 Garry's Mod windows at the same time? I've heard that it can be done, but I'm still skeptical.[/QUOTE] Sandboxie is one way.
maurits150 Developing Reply
Nice [url]http://garrysmodstock.exchange/invite/iow1rdRtYrui5N3lmqNLk4Yt9qqEhYOmteMhCZNHFkDlhdz5wNw43tMPwZaZVFag[/url] [url]http://garrysmodstock.exchange/invite/mU9PpxySfpyeHeTZFTeNgqKYYlBfk504QBTWZ00ZhELUM470rjufHkTtonfiUyMF[/url] [url]http://garrysm...
maurits150 Garry's Mod General Reply
[QUOTE=SuperiorGamer;48787915]Will GMod ever support loading screen interaction?[/QUOTE] not unless it's moved to a whole separate thread
maurits150 Developing Reply
[QUOTE=Exploderguy;48723859]How big is your downloads folder?[/QUOTE] Not even a terabyte surprisingly. It includes every download I've done using my browser (so no torrents), also excluding duplicate files because I have a tool to remove those.
maurits150 Addons Reply
[QUOTE=ScarehGhoost;48715237]Maybe [url=http://wiki.garrysmod.com/page/ents/FindByClass]This?[/url] [code] for k,v in pairs(ents.FindByClass("prop_static")) do print(v:GetPos()) print(v:GetAng()) end [/code][/QUOTE] I wish it was that easy, but static props ar...
maurits150 Developing Reply
[QUOTE=Segecos;48711391]Bought a script and got a shitty txt file. Thanks guys.[/QUOTE] Did you buy the $500 one or the $0.01 one?
maurits150 Developing Reply
Just wondering if there's a way to get a list of prop_statics in the map and their positions/angles without reading the BSP lump. Thanks.
maurits150 Developing Reply
I've saved every download I've done since 2008 and I still remember downloading this so.. Enjoy [url]https://maurits.tv/data/file/September%202015/gmod_pccamp_collection.zip[/url]
maurits150 Addons Reply
This is actually possible with metatables as long as the value you want can be calculated based off the key you lookup. But you already got a good solution so yeah.
maurits150 Developing Reply
Looks like you guys already found mine.
maurits150 Developing Reply
Can't just check if ctrl+v is pressed before allowing paste or something? [editline]8th September 2015[/editline] And apple+v or whatever it is on mac
maurits150 Developing Reply
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/util/PixelVisible]util.PixelVisible[/url] [editline]6th September 2015[/editline] It's not really using BSP culling but still much better than a trace
maurits150 Developing Reply
[del]net.WriteEntity(LocalPlayer()) should just throw a big ass error.[/del] guess that would actually break some legit things too
maurits150 Developing Reply
No one fired up wireshark yet?
maurits150 Developing Reply
[QUOTE=Puzzle;48143954] Want OOP for Lua? Use a library like [url]https://github.com/maurits150/simploo[/url] or make your own; the language is powerful.[/QUOTE] I really want to do a rewrite on that in the coming months because the code is pretty confusing and it could b...
maurits150 Developing Reply
An engine that isn't over 10 years old and can handle more than 8k entities, doesn't get unstable over time, allows bigger maps, does proper multi-threading (really important), more flexible in general. After that we can focus on the little things.
maurits150 Developing Reply
[quote] sv_region This console variable is queried by the server browser to determine what part of the world the server is in. This cvar might be deprecated, it has been removed from the HLDS (but still exists in SRCDS) and the Steam server browser doesn't have an optio...
maurits150 Garry's Mod General Reply
Perhaps just some kind of way to allow people to manually accept workshop updates and to do a diff on the content like you can do on github and stuff. Or just a general content browser. Backdoors usually get added unnoticed using an update.
maurits150 Developing Reply
I remember with the old console if you had an error in a Think hook your game would pretty much crash.
maurits150 Developing Reply
[QUOTE=DarthTealc;47538327]Any tips on SetSubMaterial? I want to place a 'decal' on a player's shirt but I'm only able to replace the material completely. I tried creating a Lua material (with the aim of applying the current material + the 'decal') but I couldn't get it to app...
maurits150 Developing Reply
[QUOTE=CodingBeast;47538265]If they were going to allow an alternative payment method, then they should definitely add support for [URL="https://stripe.com"]Stripe[/URL]. Great API and [URL="https://stripe.com/bitcoin"]BitCoin[/URL] option too.[/QUOTE] That would be even b...
maurits150 Developing Reply
Been through this before but maybe just add Bitcoin because if you use the blockchain API it's the [url=https://blockchain.info/nl/api/api_receive]easiest shit in the world to add completely free without any fees[/url]. I could do it in 15 minutes. Just add a text field in se...
maurits150 Developing Reply
[QUOTE=Willox;47512886]Everybody knows Maurits went AWOL after the downfall of the wiki.[/QUOTE] I don't spend as many hours on GMod anymore as I did a couple of years ago. But I'm not sure how the wiki has anything to with it; I actually had the mirror up [url=http://face...
maurits150 Developing Reply
[QUOTE=Bo98;47512248]Could try appending a different query string each time such as: [lua]url.."?"..os.time()[/lua][/QUOTE] I tried that but it doesn't seem to work, yet it works in HTTP requester (firefox addon). This is pretty confusing. I guess I'm gonna have to wir...
maurits150 Developing Reply
Function http.Fetch seems to be caching it's results when loading static files. How do I disable it?
maurits150 Developing Reply
I actually think the solution to the server browser problem isn't to order or prioritize, but instead to try to show as many possibilities as possible. Basically the legacy server browser was great because you could see tons of different servers with different varieties all a...
maurits150 Developing Reply
Any way to display more than 20 addons per page?
maurits150 Garry's Mod General Reply
You still need to fix the images on garrysmod.org urls (if you can). Like: [img]https://maurits.tv/data/img/March%202015/2015-03-31_17-32-32.png[/img]
maurits150 Garry's Mod General Reply
I can already see them popping up with correct info. Awesome!
maurits150 Garry's Mod General Reply
I forgot to fetch the most important thing, the title! [php] // Fetch title foreach($divs as $div) { if($div->getAttribute('id') == 'downloadtitle') { $downloadData['title'] = $div->getElementsByTagName('h2')->item(0)->nodeValue; } } [/php] I'm sure you'...
maurits150 Garry's Mod General Reply
Here's my PoC. I didn't use any fancy frameworks to write this one so you can probably substitute some functions for more reliable and better error reporting ones. [php] <?php function extractDownloadFromHtml($html) { // Initialize return array. $downloadData = arra...
maurits150 Garry's Mod General Reply
I just noticed that the wayback machine api seems broken and ignores some url parameters. I'm not sure if you can fix that but otherwise you just gotta use the "web.archive.org/web/http://www.garrysmod.org/downloads/?a=view&id=<id>" url format directly.
maurits150 Garry's Mod General Reply
How many TB harddrives do I have to buy to get each and every file? I guess you can also programmatically try to rip tons of descriptions and authors from web.archive.com. [url]http://web.archive.org/web/20120920093113/http://www.garrysmod.org/downloads/?a=list&b=downloa...
maurits150 Garry's Mod General Reply
[QUOTE=Kasperky;47416453]HAHHA I GOT YOUR RCON PASSWORD AND IP PORT[/QUOTE] [vid]https://maurits.tv/data/img/March%202015/2015-03-29_19-30-07.webm[/vid] Enjoy this special montage that took no more effort to make then your post did. [QUOTE=Strideynet;47416509]That'...
maurits150 Garry's Mod General Reply
Just run srcds without the -console parameter and you end up with this?: [img]http://i46.tinypic.com/34pgf47.jpg[/img]
maurits150 Garry's Mod General Reply
Does anyone know how I can export multiple 'ergs' at the same time to an smd? I have a scene that loads just fine but it's like a jigsaw puzzle of ergs. I just want a simple snapshot of that so I can trace it over in hammer.
maurits150 Modelling Reply
[QUOTE=EthanTheGreat;47010006] Here's an overview of the roads I've been creating using 3ds max, exported into hammer.[/QUOTE] Don't forget about [url=https://developer.valvesoftware.com/wiki/Propper]Propper[/url]. It will probably make your life easier.
maurits150 Developing Reply
Anyone even bothered to make a pcap of it?
maurits150 Garry's Mod General Reply
[QUOTE=ph:lxyz;46791025]Those maps are also good! Sure, take a look at it and see if you can figure out what is up with it. The error is something like "pStudioHdr is NULL in GetSequenceLinearMotion()" if I remember correctly. I tried compiling a source sdk 2013 mod sepa...
maurits150 Garry's Mod General Reply
[QUOTE=Donkie;46721567]Okay I decided to debunk this master server thing once and for all. I've never been able to find my own community's servers in the serverbrowser since atleast a year back (I live in Sweden, my IP address points to Sweden). I find around 2500 servers i...
maurits150 Developing Reply
If the files are still there but just the metadata has gone we can simply write a program that goes through all zip files and extracts info.txt files from addons and gamemodes. For other things we can easily write scripts to determine the kind of content. There is really nothi...
maurits150 Garry's Mod General Reply
[QUOTE=Map in a box;46601701]There was someone on the programming waywo that did that but a little better syntax IMO. Can't remember who, though[/QUOTE] [url]https://github.com/maurits150/simploo[/url] ?
maurits150 Developing Reply
You don't have permission to view this result. It's probably in a forum that your account has no access to.
Easy way: iptables -A INPUT -s <ip> -j DROP Simply blocks the ip.
maurits150 Help & Support Reply
More bored. [lua] getmetatable("").__add = function(self, str) return self .. str end print("abc" + "def" + "ghi") -- abcdefghi getmetatable("").__mul = function(self, u) return string.rep(self, u) end print("abc" * 5 + " " * 4 + "test") -- abcabcabcabcabc...
maurits150 Developing Reply
Just bored. [lua] local mt = { __index = function(self, key) local tbl = {} setmetatable(tbl, getmetatable(self)) rawset(self, key, tbl) return tbl end; } local auto_nest = {}; setmetatable(auto_nest, mt); auto_ne...
maurits150 Developing Reply