• What Are You Working On? Mesh Edition - August 2012
    650 replies, posted
[QUOTE=Legend286;37124811]That would be so slow using stencils, and how would you ever do collisions like that?[/QUOTE] With a render target it'd work and I can think of a few ways to do collision but I don't understand how him shooting holes in a washing machine translates to worms[img]http://facepunch.com/fp/emoot/tinfoil.gif[/img]
Collision meshes?
It's not worms. And it won't be... I can't think of a way to even do that honestly, stencils just render shit per pixel... totally unrelated to the vertex which would be required for a collision mesh of any sort. Anyways where does the new client lua unpack to folder-wise? I can't find it on the client anywhere. It used to be in the lua_temp folder... I need to find where they are to include files :(
[QUOTE=ralle105;37125031]With a render target it'd work and I can think of a few ways to do collision but I don't understand how him shooting holes in a washing machine translates to worms[img]http://facepunch.com/fp/emoot/tinfoil.gif[/img][/QUOTE] I would just use something more reliable, like the mesh library. You could do the deformation with quadtrees and also do the collision with that new physicsinitmesh (or just write it yourself anyway.)
[QUOTE=Legend286;37125384]I would just use something more reliable, like the mesh library. You could do the deformation with quadtrees and also do the collision with that new physicsinitmesh (or just write it yourself anyway.)[/QUOTE] Too bad generating a mesh with IMesh is fairly slow. And rendering one with the the mesh library is terribly inefficient.
[QUOTE=Spencer Sharkey;37125469]Too bad generating a mesh with IMesh is fairly slow. And rendering one with the the mesh library is terribly inefficient.[/QUOTE] Blame LUA I guess, it's fine in C++.
since it's 2D, you create a 2D mesh of the terrain and you check for collisions with the terrain. almost all the attacks in worms create an elliptical hole. using ray - ellipses collision detection, you don't need to manipulate the collision mesh you only need to store the holes in the terrain. sorry if I can't explain it very well. I created a worms clone in love2D before. I'd post it but it's on a different computer.
[QUOTE=Hentie;37125968]since it's 2D, you create a 2D mesh of the terrain and you check for collisions with the terrain. almost all the attacks in worms create an elliptical hole. using ray - ellipses collision detection, you don't need to manipulate the collision mesh you only need to store the holes in the terrain. sorry if I can't explain it very well. I created a worms clone in love2D before. I'd post it but it's on a different computer.[/QUOTE] Isn't worms had a pixel based terrain rather than a mesh? Which is easier way to do collisions and stuff like that...
I'm working on an anti-cheat for a rather famous TTT server. It's going great so far: the server sends a lua file using datastream to the client on PlayerInitialSpawn, that checks for function detours, upvalues, packages, console commands ran, CVars, and malicious files. Already caught a lot of cheaters, most of them was using a hack called "Hemi-Hacks". [IMG]http://crowbargaming.com/ACSample.png[/IMG]
Hemi-hacks... thats new. Neat! RTS Camera using the new Entity Driving. Really makes life easier if you ask me. [video=youtube;V46LqFdJVRE]http://www.youtube.com/watch?v=V46LqFdJVRE&feature=plcp[/video] Still a few kinks to work out (like making sure you don't go through walls... that's easy though), so far the only thing it's doing extra is lerp'ing the Z value. I should mute my music when I record...
[QUOTE=I am God.;37127111]I'm working on an anti-cheat for a rather famous TTT server. It's going great so far: the server sends a lua file using datastream to the client on PlayerInitialSpawn, that checks for function detours, upvalues, packages, console commands ran, CVars, and malicious files. Already caught a lot of cheaters, most of them was using a hack called "Hemi-Hacks". [IMG]http://crowbargaming.com/ACSample.png[/IMG][/QUOTE] [url]http://pastebin.com/SJucd6CC[/url]
[QUOTE=_Chewgum;37128321][url]http://pastebin.com/SJucd6CC[/url][/QUOTE] Huh, gmcl_deco is still used?
Wow, whoever wrote that didn't even try to avoid getting detected :v:
What the fuck, a global table called HH, the guy stupid?
Made a new HUD for my Fighting RP. It's the second HUD I've made. Before: [IMG_THUMB]http://cloud-2.steampowered.com/ugc/918985153673960159/C61D5ABFAD5C67D19F76E8475A3D8C016DD2B200/1024x480.resizedimage[/IMG_THUMB] After: [IMG_THUMB]http://cloud-2.steampowered.com/ugc/918985153673954188/78F743CE9C6946136D8FD6BFB03F4F21714359FA/1024x480.resizedimage[/IMG_THUMB] The very top bar is for the XP, under it is the level compared with the max level. Any bits of missing infomation such as the armor, max HP and money are due to the fact that the MySQLOO module is broke for beta.
[QUOTE=Spencer Sharkey;37127363]Hemi-hacks... thats new. Neat! RTS Camera using the new Entity Driving. Really makes life easier if you ask me. [video=youtube;V46LqFdJVRE]http://www.youtube.com/watch?v=V46LqFdJVRE&feature=plcp[/video] Still a few kinks to work out (like making sure you don't go through walls... that's easy though), so far the only thing it's doing extra is lerp'ing the Z value. I should mute my music when I record...[/QUOTE] What song is that? :3
[QUOTE=Remscar;37130836]What song is that? :3[/QUOTE] Mason vs. Princess Superstar - Perfect (Exceeder) [url]http://www.youtube.com/watch?v=nZl165WDjDA[/url]
[QUOTE=Wizard of Ass;37128530]Wow, whoever wrote that didn't even try to avoid getting detected :v:[/QUOTE] [url]http://steamcommunity.com/profiles/76561198012916768[/url]
I've spent the day sort of learning the inner workings of lua. I have managed to compile a lua engine that works and loads all my lua files. Unfortunatly I can't really go anywhere with it because I don't have any other project i could embed it in :(. [img]http://i.imgur.com/AGEdN.png[/img] [editline]asd[/editline] Ahg, sorry for the huge image.
[media]http://www.youtube.com/watch?v=vo0oMSHCzxY[/media] Added bipods, a near wall effect (or whatever you'd like to call it) and improved the running animations.
That's awesome, maybe move the bipod icon so it's not in the middle of the sight when you aim through the scope and whatnot? :D
[QUOTE=Spencer Sharkey;37139593]That's awesome, maybe move the bipod icon so it's not in the middle of the sight when you aim through the scope and whatnot? :D[/QUOTE] Yeah, people also suggested that I should also make it slightly transparent. I guess I could experiment with both at the same time.
[QUOTE=Spencer Sharkey;37139593]That's awesome, maybe move the bipod icon so it's not in the middle of the sight when you aim through the scope and whatnot? :D[/QUOTE] Agreed. (It said don't post about this when I rated it so I had to) Also I agree with people dumbing this xP
[QUOTE=Wizard of Ass;37128530]Wow, whoever wrote that didn't even try to avoid getting detected :v:[/QUOTE] Most anticheats are blacklists so actually not much would catch it if it wasn't leaked.
[QUOTE=Map in a box;37143619]Most anticheats are blacklists so actually not much would catch it if it wasn't leaked.[/QUOTE] local up, val = debug.GetUpValue(hook.Call, 1) if( up != "Hooks" ) then /*ban that dude*/ end
[QUOTE=JustSoFaded;37144483]local up, val = debug.GetUpValue(hook.Call, 1) if( up != "Hooks" ) then /*ban that dude*/ end[/QUOTE] Do I sense the next e-penis contest starting?
[QUOTE=JustSoFaded;37144483]local up, val = debug.GetUpValue(hook.Call, 1) if( up != "Hooks" ) then /*ban that dude*/ end[/QUOTE] That's not a blacklist.
anyone have a copy of the module list rabbish posted so I can copy it to glua? [editline]9th August 2012[/editline] nvm I found it, [quote=raBBish;36728446]Facepunch search sucks balls, so have this list compiled from google search, cache and wayback machine. Just in case someone wants to make a website with a list of them. It's probably missing some modules due to holes in the cache and archive (both only had the first page of binary modules) iphax: [url]http://facepunch.com/showthread.php?t=1151450[/url] gm_luaerror: [url]http://facepunch.com/showthread.php?t=859872[/url] gmcl_downloadfilter: [url]http://facepunch.com/showthread.php?t=949401[/url] gm_bass_edit: [url]http://facepunch.com/showthread.php?t=1159184[/url] gm_mysqloo: [url]http://facepunch.com/showthread.php?t=933647[/url] gm_debugger: [url]http://facepunch.com/showthread.php?t=1005357[/url] gmsv_rcon: [url]http://facepunch.com/showthread.php?t=948263[/url] gm_process: [url]http://facepunch.com/showthread.php?t=1195161[/url] gmcl_joystick: [url]http://facepunch.com/showthread.php?t=403669[/url] gm_navigation: [url]http://facepunch.com/showthread.php?t=953805[/url] gmsv_timeout: [url]http://facepunch.com/showthread.php?t=803617[/url] gmsv_luamd5: [url]http://facepunch.com/showthread.php?t=965500[/url] gmsv_gatekeeper: [url]http://facepunch.com/showthread.php?t=695636[/url] gm_winapi: [url]http://facepunch.com/showthread.php?t=1056208[/url] gm_steamworks: [url]http://facepunch.com/showthread.php?t=823783[/url] gm_glsock: [url]http://facepunch.com/showthread.php?t=1136961[/url] astar: [url]http://facepunch.com/showthread.php?t=254059[/url] gm_mysql: [url]http://facepunch.com/showthread.php?t=241247[/url] gm_command: [url]http://facepunch.com/showthread.php?t=697445[/url] gm_speak: [url]http://facepunch.com/showthread.php?t=718033[/url] gm_botcontroller and gm_aigraph: [url]http://facepunch.com/showthread.php?t=736452[/url] gm_sourcenet3: [url]http://facepunch.com/showthread.php?t=1040338[/url] gm_enginespew: [url]http://facepunch.com/showthread.php?t=859870[/url] gm_io: [url]http://facepunch.com/showthread.php?t=1171684[/url] gm_oosocks: [url]http://facepunch.com/showthread.php?t=934006[/url] gm_concmdhook: [url]http://facepunch.com/showthread.php?t=994287[/url] gmsv_furryfinder: [url]http://facepunch.com/showthread.php?t=996309[/url] gm_yahm: [url]http://facepunch.com/showthread.php?t=1081654[/url] gm_heap: [url]http://www.facepunch.com/showthread.php?t=977995[/url] gm_clua: [url]http://www.facepunch.com/showthread.php?t=920231[/url] gmcl_g19: [url]http://www.facepunch.com/showthread.php?t=986126[/url] gmsv_gsapi: [url]http://www.facepunch.com/showthread.php?t=996941[/url] gm_queryphys: [url]http://www.facepunch.com/showthread.php?t=949119[/url] gm_sentences: [url]http://www.facepunch.com/showthread.php?t=995054[/url] gmsv_datadesc: [url]http://www.facepunch.com/showthread.php?t=793002[/url] gm_g15: [url]http://www.facepunch.com/showthread.php?t=419645[/url] gm_svn: [url]http://www.facepunch.com/showthread.php?t=774190[/url] gm_cvar2: [url]http://www.facepunch.com/showthread.php?t=729841[/url] gmsv_vphysics (deprecated): [url]http://www.facepunch.com/showthread.php?t=585848[/url] gm_itunes: [url]http://www.facepunch.com/showthread.php?t=835692[/url] gm_litesocket: [url]http://www.facepunch.com/showthread.php?t=986055[/url] gm_crypto I guess: [url]http://www.facepunch.com/showthread.php?t=463999[/url] gm_hio: [url]http://www.facepunch.com/showthread.php?t=970999[/url] gm_curly: [url]http://www.facepunch.com/showthread.php?t=974310[/url] gm_beep: [url]http://www.facepunch.com/showthread.php?t=774379[/url] gm_geoip: [url]http://www.facepunch.com/showthread.php?t=969950[/url] gm_processor: [url]http://www.facepunch.com/showthread.php?t=297017[/url] gm_chrome: [url]http://www.facepunch.com/showthread.php?t=704294[/url] gm_rawio: [url]http://www.facepunch.com/showthread.php?t=463961[/url] gm_luaprof: [url]http://www.facepunch.com/showthread.php?t=742532[/url] gm_cmd: [url]http://facepunch.com/threads/464014[/url] gm_vfs: [url]http://facepunch.com/showthread.php?t=1094565[/url] gm_faceapi: [url]http://facepunch.com/showthread.php?t=1107849[/url] gm_laserjet: [url]http://facepunch.com/showthread.php?t=1155205[/url] gm_python: [url]http://facepunch.com/showthread.php?t=835957[/url] gm_rawpacket: [url]http://facepunch.com/showthread.php?t=888972[/url] gm_hwid: [url]http://facepunch.com/showthread.php?t=1108453[/url] gm_modelinfo: [url]http://facepunch.com/showthread.php?t=802281[/url] gm_console: [url]http://facepunch.com/showthread.php?t=723687[/url] gm_ruby: [url]http://www.facepunch.com/showthread.php?t=839641[/url] luasocket: [url]http://facepunch.com/showthread.php?t=495940[/url] gm_lpeg: [url]http://facepunch.com/showthread.php?t=750140[/url] gmsv_networktables: [url]http://facepunch.com/showthread.php?t=754185[/url] gm_eifaces: [url]http://facepunch.com/showthread.php?t=891824[/url] gmsv_pvs: [url]http://facepunch.com/showthread.php?t=953788[/url] gmcl_renderx: [url]http://facepunch.com/showthread.php?t=620137&page=7[/url] gm_bitflags: [url]http://facepunch.com/threads/1159471[/url] gm_image: [url]http://facepunch.com/threads/730661[/url] gm_memory: [url]http://facepunch.com/threads/520896[/url] gm_zlib_b64: [url]http://facepunch.com/threads/481268[/url] gm_cryptopeepee: [url]http://facepunch.com/threads/1018405[/url] gmsv_bot: [url]http://facepunch.com/threads/330732[/url] winamp: [url]http://www.facepunch.com/showthread.php?t=479470[/url][/quote]
[QUOTE=JustSoFaded;37144483]local up, val = debug.GetUpValue(hook.Call, 1) if( up != "Hooks" ) then /*ban that dude*/ end[/QUOTE] It's debug.getupvalue, not debug.GetUpValue. Also, it's from my hack I made long time ago: [code] local olddebuguv = debug.getupvalue local blockgetupvalues = { "olddebuguv", "blockgetupvalues", } function debug.getupvalue(func,upvalue) local a,b = olddebuguv(func,upvalue) if table.HasValue(blockgetupvalues,a) then print("debug.getupvalue BLOCKED!!!") return end return olddebuguv(func,upvalue) end [/code] You can add your things to that table.
[QUOTE=I am God.;37155256]It's debug.getupvalue, not debug.GetUpValue. Also, it's from my hack I made long time ago: [code] local olddebuguv = debug.getupvalue local blockgetupvalues = { "olddebuguv", "blockgetupvalues", } function debug.getupvalue(func,upvalue) local a,b = olddebuguv(func,upvalue) if table.HasValue(blockgetupvalues,a) then print("debug.getupvalue BLOCKED!!!") return end return olddebuguv(func,upvalue) end [/code] You can add your things to that table.[/QUOTE] if(debug.getinfo(debug.getupvalue).what ~= "C") then... I know you can go even further with all that shit but just saying, easy as fuck to detect.
Sorry, you need to Log In to post a reply to this thread.