Guest Posted August 28, 2014 Report Share Posted August 28, 2014 Anyone ever experienced this RPT error before?Been trying to track it down for a while now but to no avail; checked all script files for occurrences of that string, but no joy so far."DEBUG: loadscreen guard started." "AC_functions version 1.02" Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error say: Type String, expected Array,Object Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error Generic error in expression "PLAYER RESULT: true" "PLOGIN: Login loop completed!" Link to comment Share on other sites More sharing options...
0 Guest Posted August 28, 2014 Report Share Posted August 28, 2014 Never mind, sorted it!Turned out someone had edited our description.ext but forgot to add a new sound they'd defined to the sounds[] list. Link to comment Share on other sites More sharing options...
0 Sandbird Posted December 14, 2014 Report Share Posted December 14, 2014 crap now i am having this error....but my sounds class is fine . Link to comment Share on other sites More sharing options...
0 Sandbird Posted December 14, 2014 Report Share Posted December 14, 2014 omg, the error messages are looping on my client rpt "DayZ Epoch: PRELOAD Functions\init [[L 1-1-A:1 REMOTE],any]" "DayZ Epoch: MPframework inited" Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) SetFace error: class CfgFaces.DrakeHead_EP1.Zombie2 not found Error: Error during SetFace - class CfgFaces.DrakeHead_EP1.Zombie2 not found Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Wrong unit index 0 (unit is not in the slot) Unexpected array size (size=6574 message struct NetworkMessageObjectSetVariable, item value) Unexpected message data (message struct NetworkMessageObjectSetVariable, item value) Before (0x00000000): e7 01 f5 73 00 00 02 de 2a 6d 61 67 61 7a 69 6e 65 63 61 72 67 6f 00 Current (0x00000017): ae 33 Unknown variable type — Client: Object 20:176 (type Type_70) not found. Client: Object 2:8872 (type Type_99) not found. Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error say: Type String, expected Array,Object Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error Generic error in expression Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error say: Type String, expected Array,Object Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error Generic error in expression Error in expression < 2; _sample = _this select 3}; cant find the damn file that causes this.... Link to comment Share on other sites More sharing options...
0 Sandbird Posted December 15, 2014 Report Share Posted December 15, 2014 Found the script thats causing this: \arma 2 operation arrowhead\AddOns\modules.pbo\MP\data\scriptCommands\say.sqf :) Link to comment Share on other sites More sharing options...
0 jahangir13 Posted December 15, 2014 Report Share Posted December 15, 2014 And why is it suddenly throwing this error. Any idea so far? I think you did not touch this knowingly. Link to comment Share on other sites More sharing options...
0 Sandbird Posted December 15, 2014 Report Share Posted December 15, 2014 And why is it suddenly throwing this error. Any idea so far? I think you did not touch this knowingly. I think i figure out whats causing this.....This is a total server breaker if you guys use custom sounds and dont use them properly. Based on that .sqf file....there is a proper way of setting up rSay command. I've seen around (even i did it), people using sounds like this: [nil, player, rSAY, "Snore", 50] call RE; This is wrong. The say.sqf has this inside it: scriptName "MP\data\scriptCommands\say.sqf"; _caller = _this select 0; _target = _this select 1; _sample = _this select 2; //check for obsolete script call if (isNull _target) then {_target = _this select 2; _sample = _this select 3}; _target say _sample and based on this error that loops in the client.rpt file _target say _sample> Error position: <say _sample> Error Generic error in expression Error in expression < 2; _sample = _this select 3}; _target say _sample> Error position: <say _sample> Error say: Type String, expected Array,Object Error in expression < 2; _sample = _this select 3}; Type String, expected Array,Object it means that the proper use of rSay is this: [nil, player, rSAY, ["Snore", 50]] call RE; so that the 3rd param is an array...instead of a string. If you have a sound that loops (like i did) in your files....the it will spam the client log file with the above error.....causing lag obviously to all the players that are around that area where the sound is playing. If i were you i'd search ALL your mission/dayz_server files for any rSAY reference and make sure you use an array instead. The 50 in the above example means 50% volume...instead of 100%. Link to comment Share on other sites More sharing options...
0 jahangir13 Posted December 15, 2014 Report Share Posted December 15, 2014 Yes, the parameters behind the command needs to be between [ ]...even if it's not really clear from here: https://community.bistudio.com/wiki/Multiplayer_framework If there is only 1 parameter after the command " " is enough. https://community.bistudio.com/wiki/say I need to have a look at home this evening...as I think for a sound when locking/unlocking my cars I do not use the brackets but I am not getting these errors. But I will double-check how I use this. Link to comment Share on other sites More sharing options...
Question
Guest
Anyone ever experienced this RPT error before?
Been trying to track it down for a while now but to no avail; checked all script files for occurrences of that string, but no joy so far.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now