-
Posts
22 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by gelo534
-
-
5 minutes ago, Schalldampfer said:
the log is normal.
when you store the vehicle in the garage, it is added in garage db. so, the vehicle must be "deleted" from the actual game (and epoch db)
yes ok, but I have dan no car there so I can no longer call the car back garage is empty no car there
-
RPT Log
"GARAGE: Oli (76561168028555373) stored SUV_White @044063 [4449.7,9042.29,0.00146484]"
"DELETE: Oli (76561168028555373) deleted SUV_White with ID: 4680 @044063 [4449.7,9042.29,0.00146484]" -
hello, can someone quite normal stap at stap explain how to instal?
-
Warning Message: No entry 'bin\config.bin/CfgWeapons/SVD/OpticsModes/Scope.opticsZoomMin'.
Warning Message: '/' is not a valueWarning Message: No entry 'bin\config.bin/CfgMagazines.45Rnd_545x39_RPK'.
Warning Message: No entry '.picture'.
Warning Message: '/' is not a value
Warning Message: No entry '.scope'.
Warning Message: '/' is not a value
Warning Message: Error: creating magazine 45Rnd_545x39_RPK with scope=private
Warning Message: No entry '.displayName'.
Warning Message: '/' is not a value
Warning Message: No entry '.displayNameShort'.
Warning Message: '/' is not a value
Warning Message: No entry '.nameSound'.
Warning Message: '/' is not a value
Warning Message: No entry '.Library'.
Warning Message: No entry '.libTextDesc'.
Warning Message: '/' is not a value
Warning Message: No entry '.type'.
Warning Message: '/' is not a value
Warning Message: No entry '.count'.
Warning Message: '/' is not a value
Warning Message: No entry '.maxLeadSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.initSpeed'.
Warning Message: '/' is not a value
Warning Message: No entry '.reloadAction'.
Warning Message: '/' is not a value
Warning Message: No entry '.modelSpecial'.
Warning Message: '/' is not a value
Warning Message: No entry '.ammo'.
Warning Message: '/' is not a value -
On 12.1.2017 at 7:58 PM, juandayz said:
DRUGS
Before star... you should add this items into your traders menus.
equip_comfreyleafs (used to craft drugs plants)
ItemFertilizer (used to craft drugs plants)
ItemHempPlant (the hemp plant who comes by default with epoch)
ItemKiloHemp (the thing we gonna use to set as drug)
1.Create this path: mpmissions\your instance\scripts\drugs\
2-Create the sqfs into the new path.
craftplant.sqf
//by juandayz private ["_seeds","_ItemFertilizer"]; _seeds = {_x == "equip_comfreyleafs"} count magazines player; if (_seeds < 2) exitWith {systemchat"you need 2 leafs";}; _ItemFertilizer = {_x == "ItemFertilizer"} count magazines player; if (_ItemFertilizer == 0) exitWith {systemchat"you need fertilezer";}; player playActionNow "Medic"; player removeMagazine "ItemFertilizer"; player removeMagazine "equip_comfreyleafs"; player removeMagazine "equip_comfreyleafs"; sleep 1; player addMagazine "ItemHempPlant"; systemchat "you got a weed plant";
cutehemp.sqf
/* rewrited by juandayz for epoch 1.6 put together for DayZ Epoch Credits to Shogun338 from Insurrection gaming modified for separate "gather weed" script */ private ["_weed2","_vehicle","_inVehicle","_countplayers","_gearmenu","_playerPos","_nearWeed","_weed","_objectID","_objectUID","_hempqty"]; _playerPos = getPosATL player; _hempqty = {_x == "ItemKiloHemp"} count magazines player; _nearWeed = count nearestObjects [_playerPos, ["fiberplant","MAP_c_fern"], 4] > 0; _weed = nearestObject [player,"fiberplant"]; _weed2 = nearestObject [player,"MAP_c_fern"]; if !(_nearWeed) exitWith { systemChat("Needs be near of a plant"); }; if (_hempqty > 12) exitWith { systemChat("Youre Full of Drugs"); }; _vehicle = vehicle player; _inVehicle = (_vehicle != player); _countplayers = count nearestObjects [player, ["CAManBase"], 7]; if (_inVehicle) exitWith { systemChat("you cannot do it in a vehicle"); }; if (_countplayers > 1) exitWith { systemChat("Nearest player action cancelled"); }; disableSerialization; _gearmenu = FindDisplay 106; _gearmenu CloseDisplay 106; player playActionNow "Medic"; r_interrupt = false; sleep 6; deleteVehicle _weed; deleteVehicle _weed2; player addMagazine "ItemKiloHemp"; sleep 2; systemChat("NICE LETS SMOKE IT");
smoke.sqf
/* rewrited by juandayz for epoch 1.6 credits to ZeroK00L... */ [] spawn { systemChat("Drugs my only love"); player removeMagazine 'ItemKiloHemp'; Remove_Drug_effects = { { ppEffectDestroy _x; } forEach (_this select 0); ppEffectDestroy ppe2; ppEffectDestroy ppe3; setaperture 0; }; _time = time; _effects = []; player playMoveNow "ActsPercMstpSnonWpstDnon_sceneBardak01"; while {true} do { ppe2 = ppEffectCreate ["chromAberration", 1555]; _effects = _effects + [ppe2]; ppe2 ppEffectAdjust [random 0.25,random 0.25,true]; ppe2 ppEffectCommit 1; ppe2 ppEffectEnable true; ppe3 = ppEffectCreate ["radialBlur", 1555]; _effects = _effects + [ppe3]; ppe3 ppEffectEnable true; ppe3 ppEffectAdjust [random 0.02,random 0.02,0.15,0.15]; ppe3 ppEffectCommit 1; sleep random(1); if (_time + 10 < time) exitWith {[_effects] call Remove_Drug_effects;}; }; };
3.Now you need extra_rc.hpp or deploy anything mod.
if your using extra_rc.hpp paste:
class ExtraRc { /////////////////////////////DRUGS class ItemKnife { class farmhemp { text = "HARVEST PLANT"; script = "execVM 'scripts\drugs\cuthemp.sqf'"; }; }; class ItemKiloHemp { class smokeweed { text = "SMOKE ME!!!"; script = "execVM 'scripts\drugs\smoke.sqf'"; }; }; class ItemMachete { class farmhemp2 { text = "HARVEST PLANT"; script = "execVM 'scripts\drugs\cuthemp.sqf'"; }; }; class equip_comfreyleafs { class create { text = "WeedPlant"; script = "execVM 'scripts\drugs\craftplant.sqf'"; }; }; ///////////////END DRUGS };
if ure using deploy anything
DZE_CLICK_ACTIONS = [ ///DRUGS ["ItemKnife","Harvest the weed","execVM 'scripts\drugs\cuthemp.sqf';","true"], ["ItemMachete","Harvest the weed","execVM 'scripts\drugs\cuthemp.sqf';","true"], ["equip_comfreyleafs","CraftPlant","execVM 'scripts\drugs\craftplant.sqf';","true"], ["ItemKiloHemp","Smoke that shit","execVM 'scripts\drugs\smoke.sqf';","true"] //DRUGS ENDS ];
4.Now we gonna create an epoch event to spawn weed fields.
A-Open init.sqf
this line must be true:
EpochUseEvents = true;
and add lines in blue:
EpochEvents = [["any","any","any","any",10,"server_weed"],["any","any","any","any",13,"default epoch events"]];
B-into dayz_server\modules\ create server_weed.sqf
//taked from nova private ["_hintmsg","_spawnChance", "_spawnMarker", "_spawnRadius", "_markerRadius", "_item", "_debug", "_start_time", "_loot", "_loot_amount", "_loot_box", "_wait_time", "_spawnRoll", "_position", "_event_marker", "_loot_pos", "_debug_marker","_loot_box", "_hint"]; _hintmsg = false; //change by true if ure using remotemessages provided by coins mod _spawnChance = 1; // Percentage chance of event happening 0.30 _markerRadius = 300; // Radius the loot can spawn and used for the marker _debug = true; // Puts a marker exactly were the loot spawns _wait_time = 800; // Dont mess with theses unless u know what yours doing _start_time = time; _spawnRadius = 5000; _spawnMarker = 'center'; // Random chance of event happening _spawnRoll = random 1; if (_spawnRoll > _spawnChance and !_debug) exitWith {}; // Random location [[x,y,z],0,1000,10,0,25,0] call BIS_fnc_findSafePos; _position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,4000,0] call BIS_fnc_findSafePos; diag_log(format["Spawning loot event at %1", _position]); _event_marker = createMarker [ format ["loot_event_marker_%1", _start_time], _position]; _event_marker setMarkerShape "Ellipse"; _event_marker setMarkerColor "ColorGreen"; _event_marker setMarkerAlpha 0.5; _event_marker setMarkerBrush "GRID"; _event_marker setMarkerSize [_markerRadius, _markerRadius]; // _event_markerLabel = createMarker [ format ["loot_event_marker_%1", _start_time], _position]; _event_markerLabel setMarkerColor "ColorBlack"; _event_markerLabel setMarkerText "Hemp Field"; _loot_pos = [_position,0,(_markerRadius - 100),10,0,2000,0] call BIS_fnc_findSafePos; if (_debug) then { _debug_marker = createMarker [ format ["loot_event_debug_marker_%1", _start_time], _loot_pos]; _debug_marker setMarkerType "Join"; _debug_marker setMarkerColor "ColorGreen"; _debug_marker setMarkerAlpha 1; }; diag_log(format["Creating ammo box at %1", _loot_pos]); _buildPlant = random 30; _offset = 120; for "_i" from 0 to _buildPlant do { _distance1 = random _offset; _distance2 = random _offset; _plant = createVehicle ["Fiberplant", [(_loot_pos select 0)+_distance1,(_loot_pos select 1)+_distance2, 0], [], 0, "CAN_COLLIDE"]; _plant setPos [(_loot_pos select 0)+_distance1,(_loot_pos select 1)+_distance2, 0]; _uID = str(round(random 999999)); _plant setVariable ["ObjectID", _uID, true]; _plant setVariable ["ObjectUID", _uID, true]; _plant setVariable ["lastUpdate",time,true]; }; if (_hintmsg) then { // Send message to users _hint = parseText format["<t align='center' color='#31db3c' shadow='2' size='1.55'>NEW EVENT</t><br/><t align='center' color='#ffffff'>!WEED FIELD!.Take your Knife or Machete and harvest some drugs.</t>"]; RemoteMessage = ['hint', _hint]; publicVariable "RemoteMessage"; }else{ [nil,nil,rTitleText,"A WEED FIELD!","PLAIN",7.5] call RE; }; diag_log(format["Loot event setup, waiting for %1 seconds", _wait_time]); // Wait sleep _wait_time; // Clean up // deleteVehicle _loot_box; deleteMarker _event_marker; deleteMarker _event_markerLabel; if (_debug) then { deleteMarker _debug_marker; };
Now this is optional... since i do not use road blocks for anything... i just change it by weed plants.. so if u wanna do the same:
1-Open spawn_roadblocks.sqf located in dayz_server\compile\
then change this line:
_spawnveh = DZE_isWreck call BIS_fnc_selectRandom;
by:
_spawnveh = "Fiberplant";
2-open your init.sqf find this line to manage the amount of fiber plants spawned.
MaxDynamicDebris = 20; // was changed by juandayz to spawn fiberplants
Optional too. Create a police Drugs check point. (if player cross that check point with drugs police gonna remove it)
You will need create the map addon.. i just give you the code for remove drugs.
police.sqf
[format["<t size='1.2' color='#D01000'>WARNING %1</t><br/><t size='0.9'>POLICE GONNA REMOVE ALL YOUR DRUGS FROM YOUR INVENTORY</t>",(name player)],0,0,5,5] spawn BIS_fnc_dynamicText; while {true} do { private["_vehicle", "_curspeed", "_vel", "_dir", "_speed","_hempqty"]; //waitUntil {vehicle player != player and!((vehicle player) isKindOf 'Air')}; if (vehicle player != player and!((vehicle player) isKindOf 'Air')) then { _vehicle = vehicle player; _curspeed = speed _vehicle; if (_curspeed > 30) then { _vel = velocity _vehicle; _dir = direction _vehicle; _speed = _curspeed - 30; _vehicle setVelocity[(_vel select 0) - ((sin _dir) * _speed), (_vel select 1) - ((cos _dir) * _speed), (_vel select 2)]; }; _hempqty = {_x == "ItemKiloHemp"} count magazines player; if (_hempqty > 0) exitWith{ {player removeMagazine "ItemKiloHemp"} count (magazines player); systemchat "POLICE CATCH YOU WITH DRUGS AND REMOVE IT FROM YOUR POKETS"; }; }else{ _hempqty = {_x == "ItemKiloHemp"} count magazines player; if (_hempqty > 0) exitWith{ {player removeMagazine "ItemKiloHemp"} count (magazines player); systemchat "POLICE CATCH YOU WITH DRUGS AND REMOVE IT FROM YOUR POKETS"; }; }; sleep 0.1; };
in mission.sqm (into class sensor)
class Item Your item Value Here { position[]={Your Own coords here}; a=30; b=30; activationBy="ANY"; repeating=1; interruptable=1; age="UNKNOWN"; name="policezone"; expCond="(vehicle player) in thislist;"; expActiv="titleText [""Warning Police Check Control"", ""PLAIN DOWN""];policezone = [] execVM ""scripts\police.sqf"";"; expDesactiv="terminate policezone; titleText [""Leaving Police Check Control"", ""PLAIN DOWN""];"; class Effects { }; };
class Item Your item Value Here [hello, what do you have to enter here?
-
Hello, can you make the icons small? they are too big
-
RPT log:
"extDB: Connected to database."
I can park vehicles in the garage, but can not get them out there are no vehicles!
-
3 hours ago, motschler1 said:
you have to set your database correctly
That was my mistake too. In the @extDB, set the extdb-conf correctly according to your SQL database data Nitrado and of course feed your database with this SQL command:
Das war auch mein Fehler. In der @extDB , die extdb-conf richtig einstellen nach deinen Daten der SQL-Datenbank von
Nitrado und natürlich deine Datenbank mit diesem SQL-Befehl füttern:
CREATE TABLE IF NOT EXISTS `garage` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`PlayerUID` varchar(20) NOT NULL DEFAULT '0',
`Name` varchar(50) NOT NULL DEFAULT '',
`DisplayName` varchar(50) NOT NULL DEFAULT '',
`Classname` varchar(50) DEFAULT NULL,
`Datestamp` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`DateStored` varchar(10) NOT NULL DEFAULT 'old',
`CharacterID` int(11) unsigned NOT NULL DEFAULT '0',
`Inventory` mediumtext,
`Hitpoints` mediumtext,
`Fuel` double(13,5) NOT NULL DEFAULT '1.00000',
`Damage` double(13,5) NOT NULL DEFAULT '0.00000',
`Colour` varchar(50) NOT NULL,
`Colour2` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;hi, ja richtig, hab auch das gemacht in DB von nitrado aber funktioniert trotz dem nicht, hast du teamspeak oder discord?
-
6 hours ago, motschler1 said:
Yes, all good.
Alles funktioniert perfekt
Hallo, bei mir funktioniert nicht, ich kann Fahrzeuge rein stellen aber nicht nemmen " keine fahrzeuge gefunden"
-
On 12.11.2017 at 10:36 AM, motschler1 said:
My server is at nitrado. I have data from hostname, port, username, password, database. everything correctly entered. I am despairing. I am not a database professional. Could anyone help me, please. Greetings from Germany
Hostname
ms1xxx.nitrado.netPort
3306Benutzername
ni88xxxx_5_DBPasswort
********Datenbank
ni88xxxx_5_DBhere my extdb-conf
[Database]
Type = MySql
; Name of the database you want to store the virtual garage data in, if you want to use your main database enter that here, or use extDB for an external database (if you are doing a hive of virtual garage basically)
Name = <ni88xxxx_5_DB>
; mysql username
Username = <ni88xxxx_5_DB>
; mysql password
Password = <xxxxxxxx>; ip for your mysql database, you can use localhost if it's on the local machine or an ip address if it's remote (i.e: 1.2.3.4)
IP = ms15xx.nitrado.net
; mysql port
Port = 3306minSessions = 1
maxSessions = 4
idleTime = 60Moin, ich habe auch server bei nitrado , und das funktioniert bei dir?
-
RPT Log:
"extDB: Error: [0,"Error"] - Unable to connect to the database. Check User/pass/IP settings."
-
hello, I have problem with extdb-conf, who just does not want to log in to my DB; WHAT AM I DOING WRONG?
---------------------------------------------------------------------------------------------------------
[Main]
;Threads = 0
; Default Value is number of CPU Cores Detected[Logging]
; If u are going to disable Logging for performance reasons, grab the No-Logging Version of extdb
Filter = 2
; 2 = Default Setting, this doesn't take effect till after Config File has been loaded.
; 0 = more cpu intensive, 5 = barely anything except exception handling
;
; 0 trace
; 1 debug
; 2 info
; 3 warning
; 4 error
; 5 fatal[Database]
Type = MySQL
; Name of the database you want to store the virtual garage data in, if you want to use your main database enter that here, or use extDB for an external database (if you are doing a hive of virtual garage basically)
Name = ms868.nitrado.net
; mysql username
Username = ni678041_1_DB
; mysql password
Password = 798hLmkt; ip for your mysql database, you can use localhost if it's on the local machine or an ip address if it's remote (i.e: 1.2.3.4)
IP = localhost
; mysql port
Port = 3306minSessions = 1
maxSessions = 4
idleTime = 60--------------------------------------------------------------------------------------------------------------
-
hello, I have problem with extdb-conf, who just does not want to log in to my DB; WHAT AM I DOING WRONG?
---------------------------------------------------------------------------------------------------------
[Main]
;Threads = 0
; Default Value is number of CPU Cores Detected[Logging]
; If u are going to disable Logging for performance reasons, grab the No-Logging Version of extdb
Filter = 2
; 2 = Default Setting, this doesn't take effect till after Config File has been loaded.
; 0 = more cpu intensive, 5 = barely anything except exception handling
;
; 0 trace
; 1 debug
; 2 info
; 3 warning
; 4 error
; 5 fatal[Database]
Type = MySQL
; Name of the database you want to store the virtual garage data in, if you want to use your main database enter that here, or use extDB for an external database (if you are doing a hive of virtual garage basically)
Name = ms868.nitrado.net
; mysql username
Username = ni678041_1_DB
; mysql password
Password = Yourpassword; ip for your mysql database, you can use localhost if it's on the local machine or an ip address if it's remote (i.e: 1.2.3.4)
IP = localhost
; mysql port
Port = 3306minSessions = 1
maxSessions = 4
idleTime = 60--------------------------------------------------------------------------------------------------------------
-
ESSV3 - Enhanced Spawn Selection wit Epoch 1.0.6.2 no works?
[RELEASE] Advanced Alchemical Crafting v3.3 UPDATED for 1.0.6.1
in A2: Epoch Mods
Posted
hi, link not available for download