Welcome to Open Carnage

A resource for gamers and technology enthusiasts, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time!

Devieth

Member
  • Content count

    113
  • Joined

  • Last visited

  • Raffle Tickets

    0

5 Followers

About Devieth

  • Birthday 04/12/1995

Extra Information

  • Gender
    Male
  • Location
    Wisconsin, USA
  • Raffle Victor
    One-time

Contact Methods

  • Steam
    Devieth
  • Gamertag
    Deviethan
  • PSN
    Devieth

Computer Details

  • Central Processor
    Intel i7 4790K @ 4.7Ghz
  • Motherboard
    ASRock Z97X Killer Fatal1ty
  • Graphics
    Gigabyte Nvidia GTX 1070
  • Memory
    16GB DDR3 @ 1600Mhz
  • Storage
    256GB 850 Evo, 520GB Crusial SSD, & 1TB 7200RPM WD Blue
  • Power Supply
    850 Watt 80+ Gold
  • Case
    NZXT Source
  • Display
    ASUS VG248QE & AOC G2770PQU - 1920x1080 @ 144hz
  • Keyboard
    Rosewill RGB80
  • Mouse
    Razer Deathadder Chroma
  • Operating System
    Windows 10 Pro

Recent Profile Visitors

1,833 profile views
  1. Reading the table isn't a problem as long as it is saved the way it is shown above. Also SAPP is using LuaJIT 2.1.0-beta2. print(jit.version)
  2. Update: I am still in need of an ffi module to do this due to the limitations of SAPP's Lua implementation running off of HaloCE's main thread thus causing the server to lock up until the file is finished being saved.
  3. Wont sync properly.
  4. I am in need of a multi-threaded ffi module that can save a Lua table (so that it does not use up HaloCE's thread why saving a large Lua table to a file.) Current Lua code writing the file: https://pastebin.com/s6aVdNkF I need it to save the file formatted like so: return { [1] = { [35] = { [1] = { [1] = "Tooth", [2] = "-1" }, [2] = { [1] = "Donut", [2] = "-1" }, [3] = { [1] = "Hambone", [2] = "-1" }, [4] = { [1] = "Goat", [2] = "-1" } } } }
  5. Fixed, re-download.
  6. This will work as long as they only have one weapon. api_version = "1.10.0.0" function OnScriptLoad() register_callback(cb['EVENT_DIE'], "OnPlayerDeath") end function OnScriptUnload() end function OnPlayerDeath(VictimIndex, KillerIndex) local m_object = get_dynamic_player(VictimIndex) if m_object ~= 0 then local m_weaponID = read_dword(m_object + 0x118) local weapon_address = get_object_memory(m_weaponID) if weapon_address ~= 0 then local weapon_tag = lookup_tag(read_dword(weapon_address)) if weapon_tag ~= 0 then local tag = read_string(read_dword(weapon_tag + 0x10)) if tag ~= "weapons\\ball\ball" or tag ~= "weapons\\flag\\flag" then destroy_object(m_weaponID) end end end end end If you need it to check for other weapons let me know. Also since I'm not just using the mapIds it may not work on protected maps, but if you need that I'll re-write it using that then.
  7. This script will allow you to drive as a gunner (and more.) Features: - Drive as gunner - Drive as passenger If there is no driver: (and drive as passenger is false) - Set passenger in driver seat If there is a driver: - Set passenger in gunner seat Download - Seat Mod
  8. Here is the script that was used in that video (also has more options than the version by Shaft.) seat_mod.lua
  9. This script will allow you to ban players via their names. There is two ways you can ban them by their name, first is if they are in the server you can just enter their index number (1-16) and the second is buy manually typing in their name. Players who are name banned with be given default hash bans lasting 1 minute (this is to prevent re-joing by spamming connect <ip:port> <password> which would allow them to rejoin with a default name.) Commands: Ban player index (1-16) or string (no spaces.) nameban <index or string> <reason (only for index bans) > Unbans the ban index of a player (found with namebans.) nameunban <index> Lists all current namebans namebans Download: Pastebin - nameban
  10. Here is health regen. regen.lua
  11. I been holding onto this script for a while now and thought it might be a good idea to let people have it. Anyway all this does is force the player trying to execute a lag spawn not to crouch (which is required to cause the velocity de-sync after spawning.) Download: Pastebin - Anti-Lagspawn
  12. This is a script by 002. So if you want to report a bug in his script you should go to the release page of the script and let him know. Anyway if you only want it to report backtaps then this is all you need. Anything else requires a bit more. Edit: This replaces the entire other script if its what you want, just copy/paste it into notepad and save it as a .lua file. MESSAGE = "%s was killed in one hit by %s!"-- Message to display api_version = "1.10.0.0" function OnScriptLoad() register_callback(cb['EVENT_DAMAGE_APPLICATION'],"OnDamage") end function OnScriptUnload() end function OnDamage(PlayerIndex, Causer, MetaID, Damage, HitString, Backtap) if Backtap then say_all(string.format(MESSAGE, get_var(PlayerIndex, "$name"), get_var(Causer, "$name"))) end end
  13. Please send your script so we know what we are trying to help you with.
  14. Wouldn't it be better to do this in "OnDamageAppliaton" instead of modding the map every time?
  15. First off you should move back tap handling right to OnDamageApplication since a backtap is going to be a one hit kill no matter what and this way is way more accurate. Backtap_msg = "has backtapped" function OnDamageApplication(PlayerIndex, Causer, MetaID, Damage, HitString, Backtap) if Causer then if Backtap then say_all(get_var(Causer, "$name") .. " " .. Backtap_msg .. " " .. get_var(PlayerIndex, "$name")) end end end