Raised This Month: $45 Target: $400
 11% 

[L4D/L4D2] Black And White Checker | 1.8 : December 6, 2020 |


Post New Thread Reply   
 
Thread Tools Display Modes
viaxiamu
New Member
Join Date: Jun 2016
Old 10-20-2020 , 14:00   Re: [L4D/L4D2] Black And White Checker | 1.7 : October 20, 2020 |
Reply With Quote #21

Chinese language translation bit messy
I have already sent you the private message

Last edited by viaxiamu; 10-20-2020 at 14:04.
viaxiamu is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 10-21-2020 , 07:02   Re: [L4D/L4D2] Black And White Checker | 1.7 : October 20, 2020 |
Reply With Quote #22

Updated.

- Proper translations for both Simplified and Traditional Chinese, huge thanks to viaxiamu.
cravenge is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 10-24-2020 , 15:38   Re: [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
Reply With Quote #23

Updated.

- Reworked name translation method to resolve errors regarding it.
cravenge is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 11-08-2020 , 06:40   Re: [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
Reply With Quote #24

Unfortunately, there is nothing I can do to fix this. That plugin will have to alter its method on naming Tanks.

Last edited by cravenge; 11-08-2020 at 06:41.
cravenge is offline
Psyk0tik
AlliedModders Donor
Join Date: May 2012
Location: Homeless
Old 11-09-2020 , 01:47   Re: [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
Reply With Quote #25

Quote:
Originally Posted by cravenge View Post
Unfortunately, there is nothing I can do to fix this. That plugin will have to alter its method on naming Tanks.
An easy solution to this is to just edit your plugin to check if a certain phrase exists, in this case, "Mirage Tank", and if it doesn't exist, then it defaults to the "Tank" phrase. You can do this for survivors and other special infected as well, so it can be compatible with all plugins/mods that rename bots.

SM 1.10 has a new native: TranslationPhraseExists - Determines if the specified phrase exists within the plugin's translation cache.

Use that to check if a bot's name has a cached phrase, and if it doesn't, default to whatever phrase you want.
__________________
AFK like JFK
--
Donate to Motivate
--
Get latest L4D/L4D2 gamedata signatures here.
--
PM me if you need help with finding signatures and/or offsets in the following games: L4D1&2/CSGO/TF2/NMRIH/INS/DODS/CSS/HL2DM
Psyk0tik is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 11-09-2020 , 02:01   Re: [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
Reply With Quote #26

Quote:
Originally Posted by Crasher_3637 View Post
SM 1.10 has a new native: TranslationPhraseExists - Determines if the specified phrase exists within the plugin's translation cache.

Use that to check if a bot's name has a cached phrase, and if it doesn't, default to whatever phrase you want.
Wait, really? I should pay more attention to every new addition in SM often.
cravenge is offline
MagicMikan
New Member
Join Date: Nov 2020
Old 11-12-2020 , 06:16   Re: [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
Reply With Quote #27

What should i do if i want L4D2 also display a white clone of the body?
MagicMikan is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 11-12-2020 , 07:16   Re: [L4D/L4D2] Black And White Checker | 1.71 : October 25, 2020 |
Reply With Quote #28

Quote:
Originally Posted by MagicMikan View Post
What should i do if i want L4D2 also display a white clone of the body?
I purposefully didn't want to use that method in order for it to be compatible with aura giving plugins but you can remove the checks I added for the grave and leave the clone one intact, should you stick to that route with your changes.

Last edited by cravenge; 11-12-2020 at 07:17.
cravenge is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Middle of Nowhere
Old 11-12-2020 , 13:41   Re: [L4D/L4D2] Black And White Checker | 1.75 : November 13, 2020 |
Reply With Quote #29

Updated.

- Added a failsafe check in the name translation method.
- More translation corrections.
cravenge is offline
Alex101192
Senior Member
Join Date: Aug 2018
Old 11-21-2020 , 09:25   Re: [L4D/L4D2] Black And White Checker | 1.75 : November 13, 2020 |
Reply With Quote #30

After multiple memory issues crashes I have come to the conclusion that this plugin here is indeed what's causing them. You can see it here https://www.twitch.tv/videos/810587648

The moment of the crash was recorded. You can see at 2.30 that as soon as rochelle gets up and the black and white announce is displayed the server starts lagging as my reviving bar stops for a second. Then later when ellis also gets black and white announcement, the server finally crashes as soon as he finishes healing.

This is the same plugin as main post november 13 except I removed the following grave code cause I didn't want it.

Code:
else
		{
			if (!IsModelPrecached("models/props_cemetery/grave_07.mdl"))
			{
				PrecacheModel("models/props_cemetery/grave_07.mdl", true);
			}
			SetEntityModel(iDeathMarkEnt, "models/props_cemetery/grave_07.mdl");
		}

Last edited by Alex101192; 11-21-2020 at 09:25.
Alex101192 is offline
Reply


Thread Tools
Display Modes

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

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

Forum Jump


All times are GMT -4. The time now is 01:11.


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