Giter VIP home page Giter VIP logo

left4downtown2's Introduction

#Left4Downtown2 - L4D2 Sourcemod Extension#

##Changelog##

###May 02, 2013 :: 0.5.5###

  • Initial fork from v0.5.4.2
  • Created the manageable Serverside Addons Disabler and integrated it into the extension. Controlled by the cvar l4d2_addons_eclipse and the forward L4D2_OnAddonsEclipseUpdate(client). Details here.

###June 06, 2013 :: 0.5.6### ####[!] This L4DT fork now supports Linux platform only####

  • Added new forwards
    • L4D2_OnNavAreaChanged(client) -- an effective detour for tracking player progress throughout the map. Initially implemented for my distance-based competitive scoring mod, but can be easily used as a superior, from server resources conservation potential perspective, alternative for OnGameFrame() and OnPlayerRunCmd()
    • L4D2_OnWaterMove(client) -- once again, meant to conserve precious server resources. Currently, OnGameFrame() is used in plugins(including Confogl core and AtomicStryker's variant) to slow down survivor movement in the water. It is best to avoid the use of these functions altogether, especially on a server with an increased tickrate/unlocked fps_max cvar.
    • L4D2_OnStagger(target, source) -- fires whenever someone gets staggered. Meant for my No SI Friendly Staggers plugin. Boomer explosions, running witches and charger wall impacts no longer stumble fellow zombies, as well as don't cause the captured Survivor to let off.
  • Unlocked shotgun pellet attributes: m_fPelletScatterPitch and m_fPelletScatterYaw

###Oct 03, 2013 :: 0.5.6###

  • Updated gamedata since the July update and commited all recent changes.
  • Removed the Serverside Addons Disabler. It has become deprecated since the latest major update and was replaced by Valve's own addons disabler.
  • Removed the L4D2_OnNavAreaChanged(client) detour since the new scoring system it was meant to be used in has been ditched.

###Oct 11, 2013 :: 0.5.7###

  • Brought back the manageable Serverside Addons Disabler. Now it is 100% reliable and is no longer a hack, but a patch for stuff that's already in there. Details here.
  • Added the global melee unlocker into the extension. This should render any melee unlocking addons redundant.
  • Added the L4D2_OnEntityShoved(client, entity, weapon, Float:vector[3], bool:bIsHunterDeadstop) forward. It is blockable and it fires whenever an entity gets shoved. This includes absolutely any kind of entity, starting with SI and commons and ending with road cones. Blocking it negates the shove(M2) effect as if it never happened. Designed primarily to block cases of hunters getting deadstopped when they shouldn't have(because L4D_OnShovedBySurvivor(client, victim, const Float:vector[3]) didn't fire or blocking it had no effect). But it can also be used to prevent teams from exploiting entities to block the opponent's path(e.g. No Mercy 3 ground lantern block in the tunnel for Survivors, or the same prop on Parish 4 used to block the tank in the room's entrance). Also, the hunter deadstop boolean is not reliable 100% of the time(Valve), so keep that in mind.

###December 05, 2015 :: 0.6###

  • New forward: L4D2_OnSpitSpread(spitter, projectile, &Float:x, &Float:y, &Float:z) -- called whenever CInferno::Spread(Vector const&) is invoked (only for spitter acid; ignores fire). Can be used to implement static spit spread shapes.
  • New forward: L4D2_OnPounceOrLeapStumble(victim, attacker) -- called whenever CTerrorPlayer::OnShovedByPounceLanding(CTerrorPlayer *) is invoked. Used by the l4d2_get_up_slide_fix plugin to patch survivor get-up slides.
  • Fixed a rare scavenge crash.

###August 02, 2017 :: 0.6.1###

  • New forward: L4D_OnReplaceTank(tank, newtank) -- called whenever ZombieManager::ReplaceTank(CTerrorPlayer *,CTerrorPlayer *) is invoked. Not invoked if tank is bot.
  • New native: L4D_ReplaceTank(tank, newtank) -- call ZombieManager::ReplaceTank(CTerrorPlayer *,CTerrorPlayer *).
  • Fixed GameRules on Sourcemod >= 1.7.
  • Disabled L4D2_OnSpitSpread and L4D2_OnPounceOrLeapStumble to prevent crashes.

