AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [EXTENSION][L4D2] Left4Fix (2.1.0) (https://forums.alliedmods.net/showthread.php?t=219774)

spumer 07-02-2013 14:12

[EXTENSION][L4D2] Left4Fix (2.1.0)
 
LEFT4FIX — "Main Players" belong to the past!

https://raw.github.com/spumer/Left4F.../wiki/logo.jpg

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



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:

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

Only versus gamemode supported yet!

Links:
Latest Release: github.com
Latest Gamedata: github.com
Latest build: nightly.link

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

winniethepooh 07-02-2013 18:10

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
Quote:

Originally Posted by winniethepooh (Post 1982194)
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
Quote:

Originally Posted by spumer (Post 1983160)
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
btw does this work on l4d1 as well?

bl4nk 07-05-2013 11:14

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
Quote:

Originally Posted by SilentBr (Post 1983610)
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

Re: [EXTENSION] Left4Fix (1.0.0.5)
 
Quote:

Originally Posted by Martijn79 (Post 1983828)
btw does this work on l4d1 as well?

Heh. Obviously not.

Quote:

Originally Posted by bl4nk (Post 1983846)
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Linux version is released: https://github.com/spumer/Left4Fix/releases
Files in first post is updated.

Martijn79 07-08-2013 07:08

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Thanks for the update! However I can't get it to load:

Code:

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

spumer 07-08-2013 09:08

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
You placed left4fix.sig.txt to gamedata folder?

Martijn79 07-08-2013 09:52

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Quote:

Originally Posted by spumer (Post 1986164)
You placed left4fix.sig.txt to gamedata folder?

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

spumer 07-08-2013 10:33

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
1 Attachment(s)
I have no idea.
Check your sourcemod installation.

https://forums.alliedmods.net/attach...1&d=1373293985

I'm use:
Quote:

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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Quote:

Originally Posted by spumer (Post 1986208)
I have no idea.
Check your sourcemod installation.

https://forums.alliedmods.net/attach...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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Quote:

Originally Posted by bl4nk (Post 1986811)
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Windows version my friend :)

spumer 08-08-2013 03:08

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
2 Attachment(s)
Sev,
Quote:

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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
1 Attachment(s)
spumer

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

Sev 08-26-2013 13:21

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Quote:

Originally Posted by spumer (Post 2021175)
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Meta list

Spoiler


Plugin list

Spoiler

Electr000999 08-29-2013 03:26

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Code:

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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
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

Re: [EXTENSION][L4D2] Left4Fix (1.0.0.7)
 
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

Re: [EXTENSION] Left4Fix (1.0.0.6)
 
Quote:

Originally Posted by spumer (Post 2021175)
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

Re: [EXTENSION][L4D2] Left4Fix (1.0.0.7)
 
Yes. I compile version for 10vs10 and 8vs8. But it can be compiled for 5vs5, 6vs6 etc.

spumer 10-02-2013 14:35

Re: [EXTENSION][L4D2] Left4Fix (1.0.0.7)
 
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 :)


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

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