Origins Server?

Restarted server and removed 30 vehicles and still nothing spawing in.
Noticed this in the log but not sure if it was there before:

Code:
2013-06-02 17:46:28 HiveExt: [Information] Result: ["ERROR","Instance already initialized"]
2013-06-02 17:46:28 HiveExt: [Information] Method: 500 Params: <null>:
2013-06-02 17:46:28 HiveExt: [Information] Result: ["ERROR","Invalid key"]
2013-06-02 17:46:28 HiveExt: [Information] Method: 500 Params: <null>:[object.object_data]:
2013-06-02 17:46:28 HiveExt: [Information] Result: ["ERROR","Invalid key"]
2013-06-02 17:46:28 HiveExt: [Information] Method: 500 Params: <null>:
2013-06-02 17:46:28 HiveExt: [Information] Result: ["ERROR","Invalid key"]
2013-06-02 17:46:29 HiveExt: [Information] Method: 307 Params:
 
i Checked the Server_monitor it
just spawns
Heli Raids
Sector b guards
and civilian i think they are the sektor b civilian at the supermarket

every version of the origins dayz_server i found dosn't include the NPC lab spawns
#push
 
Done - Thanks.

I asked you there but will ask you here also, does this line have to be enabled?
[3,true,true,3] execFSM "core_time.fsm";
It has to be addedand in HiveExt.ini
change [Time]
hour= (Time that will restart the server official server is set to 8)

this settings work 4h day/night working on restart every 4h

you have a problem with the function pMain?
look pull
 
So the function is working properly. When you reboot the server to add new vehicles.
Remember to exercise at restarting pMain
 

Nice work Major, have just got the version from your github up and running, no problems so far. Now just to find where they put them pink street lights in and 'tweak' those :)
 
My pMain works perfect and fine

Time: 0.096ms

Procedure executed successfully
Affected rows: 1

I did still get the Inventory / Hitpoints fields missing error, just added them to object_spawns and filled all the fields with []. Downloaded from the github this morning..
 
Does the Humanity Player skin morph work for someone?
i'm over -6500 Humanity and i'm not morphin to new bandit level
 
I did still get the Inventory / Hitpoints fields missing error, just added them to object_spawns and filled all the fields with []. Downloaded from the github this morning..
Replace Line =
Line 50 - 64 with this =
Code:
IF (iNumClassExisting < @rsMaxNum) THEN
IF (rndspawn(@rschance) = 1) THEN
INSERT INTO `object_data` (ObjectUID, Instance,Classname, Damage, CharacterID, Worldspace, Inventory, Hitpoints, Fuel, Datestamp)
SELECT ot.ObjectUID, '1', ot.Classname, ot.Damage, '0', ot.Worldspace, '[]', ot.Hitpoints, '0.01', SYSDATE()
FROM (SELECT oc.Classname, oc.Chance, oc.MaxNum, oc.Damage, oc.Hitpoints, os.ObjectUID, os.Worldspace
FROM object_classes AS oc
INNER JOIN `object_spawns` AS os
ON oc.Classname = os.Classname
ORDER BY RAND()) AS ot
WHERE NOT EXISTS (SELECT od.ObjectUID
FROM `object_data` AS od
WHERE ot.ObjectUID = od.ObjectUID)
AND fGetClassCount(ot.Classname) < ot.MaxNum
AND fGetSpawnFromChance(ot.Chance) = 1
LIMIT 1;
This will fix pMain error
 
I did still get the Inventory / Hitpoints fields missing error, just added them to object_spawns and filled all the fields with []. Downloaded from the github this morning..


Go into git hub and look in the SQL folder.
Click on the sql file and look for the pMain function.

Copy the code there and do a sql query on your database and it will fix it.
SanKen just fixed it for us.
 
anyone have bug with refuel "script restriction 43"?


Look at line 44 or the line that starts with 5 setFuel and add this to the end of the line:
Code:
!"\"dayzSetFuel\"" !"if (_fuel >= 1.0) then { _fuel = 1.0; };"

