Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem






Thanks
override bool CanDo(ItemBase ingredients[], PlayerBase player)//final check for recipe's validity
{
int index = 0;
if(ingredients[1].GetType() == "CombinationLock4")
{
index = 1;
}
CombinationLock4 combinationLock4 = CombinationLock4.Cast(ingredients[index]);
return !combinationLock4.IsLocked();
}
override bool CanDo(ItemBase ingredients[], PlayerBase player)
exemples ici:
https://dayzexplorer.zeroy.com/crafttannedleather_8c_source.html
il y a une méthode IsLocked() qui doit pouvoir etre testée dans le CanDo()
https://dayzexplorer.zeroy.com/combinationlock_8c.html#a9c5ca6db77e6e3d30a98b7b98a7dafc8
:-)
Déjà merci pour le petit mod bien sympa!
J'ai remarqué un potentiel soucis, on peut crafter un codelock sur un Cadenas 4 cadran qui est verrouillé sur une porte, ce qui à pour effet de déverrouiller la porte, donc on peut raider une base avec un kit électricien :-)
Ensuite une fois fait, on ne peut plus mettre de cadenas sur la porte, elle finie buggée, il faut la détruire et reconstruire.
Est-ce un paramétrage du mod ou vraiment un bug ?
Merci !
Please do several checks before saying "mod is not working"
If you don't know how to use it, I can't help it.
Please read the description carefully and see the required elements
Maybe he's not looking in the right place or it's another mod that's causing the problem.
Same for my players
The meta.cpp file is correct, I give you the information contained in this file which is accessible to you at the root of the folder when you download it:
protocol = 1;
publishedid = 2893704387;
name = "Code Lock Craft";
timestamp = 5249736888443371184;
"Something went wrong, The mod '@Code Lock Craft' has a Steam Workshop ID of '0'."
I googled the error and get this,
"Mod Error: the workshop id is 0, this normally means the author of mod has not updated the mod. Manually set the publishedid in @Code Lock Craft\meta.cpp to the workshop id or ask the author to update the mod."
Thanks
We've passed the 10,000 subscriber mark, I don't think you'll like this little mod so much.