• Coderhire Addon Cloning Thread
    568 replies, posted
[IMG]https://cdn.scriptfodder.com/uploads/script_banners/232.png[/IMG] Dat transparency doe.
Small little addon but who the fuck charge 5bucks for a addon like this. [URL="https://scriptfodder.com/scripts/view/198"]https://scriptfodder.com/scripts/view/198[/URL] I'll upload it in like 30min(slow internet) shitty version.. Darkrp based. [CODE]if SERVER then AddCSLuaFile("shared.lua.lua") end SWEP.Instructions = "Test" SWEP.Spawnable = true SWEP.AdminOnly = true SWEP.UseHands = true // How long it takes before victim gets back its runspeed VICTIM_HEALING_TIME = 120 SWEP.ViewModel = "models/weapons/c_pistol.mdl" SWEP.WorldModel = "models/weapons/w_pistol.mdl" SWEP.FiresUnderwater = false SWEP.Primary.ClipSize = 5 SWEP.Primary.DefaultClip = 10 SWEP.Primary.Automatic = false SWEP.Primary.Ammo = "item_ammo_pistol" SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefaultClip = -1 SWEP.Secondary.Automatic = false SWEP.Secondary.Ammo = "none" SWEP.Weight = 5 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false SWEP.PrintName = "Leg breaker 'not'!" SWEP.Slot = 3 SWEP.SlotPos = 1 SWEP.DrawAmmo = true SWEP.DrawCrosshair = true SWEP.UseHands = true function SWEP:Reload() end function SWEP:Think() end function SWEP:PrimaryAttack() local tr = self.Owner:GetEyeTrace() local victim = tr.Entity if ( !self:CanPrimaryAttack() ) then return end if IsValid( tr.Entity ) and tr.Entity:IsPlayer() then if SERVER then victim:SetRunSpeed(victim:GetWalkSpeed()) victim:EmitSound( "vo/npc/male01/imhurt01.wav", 500, 200) timer.Simple(VICTIM_HEALING_TIME, function() if victim:isCP() then victim:SetRunSpeed(GM.Config.runspeedcp) else victim:SetRunSpeed(GM.Config.runspeed) end end) end self:TakePrimaryAmmo( 1 ) end end function SWEP:SecondaryAttack() end function SWEP:ShouldDropOnDie() return true end[/CODE]
[QUOTE=CoreBase;46083564]Small little addon but who the fuck charge 5bucks for a addon like this. [URL="https://scriptfodder.com/scripts/view/198"]https://scriptfodder.com/scripts/view/198[/URL] I'll upload it in like 30min(slow internet)[/QUOTE] That would be awesome! :D
He made a darkrp hud v2 because his last one got so much hate. [url]https://scriptfodder.com/scripts/view/246[/url] Introducing Super delux pro darkrp HUD v2: a super pro cool darkrp hud v2 inspired by a not so super nor pro delux darkrp hud v2 Featuring symmetrical fucking padding and spacing Screenshot: [thumb]http://i.gyazo.com/543e59740365d67c7ec7dfe05806073a.png[/thumb] Download: [url]http://git.superiorservers.co/astonedpenguin/super-delux-pro-hud-v2/blob/5125f3cbd4577632adcf532b667873bf3dab8591/hud_cl.lua[/url]
[QUOTE=Author.;46082080]Doing this now, should be finished soon. [url]https://scriptfodder.com/scripts/view/138[/url] - Screencap[/QUOTE] [url]http://facepunch.com/showthread.php?t=1427301[/url]
Working on remaking this --- [url]http://coderhire.com/scripts/view/1326[/url]
[QUOTE=helplesskitty;46095837]Working on remaking this --- [url]http://coderhire.com/scripts/view/1326[/url][/QUOTE] Are the supposed game breaking script errors included
Did anyone remake this already [url]https://scriptfodder.com/scripts/view/198[/url] ? Because it takes 15min and he made 15$ with it wtf
Yes. Post#214 [QUOTE=CoreBase;46083564]Small little addon but who the fuck charge 5bucks for a addon like this. [URL="https://scriptfodder.com/scripts/view/198"]https://scriptfodder.com/scripts/view/198[/URL] [/QUOTE]
[QUOTE=Tomelyr;46096051]Yes. Post#214[/QUOTE] It's a SWEP, the original script works with all weapons. Anyway, I tested this on TTT and it should also work on other gamemodes [lua] local speed_loss = 50 -- percent local heal_time = 20 -- seconds local attacker_message = "You have broken %s's leg!" local victim_message = "Your leg is broken!" local override_leg_damage = false local leg_damage = 10 if SERVER then AddCSLuaFile() util.AddNetworkString("BrokenLeg") local function IsTTT() return gmod.GetGamemode().FolderName == "terrortown" end local Player = FindMetaTable("Player") function Player:IsLegBroken() return self.BrokenLeg and true end function Player:SetBrokenLeg(enable) local timername = "BrokenLeg_"..tostring(self:UniqueID()) if timer.Exists(timername) then timer.Destroy(timername) end if enable then self.BrokenLeg = true timer.Create(timername, heal_time, 1, function() if IsValid(self) then self:SetBrokenLeg(false) end end) if not IsTTT() then local walkspeed = self:GetWalkSpeed() * speed_loss / 100 self.BrokenLeg_DiffWS = self:GetWalkSpeed() - walkspeed self:SetWalkSpeed(walkspeed) local runspeed = self:GetRunSpeed() * speed_loss / 100 self.BrokenLeg_DiffRS = self:GetRunSpeed() - runspeed self:SetRunSpeed(runspeed) end else self.BrokenLeg = false if not IsTTT() then self:SetWalkSpeed(self:GetWalkSpeed() + self.BrokenLeg_DiffWS) self:SetRunSpeed(self:GetRunSpeed() + self.BrokenLeg_DiffRS) end end end hook.Add("ScalePlayerDamage", "Leg_Script", function(ply, hitgroup, dmginfo) local attacker = dmginfo:GetAttacker() if dmginfo:IsBulletDamage() and (IsValid(attacker) and attacker:IsPlayer() and attacker != ply) then if hitgroup == HITGROUP_RIGHTLEG or hitgroup == HITGROUP_LEFTLEG then if override_leg_damage then dmginfo:SetDamage(leg_damage) end attacker:SetBrokenLeg(true) net.Start("BrokenLeg") net.WriteEntity(attacker) net.WriteEntity(ply) net.Send({attacker, ply}) end end end) hook.Add("Initialize", "Leg_Script", function() if IsTTT() then hook.Add("TTTPlayerSpeed", "Leg_Script", function(ply, slowed) if ply:IsLegBroken() then return 1 - speed_loss/100 end end) end end) else net.Receive("BrokenLeg", function() local attacker = net.ReadEntity() local victim = net.ReadEntity() if LocalPlayer() == attacker then notification.AddLegacy(string.format(attacker_message, victim:Nick()), NOTIFY_HINT, 2) elseif LocalPlayer() == victim then notification.AddLegacy(victim_message, NOTIFY_ERROR, 2) end end) end [/lua]
[QUOTE=NiandraLades;46095990]Are the supposed game breaking script errors included[/QUOTE] The only errors i can thinl of that brole his clients game. Are calling darkrpvars that dont load properly when you are still connecting. but no. They are an added dlc.
[QUOTE=helplesskitty;46095837]Working on remaking this --- [url]http://coderhire.com/scripts/view/1326[/url][/QUOTE] Download -- [url]https://mega.co.nz/#F!lUdgzRLD!H2WVeVGlPH_ly4aAkJlUkA[/url] Screenshot -- [url]http://steamcommunity.com/sharedfiles/filedetails/?id=320198043[/url] Edit: Use whatever Font you want, and i added it so text doesnt spill out of the main body bottom left. The salary is also fixed to the right for personal preference.
Tomorrow I shall contribute and post a summary of the remakes (with credits) up until now XD
[QUOTE=tommy228;46096046]Did anyone remake this already [URL]https://scriptfodder.com/scripts/view/198[/URL] ? Because it takes 15min and he made 15$ with it wtf[/QUOTE] Not really a clone but [URL="http://steamcommunity.com/sharedfiles/filedetails/?id=137669824"]I made a similar addon[/URL] with other damage zones such as arm/head/hand and hurtsounds
[B]Summary of all Addons in this Thread[/B] [url]https://docs.google.com/document/d/17EwwglmGMz6TVsmYlkOhZYRGTvHotWGy8f2Xlx8NeQc/edit?usp=sharing[/url] It took me a while and was easier to format in Google Docs so enjoy XD
[QUOTE=Eloquence;46110370][B]Summary of all Addons in this Thread[/B] [url]https://docs.google.com/document/d/17EwwglmGMz6TVsmYlkOhZYRGTvHotWGy8f2Xlx8NeQc/edit?usp=sharing[/url] It took me a while and was easier to format in Google Docs so enjoy XD[/QUOTE] When Exho is ubanned this should be put in OP
Exho sure gets banned a lot.
I'll re-make Wyozi Advanced TTT in the next couple of days.
[QUOTE=code_gs;46110641]Exho sure gets banned a lot.[/QUOTE] He doesn't learn. Backseat moderation three times now.
[QUOTE=AnonTakesOver;46110800]He doesn't learn. Backseat moderation three times now.[/QUOTE]The last ban reason is just fucked up. Blayzd is an asshole.
[QUOTE=CoreBase;46110966]The last ban reason is just fucked up. Blayzd is an asshole.[/QUOTE] How come Blazyd is an asshole but the other three mods who banned him for the same reason are fan-diddly-tastic?
[QUOTE=zeaga;46111182]How come Blazyd is an asshole but the other three mods who banned him for the same reason are fan-diddly-tastic?[/QUOTE]Blayzd reason was "Predicting Moderator". The others was about him replying when he instead should report it.
[QUOTE=CoreBase;46111201]Blayzd reason was "Predicting Moderator". The others was about him replying when he instead should report it.[/QUOTE] It's the same concept, just different wording. Take it to PMs or contact Blayzd if you have an issue with the ban; this isn't the place to discuss it.
[QUOTE=CoreBase;46111201]Blayzd reason was "Predicting Moderator". The others was about him replying when he instead should report it.[/QUOTE] Yeah, I should totally be listening to the person who signed up this month about unjustified bans.
Da drama tho. There are other places to take grievances against admins than a coding thread, lol.
original -- [url]https://scriptfodder.com/scripts/view/185[/url] free/clone -- [url]https://mega.co.nz/#F!pMEDWaYb!Q8EZUKVLNQ4RqHUbcw-0TA[/url] NEXT -- [url]http://coderhire.com/scripts/view/1269[/url]
original -- [url]http://coderhire.com/scripts/view/1269[/url] free/clone -- [url]https://mega.co.nz/#F!QcM2gLDa!i75ijmA3QXS7hTlzQ1IF0A[/url] (took me 2 hours) Screenshot -- [url]http://cloud-4.steampowered.com/ugc/34098854722801315/E38BF0BB137230D83E4BE54D137C16CF696587D4/[/url] Screenshot 2 -- [url]http://cloud-4.steampowered.com/ugc/43106053968775898/4476168DD2EE8C32F5C7DD01556A5670F115C9F1/[/url] Screenshots are different screen sizes btw.
[QUOTE=Eloquence;46110370][B]Summary of all Addons in this Thread[/B] [url]https://docs.google.com/document/d/17EwwglmGMz6TVsmYlkOhZYRGTvHotWGy8f2Xlx8NeQc/edit?usp=sharing[/url] It took me a while and was easier to format in Google Docs so enjoy XD[/QUOTE] 2 Things i noticed: The PEZ Jihad was GMOD12 by Neddy and fixxed (when you even call it fixxed) by me. and The Broken Leg SWEP isn't a SWEP. The SWEP Version was by Corebase and the pastebin is the non SWEP Version by Tommy.
[QUOTE=helplesskitty;46112752]original -- [url]https://scriptfodder.com/scripts/view/185[/url] free/clone -- [url]https://mega.co.nz/#F!pMEDWaYb!Q8EZUKVLNQ4RqHUbcw-0TA[/url] NEXT -- [url]http://coderhire.com/scripts/view/1269[/url][/QUOTE] Your code is soo messy. Here's the original instead: [url]http://git.superiorservers.co/astonedpenguin/p_scoreboard/repository/archive.zip[/url]
[QUOTE=StonedPenguin;46120105]Your code is soo messy.[/QUOTE] Best reason to release a Coderhire addon.
Sorry, you need to Log In to post a reply to this thread.