Wenn Ihr Schildkröten oder Fische gekillt habt und diese dann nicht aufheben könnt, dann habt Ihr auch einen kleinen Schreibfehler in eurer AL Version. Bei mir ist der Fehler in der Version 4.0. Im Github ist er auch.
Ändert folgende Dateien um den Fehler zu beheben.
core/actions/fn_catchTurtle.sqf (Original)
/*
File: fn_catchTurtle.sqf
Author: Bryan "Tonic" Boardwine
Description:
Catches a dead turtle?
*/
private "_obj";
_obj = cursorTarget;
if(isNull _obj) exitWith {}; //Not valid
if(alive _obj) exitWith {}; //It's alive, don't take it charlie!
if(([true,"turtle",1] call life_fnc_handleInv)) then {
deleteVehicle _obj;
titleText[localize "STR_NOTF_CaughtTurtle","PLAIN"];
};
Alles anzeigen
der Fehler ist oben in Zeile 13. turtle sollte eigendlich turtle_raw sein.
hier nochmal die korrekte Version
/*
File: fn_catchTurtle.sqf
Author: Bryan "Tonic" Boardwine
Description:
Catches a dead turtle?
*/
private "_obj";
_obj = cursorTarget;
if(isNull _obj) exitWith {}; //Not valid
if(alive _obj) exitWith {}; //It's alive, don't take it charlie!
if(([true,"turtle_raw",1] call life_fnc_handleInv)) then {
deleteVehicle _obj;
titleText[localize "STR_NOTF_CaughtTurtle","PLAIN"];
};
Alles anzeigen
Fischernetz fixen
Wenn Ihr mit dem Fischernetz am Boot nichts fangt, dann seid Ihr entweder auf einer Sandbank, euer Netz hat ein Loch, oder Ihr habt einfach den Fischbug
Ändert folgende Dateien um den Fehler zu beheben.
core/actions/fn_dropFishingNet.sqf (Original)
/*
File: fn_dropFishingNet.sqf
Author: Bryan "Tonic" Boardwine
Description:
Drops a virtual fishing net from the boat.
*/
private["_fish","_type","_typeName"];
if(!(vehicle player isKindOf "Ship")) exitWith {};
_fish = (nearestObjects[getPos vehicle player,["Fish_Base_F"],20]);
life_net_dropped = true;
titleText[localize "STR_NOTF_NetDrop","PLAIN"];
sleep 5;
if(count _fish == 0) exitWith {titleText[localize "STR_NOTF_NetDropFail","PLAIN"]; life_net_dropped = false;};
{
if(_x isKindOf "Fish_Base_F") then
{
switch(true) do
{
case ((typeOf _x) == "Salema_F"): {_typeName = localize "STR_ANIM_Salema"; _type = "salema";};
case ((typeOf _x) == "Ornate_random_F") : {_typeName = localize "STR_ANIM_Ornate"; _type = "ornate";};
case ((typeOf _x) == "Mackerel_F") : {_typeName = localize "STR_ANIM_Mackerel"; _type = "mackerel";};
case ((typeOf _x) == "Tuna_F") : {_typeName = localize "STR_ANIM_Tuna"; _type = "tuna";};
case ((typeOf _x) == "Mullet_F") : {_typeName = localize "STR_ANIM_Mullet"; _type = "mullet";};
case ((typeOf _x) == "CatShark_F") : {_typeName = localize "STR_ANIM_Catshark"; _type = "catshark";};
default {_type = "";};
};
sleep 3;
if(([true,_type,1] call life_fnc_handleInv)) then
{
deleteVehicle _x;
titleText[format[(localize "STR_NOTF_Fishing"),_typeName],"PLAIN"];
};
};
} foreach (_fish);
sleep 1.5;
titleText[localize "STR_NOTF_NetUp","PLAIN"];
life_net_dropped = false;
Alles anzeigen
der Fehler ist oben in Zeile 20 -25. Salema sollte eigendlich salema_raw etc. sein. Und Zeile 33 und 34 getauscht.
hier nochmal die korrekte Version
/*
File: fn_dropFishingNet.sqf
Author: Bryan "Tonic" Boardwine
Description:
Drops a virtual fishing net from the boat.
*/
private["_fish","_type","_typeName"];
if(!(vehicle player isKindOf "Ship")) exitWith {};
_fish = (nearestObjects[getPos vehicle player,["Fish_Base_F"],20]);
life_net_dropped = true;
titleText[localize "STR_NOTF_NetDrop","PLAIN"];
sleep 5;
if(count _fish == 0) exitWith {titleText[localize "STR_NOTF_NetDropFail","PLAIN"]; life_net_dropped = false;};
{
if(_x isKindOf "Fish_Base_F") then
{
switch(true) do
{
case ((typeOf _x) == "Salema_F"): {_typeName = localize "STR_ANIM_Salema"; _type = "salema_raw";};
case ((typeOf _x) == "Ornate_random_F") : {_typeName = localize "STR_ANIM_Ornate"; _type = "ornate_raw";};
case ((typeOf _x) == "Mackerel_F") : {_typeName = localize "STR_ANIM_Mackerel"; _type = "mackerel_raw";};
case ((typeOf _x) == "Tuna_F") : {_typeName = localize "STR_ANIM_Tuna"; _type = "tuna_raw";};
case ((typeOf _x) == "Mullet_F") : {_typeName = localize "STR_ANIM_Mullet"; _type = "mullet_raw";};
case ((typeOf _x) == "CatShark_F") : {_typeName = localize "STR_ANIM_Catshark"; _type = "catshark_raw";};
default {_type = "";};
};
sleep 3;
if(([true,_type,1] call life_fnc_handleInv)) then
{
titleText[format[(localize "STR_NOTF_Fishing"),_typeName],"PLAIN"];
deleteVehicle _x;
};
};
} foreach (_fish);
sleep 1.5;
titleText[localize "STR_NOTF_NetUp","PLAIN"];
life_net_dropped = false;
Alles anzeigen
Petri Heil
pillepalle