NoNameUltima
-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by NoNameUltima
-
-
-
retObjID not work in PHP 5.3.13
work in PHP: 5.5.11
-
4 hours ago, salival said:
In 1.0.6.2 the database hive calls have changed, you need to make sure you are using the latest HiveExt.dll and the new database procedure that is in this file: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/SQL/1.0.6.2_Updates.sql
i'm use new dll's, and import new(clear) bd from archive with procedure retObjID .
some problem...
-
-
if (isServer) then { if (isNil "Ultima_Diag_Level") then {Ultima_Diag_Level = 3;}; if (Ultima_Diag_Level > 0) then {diag_log("[#Ultima]: [Ящики с лутом]: Создание ящиков с лутом.");}; private ["_Data","_aSpawnItems","_worldname","_mapcenter","_Map_Radius"]; _worldname = toLower format ["%1", worldName]; _mapcenter = (getMarkerPos "center"); _Map_Radius = (_mapcenter select 0); if (Ultima_Diag_Level > 1) then { diag_log format["[#Ultima]: [Ящики с лутом]: Карта определена как %1.", _worldname]; diag_log format["[#Ultima]: [Ящики с лутом]: Установлен центр координат: %1.", _mapcenter]; diag_log format["[#Ultima]: [Ящики с лутом]: Установлен радиус карты: %1.", _Map_Radius]; }; _aSpawnItems = [ [ ["ItemPole",4,90] ,["ItemTankTrap",4,80] ,["ItemGenerator",2,40] ,["ItemWire",2,30] ,["ItemTent",1,30] ,["CinderBlocks",6,50] ] ,[ ["8Rnd_9x18_Makarov",10,90] ,["8Rnd_9x18_MakarovSD",4,20] ,["30Rnd_545x39_AK",8,70] ,["30Rnd_762x39_AK47",6,60] ] ,[ ["ItemBandage",8,80] ,["ItemPainkiller",4,70] ,["ItemMorphine",2,30] ] ]; _Data = [ [12968, 3551, 9, 59, 300, 50, (_aSpawnItems select 0),"USVehicleBox", 0, false, false, _mapcenter, _Map_Radius, true] ,[13153, 3662, 9, 59, 300, 50, (_aSpawnItems select 1),"TKVehicleBox_EP1", 0, false, false, _mapcenter, _Map_Radius, true] ,[13120, 3616, 9, 59, 300, 50, (_aSpawnItems select 2),"USVehicleBox", 0, false, false, _mapcenter, _Map_Radius, true] ,[13099, 3615, 9, 59, 300, 50, (_aSpawnItems select 0),"USVehicleBox", 0, false, false, _mapcenter, _Map_Radius, true] ,[13032, 3562, 9, 59, 300, 50, (_aSpawnItems select 2),"USVehicleBox", 0, false, false, _mapcenter, _Map_Radius, true] ,[12978, 3539, 9, 59, 300, 50, (_aSpawnItems select 1),"RUVehicleBox", 0, false, false, _mapcenter, _Map_Radius, true] ,[12994, 3547, 9, 59, 300, 50, (_aSpawnItems select 0),"USVehicleBox", 0, false, false, _mapcenter, _Map_Radius, true] ]; { [_x] spawn { private ["_Map_Radius","_random_count","_mapcenter","_Data","_aSpawnItems","_TimerSpawn","_SpawnItems","_SpawnDelay","_randomPos","_SpawnOneTime","_Box","_BoxID","_nearPlayers","_Item","_Count","_Percent","_Random","_Model"]; _Data = (_this select 0); _Angle = (_data select 3); _TimerSpawn = (_data select 4); _Radius = (_data select 5); _boxID = str(round(random 999999)); _box = objNull; _SpawnItems = true; _aSpawnItems = (_data select 6); _Model = (_data select 7); _SpawnDelay = (_data select 8); _randomPos = (_data select 9); _SpawnOneTime = (_data select 10); _mapcenter = (_data select 11); _Map_Radius = (_data select 12); _random_count = (_data select 13); _Coords = [(_data select 0), (_data select 1), (_data select 2)]; if (_randomPos) then {_Coords = [_mapcenter, 100, _Map_Radius, 20, 0, 20, 0] call BIS_fnc_findSafePos;}; sleep _SpawnDelay; if (Ultima_Diag_Level > 1) then {diag_log(format["[#Ultima]: [Ящики с лутом]: Создание ящика в координатах: %1", _Coords]);}; _box = createVehicle [_Model, _Coords, [], 0, "CAN_COLLIDE"]; _box setDir _Angle; _box setPos _Coords; _box setVariable ["ObjectID", _boxID, true]; _box setVariable ["ObjectUID", _boxID, true]; _box setVariable ["permaLoot",true]; PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor, _box]; while {true} do { if (_SpawnItems) then { clearWeaponCargoGlobal _box; clearMagazineCargoGlobal _box; clearBackpackCargoGlobal _box; { _Percent = _x select 2; _Random = random(100); if (_Random < _Percent) then { if (_random_count) then {_Count = round(random(_x select 1));} else {_Count = (_x select 1);}; if (_Count > 0) then { _Item = (_x select 0); if (getText (configFile >> "CfgMagazines" >> _item >> "displayName") != "") then {_box addMagazineCargoGlobal [_Item, _Count];} else { if (getText (configFile >> "CfgWeapons" >> _item >> "displayName") != "") then {_box addWeaponCargoGlobal [_Item, _Count];} else { if (getText (configFile >> "CfgVehicles" >> _item >> "displayName") != "") then {_box addBackpackCargoGlobal [_Item, _Count];}; }; }; }; }; } forEach _aSpawnItems; if (_SpawnOneTime) ExitWith {}; _SpawnItems = false; sleep _TimerSpawn; }; if (_SpawnOneTime) ExitWith {}; while {!_SpawnItems} do { sleep 10; _nearPlayers = nearestObjects [_Coords, ["CAManBase"], _Radius]; if (count(_nearPlayers) <= 0) then {_SpawnItems = true;}; }; }; }; } forEach _Data; if (Ultima_Diag_Level > 0) then {diag_log("[#Ultima]: [Ящики с лутом]: Создание ящиков с лутом завершено.");}; };
Original:
http://rnrportal.ru/forum/index.php?/topic/8-ящики-со-своим-лутом-со-всеми-необходимыми-наст/
Solution:
*sry for my eng
/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// in init.sqf, add variable: Ultima_Diag_Level = 0; // diag lvl 0 to 3. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// _aSpawnItems - items arrays for respawn in box. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 1 - item ID. 2 - Max count items (for 0, to xxx). if you need static count, goto p.13-box spawn 3 - Percent respawn - for 1 to 100. /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// box spawn: /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 0 - X 1 - Y 2 - Z 3 - Angle 4 - Time for respawn 5 - Radius for box, - items not respawn while player in radius box. 6 - number array for spawn - _aSpawnItems 7 - box ID 8 - delay for box spawn 9 - random or static coords for spawn(false - static coord, true - random coord). 10 - respawn items?(false - respawn. true - spawn items only one - box spawn) 11 - dont touch. 12 - dont touch. 13 - random items count? true - random(from 0 to max count - _aSpawnItems), false - static spawn - (max count items - _aSpawnItems) /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */
-
kick all players in the specified time. Use dll
-
_Ultima_GUI_Debug = uiNamespace getVariable "Ultima_GUI_Debug";
.......
_Ultima_GUI_Debug displayCtrl 1009 ctrlSetText "абвгд | abcde";
------------------------------------------------------------------------------------------------
i see only eng
In ARMA3, in function - ctrlSetText for display, not working utf8 encoding?
P.S.
Sorry for my eng
-
NetworkMessageUpdateDamageVehicleAI
Hi _)
some problem.........
15:22:30 Unexpected message data (message struct NetworkMessageUpdateDamageVehicleAI, item isDead)
15:22:30 Before (0x000000b9): 64 66 00 00 00 7c 11 5a 29 90 e9 38 00 00 ff 01 0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
15:22:30 Current (0x000000d9): 02
15:22:35 Received 2, expected bool
-
server:
fnc_playerHit.sqf
find
if ((_weapon select 0) == "Throw") then {_weapon = (_weapon select 3);} else {_weapon = (_weapon select 0);};
replace
if !(isNil "_weapon") then { if ((_weapon select 0) == "Throw") then {_weapon = (_weapon select 3);} else {_weapon = (_weapon select 0);}; };
-
same problem......
if enable showScriptError:
error Type Number, expected Bool line24
-
ok.
it's new format.
I understand that in the file cfgBuildingLoot.hpp, arrays -
itemChanceSmall[]
itemChance[]
no longer needed
?p.s. sorry for my eng
-
18:18:35 Error in expression <nd (((_itemChances select _l) select 1) * 100);
for "_k" from 0 to (_weight - 1)>
18:18:35 Error position: <* 100);
for "_k" from 0 to (_weight - 1)>
18:18:35 Error *: Type String, expected Number
18:18:35 File mpmissions\DayZ_Epoch_11.Chernarus\fixes\init\loot_init.sqf, line 85add diag_log
diag_log(format["i=%1 _itemChances=%2,",_i, count _itemChances]);
diag_log(format["(_itemChances select 0) select 1=%1,",str((_itemChances select 0) select 1)]);and see
18:21:25 "i=0 _itemChances=2,"
18:21:25 "(_itemChances select 0) select 1="TrashJackDaniels"," -
script error:
Type Array, expected Object
in the files:
medical\load\load_wounded.sqf
medical\load_wounded.sqf
private ["_wounded","_vcl"]; _wounded = _this select 0;
medical\publicEH\load_wounded.sqf
private ["_unit"]; _unit = _this select 0;
_this select 0 - it's ARRAY!
true for
medical\publicEH\load_wounded.sqf
private ["_tmp","_unit"]; _tmp = _this select 0; _unit = _tmp select 0;
true for
medical\load\load_wounded.sqf
medical\load_wounded.sqf
private ["_tmp","_wounded","_vcl"]; _tmp = _this select 0; _wounded = _tmp select 0;
P.S. sorry for my eng.
-
R3F_ARTY_AND_LOG\R3F_LOG\addons_config\arma2_CO_objects.sqf
find
R3F_LOG_CFG_heliporteurs = R3F_LOG_CFG_heliporteurs +
[
......
add
"CH_47F_EP1_DZE"
-
Does not work WITHOUT -
DZE_StaticConstructionCount
in init.sqf
DZE_StaticConstructionCount = x;//x - integer(count stage for destructing animation)
sorry for my eng
-
same problem......
work bench, bag fence, metal panel....
help somebody?
-
Ok i have just done a fresh install with nothing changed other then adding a pw to the server and it still comes up with the same error
http://www.dll-files....shtml?msvcp120
download msvcp120.dll x86 and replace -
for win7\vista:
C:\Windows\SysWOW64\
-
)))))))))))))))))))))))))))))))
1. for x64 system(Win7\Vista etc), path to library(dll) x64 - NOT Windows\system32\. True path - Windows\sysWOW64\
2. you all install - Visual C++ Redistributable Packages for Visual Studio 2013 x86. x86 does not replace the file - msvcp120.dll in folder sysWOW64 ))))
3. read this -
4. sorry eng bad _)
-
hmm...
fixed
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp120
download msvcp120.dll x86 and replace -
for win7\vista:
C:\Windows\SysWOW64\
RPT log -
-------
5:57:10 Error in expression <;
};
};
};
diag_log ("HIVE: got " + str(_bQty) + " Epoch Objects and " + str(_vQ>
5:57:10 Error position: <_bQty) + " Epoch Objects and " + str(_vQ>
5:57:10 Error Undefined variable in expression: _bqty
5:57:10 File z\addons\dayz_server\system\server_monitor.sqf, line 69------------
fixed
declare variables "_bQty","_vQty" in the server_monitor.sqf.
sorry for my eng.
-
same problem
install Visual C++ Redistributable Packages for Visual Studio 2013 x86 and x64
RPT -
5:35:24 Error in expression <ray = call compile format ["%1",_data];
_resultArray
};
server_maintainObj = {
>
5:35:24 Error position: <_resultArray
};
..........................5:37:31 "HIVE: WRITE: "CHILD:388:3955088140060:""
5:37:31 "HIVE: WRITE: "CHILD:388:124562942060117:""
5:37:31 "HIVE: WRITE: "CHILD:388:105123146954778:""
5:37:31 "HIVE: WRITE: "CHILD:388:12769296578080:""
5:37:31 "HIVE: WRITE: "CHILD:388:12198088987044:""
5:37:31 "HIVE: WRITE: "CHILD:388:58150272251136:""...........................
Rcon Tool for Android?
in Discussion
Posted
ENG lng added