• What Are You Working On? V11 -- May 2012 Edition
    355 replies, posted
  • Avatar of CapsAdmin
  • [vid]http://g3.iriz.uk.to/~srcds/webm/gm_flatgrass%202012-5-30%2017-09-06.webm[/vid] more stuff :)
  • Avatar of Feihc
  • [QUOTE=CapsAdmin;36132596][vid]http://dl.dropbox.com/u/27089473/video/gm_flatgrass 2012-5-30 17-09-06.webm[/vid] more stuff :)[/QUOTE] THESE ARE THE THINGS OF NIGHTMARES!!!!!
  • Avatar of Terabit
  • [media]http://www.youtube.com/watch?v=hp_C_IDTOyA[/media] Basically my old smf and mybb addon, but I've start/completed the following. No more modding forum tables. Improved linking accounts. Started xenforo support. Add client tab for information on forum account name, user group, and posts. Started vgui work over again. Improved support for forum controlled server admin. Prefix var for custom prefixes forced by web hosts. In-game forum personal messages. Other stuff I can't think off.
  • Almost kind of useless with Login Thru Steam able to be used on any website - but it is cool nonetheless especially with the added features it has. Especially because it'll work with any server and not some proprietary bullshit. I give you props :>
  • Avatar of Terabit
  • Was checking to to see if their was an update to mybb. It turns out they've become a victim to a deface. [thumb]http://puu.sh/xO1O[/thumb] Turns out the deface page has cloudflare. Looks like the "hackers" don't want their site to go down? That's a laugh.
  • [lua] function ImportMapEnts() local EntityTable = {} for _, v in pairs(file.Find("Contaminant/leveldata/"..game.GetMap().."/*.txt")) do table.Add(EntityTable,ImportFile("Contaminant/leveldata/"..game.GetMap().."/"..v)) end return EntityTable end local function ImportFile(filename) local contents = file.Read(filename) local output = {} local buffer = {} for k1,v1 in pairs(string.Explode(contents,"\n")) do for k2,v2 in pairs(string.Explode(v1,"|")) do buffer["classname"] = v2[1] buffer["location"] = Vector(v2[2],v2[3],v2[4]) table.Add(output,buffer) buffer = {} end end return output end [/lua] Coded it and then forgot why i did in the first place.
  • Avatar of Terabit
  • [QUOTE=Remscar;36136048][lua] function ImportMapEnts() local EntityTable = {} for _, v in pairs(file.Find("Contaminant/leveldata/"..game.GetMap().."/*.txt")) do table.Add(EntityTable,ImportFile("Contaminant/leveldata/"..game.GetMap().."/"..v)) end return EntityTable end local function ImportFile(filename) local contents = file.Read(filename) local output = {} local buffer = {} for k1,v1 in pairs(string.Explode(contents,"\n")) do for k2,v2 in pairs(string.Explode(v1,"|")) do buffer["classname"] = v2[1] buffer["location"] = Vector(v2[2],v2[3],v2[4]) table.Add(output,buffer) buffer = {} end end return output end [/lua] Coded it and then forgot why i did in the first place.[/QUOTE] Why not use glon instead of having to use string.Explode?
  • Avatar of Aide
  • [lua] local function ImportFile(filename) local contents = glon.decode(file.Read(filename)) or {} local output = {} local buffer = {} for k, v in pairs(contents) do buffer[#buffer + 1] = { ent = v.ent, pos = v.pos } table.Add(output, buffer) end return output end [/lua] Thinking something like this. No need to use 2 loops and 2 string.Explodes. If it's gonna end up being a table save it as a table using glon.
  • [QUOTE=Aide;36136425] local function ImportFile(filename) local contents = glon.decode(file.Read(filename)) or {} local output = {} local buffer = {} for k, v in pairs(contents) do buffer[#buffer + 1] = { ent = v.ent, pos = v.pos } table.Add(output, buffer) end return outputend Thinking something like this. No need to use 2 loops and 2 string.Explodes. If it's gonna end up being a table save it as a table using glon.[/QUOTE] Never really ever used glon. Good idea. [lua] local function ImportFile(filename) local contents = glon.decode(file.Read(filename)) or {} local output = {} local buffer = {} for k, v in pairs(contents) do buffer = { ent = v.ent, pos = v.pos } table.Add(output, buffer) buffer = {} end return output end [/lua]
  • Avatar of lorde banana
  • [QUOTE=CapsAdmin;36132596][vid]http://dl.dropbox.com/u/27089473/video/gm_flatgrass 2012-5-30 17-09-06.webm[/vid] more stuff :)[/QUOTE] [thumb]http://www.bananatree.im/i/I31k9jVVAgS.png[/thumb] :(!
  • Avatar of Ninja101
  • [QUOTE=Banana Lord.;36137252][thumb]http://www.bananatree.im/i/I31k9jVVAgS.png[/thumb] :(![/QUOTE] Oh great he's killed my dropbox :c [editline]31st May 2012[/editline] [vid]http://g3.iriz.uk.to/~srcds/webm/gm_flatgrass%202012-5-30%2017-09-06.webm[/vid] Re-Upp'd
  • Avatar of zzaacckk
  • [QUOTE=Spencer Sharkey;36135931]Almost kind of useless with Login Thru Steam able to be used on any website - but it is cool nonetheless especially with the added features it has. Especially because it'll work with any server and not some proprietary bullshit. I give you props :>[/QUOTE] Yes, but if your community doesn't focus on just source games (they do minecraft for example) then using the Steam developer API would be stupid.
  • Avatar of gamerpaddy
  • Working on a new Dataline between Arduino and Garrysmod .. damn i need a Serial-Module for gmod.. this TCP-Com program is a 14 days trial version -.- [video=youtube;rFF15mJIQe4]http://www.youtube.com/watch?v=rFF15mJIQe4[/video] ohai the serial connection can handle more.. but im using 9600 BAUD rate.. thats to slow :P
  • [media]http://www.youtube.com/watch?v=WnGHUUoEH4I&feature=youtu.be[/media] Some gameplay from that gamemode called 'Project 5' that I've been working on. Edit: bonus. [media]http://www.youtube.com/watch?v=Jn4r9BaYft4[/media]
  • Avatar of Feihc
  • Yay prediction! Now only if I could put these values to use! [QUOTE] [IMG]http://puu.sh/xXSn[/IMG] [/quote]
  • Avatar of gamerpaddy
  • New Protocol, works better [video=youtube;kMxEyiStvmE]http://www.youtube.com/watch?v=kMxEyiStvmE[/video] how it works? Here is an Example "sab" first char is mode s = set value m = set mode second is PORT A = 3 B = 4 C=5 D=6 ... ... K=13 and third char is Value A= LOW B = HIGH (Arduino return every 10Milliseconds a string,"sa,A5,A4,A3,A2,A1,ea,sd,D3,D4,D5,D6,D7,D8,D9,D10,D 11,D12,D13,se")
  • Avatar of Crap-Head
  • Sooooo, its the 1st. I suppose its time for someone (not me, i suck a such posts), to wipe up a new thread for June?
  • Avatar of Gran PC
  • Yeah prepare a new thread - thanks for reminding me so I can buttwhip the people over at the programming WAYWO too.
  • [TABLE="width: 600, align: center"] [TR] [TD][URL="http://facepunch.com/showthread.php?t=1187879"][IMG]http://4stor.com/storage/new.png[/IMG][/URL] [/TD] [/TR] [/TABLE] [TABLE="width: 100%, align: center"] [TR] [TD][/TD] [/TR] [/TABLE]