EpochModTeam / DayZ-Epoch

Experimental DayZ Mod for Arma 2
http://epochmodteam.github.io/DayZ-Epoch
227 stars 398 forks source link

Trader Menu Slowdown #2 #349

Closed MajeoT closed 11 years ago

MajeoT commented 11 years ago

Hmm my issue isn't fixed, I only said that my zombie script was slowing the traders down when it was busy... after a while this happens:

14:59:03 "HIVE: Menu Request by ClientID: 78" 14:59:03 "HIVE: Request sent" 14:59:03 Error in expression <t select 0;

_myArray = []; if (_status == "ObjectStreamStart") then { _val = _r> 14:59:03 Error position: <== "ObjectStreamStart") then { _val = _r> 14:59:03 Error Generic error in expression 14:59:03 File z\addons\dayz_server\compile\server_traders.sqf, line 21

and the traders stop working and the logs just start reporting this

MajeoT commented 11 years ago

Any input on why this is happening guys?

vbawol commented 11 years ago

Seems like Ive asked this before what on the line 21 in z\addons\dayz_server\compile\server_traders.sqf?

MajeoT commented 11 years ago

THIS IS LINE 21: >>>> if (_status == "ObjectStreamStart") then { _val = _result select 1; //Stream Objects diag_log ("HIVE: Commence Menu Streaming..."); for "_i" from 1 to _val do { _data = "HiveEXT" callExtension _key; _result = call compile format ["%1",_data]; _status = _result select 0; _retrader set [count _retrader,_result];

    //diag_log ("HIVE: Loop ");
};
//diag_log ("HIVE: Streamed " + str(_val) + " objects");

};

MajeoT commented 11 years ago

Not sure why thats commented out?

MajeoT commented 11 years ago

Still happening guys, any idea why? This is two right next to each other in the RPT. Except its now line 20 thats affected.

9:40:14 "HIVE: Menu Request by ClientID: 19" 9:40:14 "HIVE: Request sent" 9:40:14 Error in expression <status = _result select 0;

