Jump to content
  • 0

[SOLVED] Vehicles Duplicating?


Triage

Question

9 answers to this question

Recommended Posts

  • 0

What function? The DynamicVehicle sqf?

 

Edit:

 

Here is what I'm getting in my RPT when I clear the object_data table to create new vehicles

22:48:51 "HIVE: Starting"
22:48:51 "HIVE: trying to get objects"
22:48:51 "HIVE: found 0 objects"
22:48:51 "HIVE: Commence Object Streaming..."
22:48:51 "HIVE: got 0 Epoch Objects and 0 Vehicles"
22:48:51 "HIVE: Starting"
22:48:51 "HIVE: trying to get objects"
22:48:51 Error in expression <})) then {
if ((_hiveResponse select 1) == "Instance already initialized") then >
22:48:51   Error position: <== "Instance already initialized") then >
22:48:51   Error ==: Type Array, expected Number,String,Object,Side,Group,Text,Config entry,Display (dialog),Control,Team member,Task,Location
22:48:51 File z\addons\dayz_server\system\server_monitor.sqf, line 40
22:48:51 Error in expression <status = _result select 0;

if (_status == "ObjectStreamStart") then {
_val = _r>
22:48:51   Error position: <== "ObjectStreamStart") then {
_val = _r>
22:48:51   Error Generic error in expression
22:48:51 File custom\system\server_monitor.sqf, line 298

Block of code on line 298

                                        if (_status == "ObjectStreamStart") then {
						_val = _result select 1;
						//Stream Objects
						//diag_log ("HIVE: Commence Menu Streaming...");
						call compile format["ServerTcache_%1 = [];",_traderid];
						for "_i" from 1 to _val do {
							_data = "HiveEXT" callExtension _key;
							_result = call compile format ["%1",_data];
							call compile format["ServerTcache_%1 set [count ServerTcache_%1,%2]",_traderid,_result];
							_retrader set [count _retrader,_result];
						};
						//diag_log ("HIVE: Streamed " + str(_val) + " objects");
					};

Any ideas?

Link to comment
Share on other sites

  • 0

http://pastebin.com/y3MZTQth

I haven't, but this server monitor goes with RimBlock's PL4.

Thanks. In line 39 replace all || with &&:

if ((((isnil "_hiveResponse") && {(typeName _hiveResponse != "ARRAY")}) && {((typeName (_hiveResponse select 1)) != "SCALAR")})) then {

Then check, if your issue still occurs.

//Edit: I'm very sorry, i'm just tired.. the changes above won't work, but i'll into it once i get up

Link to comment
Share on other sites

  • 0

Alright, thanks man. I really appreciate it.

Sorry i didn't see that before: in line 40 change "select 1" to "select 0". Pretty sure that is your error

Link to comment
Share on other sites

  • 0

Do you think it would effect the server if I had to server monitors being called from my init.sqf?

 

Edit:

 

SOLVED - Your server will not like it if you call to server_monitor.sqfs from your init.sqf.

 

Thanks for taking the time to helping me getting this resolved UKMartin.

 

 

*For Plot pole 4 life users.

If you want to have two server monitors just merge them together, because it will screw your game up if you call two of them.

Link to comment
Share on other sites

  • 0

Do you think it would effect the server if I had to server monitors being called from my init.sqf?

 

Edit:

 

SOLVED - Your server will not like it if you call to server_monitor.sqfs from your init.sqf.

 

Thanks for taking the time to helping me getting this resolved UKMartin.

 

 

*For Plot pole 4 life users.

If you want to have two server monitors just merge them together, because it will screw your game up if you call two of them.

 

As with other files, I'm sure :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...