Raised This Month: $32 Target: $400
 8% 

[L4D2] Ladder Rambos -- Shoot from ladders!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
V1SoR
Member
Join Date: Jan 2011
Old 12-10-2015 , 14:13   [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #1

Ladder Rambos

A L4D2 Sourcemod extension that allows Survivors to shoot their guns on ladders. Works only on Linux. Nuff said.

Youtube

Compilation

You will need any distro/version of Linux with any version of GCC in it.

You will also need Metamod, Sourcemod and L4D2 SDK headers.

Ignore the compiler warnings.

Installation

Throw the extension and the autoload file into your addons/sourcemod/extensions folder.

Throw the gamedata into addons/sourcemod/gamedata.

Restart your server.

Configuration

Just a couple cvars to get you started.

cssladders_version - you don't really need to change this
cssladders_enabled - 1 to enable, 0 to disable the extension
cssladders_allow_m2 - 1 to allow M2(shoves) on ladders, 0 to block
cssladders_allow_reload - 1 to allow reloading on ladders, 0 to block. Keep in mind that shotguns are broken and won't reload on ladders no matter what.

Source

https://github.com/Attano/LadderRambos

Credits

All credit for this amazing extension goes solely to Ilya 'Visor' Komarov aka Attano.

(c) 2015 Designed for Equilibrium 3.0 Competitive Mod
Attached Files
File Type: zip LadderRambos_v0.1.1.zip (64.8 KB, 799 views)
V1SoR is offline
Dr. Greg House
Professional Troll,
Part-Time Asshole
Join Date: Jun 2010
Old 12-10-2015 , 15:58   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #2

I like the idea (obviously because of the way SIs can abuse the ladders to ridiculousness), but I also like the idea of limiting the firing/view-angle (you can only shoot upwards for example). Has this ever crossed your mind?
__________________
Santa or Satan?

Watch out when you're paying people for private requests! Most stuff already exists and you can hardly assess the quality of what you'll get, and if it's worth the money.
Dr. Greg House is offline
V1SoR
Member
Join Date: Jan 2011
Old 12-10-2015 , 17:26   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #3

Not really. This extension was designed for and with competitive background in mind(EQ, Promod etc). Any sort of viewangle limiting in it is completely out of place in a competitive environment.

Last edited by V1SoR; 12-10-2015 at 17:27.
V1SoR is offline
yurikon
Junior Member
Join Date: Jul 2013
Location: china
Old 03-07-2016 , 20:41   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #4

it great work,but i need windows version
yurikon is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 03-07-2016 , 23:20   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #5

You should allow pistol only. That would be more realistic, and balanced.

Maybe add it as a CVAR ?
__________________
Spirit_12 is offline
PatriotGames
AlliedModders Donor
Join Date: Feb 2012
Location: root@irs:/# rm -rf /
Old 04-11-2016 , 14:49   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #6

Thank you, V1Sor, for this extension! Just one note: because the cvars are "cheats" you must use sm_cvar when setting them:
Code:
//--> Ladder Rambos settings
sm_cvar cssladders_enabled "1"                    // 1 to enable, 0 to disable the extension
sm_cvar cssladders_allow_m2 "1"                    // 1 to allow M2(shoves) on ladders, 0 to block
sm_cvar cssladders_allow_reload    "1"                // 1 to allow reloading on ladders, 0 to block. Keep in mind that shotguns are broken and won't reload on ladders no matter what.
Patriot
PatriotGames is offline
Luckylock
Junior Member
Join Date: Jan 2019
Old 04-27-2019 , 13:02   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #7

The recent L4D2 update makes it so this extension crashes servers.
Luckylock is offline
diceboy
Member
Join Date: Jun 2012
Old 05-24-2019 , 04:07   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #8

Quote:
Originally Posted by Luckylock View Post
The recent L4D2 update makes it so this extension crashes servers.
Yes i have the same problem, any fix ?
diceboy is offline
epzminion
AlliedModders Donor
Join Date: Jan 2011
Old 06-11-2019 , 12:25   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #9

Quote:
Originally Posted by diceboy View Post
Yes i have the same problem, any fix ?
My guess is that you need to fix this bug in this extension's copy of CDetour. It is causing mprotect to only be called on the first page of 'CTerrorPlayer::PreThink', and the offset is probably shifting it past that boundary into the next page.

Or you could also just change the gamedata to use a byte signature directly at the patch location instead of using a symbol+offset.
epzminion is offline
spumer
Senior Member
Join Date: Aug 2011
Old 06-16-2019 , 01:42   Re: [L4D2] Ladder Rambos -- Shoot from ladders!
Reply With Quote #10

Quote:
Originally Posted by epzminion View Post
My guess is that you need to fix this bug in this extension's copy of CDetour. It is causing mprotect to only be called on the first page of 'CTerrorPlayer:reThink', and the offset is probably shifting it past that boundary into the next page.

Or you could also just change the gamedata to use a byte signature directly at the patch location instead of using a symbol+offset.
You can try recompile with https://github.com/spumer/Left4Fix/b...rhelpers.h#L61
My ProtectMemory version take into account multiple memory pages.
__________________
spumer is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode