PDA

View Full Version : [EXTENSION][L4D2] Left4Fix (2.1.0)


spumer
07-02-2013, 14:12
LEFT4FIX — "Main Players" belong to the past!

https://raw.github.com/spumer/Left4Fix/master/wiki/logo.jpg


Left4Fix - extension for Left 4 Dead 2 servers with extra player slots.


rvDCInOnqMs


Key features:



Each player earn score points
When both teams complete chapter with the same score Tiebreak manager will be started
Ghost infected can teleport to each survivor



How it works now, without this extension?

Up to this very moment there was a concept of the "main players" - four players seen by pressing the TAB key. Only those four players could earn points by completing the map. When one of them died, he would no longer bring points in the total score. Even worse if all of them died, points would no longer be achieved. And, at that point, there would be no sense for the least survivors in further travelling through the map.
This problem exist everywhere from the opening of the servers with not standart amount of players. For many people this open a lot of tactical ways. But situation with "main players" is wrong, because except "main players" every team have another players who move on map too. Team should earn walkthrough points from all players, not only from "main players". We take this problem and solve it.


What does the Left4Fix extension do?

After installing this extension on the server, it start calculate walkthrough points from all players, that mean — now all players help team earn walkthrough points. Words "main players" go to the past as useless, because now all players are "main players".
This cardinally change current tactic, which based on defense the "main players" and pointless walking over map if all main players is dead. Now every team member are important and each team must make decisions: rescue the player or LEFT 4 DEAD. But don't forget, every left player could earn more points and maybe even survive points.

Installation:



Copy left4fix.ext.2.l4d2.so or left4fix.ext.2.l4d2.dll to addons/sourcemod/extensions
Copy left4fix.sig.txt to addons/sourcemod/gamedata
Create left4fix.autoload in addons/sourcemod/extensions
Start the server


Only versus gamemode supported yet!

Links:
Latest Release: github.com
(https://github.com/spumer/Left4Fix/releases/tag/v2.1.0) Latest Gamedata: github.com (https://github.com/spumer/Left4Fix/blob/v2.1.0/gamedata/left4fix.sig.txt)
Latest build: nightly.link (https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master)

PS: Sorry for my english, pls report all translations mistakes in PM.

winniethepooh
07-02-2013, 18:10
This looks great. You might have to recompile this with the latest SM snapshots to work with the just released SteamPipe

Powerlord
07-03-2013, 10:57
This looks great. You might have to recompile this with the latest SM snapshots to work with the just released SteamPipe
Windows version maybe not... but once hl2sdk-l4d2 is updated, the Linux version will have to be recompiled.

spumer
07-03-2013, 11:20
Yep, i know and wait source/meta mod's release date.
I'm already investigate new server_srv.so library and all should work fine. Just waiting for gamedata-tests-day :)

Martijn79
07-03-2013, 13:54
Great extension, thanks for your effort this look really good! I'm gonna test it when new metamod is released, can't wait for a coop version as well!

SilentBr
07-03-2013, 20:44
I was looking for a fix like this since 2 years ago. Now that we have, it doesn't support windows servers. Back to zero...

You really really should consider support windows servers...

spumer
07-04-2013, 10:17
Windows — may be. Later.

I thinking about coop. And it not possible for dynamic client creation.
But we have one way: base calculations on maximum possible amount of players. Duplicate completion score for non-existent players based on completion of alive players.
Also we have a problem, when user revived in co-op i need delete info about his previous body, but i can't know who revived at this time.

I'm need more tests for create workaround for co-op.

SilentBr
07-05-2013, 00:44
Windows — may be. Later.

I can offer my server to test if you want. Please consider the idea of compiling for windows

Martijn79
07-05-2013, 10:51
btw does this work on l4d1 as well?

bl4nk
07-05-2013, 11:14
I can offer my server to test if you want. Please consider the idea of compiling for windows

Compiling isn't the issue, it's getting the signatures for the functions the extension uses. It's not easy stuff, takes lots of time, and most will have to be rediscovered after every game update.

spumer
07-05-2013, 12:25
btw does this work on l4d1 as well?
Heh. Obviously not.

Compiling isn't the issue, it's getting the signatures for the functions the extension uses. It's not easy stuff, takes lots of time, and most will have to be rediscovered after every game update.
You are right. But i'm read tons of asm code when write the extension and get new signatures/offsets very quickly. My changes is very specific, and you are right again — i need check them from every update.

spumer
07-08-2013, 02:07
Linux version is released: https://github.com/spumer/Left4Fix/releases
Files in first post is updated.

Martijn79
07-08-2013, 07:08
Thanks for the update! However I can't get it to load:

13:07:43 [SM] Extension left4fix.ext.so failed to load: Could not read pDirector signature

Any idea?

spumer
07-08-2013, 09:08
You placed left4fix.sig.txt to gamedata folder?

Martijn79
07-08-2013, 09:52
You placed left4fix.sig.txt to gamedata folder?

Yes, tried the one from github and the one attached.

spumer
07-08-2013, 10:33
I have no idea.
Check your sourcemod installation.

https://forums.alliedmods.net/attachment.php?attachmentid=122356&stc=1&d=1373293985

I'm use:
sm version
SourceMod Version Information:
SourceMod Version: 1.5.0-dev+3849
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.0-dev+3849)
SourcePawn API: v1 = 4, v2 = 4
Compiled on: Jul 6 2013 09:10:09
Build ID: 3849:15b8d092304d
http://www.sourcemod.net/
meta version
Metamod:Source version 1.9.3-dev
Build ID: 821:0f0657d5c910-dev
Loaded As: Valve Server Plugin
Compiled on: Jul 6 2013
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

Martijn79
07-08-2013, 16:38
I have no idea.
Check your sourcemod installation.

https://forums.alliedmods.net/attachment.php?attachmentid=122356&stc=1&d=1373293985

I'm use:

Yeah it's def. me. I've tested it on another server and it loads fine. So must be something wrong with my install.

Thanks.

winniethepooh
07-09-2013, 03:24
I'm getting <FAILED> file "left4fix.ext.so": /lib/libm.so.6: version `GLIBC_2.15' not found (required by bin/libvstdlib.so) using the same sm and mm version you posted

Are you sure this was recompiled against the correct (_srv) versions of the SDK libs?

bl4nk
07-09-2013, 03:55
The extension was compiled using a newer version of glibc than you have on your server. You wouldn't happen to be running CentOS 6.4, would you?

psychonic
07-09-2013, 07:31
The extension was compiled using a newer version of glibc than you have on your server. You wouldn't happen to be running CentOS 6.4, would you?

It's from being linked against libvstdlib.so (from the linux client, which has a higher glibc req), rather than libvstdlib_srv.so.

spumer
07-09-2013, 09:29
Thanks, i forgot link with new lib. Now all binaries recompiled. Archive with sources updated too (Makefile replaced).
Files in first post is updated.

You can also download from github:
https://github.com/spumer/Left4Fix/releases/v1.0.0.6

winniethepooh
07-09-2013, 13:31
Thanks it's loading fine now but it doesn't appear to be doing anything/working. There aren't any logs generated either though.

Nevermind this was a misunderstanding on my part

spumer
07-09-2013, 13:45
Why logs should be generated?
If scores calculated and when player die you don't see skull — it's works.

Upd: 1.0.0.6 version not fully tested. If you have some troubles with this extension, pls report to me.

SilentBr
08-06-2013, 20:03
Windows version my friend :)

spumer
08-08-2013, 03:08
I'm don't forgot, just busy now.
I think version for windows will be in this month. Thanks for you reminder. :)

Sev
08-10-2013, 21:26
Not sure whats happening but with the newest version.

- If the survivors make the saferoom, the round doesn't end or calculate the scores.
- If the infected kill all the survivors, the round doesn't end or calculate the scores.

Main problem, the map doesn't change/calculate scores, etc.

With the previous version, the only thing that calculated was the survivor bonuses, not distance, etc.

I wonder if its something on my end or the extension.

spumer
08-12-2013, 08:35
Thanks for you reply. I'm working on the next release.

Guys, You can download new linux version now.
Linux version looks complete but not tested. If you want help you can download Left4Fix from attachment and send reports to me through PM.

Full release will be with windows support.

Sev
08-12-2013, 16:41
Ok, so I've tested the latest version with 8 survivors

Some comments/notes.

1. The map changes now
2. When you try to change team (Survivor or Infected), results in an instant server crash
3. When a player of any kind dies, it continues to keep the distance score but im not sure it actually counts the extra 4 survivors as their own distance. Which to be fair, maybe something that hasn't been implemented yet. If the sole purpose is to continue to count distance, then yea, its a success. But if its designed around keeping individual distance for a maximum of 8 survivors. It doesn't seem to calculate the extra 4 survivors.

For instance.

I use a survival bonus of 100 instead of the default of 25.

I did a test run on dark carnival.

- Team A makes the saferoom with all 8 survivors

Final tally

- 8 x 100 (survival bonus) + 100 points distance each for 4 survivors = 1200 final round points where it should be what? 1600 total for the extra 4 survivors distance points?

- Team B makes the saferoom with 7 survivors

Final tally

- 7 x 100 (survival bonus) + 100 points distance each for 4 survivors = 1069 bizarrely final round points where it should be what? 1500 total for the extra 3 survivors distance points?

spumer
08-25-2013, 05:28
Sev,

Maximum completion score for the map now will be split between all players. For example we can look on the final map, where maximum completion score for 10 players is 800. Divide 800 points on 10 players and get 80 points - each player who survive to the end brings so much. If player die in the middle of map, he will bring only 40 points to his team. This works for any part of the map and any player. Absolutly all players are involved in getting points.

Shortcomings of Left4Fix:


You don't see skull when player die.
No way lines can be associated only with 4 players without others, now lines show the total progress (should read as "team progress bar").



I can't reproduce bug with team switch, but if you have problem with this version, let me know.
So, this is stable version, full release with windows support is upcoming. Linux version will not be changed.
You can download latest gamedata from first post(from github). Take this into account: binary in the first post not updated.

UPD: Binaries in this post updated, fix missing part of code.

SilentBr
08-25-2013, 15:06
spumer

here's the server.dll that you asked me by PM

Sev
08-26-2013, 13:21
Sev,

Shortcomings of Left4Fix:


You don't see skull when player die.
No way lines can be associated only with 4 players without others, now lines show the total progress (should read as "team progress bar").



I can't reproduce bug with team switch, but if you have problem with this version, let me know.
So, this is stable version, full release with windows support is upcoming. Linux version will not be changed.
You can download latest gamedata from first post(from github). Take this into account: binary in the first post not updated.

UPD: Binaries in this post updated, fix missing part of code.

Everything seems to work except the crash issue on team switch.

I've tried adding/subtracting plugins to solve the problem, but nothing seems to matter.

Here is what I know.

The crash occurs

1. When there are more than 4 survivors (8 is what I use)
2. The crash only occurs when you switch from survivor to Infected, but not vice versa

The crash doesn't occur

1. With just 4 survivors
2. With just 4 survivors, you can switch from survivor to Infected

I mean I guess the quick fix would be to block team switch alltogether but that's pretty drastic. Hopefully you can look further into this and perhaps find at the very least, a workaround if a natual fix can't be found.

spumer
08-27-2013, 01:39
Sev, post list of installed extensions and plugins. You switch team to infected through in-game function or custom plugin? This acctually not important.

I think is conflict with extensions (if your server installed correctly).

Sev
08-28-2013, 17:55
Meta list

meta list
Listing 12 plugins:
[01] SourceMod (1.5.0-dev+3885) by AlliedModders LLC
[02] Pounce Damage Uncap (1.1.0.0) by Michael "ProdigySim" Busby
[04] Stripper (1.2.2) by BAILOPAN
[05] L4DToolZ (1.0.0.9h-2-g7465d71b-dirty) by Ivailosp
[06] Left 4 Downtown 2 Extension (0.5.4.2) by Igor "Downtown1" Smirnov / Andrew "XBetaAlpha" Burrows / AtomicStryker / Michael "ProdigySim" Busby
[07] DefibFix Extension (1.0.1) by V10
[08] [L4D2] 8+ Players BugFixes (1.0.2) by V10
[09] SDK Tools (1.5.0-dev+3885) by AlliedModders LLC
[10] SDK Hooks (1.5.0-dev+3885) by AlliedModders LLC
[11] Equinox DoS Protect (1.0) by Zephyrus
[12] Left4Fix (1.0.0.7 (8 players)) by spumer

Plugin list


sm plugins list
[SM] Listing 138 plugins:
01 "SourceMod Anti-Cheat" (0.8.0.4) by GoD-Tony, psychonic
02 "[L4D2] Knife Unlock" (1.0) by SilverShot, Dr!fter
03 "L4D Hunter Cull Jump" (1.0.3) by AtomicStryker
04 "Vocalize Warnigns" (1.0.0) by Buster "Mr. Zero" Nielsen
05 "L4D2 Health Glow" (1.1.0) by Buster "Mr. Zero" Nielsen
06 "[L4D2] Ammo Pile Spawner" (1.2) by SilverShot
07 "L4D Vote Guard" (1.0.2) by Crimson
08 "No Infected Slowdown" (1.0.0) by Buster "Mr. Zero" Nielsen
09 "[L4D1&2] Spawn Alarmcars" (1.0.4a) by Die Teetasse, Quick fixed by Mr. Zero
10 "Charger Power" (1.2) by DJ_WEST
11 "SMAC Aimbot Detector" (0.8.0.4) by GoD-Tony
12 "Country Announcer" (1.0.0) by Buster "Mr. Zero" Nielsen
13 "Transition Health" (1.0.3) by Buster "Mr. Zero" Nielsen
14 "[L4D2] Incapped Crawling with Animation" (1.32) by SilverShot
15 "Smoke'n Move" (1.2.1) by Olj & Mr. Zero
16 "[L4D2] Gas Can limit increase" (1.0) by raziEiL [disawar1]
17 "Basic Commands" (1.5.0-dev+3885) by AlliedModders LLC
18 "L4D2 Get-Up Fix" (1.7) by Blade, ProdigySim, DieTeetasse, Stabby, Jahze
19 "Vocalize Anti-Flood" (1.0.0) by Buster "Mr. Zero" Nielsen
20 "Gamemode Natives" (1.1.1) by Buster "Mr. Zero" Nielsen
21 "[L4D2] Infected Fix Spawn" (1.3.1) by V10
22 "Character Idle Fix" (1.0.1) by Buster "Mr. Zero" Nielsen
23 "Fun Votes" (1.5.0-dev+3885) by AlliedModders LLC
24 "L4D2 Riot Cop Head Shot" (1.2) by dcx2 | helped by Mr. Zero / McFlurry
25 "Director Variables Admin Comamnds" (1.0.1) by Buster "Mr. Zero" Nielsen
26 "L4D2 Block Healing" (1.1.3) by Buster "Mr. Zero" Nielsen
27 "No Boss Limitation" (1.0.0) by Buster "Mr. Zero" Nielsen
28 "Character Transition" (1.1.2) by Buster "Mr. Zero" Nielsen
29 "Breakable Melee Weapons" (1.0.0) by Buster "Mr. Zero" Nielsen
30 "L4D2 Hunter Revive Slide" (1.0) by dcx2
31 "[ANY] Cvar Configs Updater" (1.3) by SilverShot
32 "L4D2 GL 2 M60" (1.0.0) by Buster "Mr. Zero" Nielsen
33 "FinaleHealth" (1.0.0) by Buster "Mr. Zero" Nielsen
34 "SMAC L4D2 Exploit Fixes" (0.8.0.4) by Buster "Mr. Zero" Nielsen
35 "Character Player Commands" (1.2.0) by Buster "Mr. Zero" Nielsen
36 "L4D1 Tank Behavior" (1.0.1) by Buster "Mr. Zero" Nielsen
37 "Fun Commands" (1.5.0-dev+3885) by AlliedModders LLC
38 "L4D Inaudible Ghosts" (1.1) by AtomicStryker, DieTeeTasse, ProdigySim
39 "[L4D2] Melee Weapon Spawner" (1.1.1) by SilverShot
40 "Sound Commands" (1.5.0-dev+3885) by AlliedModders LLC
41 "[L4D & L4D2] Bot Sniper Rifle AI Fix" (1.1) by sereky
42 "[L4D2] Objects Spawner" (2.0.6) by honorcode23
43 "Basic Comm Control" (1.5.0-dev+3885) by AlliedModders LLC
44 "[L4D2] Charger Steering" (1.5) by SilverShot
45 "[L4D2] Weapon Unlock" (0.8.1) by Crimson_Fox, dmg fix by raziEiL[disawar1]
46 "[L4D & L4D2] Mini Gun Spawner" (1.5) by SilverShot
47 "Anti-Flood" (1.5.0-dev+3885) by AlliedModders LLC
48 "[L4D2] Weapon/Zombie Spawner" (1.0a) by Zuko & McFlurry
49 "L4D2 Tank-on-fire Speed Booster" (1.1) by DarkNoghri && Dirka_Dirka
50 "Ban disconnected players" (1.04) by mad_hamster
51 "[L4D & L4D2] Health Cabinet" (1.6) by SilverShot
52 "SMAC ConVar Checker" (0.8.0.4) by GoD-Tony, psychonic, Kigen
53 "[L4D2] Weather Control" (1.6) by SilverShot
54 "L4D Survivor AI Pounced Fix" (1.0.4) by AtomicStryker
55 "Vocalize Admin Commands" (1.0.0) by Buster "Mr. Zero" Nielsen
56 "Basic Votes" (1.5.0-dev+3885) by AlliedModders LLC
57 "Remove Steam Group Notify Flag" (1.0.0) by Buster "Mr. Zero" Nielsen
58 "Basic Ban Commands" (1.5.0-dev+3885) by AlliedModders LLC
59 "[L4D2] Survivor Bot Holdout" (1.2) by SilverShot
60 "L4D2 Routing Plugin" (1.0.5) by AtomicStryker
61 "[L4D2] SG552 Reload Fix" (1.0) by McFlurry
62 "SMAC AutoTrigger Detector" (0.8.0.4) by GoD-Tony
63 "Advertisements" (0.6) by Tsunami
64 "L4D2 Survivor AI Trigger Fix" (1.0.9) by AtomicStryker
65 "L4D2 Tank Model" (1.0.0) by Buster "Mr. Zero" Nielsen
66 "Character Weapon Attachement Fix" (1.0.5) by Buster "Mr. Zero" Nielsen
67 "Block Trolls" (1.0.0.0) by ProdigySim
68 "[L4D2] Bulldozer Certification" (1.1.1) by AtomicStryker
69 "L4D2 Purgatory Fix" (1.0.0) by Buster "Mr. Zero" Nielsen
70 "Blind Infected" (1.0) by CanadaRox, ProdigySim
71 "Silent sm_cvar" (1.1.0) by Buster "Mr. Zero" Nielsen
72 "[L4D2] Console Patches" (1.0) by SilverShot
73 "[L4D2] Model Precacher" (1.666.1) by satannuts
74 "[L4D2] Relentless Witch" (1.1.1) by Machine
75 "SMAC Rcon Locker" (0.8.0.4) by GoD-Tony, Kigen
76 "Vocalize Admin Commands" (1.0.1) by Buster "Mr. Zero" Nielsen
77 "L4D2 Bash Kills" (1.0) by Jahze
78 "Restore Weapon Layout" (1.0.3) by Buster "Mr. Zero" Nielsen
79 "L4D2 Wait 4 Load" (1.0) by Buster "Mr. Zero" Nielsen
80 "L4D2 End Saferoom Door Play" (1.0.0) by Buster "Mr. Zero" Nielsen
81 "[L4D2] Custom admin commands" (1.0.9) by honorcode23
82 "[L4D & L4D2] Simple Afk Manager" (1.0 coop) by raziEiL [disawar1]
83 "Client Preferences" (1.5.0-dev+3885) by AlliedModders LLC
84 "Character Passing Fix" (1.0.0) by Buster "Mr. Zero" Nielsen
85 "L4D2 Fix Death Spit" (1.0) by Jahze
86 " Bots Control In Coop Mode" (2.0) by Pan XiaoHai, fix by raziEiL [disawar1]
87 "Friendly Fire Extended" (1.0.1) by Buster "Mr. Zero" Nielsen
88 "StopTrolls" (1.0) by raziEiL [disawar1]
89 "Character Admin Comamnds" (1.0.1) by Buster "Mr. Zero" Nielsen
90 "Scene Pitch Command" (1.0.0) by Buster "Mr. Zero" Nielsen
91 "Vocalize Jailbreak" (1.0.0) by Buster "Mr. Zero" Nielsen
92 "Bot Friendly Fire Immunity" (1.0.1) by Buster "Mr. Zero" Nielsen
93 "L4D Ghost Fly" (1.1.1a) by Madcap (modified by dcx2)
94 "L4D_Votekick" (1.0) by D1maxa
95 "Gamemode Config Loader" (1.1.0) by Buster "Mr. Zero" Nielsen
96 "Player Commands" (1.5.0-dev+3885) by AlliedModders LLC
97 "Basic Chat" (1.4.5-dev) by AlliedModders LLC
98 "[L4D2] Laser Box Spawner" (1.0) by SilverShot
99 "[L4D2] Charger Power - Objects Glow" (1.1) by SilverShot
100 "[L4D & L4D2] Respawn Rescue Closet" (1.0) by SilverShot
101 "Admin File Reader" (1.5.0-dev+3885) by AlliedModders LLC
102 "Versus Boss Spawn Persuasion" (1.1) by ProdigySim
103 "Admin Help" (1.5.0-dev+3885) by AlliedModders LLC
104 "Basic Chat" (1.5.0-dev+3885) by AlliedModders LLC
105 "[L4D2] Coffee Ammo" (1.3) by McFlurry
106 "L4D SM Respawn" (1.9.3) by AtomicStryker & Ivailosp
107 "Scene Control" (1.0) by Buster "Mr. Zero" Nielsen
108 "L4D2 Bile the World" (1.0.6) by AtomicStryker
109 "Director Variables" (1.1.5) by Buster "Mr. Zero" Nielsen
110 "SMAC Anti-Speedhack" (0.8.0.4) by GoD-Tony
111 "Vocalize Filter" (1.0.0) by Buster "Mr. Zero" Nielsen
112 "Reserved Slots" (1.5.0-dev+3885) by AlliedModders LLC
113 "Basic Info Triggers" (1.5.0-dev+3885) by AlliedModders LLC
114 "L4D2 Friendly Fire Saferoom Protection" (1.0.0) by Buster "Mr. Zero" Nielsen
115 "Admin Menu" (1.5.0-dev+3885) by AlliedModders LLC
116 "Character Access" (1.0.0) by Buster "Mr. Zero" Nielsen
117 "L4D2 No Lost Call" (1.0.0) by Buster "Mr. Zero" Nielsen
118 "[L4D & L4D2] Sappy Fix" (2.0) by raziEiL [disawar1]
119 "Survivor Exploit Fixes" (1.0.0) by Buster "Mr. Zero" Nielsen
120 "Round Start Bot Stop" (1.8) by EHG
121 "L4D2 Jockey Incap Ride" (1.4) by dcx2
122 "[L4D2] Upgrade Pack Spawner" (1.1) by SilverShot
123 "SMAC Client Protection" (0.8.0.4) by GoD-Tony, psychonic, Kigen
124 "First Aid Kit Distributer" (1.0.0) by Buster "Mr. Zero" Nielsen
125 "Vocalize No Lost Call" (1.0.0) by Buster "Mr. Zero" Nielsen
126 "[L4D2] Upgrade Packs FIXES" (1.6) by V10
127 "[L4D & L4D2] Gun Cabinet" (1.0) by SilverShot
128 "Exploit Fixes - Mid Air Explosives" (1.0.0) by Buster "Mr. Zero" Nielsen
129 "[L4D & L4D2] Weapon Spawn" (1.1) by SilverShot
130 "Bot SI skeet/level damage fix" (1.0.4) by Tabun
131 "SMAC Spinhack Detector" (0.8.0.4) by GoD-Tony
132 "SMAC Command Monitor" (0.8.0.4) by GoD-Tony, psychonic, Kigen
133 "[L4D & L4D2] Gear Transfer" (1.5.7) by SilverShot
134 "Automatic Campaign Switcher (ACS)" (v1.2.3) by Chris Pringle
135 "L4D2 Infected Friendly Fire Disable" (1.2) by ProdigySim, Don
136 "[L4D2] 4+ Survivor Afk Fix" (1.4) by MI 5, SwiftReal, raziEiL [disawar1], Electr0 [m_iMeow]
137 "Character Natives" (1.0.0) by Buster "Mr. Zero" Nielsen
138 "Restore Ragdolls" (1.0.0) by Buster "Mr. Zero" Nielsen

Electr000999
08-29-2013, 03:26
117 "L4D2 No Lost Call" (1.0.0) by Buster "Mr. Zero" Nielsen
125 "Vocalize No Lost Call" (1.0.0) by Buster "Mr. Zero" Nielsen

What doubles?

spumer
08-30-2013, 15:29
Sev, can you try install Left4Fix to vanilla server and step-by-step add extensions/plugins? Because on my build all works fine and i can't find problems in your plugins list.

SilentBr
09-08-2013, 17:46
I have a suggestion to your extension

Suppose that you are infected and didn't spawn yet, ghost I mean. I can select the survivor camera to see witch one you want attack by pressing E.

But, you only can "teleport" between the players that appears in the "TAB". Suppose that all 4 "tabs" are rushing and you want get a survivor in the start safe, you can't go there by pressing E.

Got it?

spumer
09-10-2013, 12:53
Got it :)
Links in first post updated. I have a some trouble with windows signatures, and I see no reason delay the release.
As i said earlier linux version no need changes and now you can see link in the first post. Gamedata can be taken only from github.

eric0279
09-15-2013, 13:05
Sev,

Shortcomings of Left4Fix:


You don't see skull when player die.
No way lines can be associated only with 4 players without others, now lines show the total progress (should read as "team progress bar").



I can't reproduce bug with team switch, but if you have problem with this version, let me know.
So, this is stable version, full release with windows support is upcoming. Linux version will not be changed.
You can download latest gamedata from first post(from github). Take this into account: binary in the first post not updated.

UPD: Binaries in this post updated, fix missing part of code.

Hello,

compatible 10v10 ?

spumer
09-21-2013, 02:03
Yes. I compile version for 10vs10 and 8vs8. But it can be compiled for 5vs5, 6vs6 etc.

spumer
10-02-2013, 14:35
Windows is now support. Links in first post updated. Also, i plan to create the small video, just preview of features (if you do not want read text and enjoy the videos).

So, you can post reports and requests in this thread and next planned feature is teleport by pressing 'E' to everybody.

Thanks :)

Sev
02-09-2014, 16:30
Yeah, this extension still crashes for me, even after a clean server wipe with just this extension installed and a plugin that allows for more than 4 survivors and infected.

Not sure where the core problem is.

The crash occurs...

1. Only when there are more than 4 survivors/infected
2. When you try to switch from survivor to infected, it doesn't happen the other way around. You also can't move to spec either if the plugin allows it, as it will also cause a crash.

The only way I've gotten it to work, is with the cheap workaround of not allowing any team switching at all, which is unfortunate.

vs_max_team_switches 0

spumer
02-10-2014, 21:39
Sev, Start gdb, use "attach <pid>" and type "continue". On a crash, get a stacktrace with "bt" and copy that. You can run gdb in screen.

Mr. Zero
04-17-2014, 15:36
I wish to report the same crashing issue as Sev.

I can replicate this bug reliable. Spawn 8 Survivors then change to Infected team from Survivors. This will crash the server.

Sadly I can not provide trace of the stack.

hostname: HOSTNAME
version : 2.1.3.5 5463 secure (unknown)
udp/ip : IP [ public same ]
os : Linux Dedicated
map : c1m1_hotel
players : 1 humans, 0 bots (16 max) (not hibernating) (unreserved)

Metamod:Source version 1.10.0
Build ID: 860:a58a1912f602
Loaded As: Valve Server Plugin
Compiled on: Aug 25 2013
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/

SourceMod Version Information:
SourceMod Version: 1.5.3
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.5.3)
SourcePawn API: v1 = 4, v2 = 4
Compiled on: Mar 21 2014 07:53:28
Build ID: 4026:53569c20fc33
http://www.sourcemod.net/

[SM] Displaying 4 extensions:
[01] Left4Fix (1.0.0.7 (8 players)): Fix score completion on servers have 8+ players
[02] Top Menus (1.5.3): Creates sorted nested menus
[03] SDK Tools (1.5.3): Source SDK Tools
[04] BinTools (1.5.3): Low-level C/C++ Calling API

[SM] Listing 14 plugins:
01 "Basic Commands" (1.5.3) by AlliedModders LLC
02 "Fun Commands" (1.5.2) by AlliedModders LLC
03 "Debug - Add Survivor Bot" (1.0.0) by Buster "Mr. Zero" Nielsen
04 "Sound Commands" (1.5.2) by AlliedModders LLC
05 "Basic Comm Control" (1.5.3) by AlliedModders LLC
06 "Anti-Flood" (1.5.3) by AlliedModders LLC
07 "Basic Votes" (1.5.3) by AlliedModders LLC
08 "Basic Ban Commands" (1.5.3) by AlliedModders LLC
09 "Player Commands" (1.5.3) by AlliedModders LLC
10 "Admin File Reader" (1.5.3) by AlliedModders LLC
11 "Admin Help" (1.5.3) by AlliedModders LLC
12 "Basic Chat" (1.5.3) by AlliedModders LLC
13 "Basic Info Triggers" (1.5.3) by AlliedModders LLC
14 "Admin Menu" (1.5.3) by AlliedModders LLC


I have attached the debug plugin I made to test the extension and recreate the crash. It simply add bots.

spumer
04-20-2014, 07:14
Can you reproduce this bug with latest dev build from attachment?

This version also include fix for warp to survivor in ghost mode by pressing "E" button. Now it try search location for spawn around each player. This feature is stable, but code need more cleanup. All changes in sources uploaded to github (https://github.com/spumer/Left4Fix) and if you interesting you can see it now. I think public release will be on next week (if crash not reproduced, of course).

Mr. Zero
04-21-2014, 16:59
I can confirm the crash still occur with the attached developer build.

I have send you a private message with a video of it, if you happen to need to see how I reproduce the crash.

spumer
05-11-2014, 03:06
Hey, new version 1.1.0.0 is released! First post updated!

Bugfixes:


Possible crash when team is switching (Thanks to Sev and Mr. Zero)

New features:

Now you can warp to each survivor by pressing E button while you are infected in ghost mode
Tiebreak mode is now working and logic changed to check chapter score equality instead of check the survivors count equal to 4 and used defibrillators is same as in different team
Added API to get completion score for each survivor (only for alive right now)

L4FIX_GetSurvivorScore
L4FIX_GetSupportedTeamSize
See usage example in left4fix_test.sp



rvDCInOnqMs
Download: GitHub (https://github.com/spumer/Left4Fix/releases)
Gamedata: GitHub (https://github.com/spumer/Left4Fix/blob/v1.1.0.0/gamedata/left4fix.sig.txt)

legotoytoy
08-04-2014, 17:43
version 1.1.0.0
have WINDOWS version????

spumer
08-05-2014, 07:22
I have no requests for Windows version yet.

Do you wanna use this extension for non-standart server on Windows?

legotoytoy
08-11-2014, 15:44
i like this extension ~~~
my windows server 13vs13 only play on lan~~~~


pls help help~~~~

legotoytoy
08-20-2014, 14:59
who can help !!!!!!!!!!!!!!!!!!!!!!

spumer
08-21-2014, 21:49
I will help. But no have free time for this in last weeks.

legotoytoy
08-23-2014, 09:59
I will help. But no have free time for this in last weeks.

thank you thank you

I wait U~~~~~~~~~~~~:)

spumer (https://forums.alliedmods.net/member.php?u=151387) spumer (https://forums.alliedmods.net/member.php?u=151387) spumer (https://forums.alliedmods.net/member.php?u=151387)
where are you ???

who can help pls?

communitycations
09-21-2014, 17:59
Hi There,

I would appreciate a Windows Build to try this also.

Thanks :)

spumer
10-02-2014, 15:14
So, new version released!
First post updated. I remind you to watch the video with step-by-step presentation: https://www.youtube.com/watch?v=rvDCInOnqMs

Version 2.0.0 is FULLY SUPPORT WINDOWS!

Github:
https://github.com/spumer/Left4Fix/releases/tag/v2.0.0

Or see the attachment ;)

legotoytoy
10-03-2014, 17:42
thank you supmer~~

my server is 13 vs 13.......can help??

spumer
10-04-2014, 00:22
legotoytoy, yes.
Left4Fix 2.0.0 (13 players) in attachment

legotoytoy
10-04-2014, 14:24
legotoytoy, yes.
Left4Fix 2.0.0 (13 players) in attachment

thank youthank youthank youthank youthank youthank you

Bobuk
10-12-2014, 09:48
Can you make it on 12 vs 12? For Linux
Thanks :)

spumer
10-14-2014, 10:11
Yes :)
Left4Fix 2.0.0 (12 players) in attachment

legotoytoy
10-19-2014, 07:28
http://i.imgur.com/6hpC3fr.png

c5m1
pls help help
13 vs 13

spumer
10-19-2014, 14:38
legotoytoy,
It's normal. You have 13 players and score can't divided without error.

You need set per map max score divisible by 13. And remember: max map score is 1024.
In earlier versions of this extension i create a hack, which grow map score depend on given team size (13 in your case). But this not needed in standard cases: 8 and 10 players. This hack also has a simple bug, when you have score more than game expects, the score bar distorted (score lines go out of bounds).

legotoytoy
10-23-2014, 22:15
legotoytoy,
It's normal. You have 13 players and score can't divided without error.

You need set per map max score divisible by 13. And remember: max map score is 1024.
In earlier versions of this extension i create a hack, which grow map score depend on given team size (13 in your case). But this not needed in standard cases: 8 and 10 players. This hack also has a simple bug, when you have score more than game expects, the score bar distorted (score lines go out of bounds).

OH!!! I SEE
thank you!!!!

Machine
10-23-2014, 23:14
Any progress on coop score fix?

You said before you needed to know who used a defibrillator. Why not just copy what V10 already uses in his defibrillation fix extension to get the client?

spumer
10-25-2014, 00:47
Machine,
I have more priority tasks right now. No time for coop adaptation. No progress.

chatyak
12-13-2014, 13:04
Getting an error. If I did something wrong - please let me know. I have a Windows server.

1) Uploaded .dll
2) Uploaded the txt gamedata
3) Created a new autoload file.

Tested in game - seems to be working... but getting this in logs.

L 12/13/2014 - 12:00:28: SourceMod error session started
L 12/13/2014 - 12:00:28: [L4FIX] WarpGhost -- Could not find 'CTerrorPlayer_GetPlayerByCharacter' address
L 12/13/2014 - 12:00:28: [L4FIX] Detour -- Could not find address for detour
L 12/13/2014 - 12:00:33: Error log file session closed.Metamod:Source version 1.10.4
Built from: https://github.com/alliedmodders/metamod-source/commit/e52d2fc
Build ID: 925:e52d2fc


SourceMod Version Information:
SourceMod Version: 1.6.4-dev+4609


[SM] Displaying 14 extensions:
[01] Automatic Updater (1.6.4-dev+4609): Updates SourceMod gamedata files
[02] Webternet (1.6.4-dev+4609): Extension for interacting with URLs
[03] DefibFix Extension (1.0.1): Fixes defibrillator re-revive clone bug (on servers higher than 8 players)
[04] [L4D2] 8+ Players BugFixes (1.0.2): This extension try fix some bugs on server have more than 8 players
[05] Left 4 Downtown 2 Extension (0.5.4.2): Downtown1's extension to perform useful L4D1/L4D2 calls
[06] BinTools (1.6.4-dev+4609): Low-level C/C++ Calling API
[07] Left4Fix (2.0.0 (10 players)): Fix score completion on servers have 8+ players
[08] Top Menus (1.6.4-dev+4609): Creates sorted nested menus
[09] SDK Tools (1.6.4-dev+4609): Source SDK Tools
[10] GeoIP (1.6.4-dev+4609): Geographical IP information
[11] <FAILED> file "geoipcity.ext.dll": The specified module could not be found.
[12] Client Preferences (1.6.4-dev+4609): Saves client preference settings
[13] SQLite (1.6.4-dev+4609): SQLite Driver
[14] SDK Hooks (1.6.4-dev+4609): Source SDK Hooks

chatyak
12-13-2014, 19:04
legotoytoy, yes.
Left4Fix 2.0.0 (13 players) in attachment

I have a question about the extra .dll files you have created (10v10, 13v13, etc..)

Does this mean that it supports up to 13vs13.... or ONLY 13vs13?

I run a server with 4vs4 up to 11vs11+ (number can vary each night).

Should I just use the 13vs13 dll that way I am covered?

I downloaded files from main post :)

spumer
12-15-2014, 06:53
Ok, i think windows gamedata broken after latest update. Thanks for pointing me out.

Earlier i start write the wiki doc about score calculation system in L4D2 [# (https://github.com/spumer/Left4Fix/wiki/How-it-works-inside%3F)]. But has no time to finish him.
If give a straightforward answer: variable is possible, but not implemented. Why? I have some motivation to this:
1. It's not a first priority feature when you start writting new extension
2. Score can't grow infinity, max map score is 1024 (2^10, 10 bits for this value)
3. It's buggy, because score calculated ONLY for ALIVE players, and based on they max count. Say, i die at middle of map, and earn a lot of points. Now, some new players join to server and for all ALIVE players score calculated with new max count value. And now they points "border" (max value) always less than my, less than my CURRENT score (i'm still dead).

max_plr_score = MAX_MAP_SCORE / MAX_PLR_COUNT;
e.g.: 800 / 10 = 80. 80 points is max points value which player can earn at the end. (for 10 players)
800 / 4 = 200. If i die at the middle, i earn 100! points, and score won't be calculated for me, because i'm dead.
I can't reproduce score recalculation for dead players, because this is game restriction.

I recommend you use version for max possible player count on your server.

chatyak
12-15-2014, 17:33
Ok, i think windows gamedata broken after latest update. Thanks for pointing me out.

Earlier i start write the wiki doc about score calculation system in L4D2 [# (https://github.com/spumer/Left4Fix/wiki/How-it-works-inside%3F)]. But has no time to finish him.
If give a straightforward answer: variable is possible, but not implemented. Why? I have some motivation to this:
1. It's not a first priority feature when you start writting new extension
2. Score can't grow infinity, max map score is 1024 (2^5, 5 bits for this value)
3. It's buggy, because score calculated ONLY for ALIVE players, and based on they max count. Say, i die at middle of map, and earn a lot of points. Now, some new players join to server and for all ALIVE players score calculated with new max count value. And now they points "border" (max value) always less than my, less than my CURRENT score (i'm still dead).

max_plr_score = MAX_MAP_SCORE / MAX_PLR_COUNT;
e.g.: 800 / 10 = 80. 80 points is max points value which player can earn at the end. (for 10 players)
800 / 4 = 200. If i die at the middle, i earn 100! points, and score won't be calculated for me, because i'm dead.
I can't reproduce score recalculation for dead players, because this is game restriction.

I recommend you use version for max possible player count on your server.

Great. Thanks. I will use version I have now as it works well!

Thank you

spumer
12-19-2014, 07:48
chatyak, i verified 2137 signatures, and Windows version is not broken.
Looks like some installed plugin or extension use the same function and patch(change) it.

Try use following signature:

"CTerrorPlayer_GetPlayerByCharacter"
{
"library" "server"
"linux" "@_ZN13CTerrorPlayer20GetPlayerByCharacterE21S urvivorCharacterType"
"windows" "\x2A\x2A\x2A\x2A\x2A\x08\x83\xEC\x08\x83\xF8\ x08\x75\x06\x33\xC0"
/* ? ? ? ? ? 08 83 EC 08 83 F8 08 75 06 33 C0 */
}

chatyak
12-21-2014, 21:48
I will try this and replace in l4fixsig.txt - will reply back :)

chatyak
12-24-2014, 19:13
Update - Still get some errors BUT - it works well and isn't causing issues... I think just text error. Do you need plugin list? I can provide :)

No worries.

spumer
01-24-2015, 09:01
chatyak, i think gamedata errors is just conflict with Defibfix (V10).

Try this, now unknown bytes count is 6 instead 5. Because detour technique is different.

"CTerrorPlayer_GetPlayerByCharacter"
{
"library" "server"
"linux" "@_ZN13CTerrorPlayer20GetPlayerByCharacterE21S urvivorCharacterType"
"windows" "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xEC\x08\x83\xF8\ x08\x75\x06\x33\xC0"
/* ? ? ? ? ? ? 83 EC 08 83 F8 08 75 06 33 C0 */
}

spumer
02-04-2015, 02:12
Left4Fix 2.0.1 released!

https://github.com/spumer/Left4Fix/releases/tag/v2.0.1

Bugfixes:


Crash on round end no longer occured (Linux regression)
'Warp ghost fix' now works on Windows with other extensions (e.g. DefibFix)



PS: First post will be updated later, when i win the 'empty message bug' when use `edit` button.

UPD: First post updated

Krufftys Killers
02-12-2015, 22:10
Is there a 8v8 version I have a 16 slot server

spumer
02-12-2015, 22:24
Is there a 8v8 version I have a 16 slot server
8 players mean 8 survivors

I don't understand what do you want.

chatyak
03-02-2015, 19:25
@Spumer - I never saw your messages. Sorry!

I will test new code :)

chatyak
03-02-2015, 20:06
No errors in log - so far ok!

Spirit_12
01-05-2016, 10:37
It would be great, if you can add a CVAR instead of hard coding the player limit. That way plugins can hook it and change the scoring.

loxii
01-06-2016, 19:58
I'm trying to use this on a 5v5 server, and have some problems. First of all, If all 5 survivors make it to the saferoom, it awards exactly half of the Completion score. So if the completion score is 400 it will only award 200 + survival bonus (5x25). It seems to be awarding completion score at half the rate it should.

Secondly, if all 5 survivors make it to the saferoom, it only awards 400 completion score(if we assume the above bug is fixed) shouldnt it be out of 500(for that specific chapter)? Or does each survivor get less score for completing the map(80 in this case)?

EDIT: I think its because I am using left4fix.ext.2.10players for 5v5 (5 survivors), could you please make a 5v5 Windows version.

spumer
01-06-2016, 20:24
EDIT: I think its because I am using left4fix.ext.2.10players for 5v5 (5 survivors), could you please make a 5v5 version.

8 players mean 8 survivors

Yes, you use incorrect version. See the attachment for version for 5 survivors (5vs5 server) of 2.0.1 release.

Secondly, if all 5 survivors make it to the saferoom, it only awards 400 completion score(if we assume the above bug is fixed) shouldnt it be out of 500(for that specific chapter)? Or does each survivor get less score for completing the map(80 in this case)?Second way. Previously i give answer to similar question [# (https://forums.alliedmods.net/showpost.php?p=2235551&postcount=67)]
Also, i think this is right way. We solve calculation problem, not map (maximum) scoring problem or anything else. Map score not guilty.

It would be great, if you can add a CVAR instead of hard coding the player limit. That way plugins can hook it and change the scoring.What do you want to do with that? If you want change player limit dynamically you will have incorrect score calculation. Players count in this is case it's a part of code. I think this is can be moved to gamedata. But not all places in the code ready for this. I ask question again: what do you want to do with that feature? May be we can find another way.

loxii
01-06-2016, 20:25
Yes, you use incorrect version. Attach version for 5 survivors of 2.0.1 release (5vs5 server).


Could you please post a windows version.

Thanks!

spumer
01-06-2016, 20:42
Could you please post a windows version.

Thanks!
Yes, but tomorrow only.

Spirit_12
01-07-2016, 08:49
What do you want to do with that? If you want change player limit dynamically you will have incorrect score calculation. Players count in this is case it's a part of code. I think this is can be moved to gamedata. But not all places in the code ready for this. I ask question again: what do you want to do with that feature? May be we can find another way.


You mentioned what I been wanting to do with it. I plan on changing the slots dynamically. I don't have a static player count on the server, and dynamic settings would be great for me.

Also, would it be possible to go over the points allotted to the map? What you have done actually hurts the gameplay. By reducing the overall points you have made defibs useless as it's hard to get 25 points with one survivor. Good fix would be to either go over the maximum allowed points or reduce the points for defib and making it to the safe room. That would balance the game play.

spumer
01-07-2016, 20:10
Spirit_12,

1. Map score limited by 1024 points
2. We can't (re)calculate score for dead survivors (game restriction)

This is why dynamic scoring is bad idea. We can't guarantee right score.

About gameplay:
1. You can adjust defib penalty by "vs_defib_penalty" convar
2. You can adjust survival bonus by "vs_survival_bonus" convar

This should be enough in mentioned case.

I recommend you use version for maximum possible survivors count, e.g.: max 10 survivors - 10players version.

loxii
01-09-2016, 03:39
Yes, but tomorrow only.

Its been a few days, any updates on the 5 survivor extension for windows?

Thanks.

spumer
01-10-2016, 07:00
loxii, sorry for my late answer. Windows version attached to previous post [# (https://forums.alliedmods.net/showpost.php?p=2380768&postcount=80)]

UPD: added windows version for 6vs6 version by loxii request

Merudo
02-19-2016, 17:16
Is Left4Fix compatible with the 8+ players Bug Fixes (https://forums.alliedmods.net/showthread.php?t=121945)?

The later has a "Survivor finale score bug" fix, as well as a Charger stop bug fix & a Witch fix.

Spirit_12
02-19-2016, 17:17
Let me answer this. Yes, it is compatible with bug fixes.

Merudo
03-04-2016, 20:28
loxii, sorry for my late answer. Windows version attached to previous post [# (https://forums.alliedmods.net/showpost.php?p=2380768&postcount=80)]

UPD: added windows version for 6vs6 version by loxii request

spumer, I noticed you had to create a version for each team size (5vs5,6vs6,8vs8,10vs10, etc.)

Is there a reason why this is the case? Why can't the team size be determined through loading a configuration file or through a cvar?

It would make it a lot easier to change the team size without having to reinstall your extension each time.

spumer
03-06-2016, 09:20
No special reason for this. Historically.

If you want change player limit dynamically you will have incorrect score calculation. Players count in this is case it's a part of code. I think this is can be moved to gamedata. But not all places in the code ready for this.

First words say you why i can't move it to ConVar.

I think i can move it to gamedata. May be this will help to provide this extension on game-hosting servers.

Merudo
03-07-2016, 03:28
If you want change player limit dynamically you will have incorrect score calculation.

I agree changing the player limit in the middle of a match would create nightmares.

However, why not count the survivors and change the player limit the moment they first leave the safehouse? No score is earned until then...

spumer
03-07-2016, 08:25
Because common case is static players count. Dynamic counting will be helpful for dynamic team size.
But counting players may be inaccurate, because

[from https://github.com/spumer/Left4Fix/blob/v2.0.1/src/detours/on_recompute_versus_completion.cpp#L134]

// Team changing leads to create additional bot and then add him to team
// Only after this real player will be placed to requested team
// When changing team in progress the both players (bot and human) has a 0 points

And this mean we have 2 players: real and temp.

Also, I think i found way to implement dynamic score calculation. And now i can add ConVar for team size.

Actually I have no time (motivation?) for this. Which is real use-cases for this feature?
I look to TOP15 (http://www.gametracker.com/search/left4dead2/) servers and see servers with constat players count.

Merudo
03-08-2016, 07:10
I think the main benefit of having a convar for team size, is the ease of updating/changing the extension.

Right now if you fixed a bug you'll have to create 5-6 new versions for 5vs5,6vs6,8vs8, etc.

Also depending on the application it may take as much time to make a universal version with convar, than it would to make say, a single requested 13vs13 version.

Merudo
03-22-2016, 14:53
Actually I have no time (motivation?) for this. Which is real use-cases for this feature?
I look to TOP15 (http://www.gametracker.com/search/left4dead2/) servers and see servers with constat players count.

I have been working on Superversus, and some of my users requested the option to allow a variable number of survivors on versus.

The main idea is to have start the server as a 4vs4, and add more survivors & infected as players join.

Most players would rather play 4 human survivors VS 4 human infected with the option to scale up to (say) 10vs10, instead of being stuck with 4 human survivors & 6 survivor bots VS 4 human infected & 6 infected bots.

I'm working on the feature, but it'd be great if Left4Fix would support it.

Sev
03-22-2016, 15:17
The problem is players will switch teams once they realize whose good and whose not, so teams will become lopsided and if not, they'll just quit or rejoin and hope to join the other team. You'd have to keep track of their STEAM ID's for entire maps to ensure they couldn't join to just stay on the winning/lopsided team.

Merudo
03-22-2016, 17:33
Preventing them from joining a team if the teams are unbalanced is easily doable.

cravenge
05-03-2016, 11:25
There is a cvar that restricts team switching. I think it was "sv_restrict_team_switch" or something I didn't know correctly but it has "restrict_team_switch" in it. Instead of changing vs_max_team_switches to 0, you can enable this one to prevent the issue.

spumer
06-12-2016, 01:27
3 signatures are broken...
I need new server.dll file. Please attach and i will try search new signatures.

spumer
06-12-2016, 04:36
If latest (2145) version affected by this problem i still need new version of server.dll to fix this.
Older version not supported , but if you need it - provide binary and i will try to help you.

cravenge
09-22-2016, 01:26
Hiya, just checking on this extension. I noticed this just now but when players die, the skull that indicates a survivor's state is not there anymore. Hmmm, I'll check on the signatures if it's changed.

spumer
09-22-2016, 15:04
Hiya, just checking on this extension. I noticed this just now but when players die, the skull that indicates a survivor's state is not there anymore. Hmmm, I'll check on the signatures if it's changed.
Skull is not shown anymore. Because lines interpret total score - not per client.
See the video from first post.

spumer
09-24-2016, 12:48
Also, spumer, why does the score calculation stop whenever a player reaches the safe room? Tried it myself (hosting a 13vs13 hardcore modded server) and it's working fine with deaths but with no deaths, it only stops at 490 instead of 500 (c1m1_hotel).
Similar question (https://forums.alliedmods.net/showpost.php?p=2212936&postcount=60) with "13vs13" was previously asked. I gave an answer (https://forums.alliedmods.net/showpost.php?p=2213146&postcount=61)

cravenge
09-26-2016, 08:15
Similar question (https://forums.alliedmods.net/showpost.php?p=2212936&postcount=60) with "13vs13" was previously asked. I gave an answer (https://forums.alliedmods.net/showpost.php?p=2213146&postcount=61)Silly me, should have looked at the other posts. Anyway, thanks. :)

Joshep
12-28-2016, 10:16
Hello.
Can someone help me.
I'm using 8v8 extension in a versus in 6v6.
Maybe? if had a bit of time can climb or place an extension for 6v6 for linux.
I wait no problem. :)

spumer
12-29-2016, 17:03
Hello.
Can someone help me.
I'm using 8v8 extension in a versus in 6v6.
Maybe? if had a bit of time can climb or place an extension for 6v6 for linux.
I wait no problem. :)
Left4Fix 2.0.1 for 6vs6

Joshep
01-19-2017, 15:53
Thank you for uploading the file.
But creates accident of the server when I connect and it closes with Segmentation fault (core dumped) in the console of the server.
I was using the Left4Fix 2.0.1 for 8v8 without accidents.
any suggestion? :cry:

spumer
01-20-2017, 14:01
Other versions works normally? Problems only with latest 6vs6 build?

cravenge
01-20-2017, 18:24
Also, 13v13 for Windows randomly crashes the server any time. Don't know the reason why but other version still works without any problems.

Joshep
01-23-2017, 23:59
Apparently Yes. The crash is when it finishes loading the map and just see the message of the day the server is closed.
I use a time the 10v10 also without problems. all the linux

Visual77
01-28-2017, 08:13
Are all windows signatures up to date with the new 2.1.4.7?

Spirit_12
01-28-2017, 16:06
Are all windows signatures up to date with the new 2.1.4.7?

Why don't you try it out and let us know, if they are not.

Visual77
01-28-2017, 18:40
Why don't you try it out and let us know, if they are not.

Loads fine but I was hoping someone could do an assembly check in IDA and check so
nothing's changed.

Spirit_12
01-28-2017, 19:34
Loads fine but I was hoping someone could do an assembly check in IDA and check so
nothing's changed.

I would recommend you to test content first before making a post, if there is a problem you are more than welcomed to ask for help, but otherwise it would take away someone's time that can be better utilized.

cravenge
01-28-2017, 21:25
Loads fine but I was hoping someone could do an assembly check in IDA and check so
nothing's changed.Just checked and found only CTerrorPlayer_Fling, TakeOverZombieBot, and 5 other sigs changed but I'm not sure. Took me big time to thoroughly scan the linux binary.

Spirit_12
01-28-2017, 22:01
Just checked and found only CTerrorPlayer_Fling, TakeOverZombieBot, and 5 other sigs changed but I'm not sure. Took me big time to thoroughly scan the linux binary.

Linux shouldn't take more than 5 mins to get all this done. Are you not using labels ?

Accelerator
06-01-2017, 04:58
The extension causes the server to crash on linux.

When call function: https://github.com/spumer/Left4Fix/blob/master/src/detours/on_recompute_versus_completion.cpp#L129

Need update GetVersusCompletion patches in score_code_linux.cpp
If you compile using score_code_lite.cpp - everything works fine.

spumer
06-01-2017, 06:58
Works fine on 2.1.4.7 version. As i known it's a latest server version.
Try pre-compiled versions. May be you have different build environment?

Accelerator
06-01-2017, 07:01
Before branch sourcemod 1.7, extension worked fine (Sourcemod branch 1.6). As soon as I upgraded the sourcemod version to 1.7, the extension immediately caused the server to crash. And I had to leave him for a long time, but now I again returned to him.

Now I am building an extension, using the latest versions of sourcemod 1.8, metamod 1.10 and hl2sdk-l4d2, GCC 5.4. Also I tried GCC 4.8 and 4.7, the server is falling anyway.

spumer
06-04-2017, 15:34
Left4Fix 2.0.2 is here!

Bugfixes:


Fix possible segfault (Linux) (thanks to Accelerator74)
Try to fix 'Warp ghost' teleport to same survivor twice


Links in first post updated. No windows build yet.

https://github.com/spumer/Left4Fix/releases/tag/v2.0.2

St00ne
07-04-2017, 06:51
Hi there,

Sorry if this has already been asked, but does this extension also fix final scores for campaigns with 5+ players?

Thx

Spirit_12
07-04-2017, 13:10
You need l4d2_bugfixes_ext for fixing campaign scores. You can grab it from the forums or from the link in my signature to my repo.

St00ne
12-01-2017, 01:59
Ok, I tried and it didn't work. I'm confused cuz I found a l4d2_bugfixes.ext.2.l4d2.so and I think it's the wrong one.

So now I'm trying with l4d2_bugfixes.ext.so and left4fix.ext.2.l4d2.so. Ofc I have latest gamedata for both.

I'll see if it works.

4NTEP xD
01-20-2018, 23:59
Hello! Thanks for this extension for Left 4 Dead 2. Nice work! But i download with this forum versions:
1) Windows - 5vs5; 6vs6; 8vs8; 10vs10; 12vs12; 13vs13 (all works in my local windows server).
2) Linux - 5vs5 (crash); 6vs6 (crash); 8vs8 (work); 10vs10 (work); 12vs12 (crash); 13vs13 (crash) - on my public linux server. My server have 6vs6 (4vs4 real players, but 6vs6 with bots). I used 8vs8 ext, but score dont display correctly (75% of total scores if all 6 survivors in the saferoom). Please, create new version for Linux (6vs6 and other versions if possible). Thank you in advance!
P.S. I use Source Mod v1.8.0 (git5947 for linux) and Meta Mod v1.10.7 (b952 for linux).

spumer
01-22-2018, 11:38
Hello! Thanks for this extension for Left 4 Dead 2. Nice work! But i download with this forum versions:
1) Windows - 5vs5; 6vs6; 8vs8; 10vs10; 12vs12; 13vs13 (all works in my local windows server).
2) Linux - 5vs5 (crash); 6vs6 (crash); 8vs8 (work); 10vs10 (work); 12vs12 (crash); 13vs13 (crash) - on my public linux server. My server have 6vs6 (4vs4 real players, but 6vs6 with bots). I used 8vs8 ext, but score dont display correctly (75% of total scores if all 6 survivors in the saferoom). Please, create new version for Linux (6vs6 and other versions if possible). Thank you in advance!
P.S. I use Source Mod v1.8.0 (git5947 for linux) and Meta Mod v1.10.7 (b952 for linux).

Release page updated: https://github.com/spumer/Left4Fix/releases/tag/v2.0.2

Spirit_12
01-26-2018, 19:40
Release page updated: https://github.com/spumer/Left4Fix/releases/tag/v2.0.2

Any chance you can manipulate the finale score to be higher? Like lets say Map is worth 400 points and you have 10 survivors. Instead of that 400 being split between 10 survivors. I feel increasing the 400 to 1000 would be a better option. This will remove the need to offset survival bonus and defib penalty.

Thoughts?

spumer
01-28-2018, 13:24
Any chance you can manipulate the finale score to be higher?
No. You can change it by yourself by addon (much tutorials in the Internet)
You need modify value of "VersusCompletionScore" for each mission. For example c1m1_hotel data placed in file "missions/campaing1.txt" (pak01_dir.vpk)

Spirit_12
01-28-2018, 16:26
No. You can change it by yourself by addon (much tutorials in the Internet)
You need modify value of "VersusCompletionScore" for each mission. For example c1m1_hotel data placed in file "missions/campaing1.txt" (pak01_dir.vpk)

Could this be done with Stripper?

Striker black
04-23-2018, 22:56
Hello, currently I have a server of 0/26 slots 13vs13 and I would like to open another with more slots say that 16vs16, is it possible?

spumer
04-24-2018, 08:58
Could this be done with Stripper?
I don't know

Hello, currently I have a server of 0/26 slots 13vs13 and I would like to open another with more slots say that 16vs16, is it possible?

Possible, but will be very unstable. With or without extension.

Spirit_12
05-30-2018, 19:12
I don't know

Editing the mission files will not work, as I need it to work on all maps not just stock ones. Also, some of the older custom maps don't even use mission files, if I recall correctly.

nandofs
05-31-2018, 17:25
Excuse me, but it does not work for me.
or maybe it's because he did not create left4fix.autoload.
If so, explain how to create left4fix.autoload

hmmmmm
05-31-2018, 21:13
Excuse me, but it does not work for me.
or maybe it's because he did not create left4fix.autoload.
If so, explain how to create left4fix.autoload

Create a new file and name it left4fix.autoload, doesn't need to have any actual content in the file

nandofs
06-24-2018, 02:12
HELLO DICULPE I HAVE THIS ERROR.
TRY TO SOLVE IT BY PROVIDING OLDER VERSIONS BUT NOTHING.
I WAS REVISING AND THIS WAS LEAVING ME.

L 06/24/2018 - 01:05:54: [SM] Unable to load extension "left4fix.ext": error code 0000007e

there would be a solution

Spirit_12
06-24-2018, 12:39
HELLO DICULPE I HAVE THIS ERROR.
TRY TO SOLVE IT BY PROVIDING OLDER VERSIONS BUT NOTHING.
I WAS REVISING AND THIS WAS LEAVING ME.

L 06/24/2018 - 01:05:54: [SM] Unable to load extension "left4fix.ext": error code 0000007e

there would be a solution

That error means file is not present in your extensions folder. Make sure you name your auto load file as left4fix.autoload and not left4fix.ext.autoload.

SilentBr
11-21-2018, 00:22
Hello spummer

I'm using this extension since the beggining and you have done a perfect job. Now my server has no bots, I mean, according players join/leave the server, the survivor_limit/infected_limit will be changed.

I understand you need to install a different extension according to the number of survivors.
But I was wondering if it is possible a fix in this case. I mean, I install the extension left4fix 13 and somehow the extension will check how many survivors left the start safe and apply the changes.

PS: The survivor_limit will change a few times. I would suggest to get the number when at the start safe, and refresh on the second round.

Is that possible?

Thank you in advance.

spumer
11-23-2018, 03:07
I can expose function to manage Left4Fix players count.
Then you can change it any time, but all possible score bugs will be problem of your plugin.

It solve your problem?

mathilde
01-21-2020, 21:30
Rookie question(kind of related to nandofs'.
left4fix.ext.2.l4d2 & left4fix.autoload are in both present in "extensions"; left4fix.sig.txt is in "gamedata" but left4fix is not in meta list. Is that normal?

spumer
01-22-2020, 04:23
Rookie question(kind of related to nandofs'.
left4fix.ext.2.l4d2 & left4fix.autoload are in both present in "extensions"; left4fix.sig.txt is in "gamedata" but left4fix is not in meta list. Is that normal?

What you see if try load it manually by command: sm exts load left4fix ?

mathilde
01-22-2020, 06:29
[SM] Loaded extension left4fix.ext.dll successfully.

So it's good, no? But is it automatically loaded. Or do you have to type the sm exts load command everytime?

spumer
01-22-2020, 08:02
So it's good, no? But is it automatically loaded. Or do you have to type the sm exts load command everytime?
If it's loaded automatically and works fine that's ok.
If it's not loaded automatically it's strange.

If you don't see extension in meta list it's strange
If you don't see extension in meta list after manual loading it's VERY strange

That's all i know.

Marxmodder
05-23-2020, 07:05
Rookie question(kind of related to nandofs'.
left4fix.ext.2.l4d2 & left4fix.autoload are in both present in "extensions"; left4fix.sig.txt is in "gamedata" but left4fix is not in meta list. Is that normal?

I had the exact same issue recently. The cause of the error was rather stupid... I downloaded the left4fix.sig.txt using the following link https://github.com/spumer/Left4Fix/blob/v2.0.1/gamedata/left4fix.sig.txt in Google Chrome (right click -> save as). But the downloaded file was way bigger than the left4fix.sig.txt file on github. Somehow Chrome added a lot of lines. So I just opened a new file with notepad++ and manually copied the content of the left4fix.sig.txt file from github to it and saved it as left4fix.sig.txt. Then the addon was loaded properly and it was listed in "meta list" and loaded without errors.

Check that with "sm exts list".
The error message was: <FAILED> file "left4fix.ext.2.l4d2.dll": Could not read left4fix.sig.txt: A property was declared outside of a section.

My system:
Windows 10
left4fix 2.0.1 (left4fix.autoload and left4fix.ext.2.l4d2.dll in extensions folfer, left4fix.sig.txt in gamedata folder)
metamod 1.10
sourcemod 1.10
L4D2 dedicated server patch version 2.1.5.5

spumer
09-24-2020, 14:55
I still work to check all signatures and thanks to ProdigySim to help me, so it's first part of fixed gamedata


"VersusCompletionScore"
{
"linux" "996"
//"windows" "984" // broken since 2.2.0.0
}

I guess no more changes needed, but who knows.

Windows version will be later, if you interesting in windows version please send me server.dll, this will speedup this process :)
And i need help to test windows, cause i don't have windows server of course

Spirit_12
09-24-2020, 17:38
I still work to check all signatures and thanks to ProdigySim to help me, so it's first part of fixed gamedata

I guess no more changes needed, but who knows.

Windows version will be later, if you interesting in windows version please send me server.dll, this will speedup this process :)
And i need help to test windows, cause i don't have windows server of course

Are you sure 996 is the correct offset? I seem to be having issues with this.

Still needs work. It doesn't end the game when survivors reach safe-room nor does it update the score based on progress.

SilentBr
09-25-2020, 13:44
Are you sure 996 is the correct offset? I seem to be having issues with this.

Still needs work. It doesn't end the game when survivors reach safe-room nor does it update the score based on progress.

I have 3 servers using this extension. Only 1 of them runs without error and I checked 3 times if I did update the gamedata. This is crazy haha.I have no idea why the other 2 have this issue (all linux).

spumer
09-25-2020, 15:02
https://github.com/spumer/Left4Fix/releases/tag/v2.0.3rc

Spirit_12
09-25-2020, 17:33
https://github.com/spumer/Left4Fix/releases/tag/v2.0.3rc

Doesn't work for me.

SilentBr
09-25-2020, 21:14
I have some bugs after the game update:

The walkthrough is 109%
It reachs the "end" when it is not the final safe, for example, c1m1_hotel you got 109% points when you reach the elevator.

https://github.com/spumer/Left4Fix/releases/tag/v2.0.3rc

Not working properly. First bug that I found was when you leave saferoom still 0 points. But when switching rounds the points are there.

At least when we arrived at the elevator did NOT considered the finalsafe.

EDIT: Did you confuse the gamedata? It looks like the older one.

spumer
09-26-2020, 14:53
v2.0.3rc was build for 10 players. If you test with another amount of survivors you can get unexpected results.

So. Now i test it by myself and all works fine:

- compute completion score for each survivor
- warp to each survivor in ghost mode
- tiebreaker

Soon I will update release page on github with that release and all linux binaries for common TEAM_SIZE value

Windows version can be still broken

spumer
09-26-2020, 15:59
So, i have a question to community (who use Left4Fix or want to try) about Tiebreaker.

Original logic check if teams use same defibs count and survivor multiplier counter (how much survivors are escaped/in the saferoom) in each team is 4 (all survivors for unmodded server).

Left4Fix patch this logic and bring new: if completion score for chapter is same - run tiebreaker.
Actually i don't remember why i did this change and just don't patch only survivor count to preserve original logic.

And my question to you: what you think about it? Do you want use original logic on multislot servers or current preferred?

SilentBr
09-26-2020, 22:59
v2.0.3rc was build for 10 players. If you test with another amount of survivors you can get unexpected results.

So. Now i test it by myself and all works fine:

- compute completion score for each survivor
- warp to each survivor in ghost mode
- tiebreaker

Soon I will update release page on github with that release and all linux binaries for common TEAM_SIZE value

Windows version can be still broken

Not, it is not working properly.

[04] Left4Fix (2.0.2 (10 players)): Fix score completion on servers have 8+ players

Still 0 points when leave safe room.

The link that you posted has only gamedata, I updated it, not working.

Silvers
09-26-2020, 23:14
Latest binaries: https://github.com/spumer/Left4Fix/releases/tag/v2.0.3

SilentBr
09-27-2020, 15:33
Latest binaries: https://github.com/spumer/Left4Fix/releases/tag/v2.0.3

Now the walktrough is correct, but with 10 players in Dead Center finale, counted only 4. Not sure yet the other saferooms.

EDIT: Server is crashing on startup when using the 8 players version.

spumer
09-27-2020, 15:41
Now the walktrough is correct, but with 10 players in Dead Center finale, counted only 4. Not sure yet the other saferooms.

I'm walked trough all maps in Dead Center before release. Multiplier counter on final should be fixed by https://github.com/Accelerator74/l4d2_bugfixes, Left4Fix don't do that


EDIT: i was register issue about crash on 8 players version: https://github.com/spumer/Left4Fix/issues/3 anyone can subscribe to it
EDIT2: I was update release with new binaries for 8 players, now you can download it and use safely

Spirit_12
09-29-2020, 01:19
I ran your 8 player version and it worked on the one map that I tested. Will report if I see any other issues with it.

Thanks for your hard work.

itwasaninsidejob
11-07-2020, 16:06
Hello,

The current gamedata file gives the following errors in sourcemod logs on a 22 player windows server:

[L4FIX] Can't get one of the "scorecode" signatures: 0/0/0

Has Version 2.0.3 got windows support yet?

Many Thanks

spumer
11-08-2020, 11:49
No, i need new server.dll to make gamedata. Can you send it to me?

itwasaninsidejob
11-29-2020, 01:14
Any update on this please? I PM'd you the file a couple weeks back.

Many thanks :)

4NTEP xD
12-16-2020, 11:49
No, i need new server.dll to make gamedata. Can you send it to me?
Hello! Are you need this files?
.../Left 4 Dead 2 Dedicated Server/left4dead2/bin/server.dll (file #1)?
or
.../Left 4 Dead 2/left4dead2/bin/server.dll (file #2)?
or
.../addons/metamod/bin/server.dll? (file #3)?

anonymous0
01-06-2021, 06:09
hi guys , Latest working gamedata for windows (2.2.1.1)
:)

jking
05-23-2021, 21:02
So if I read right, no windows version at this time?

spumer
05-25-2021, 15:42
So if I read right, no windows version at this time?

Yea, i need move project to ambuild for builing windows version via github

Spirit_12
05-25-2021, 16:57
That shouldn't be hard. Just use the default scripts. They are pretty handy.

SilentBr
06-17-2021, 08:25
Did anyone get this extension working after the latest update?

spumer
06-17-2021, 16:15
I'm getting new gamedata, but some code will be rewritten.

I hope release fix very soon. It's not hard changes

SilentBr
06-17-2021, 16:46
I'm getting new gamedata, but some code will be rewritten.

I hope release fix very soon. It's not hard changes

Thanks spumer for your help.

Spirit_12 has posted a new gamedata that is working for him, for me instantly crashes my server if someone joins. I tried to update sm and mm, no success.

Spirit_12
06-17-2021, 17:44
I'm getting new gamedata, but some code will be rewritten.

I hope release fix very soon. It's not hard changes

Why part of code are you rewriting? Also can we change the DIV signatures to offsets ?

spumer
06-18-2021, 03:24
Why part of code are you rewriting? Also can we change the DIV signatures to offsets ?

Just small refactoring.

No, we can't. Cause we change one block of asm code to the new one.
I will explain.

See the screenshot. Actually we need replace only one instruction is `sar eax, 2` which means bit shift and it's short notation for dividing by 4: maxCharacterCompletionScore / 4

But our instructions set is bigger than 3 bytes cause we want customize player count, e.g 10 instead 4.
We patch bit shifting and other commands, but copy them to our memory block to ensure flow still be correct.
More info about what really happend you can see in file: https://github.com/spumer/Left4Fix/blob/8002ddbf4efc8048e01f943bdd0d42fe4a3deb95/src/codepatch/patch_description.txt

So, on screenshot you also can see instructions for 2.2.1.2 and 2.2.1.3 versions have different order and we can't just move by offset and apply patch. Instruction can be reordered.

Offsets cool thing when you change one byte or constant sequence. Here we have non-constant sequence.

----

Other idea to simplify all of that is store original memsig and patch bytes in gamedata. It's really good, but taking into other trouble - we need include TEAM_SIZE into patch bytes.

Idk how to make it clear and comfortable to use. This is why we have TEAM_SIZE defined on build stage.

----

With fixes for 2.2.1.3 update i will migrate project to ambuild and anyone can build it for windows and linux as well ;)

Spirit_12
06-18-2021, 22:27
Based on what you said. Wouldn't using sourcescramble make it easier.

https://forums.alliedmods.net/showthread.php?t=317175

SilentBr
06-23-2021, 16:10
I'm getting new gamedata, but some code will be rewritten.

I hope release fix very soon. It's not hard changes

Hi Spumer,

Are you going to release the new versions soon? Your extension is essential! :wink:

spumer
06-23-2021, 16:54
You can got Linux version from this Github Action: https://github.com/spumer/Left4Fix/actions/runs/965756003

It's tested and works fine. Package include new gamedata and binary.

Also, i'm ready to update windows signatures. Can someone post server.dll from latest update?

I still need code cleanup. After this i will publish current release officially

SilentBr
06-24-2021, 17:21
You can got Linux version from this Github Action: https://github.com/spumer/Left4Fix/actions/runs/965756003

That's brilliant thanks for your job.

I've opened the link but could not find the zip to download :oops::cry:

spumer
06-25-2021, 07:32
Scroll down to artifacts and you must be logged in on GitHub

SilentBr
06-25-2021, 09:06
Scroll down to artifacts and you must be logged in on GitHub

They are not links. When I put my mouse pointer over them, nothing happens. I don't know what I am doing wrong.

Spirit_12
06-25-2021, 11:59
They are not links. When I put my mouse pointer over them, nothing happens. I don't know what I am doing wrong.

Its the same for me as well.

DJ Tsunami
06-25-2021, 15:05
They are not links. When I put my mouse pointer over them, nothing happens. I don't know what I am doing wrong.
Then you're not logged into GitHub.

SilentBr
06-25-2021, 16:21
Then you're not logged into GitHub.

ughhh. Downloaded :bacon!:

Edit: <FAILED> file "left4fix.ext.2.l4d2.so": /lib/i386-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
I'm using ubuntu.

DJ Tsunami
06-26-2021, 03:11
Edit: <FAILED> file "left4fix.ext.2.l4d2.so": /lib/i386-linux-gnu/libm.so.6: version `GLIBC_2.29' not found
I'm using ubuntu.
The extension was compiled on Ubuntu 20.04, which somehow causes it to fail to load on older Ubuntu versions. If spumer changes ubuntu-latest to ubuntu-18.04, it will load on 18.04 and below.

SilentBr
06-26-2021, 10:49
The extension was compiled on Ubuntu 20.04, which somehow causes it to fail to load on older Ubuntu versions. If spumer changes ubuntu-latest to ubuntu-18.04, it will load on 18.04 and below.

Spumer could you please do that? :oops:

spumer
06-26-2021, 11:21
The extension was compiled on Ubuntu 20.04, which somehow causes it to fail to load on older Ubuntu versions. If spumer changes ubuntu-latest to ubuntu-18.04, it will load on 18.04 and below.

Done: https://github.com/spumer/Left4Fix/actions/runs/974417647

SilentBr
06-28-2021, 14:05
Done: https://github.com/spumer/Left4Fix/actions/runs/974417647

Just tested the 10 ppl version, and it is working. You are the best. Thank you very much.

spumer
07-10-2021, 12:01
Guys, i'm verified windows gamedata and as i can see Windows version works fine always.

Crashes can only occures for 8players version, but it's fixed: https://github.com/spumer/Left4Fix/issues/3

So, if you ready to test or confirm it works, let me known on github https://github.com/spumer/Left4Fix/pull/6

Voevoda
07-19-2021, 19:22
Hi,

build with 13players on linux and when will it be?

spumer
08-15-2021, 06:56
Hi,

build with 13players on linux and when will it be?

https://github.com/spumer/Left4Fix/releases/tag/v2.1.0

Sappykun
10-17-2022, 21:41
EDIT: I got it working, I needed to add #include "jit/jit_helpers.h" before every #include "CDetour/detourhelpers.h" line.
I also needed to compile this under Sourcemod 1.6, otherwise the server crashed the moment someone joined.

.......

I'm trying to compile this extension against Sourcemod 1.11 and Metamod 1.11, but I am running into the following error:

In file included from /home/l4d2/alliedmodders/Left4Fix/src/codepatch/tiebreak.cpp:35:
In file included from /home/l4d2/alliedmodders/sourcemod/public/CDetour/detourhelpers.h:41:
/home/l4d2/alliedmodders/sourcemod/public/jit/x86/x86_macros.h:54:7: error: unknown type name 'jit_uint8_t'; did you mean '__uint8_t'?
const jit_uint8_t kREG_EAX = 0;
^~~~~~~~~~~
__uint8_t
/usr/include/bits/types.h:38:23: note: '__uint8_t' declared here
typedef unsigned char __uint8_t;

I am not sure how to go about addressing this, can anyone provide guidance?

spumer
11-10-2022, 00:19
I also needed to compile this under Sourcemod 1.6, otherwise the server crashed the moment someone joined.
You can use autobuild versions from github: https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master

It works with SM/MM 1.11?

SGCatlantis
11-28-2022, 16:20
Hi when for survival gamemode ?

spumer
11-29-2022, 04:06
Hi when for survival gamemode ?

It's not planned. It has same bug?

SilentBr
06-22-2023, 12:50
the link to download the 10players is broken :(
Can anyone please attach it here?
Thank you!

spumer
06-24-2023, 03:58
the link to download the 10players is broken :(
Can anyone please attach it here?
Thank you!

Thanks for report. Download link fixed: https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master

And you always can manually go to https://github.com/spumer/Left4Fix/actions page and download artifacts from latest build.

SilentBr
06-26-2023, 08:26
Thanks for report. Download link fixed: https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master

And you always can manually go to https://github.com/spumer/Left4Fix/actions page and download artifacts from latest build.

Thank you!!!!

WinterLady
06-29-2023, 01:19
Hello! I'm getting this error with the latest build:

<FAILED> file "left4fix.ext.2.l4d2.so": /lib/i386-linux-gnu/libm.so.6: version `GLIBC_2.29' not found


Then I found this but the artifacts have expired.
Done: https://github.com/spumer/Left4Fix/actions/runs/974417647

Can you please be so kind to upload the compiled version on linux 18.04 for 10 on in this thread?

spumer
07-01-2023, 11:04
Hello! I'm getting this error with the latest build:

<FAILED> file "left4fix.ext.2.l4d2.so": /lib/i386-linux-gnu/libm.so.6: version `GLIBC_2.29' not found


Then I found this but the artifacts have expired.


Can you please be so kind to upload the compiled version on linux 18.04 for 10 on in this thread?

I recommend you update your server, cause:

Ubuntu Linux 18.04 LTS will reach the end of its hardware and maintenance update LTS support window on April 30, 2023.


10players file in attachment

dmna000000000012
07-30-2023, 23:43
Hey I tried getting this for my 5v5 and 2 spec slots l4d2 versus server it doesnt work for me for some reason can someone please help me figure this out i have the exsention in the exsention folder and the auto load and the gamedata thing its not working for me

Spirit_12
07-31-2023, 14:31
Hey I tried getting this for my 5v5 and 2 spec slots l4d2 versus server it doesnt work for me for some reason can someone please help me figure this out i have the exsention in the exsention folder and the auto load and the gamedata thing its not working for me

Is the extension loaded in? If not then check your logs and report back.

dmna000000000012
07-31-2023, 14:38
I did sm exst list it doesn't show its loaded in my server is Linux I checked logs don't see anything sbout it

dmna000000000012
08-02-2023, 07:39
Is the extension loaded in? If not then check your logs and report back.

I did sm exst list it doesn't show its loaded in my server is Linux I checked logs don't see anything sbout it

spumer
08-05-2023, 00:12
You should ensure you place left4fix.autoload empty file near .so to automatically load this extension
You can try to load it manually by "sm exts load left4fix" and then list loaded exts again.

dmna000000000012
08-07-2023, 02:45
You should ensure you place left4fix.autoload empty file near .so to automatically load this extension
You can try to load it manually by "sm exts load left4fix" and then list loaded exts again.

got it to load but everytime the round ends one team gets a negative score then server crashes my server has 12 slots and is versus i have it set for 5 survivors vs 5 infected do i need the 5 player exstion or 10 player or do I need 6player

spumer
08-07-2023, 13:03
got it to load but everytime the round ends one team gets a negative score then server crashes my server has 12 slots and is versus i have it set for 5 survivors vs 5 infected do i need the 5 player exstion or 10 player or do I need 6player

Score earned only by survivors. If you have 5 survivors you need extension for 5 players. If you have 6, 10, 13 survivors you need extension compiled for that players count

dmna000000000012
08-07-2023, 14:09
Score earned only by survivors. If you have 5 survivors you need extension for 5 players. If you have 6, 10, 13 survivors you need extension compiled for that players count

Can u link me the Linux 5 player one the one I downloaded didn't work it keeps giving a negative score
that happens then server crashes got linux
https://imgur.com/3EK4Dnj
Get this error to [L4FIX] Can't get one of the "scorecode" signatures: 0/ed0e9869/0

EatingPizza
09-04-2023, 18:58
What ver of GLIBC are the releases at https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master compiled with?

dmna000000000012
09-04-2023, 21:58
anyone know what this means and how to fix L 09/04/2023 - 21:37:11: [L4FIX] Can't get one of the "scorecode" signatures: 0/ed0810dc/0

spumer
09-05-2023, 05:54
Can u link me the Linux 5 player one the one I downloaded didn't work it keeps giving a negative score
that happens then server crashes got linux
https://imgur.com/3EK4Dnj
Get this error to [L4FIX] Can't get one of the "scorecode" signatures: 0/ed0e9869/0

Pls send me your gameserver server_srv.so/.dll file

spumer
09-05-2023, 05:57
What ver of GLIBC are the releases at https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master compiled with?

2.31, Ubuntu 20.04 is minimal requirement now

EatingPizza
09-06-2023, 15:49
2.31, Ubuntu 20.04 is minimal requirement now

Thanks!

spumer, the server_srv.so/.dll that dmna000000000012 is using is attached. Thanks again for helping!

Mosey
01-03-2024, 03:28
The Windows 10 players version makes my server crash

DonProof
03-01-2024, 18:13
Could you just attach the code so that each infected person teleports to each survivor?
I use the [L4D & L4D2] Infected Ghost Everywhere plugin from AtomicStryker and it doesn't work on my 10vs10 server.
Using the E key teleports me to the same players and not to those ahead arriving at the shelter.

spumer
03-02-2024, 00:05
Could you just attach the code so that each infected person teleports to each survivor?
I use the [L4D & L4D2] Infected Ghost Everywhere plugin from AtomicStryker and it doesn't work on my 10vs10 server.
Using the E key teleports me to the same players and not to those ahead arriving at the shelter.

There no special code for that. Left4Fix ensure each player will be "tested" to warp ghost infected to him.
L4D2 has some specific rules about this: survivor should move loud (not silently). If survivor stand or move silently you can't see their aura or warp as ghost to him.

This is native behavior and not changed by Left4Fix.

---

Also, new bugfix version released: https://github.com/spumer/Left4Fix/releases/tag/v2.1.1


- Fixed "double score" bug when defib used (Issue #9)

DonProof
03-02-2024, 01:49
There no special code for that. Left4Fix ensure each player will be "tested" to warp ghost infected to him.
L4D2 has some specific rules about this: survivor should move loud (not silently). If survivor stand or move silently you can't see their aura or warp as ghost to him.

This is native behavior and not changed by Left4Fix.

---

Also, new bugfix version released: https://github.com/spumer/Left4Fix/releases/tag/v2.1.1


- Fixed "double score" bug when defib used (Issue #9)


Thanks for the clarification
Could you compile the extension for 14 players for win and lin, please.
I use this link to download https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master

spumer
03-02-2024, 14:55
Thanks for the clarification
Could you compile the extension for 14 players for win and lin, please.
I use this link to download https://nightly.link/spumer/Left4Fix/workflows/build.yaml/master

Done, but please confirm Win version is works correctly, i did not test it for a long time

DonProof
03-04-2024, 21:29
Done, but please confirm Win version is works correctly, i did not test it for a long time


The server crashes in the middle of the game and closes, all this in Linux with the 14players option.
I get this in debug.log

#0 0xc612a35c in ?? ()
[Current thread is 1 (Thread 0xf7fc9ac0 (LWP 158))]
#0 0xc612a35c in ?? ()
#1 0xed70ca69 in Detours::RecomputeVersusCompletion::OnRecompu te (this=0x13826bb0, arg=false) at /home/runner/work/Left4Fix/Left4Fix/Left4Fix/src/detours/on_recompute_versus_completion.cpp:83
#2 0xecaf888f in CTerrorGameRules::RecomputeTeamScores(bool) () from /home/container/left4dead2/bin/server_srv.so
#3 0xecafd5e7 in CTerrorGameRules::Think() () from /home/container/left4dead2/bin/server_srv.so
#4 0xeca4f629 in CGameRules::FrameUpdatePostEntityThink() () from /home/container/left4dead2/bin/server_srv.so
#5 0xeca57d76 in InvokePerFrameMethod(void (IGameSystemPerFrame::*)(), char const*) [clone .isra.23] [clone .constprop.39] () from /home/container/left4dead2/bin/server_srv.so
#6 0xeca5882e in IGameSystem::FrameUpdatePostEntityThinkAllSys tems() () from /home/container/left4dead2/bin/server_srv.so
#7 0xeccb86a6 in CServerGameDLL::GameFrame(bool) () from /home/container/left4dead2/bin/server_srv.so
#8 0xefca34ab in __SourceHook_FHCls_IServerGameDLLGameFramefal se::Func(bool) () from /home/container/left4dead2/addons/sourcemod/bin/sourcemod.2.l4d2.so
#9 0xf71ee3a8 in SV_Think(bool) () from /home/container/bin/engine_srv.so
#10 0xf71ef718 in SV_Frame(bool) () from /home/container/bin/engine_srv.so
#11 0xf7166e8c in _Host_RunFrame_Server(bool) () from /home/container/bin/engine_srv.so
#12 0xf7168510 in _Host_RunFrame(float) () from /home/container/bin/engine_srv.so
#13 0xf7173108 in CHostState::State_Run(float) () from /home/container/bin/engine_srv.so
#14 0xf71733e6 in CHostState::FrameUpdate(float) () from /home/container/bin/engine_srv.so
#15 0xf717342d in HostState_Frame(float) () from /home/container/bin/engine_srv.so
#16 0xf7208b1f in CEngine::Frame() () from /home/container/bin/engine_srv.so
#17 0xf7205846 in CDedicatedServerAPI::RunFrame() () from /home/container/bin/engine_srv.so
#18 0xf7614ccc in RunServerIteration(bool) () from bin/dedicated_srv.so
#19 0xf7614d68 in RunServer(bool) () from bin/dedicated_srv.so
#20 0xf72058dd in CModAppSystemGroup::Main() () from /home/container/bin/engine_srv.so
#21 0xf725ad38 in CAppSystemGroup::Run() () from /home/container/bin/engine_srv.so
#22 0xf720674f in CDedicatedServerAPI::ModInit(ModInfo_t&) () from /home/container/bin/engine_srv.so
#23 0xf76149b5 in CDedicatedAppSystemGroup::Main() () from bin/dedicated_srv.so
#24 0xf7635a48 in CAppSystemGroup::Run() () from bin/dedicated_srv.so
#25 0xf7635a48 in CAppSystemGroup::Run() () from bin/dedicated_srv.so
#26 0xf75dffe7 in main () from bin/dedicated_srv.so
#27 0x08048722 in main ()