###September 02, 2017 :: 0.6.2###

  • New native: L4D2_GetWitchCount() -- Gets the number of witches currently in play.
  • New native: L4D2_GetVersusWitchFlowPercent(Float:witchFlows[2]) -- Gets the flow percent for witch spawns for both versus rounds.
  • New native: L4D2_SetVersusWitchFlowPercent(Float:witchFlows[2]) -- Sets the flow percent for witch spawns for both versus rounds.
  • New forward : L4D2_OnChooseVictim(specialInfected, &curTarget) -- called whenever BossZombiePlayer(CTerrorPlayer *, int, CBaseEntity *) is invoked. This is called in a think hook from within the game so make sure you don't do to much code in it
  • Made includes compatiable with sourcemods transitional syntax
  • Little fixes

###October 06, 2017 :: 0.6.3###

  • New native: L4D_IsFirstMapInScenario() -- Tells if the Mission (map) is the first map of the campaign.
  • Fixed native L4D_IsMissionFinalMap() on linux
  • Fixed native L4D_RestartScenarioFromVote() on windows

left4downtown2's People

Contributors

accelerator74 avatar anime4000 avatar attano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

left4downtown2's Issues

Crash with mp_gametypes different from versus and coop

Hi there. I have a crashes when trying to enable an +mp_gamemode "survival" and +map c1m1. This is a simple way to reproduce an crash. But crash also become when we start a playing a survival game, and try to change a map with something tool, or just leave a server. My server try to reset a map to a first one in campaing. I understand that this can be an error in my plugin. and i can fix it. but without left4downtown2 i have not crashes when doing that describe above. I found an small "error" in code. This is a new detour in 0.5.7. In get_mission_info.cpp:

const char *meleeweapons = kv->GetString("meleeweapons", "N/A");

In case of point of "survival" gametype we got here a nil pointer and a crash.

if(!kv) {
            L4D_DEBUG_LOG("CTerrorGameRules::GetMissionInfo() keyvalue is not a valid pointer. Skip patching...");
            return kv;
}

I think its can be fixed in your repository, and other people have not get this crashes more. Thanx a lot for yours work. Sorry for my bad english. Have a nice day!

mobrush signature update

hey they fixed the sdktool problem in L4D1 with a new sourcemod and metamod...but now the mobrush signature needs to be updated the servers is in a crash loop, can you please help us? we need servers for the l4d1 tourney coming up in 2weeks. we get this in the error logs L 05/24/2014 - 16:04:33: [LEFT4DOWNTOWN] Detour -- Could not find 'OnMobRushStart' signature

not compatibility with SourceMod 1.8

i get error with use this on stable build of SourceMod 1.8

Exception reported: GameRules unsupported or not available; file a bug report

in error.log:
L 06/06/2016 - 10:35:57: Info (map "c1m1_hotel") (file "errors_20160606.log")
L 06/06/2016 - 10:35:57: [SM] Exception reported: GameRules unsupported or not available; file a bug report
L 06/06/2016 - 10:35:57: [SM] Blaming: l4d2_boss_rush.smx()
L 06/06/2016 - 10:35:57: [SM] Call stack trace:
L 06/06/2016 - 10:35:57: [SM] [0] L4D_GetVersusMaxCompletionScore

A bug about v0.6.1

I use sky2.7.1 in my server with Left4Downtown2 v0.6.1.Change map to c5m2,press e to katana,but I can't get it.The same problem also in c10m1.I change Left4Downtown2's version to v0.5.7.This problem was fixed.Can you fix this bug of v0.6.1?

Compiled Windows Files

Hello,

I apologize for the "noobish" but I'm having trouble figuring out how to turn these files into the needed .dll etc for my Windows Server. I am currently using 0.5.4.2 and have some errors

L 12/13/2014 - 13:28:19: SourceMod error session started
L 12/13/2014 - 13:28:19: Info (map "c5m1_waterfront") (file "errors_20141213.log")
L 12/13/2014 - 13:28:19: [LEFT4DOWNTOWN] Detour -- Could not find DifficultyChanged signature
L 12/13/2014 - 13:28:19: [LEFT4DOWNTOWN] Detour -- Could not find address for detour
L 12/13/2014 - 13:28:19: [L4FIX] WarpGhost -- Could not find 'CTerrorPlayer_GetPlayerByCharacter' address
L 12/13/2014 - 13:28:19: [L4FIX] Detour -- Could not find address for detour
L 12/13/2014 - 13:28:24: Error log file session closed.

I just updated to the latest SM and MM and although I don't understand everything, it seems like some signature or address is outdated, causing issues?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.