if (_status == "ObjectStreamStart") then { _val = _r> 9:40:14 Error position: <== "ObjectStreamStart") then { _val = _r> 9:40:14 Error Generic error in expression 9:40:14 File z\addons\dayz_server\compile\server_traders.sqf, line 20 9:40:14 Client: Object 17:55 (type Type_70) not found. 9:40:16 Client: Object 17:7 (type Type_70) not found. 9:40:18 Client: Object 17:55 (type Type_94) not found. 9:40:20 Client: Object 17:55 (type Type_70) not found. 9:40:22 Client: Object 17:7 (type Type_70) not found. 9:40:26 Client: Object 17:55 (type Type_70) not found. 9:40:28 Client: Object 17:7 (type Type_70) not found. 9:40:28 Client: Object 17:7 (type Type_94) not found. 9:40:29 "DEBUG: needUpdate_objects=[B 1-1-G:1 (Dr.Wait) REMOTE]" 9:40:29 "HIVE: WRITE: "CHILD:305:6201:[317,[12495.1,13396.7,0.0127945]]:0.403847:"" 9:40:29 "HIVE: WRITE: "CHILD:306:6201:[["motor",0.240157],["sklo predni P",0.703],["sklo predni L",0.449],["karoserie",0.523046],["palivo",0.799213],["wheel_1_4_steering",1],["wheel_2_4_steering",1],["wheel_1_3_steering",1],["wheel_2_3_steering",1],["wheel_1_2_steering",0.890272],["wheel_2_2_steering",0.795276],["glass1",0.767891],["glass2",0.231499],["glass3",0.126665]]:0.00393701:"" 9:40:31 "HIVE: WRITE: "CHILD:303:3502:[[["M4A1"],[1]],[["PartWoodPile","15Rnd_9x19_M9SD","30Rnd_556x45_Stanag","8Rnd_9x18_Makarov","ItemCorrugated","ItemLightBulb","PartWoodPlywood","ItemPole","PartWoodLumber","PartGeneric","ItemTankTrap"],[7,2,2,3,23,27,11,27,15,7,15]],[["DZ_Assault_Pack_EP1"],[1]]]:"" 9:40:32 Client: Object 17:55 (type Type_70) not found. 9:40:33 Client: Object 17:55 (type Type_94) not found. 9:40:34 Client: Object 17:7 (type Type_70) not found. 9:40:34 "HIVE: Menu Request by ClientID: 3" 9:40:34 "HIVE: Request sent" 9:40:34 Error in expression <status = _result select 0;

if (_status == "ObjectStreamStart") then { _val = _r> 9:40:34 Error position: <== "ObjectStreamStart") then { _val = _r> 9:40:34 Error Generic error in expression 9:40:34 File z\addons\dayz_server\compile\server_traders.sqf, line 20

MajeoT commented 11 years ago

Hello? :/

vbawol commented 11 years ago

We need more information, check hiveext.log for any errors. If you can clean the log files and reproduce this then send me the RPT and hiveext.log log files vbawol at veteranbastards.com.

MajeoT commented 11 years ago

Mailed.

kikyou2 commented 11 years ago

I have that same problem since the 1.0.1.1 Update

0:52:32 "HIVE: Menu Request by ClientID: 3" 0:52:32 "HIVE: Request sent" 0:52:32 Error in expression <status = _result select 0;

if (_status == "ObjectStreamStart") then { _val = _r> 0:52:32 Error position: <== "ObjectStreamStart") then { _val = _r> 0:52:32 Error Allgemeiner Fehler in Ausdruck 0:52:32 File z\addons\dayz_server\compile\server_traders.sqf, line 20

MajeoT commented 11 years ago

I'm pretty sure its something written wrong in the database as an item, but I cant work out which one it is.. or if there are more than one. It could be something simple like a misplaced capital letter or something spelt wrong but the RPT doesnt say what menu is causing the error.

kikyou2 commented 11 years ago

Hmm would be really weird cause we updated everything just over the php script from epoch mod

MajeoT commented 11 years ago

Still no fix for this and no idea at all whats causing it.

kikyou2 commented 11 years ago

Yep, same here.

MajeoT commented 11 years ago

Any input on this? Its pretty game breaking.

deadlokd commented 11 years ago

If you guys get the traders going that would be great,it seems since the update i have been forced to start from scratch... but i'll keep you posted as after i installed sarge, the traders dont work.. the default pbo works fine , but when i add scripts int.. the traders lose thier menu.. any thoughts? if anyone wants to try and figure it out together join me on teamspeak TS60.GameServers.com:9150

MajeoT commented 11 years ago

For me I'm not losing the initial menus, can easily goto merchant and click on a sub menu.. say "SUVs" and then I get "Buy or Sell" options but after those are pressed, there is no list of items in there and it breaks ALL traders on the server.

Is there a way to force the script to reload?

deadlokd commented 11 years ago

another issue when this happendd was,, i was able to purchas, get the key, the trader took the money, the arrow popped up on HeliPad.. but no vehicle dropped. jus so you know, it might be useful Info for future references.

On Sat, Jun 15, 2013 at 8:54 PM, MajeoT notifications@github.com wrote:

For me I'm not losing the initial menus, can easily goto merchant and click on a sub menu.. say "SUVs" and then I get "Buy or Sell" options but after those are pressed, there is no list of items in there and it breaks ALL traders on the server.

Is there a way to force the script to reload?

— Reply to this email directly or view it on GitHubhttps://github.com/vbawol/DayZ-Epoch/issues/349#issuecomment-19506001 .

vbawol commented 11 years ago

We will be looking at adding an extra bit of caching server side

vbawol commented 11 years ago

This should be fixed now in 1.0.2 as we added caching server side.