Then restart your server or if you know how, reload your scripts in Bec.
 
the pMoveDead wants to write in a table that doesnt exist...
Code:
Die folgende Abfrage ist fehlgeschlagen: "CALL `pMoveDead`(); "
MySQL meldet: #1146 - Table 'dayz_origins_2.character_data_dead' doesn't exist

it is not created with the sql file...
so maybe we should add the table creation for this one or this will not work

Code:
-- ----------------------------
-- Table structure for `character_data_dead`
-- ----------------------------
DROP TABLE IF EXISTS `character_data_dead`;
CREATE TABLE `character_data_dead` (
  `CharacterID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `PlayerUID` varchar(20) NOT NULL DEFAULT '',
  `Alive` tinyint(1) NOT NULL DEFAULT '1',
  `InstanceID` tinyint(2) NOT NULL,
  `Worldspace` varchar(128) NOT NULL DEFAULT '[]',
  `Inventory` longtext NOT NULL,
  `Backpack` longtext NOT NULL,
  `Medical` varchar(300) NOT NULL DEFAULT '[]',
  `Generation` smallint(4) unsigned NOT NULL DEFAULT '0',
  `Datestamp` timestamp NULL DEFAULT NULL,
  `LastLogin` timestamp NULL DEFAULT NULL,
  `LastAte` timestamp NULL DEFAULT NULL,
  `LastDrank` timestamp NULL DEFAULT NULL,
  `Humanity` int(10) DEFAULT NULL,
  `KillsZ` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `HeadshotsZ` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `distanceFoot` bigint(15) unsigned NOT NULL DEFAULT '0',
  `duration` int(10) NOT NULL DEFAULT '0',
  `currentState` varchar(128) NOT NULL DEFAULT '[]',
  `KillsH` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `KillsB` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `Model` varchar(50) NOT NULL DEFAULT '"Survivor1_DZ"',
  `Datetime` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`CharacterID`,`PlayerUID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
Somebody have a fix for playerskin change with humanity level system ?
I'm using Major Pain's files an it does not work.'

// Solved
 
the pMoveDead wants to write in a table that doesnt exist...
Code:
Die folgende Abfrage ist fehlgeschlagen: "CALL `pMoveDead`(); "
MySQL meldet: #1146 - Table 'dayz_origins_2.character_data_dead' doesn't exist

it is not created with the sql file...
so maybe we should add the table creation for this one or this will not work

Code:
-- ----------------------------
-- Table structure for `character_data_dead`
-- ----------------------------
DROP TABLE IF EXISTS `character_data_dead`;
CREATE TABLE `character_data_dead` (
  `CharacterID` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `PlayerUID` varchar(20) NOT NULL DEFAULT '',
  `Alive` tinyint(1) NOT NULL DEFAULT '1',
  `InstanceID` tinyint(2) NOT NULL,
  `Worldspace` varchar(128) NOT NULL DEFAULT '[]',
  `Inventory` longtext NOT NULL,
  `Backpack` longtext NOT NULL,
  `Medical` varchar(300) NOT NULL DEFAULT '[]',
  `Generation` smallint(4) unsigned NOT NULL DEFAULT '0',
  `Datestamp` timestamp NULL DEFAULT NULL,
  `LastLogin` timestamp NULL DEFAULT NULL,
  `LastAte` timestamp NULL DEFAULT NULL,
  `LastDrank` timestamp NULL DEFAULT NULL,
  `Humanity` int(10) DEFAULT NULL,
  `KillsZ` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `HeadshotsZ` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `distanceFoot` bigint(15) unsigned NOT NULL DEFAULT '0',
  `duration` int(10) NOT NULL DEFAULT '0',
  `currentState` varchar(128) NOT NULL DEFAULT '[]',
  `KillsH` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `KillsB` mediumint(5) unsigned NOT NULL DEFAULT '0',
  `Model` varchar(50) NOT NULL DEFAULT '"Survivor1_DZ"',
  `Datetime` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`CharacterID`,`PlayerUID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


I'll also add it to git.
 
Back
Top