• What Are You Working On? Mesh Edition - August 2012
    650 replies, posted
[QUOTE=slayer3032;37062255]This is much more unlikely under a linux server, the most damage it could probably do is read your gameservers and your script could be leaked. I had posted that I didn't like to run my own webservers on the previous page but since it was the last post on a page like 75% of my posts end up being it's pretty easy to overlook it.[/QUOTE] How I see it (being a pretty well off programmer in multiple languages) is, if you want to attack someone you will specialize the attack for them if that makes sense. I would personally look to exploit in linux specifically rather then just uploading some shitty shell that I found on hack forums. In all honesty if you just take basic security precautions you can protect your community from the majority. It's the 1% you need to worry about, but it's always been that way and more then likely always will be that way. I would also like to point out that what you are saying about not hosting everything together seems pretty logical. However, if you were to just buy a nice machine (or colocate a nice machine, whatever you do) and buy some sort of DDoS protection, would you not be better off? Assuming you aren't hosting shit on root (or in Windows, Administrator), and have your iptables (firewall) set up correctly + this DDoS protection i don't really see how you could go wrong.
More progress, hotter laptop. Tweaked Particles and running anims and modified some hud elements. [media]http://www.youtube.com/watch?v=FMCb0t9b5rI&feature=youtu.be[/media]
You can't really make it around permissions in linux, what I was more talking about is that the overall potential of the box being compromised is limited to the process/user that is compromised and anything with read access for that user where as with windows you can pretty much just get access to just about anything. DDoS protection will only work up until your Datacenter's ISP decides it's gameover which happened to me personally. Sure, that's probably not going to happen to [i]you[/i] but when choosing and setting up things you really shouldn't just rely on something bad not happening to you. Things go wrong, shit happens and everything in the world won't stop that. I just don't see what the point in not doing it is, sure you could save a few bucks but unless you're in a position where your community can hardly support it's self I don't see why you would want to host everything on the same box. [editline]3rd August 2012[/editline] To get back on topic, I've been working on Assmod 2.3 and have been trying to find a little inspiration to finish it up. What admin mods have you guys been using on your servers? Is anyone bringing back Evolve? Would anyone be interested in making some Assmod plugins? I kinda of want to go through and update/recreate any of the 3rd party Assmod plugins that everyone used and liked.. I really don't feel like it though because things like the teleport and mute plugins really put me off since there isn't a real nice way to do them.
Since ULX exists I had it on my server and I was nearly always happy with it. Although, since beggining of this year I started having problems with it - no integration with FPP, outdated plugins etc. After realise of GMOD13 I'll move to AssMod and I already got many ideas for plugins... but I still got much to learn about lua. I dream about one particular plugin: AutoSave that would use Advanced Duplicator 2 to save players contraption after he lost connection with a server.
If we always bitch about how Lua isn't an acronym, why is this still the L.U.A. Scripting forum?
[QUOTE=Agent766;37067425]If we always bitch about how Lua isn't an acronym, why is this still the L.U.A. Scripting forum?[/QUOTE] Garry named it that way to troll them.
[QUOTE=Agent766;37067425]If we always bitch about how Lua isn't an acronym, why is this still the L.U.A. Scripting forum?[/QUOTE] L.U.A = Let Us Abbreviate
snip wrong thread
[QUOTE=Grocel;37072219]L.U.A = Let Us Abbreviate[/QUOTE] Let's Use an Acronym also, stole an html widget to read from a twitter feed and put it in an html panel, but I read it as a txt so I get to edit the css styles before I set up the panel [t]http://puu.sh/Om2X[/t] ignore the background, completely unrelated
still trying to know helicopter physics, but It is going srsly wrong from now. :| ......... [media]http://www.youtube.com/watch?v=NgTmVliVHOo[/media] [B]Edited :[/B] OH MY GOD WHERE ARE YOU GOING? [media]http://www.youtube.com/watch?v=XYZ2ONk4Nu8[/media]
[QUOTE=rebel1324;37064481]More progress, hotter laptop. Tweaked Particles and running anims and modified some hud elements. [media]http://www.youtube.com/watch?v=FMCb0t9b5rI&feature=youtu.be[/media][/QUOTE] that vignette seems way too strong
Holopad's in a decent enough state (IMO) for a public test, so if any of you guys are interested in trying it out, testing it or telling me I'm a shit coder (:v:), pick up a copy [url=http://facepunch.com/showthread.php?t=1160473&p=37078831&viewfull=1#post37078831]here[/url]. And thanks to this section for all the support so far! Here's a question though, where's the best place to put a beta/wip thread? I don't want to shit up the addon releases forum, because it isn't really finished.
Working on a derivative of brainfuck ( [url]http://en.wikipedia.org/wiki/Brainfuck[/url] ) that uses a stack, plus a couple operators such as Sum, Difference, and most bitwise operators. I've got the I/O system to work to near perfection, with the exception to invalid ASCII codes being outputted every now and again. Snapshot : [url]http://pastebin.com/e8vTdGaG[/url] Usage : [lua] local HelloWorld = Obelisk.NewInstance( ) HelloWorld:Set( Code_Goes_Here ) HelloWorld:Input( Input_Goes_Here ) HelloWorld:Interpret( ) [/lua] Some codes you can try out: [CODE]++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.[/CODE] -> Outputs Hello World [CODE],[.,][/CODE] -> Outputs whatever you put as an input. Is it worth me doing tutorials for people?
Reminds me of when I made a brainfuck to Lua converter: [url]http://pastebin.com/6b0RB69V[/url]
Figured coroutines work in gmod now, messed with the since. [code] > function makeNext(tbl) >> return coroutine.wrap(function() >> for i = 1, #tbl do >> coroutine.yield(tbl[i]) >> end >> end) >> end > iter = makeNext({"PENIS", 576, 6846, 684, function() end}) > return iter() PENIS > return iter() 576 > return iter() 6846 > return iter() 684 > iter = makeNext({"PENIS", 576, 6846, 684, function() end}) > for val in iter do print(val) end PENIS 576 6846 684 function: 004496A0 > [/code] These things seem to be super damn awesome, I have yet no idea to use them yet, except procedural calculations and iterators. [editline]4th August 2012[/editline] What the actual fuck [code] > function makeNext(tbl) >> return coroutine.wrap(function(a) >> for i = 1+a, #tbl do >> coroutine.yield(tbl[i]) >> end >> end) >> end > iter = makeNext({"PENIS", 576, 6846, 684, function() end}) > startOffset = 2 > for val, whatever in iter, startOffset do print(val) end 6846 684 function: 00450E08 [/code]
What am I working on? [quote][img]http://cloud-2.steampowered.com/ugc/541808684872565242/CC80541E22C85183EAE947127737A01078BFDFA7/[/img][/quote] Fixing everything. Client sided everything isn't loading. I suppose it's now a good time to go back to normal Garry's Mod. The client side isn't loading for the LoZ addon, and for that. No mesh is being shown, yet there's collision.
[video=youtube;dpqII_2fo08]http://www.youtube.com/watch?v=dpqII_2fo08[/video] It modifies the actual nodegraph, so you don't need my addon to use the modified nodegraph.
[QUOTE=Silverlan;37085763][video=youtube;dpqII_2fo08]http://www.youtube.com/watch?v=dpqII_2fo08[/video] It modifies the actual nodegraph, so you don't need my addon to use the modified nodegraph.[/QUOTE] Winner, no more word to say.
[QUOTE=Silverlan;37085763][video=youtube;dpqII_2fo08]http://www.youtube.com/watch?v=dpqII_2fo08[/video] It modifies the actual nodegraph, so you don't need my addon to use the modified nodegraph.[/QUOTE] You mean you aren't depending on gm_navigation for this? Can I ask how? Sorry, just curious.
probably just creating/modifying node entities?
[QUOTE=JustSoFaded;37086559]You mean you aren't depending on gm_navigation for this? Can I ask how? Sorry, just curious.[/QUOTE] Since garry implemented binary file reading / writing I can just read the contents of an .ain file and modify it. [QUOTE=Map in a box;37086569]probably just creating/modifying node entities?[/QUOTE] Nodes aren't real entities. Trying to create them at runtime crashes the game. [EDITLINE]-[/EDITLINE] [URL=http://www.facepunch.com/showthread.php?t=1203123&p=37086659]Released.[/URL]
I've been working on Customizable Weaponry lately, and I added physical bullets. (been done before, but who cares) [media]http://www.youtube.com/watch?v=iKmkfXZjZhg[/media] List of shit it currently has: bullet travel (obviously) bullet drop caliber-specific muzzle velocity surface penetration (also remains physical after penetrating a surface) The reason why the bullet drop on the AS VAL is so prominent, is because it uses cold-loaded 9x39MM ammunition, which is really slow. (320 m/s, for comparison 5.56x45MM is 915 m/s) After that I also decided to add bipods. [img_thumb]http://i.imgur.com/wzNTD.jpg[/img_thumb] They're pretty simple in terms of usage - you equip them, walk up to a waist-high wall/prop/etc. and stand still. The effects of it (recoil reduction by 60% when not aiming and 70% when aiming as well as a very big accuracy increase when not aiming) will kick in automatically.
Fuck. Everyone's making swep bases. Me included :/ God damnit, at the time I made FAdmin, everyone was making admin mods. It's like some trend is going around every once in a while.
[QUOTE=FPtje;37088366]Fuck. Everyone's making swep bases. Me included :/ God damnit, at the time I made FAdmin, everyone was making admin mods. It's like some trend is going around every once in a while.[/QUOTE] I'm mostly a SWEP maker and I've been updating these SWEPs for the past 2 years.
[QUOTE=LEETNOOB;37088426]I'm mostly a SWEP maker and I've been updating these SWEPs for the past 2 years.[/QUOTE] I know, but I'm also talking about the other guy. I'm not really a SWEP maker, some things really piss me off about it (stuttering in GetViewModelPosition anyone?) It's not really a bad thing though. It's nice to see some competition.
[QUOTE=FPtje;37088511]I know, but I'm also talking about the other guy. I'm not really a SWEP maker, some things really piss me off about it (stuttering in GetViewModelPosition anyone?) It's not really a bad thing though. It's nice to see some competition.[/QUOTE] The stuttering in GetViewModelPosition is caused by SwayScale. The higher it is, the more stuttering you get.
[QUOTE=LEETNOOB;37088690]The stuttering in GetViewModelPosition is caused by SwayScale. The higher it is, the more stuttering you get.[/QUOTE] This post cured me of my Parkinson's.
[QUOTE=FPtje;37089107]This post cured me of my Parkinson's.[/QUOTE] You should replace the stock source engine weapon sway with some custom one. :>
does the damage decrease after piercing something? and maybe add a little extra spread to the bullet after it goes through something
[QUOTE=comet1337;37090883]does the damage decrease after piercing something? and maybe add a little extra spread to the bullet after it goes through something[/QUOTE] Yeah, damage is cut in half after it penetrates something. Hm, I'll do that right now. Edit: Done.
Sorry, you need to Log In to post a reply to this thread.