AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Transition Restore Fix (https://forums.alliedmods.net/showthread.php?t=336287)

sorallll 02-09-2022 12:42

[L4D2] Transition Restore Fix
 
44 Attachment(s)
Description:
About:
  • This is a replacement for Merudo's Save Weapon 4.3 (forked) so remove it.
  • According to Harry Potter's report, if you want a Survivor Bot that exceeds the survivor_limit limit to not be kicked out of the game after transition restored, you need a Bot management plugin that can dynamically set the value of survivor_limit, such as Merudo's SuperVersus

Thanks:
Requirements:
Related Plugins:
ConVars:
PHP Code:

// Transition Restore Fix plugin version
transition_restore_fix_version

// What to choose bot data according to after restart? (0=Model Name, otherwise=Character)
choose_bot_data "0" 

Changes:
Code:

1.2.5 (19-May-2023)
- Fix signature invalidation caused by 2.2.2.7 update

1.2.4 (20-Nov-2022)
- Update signature and cleaned up some code

1.2.3 (24-Oct-2022)
- Removed ConVar "restart_keep_identity"
- Added ConVar "choose_bot_data" to use which data to choose bot data after restart
- Fixed a bug in version 1.2.2, where characters may be confused after restar

1.2.2 (1-Sep-2022)
- Fix incorrect address validation
- Add support for players joining the game midway through

1.2.1 (19-Aug-2022)
- Added support for SurvivorBot data recovery after a failed round restart
- Fix Invalid Handle error

1.2.0 (19-Apr-2022)
- Fixed "RestoreTransitionedSurvivorBots::MaxRestoreSurvivorBots" patch not being applied correctly

1.1.9 (19-Apr-2022)
- Fix the function name is too long error when compiling on sourcemod1.10
- Fixed a bug where the survivor model was not pre-cached causing the server to crash

1.1.8 (1-Apr-2022)
- Prevents players joining the game during transition from taking over the Survivor Bot of transitioning players
- Prevent CDirectorSessionManager::FillRemainingSurvivorTeamSlotsWithBots from triggering before RestoreTransitionedSurvivorBots(void) during transition

1.1.7 (30-Mar-2022)
- Merge the features of [L4D2] Keep Survivor Bots After Transition

1.1.6 (29-Mar-2022)
- Fixed the data confusion caused by new players joining in the transition process

1.1.5 (27-Mar-2022)
- Fix the problem that the plugin has not taken effect on Windows all the time

1.1.4 (19-Mar-2022)
- Add team checks and more durable Windows signatures

1.1.3 (01-Mar-2022)
- Add signature thanks
- Reduce the size of the array

1.1.2 (22-Feb-2022)
- Added a ConVar to allow the player to keep the current character and model after a failed mission restart, like the game default
- Delete old cfg files to update

1.1.1 (19-Feb-2022)
- Add code to generate cfg
- Reduce reliance on signatures
- Compatible with sourcemod-1.10

1.0.9 (17-Feb-2022)
- Name change to 'Transition Restore Fix'
- Delete old 'Player Transition Save Data' version to update
- Changed the method of saving and restored data to memory patch

1.0.8 (14-Feb-2022)
- The player character is only restored the first time

1.0.7 (12-Feb-2022)
- Thanks Silvers for a better way to get or set ammo


strikeraot 02-09-2022 13:20

Re: [L4D2] Transition Save Data
 
So this will replace Save Weapon?

sorallll 02-09-2022 13:30

Re: [L4D2] Transition Save Data
 
Quote:

Originally Posted by strikeraot (Post 2770966)
So this will replace Save Weapon?

Yes, it saves immediately after the official save of the player data, and restores immediately after the official restore of the data, there should be no delay in restoring those bugs with a timer

NoroHime 02-11-2022 15:13

Re: [L4D2] Transition Save Data
 
im using this, work no problem, but why so higher requirement?

sorallll 02-11-2022 16:40

Re: [L4D2] Transition Save Data
 
Quote:

Originally Posted by NoroHime (Post 2771181)
im using this, work no problem, but why so higher requirement?

It was only fixed in 1.11-6754 because the plugin uses the GivePlayerItem feature

sorallll 02-11-2022 18:26

Re: [L4D2] Transition Save Data
 
:shock:It seems that the wrong file was sent just now.

NoroHime 02-14-2022 17:57

Re: [L4D2] Transition Save Data
 
is this handled human HP and temp HP? im usually gets lower temp hp on next round start

sorallll 02-17-2022 10:55

Re: [L4D2] Transition Restore Fix
 
Updated.
Quote:

1.0.9 (17-Feb-2022)
- Name change to 'Transition Restore Fix'
- Delete old 'Player Transition Save Data' version to update
- Changed the method of saving and restored data to memory patch

HarryPotter 02-17-2022 10:59

Re: [L4D2] Transition Restore Fix
 
nice, 5+ weapon transition fix better than other 5+ save weapon plugin else

sorallll 02-17-2022 11:00

Re: [L4D2] Transition Save Data
 
Quote:

Originally Posted by NoroHime (Post 2771486)
is this handled human HP and temp HP? im usually gets lower temp hp on next round start

Hi, please try the new version and check if this still happens


All times are GMT -4. The time now is 04:32.

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