Jump to content

Unable to sell vehicles


Kimzer

Recommended Posts

11:38:49 Error in expression <ARRAY: %2",_function,_params]
}; 
case (_index < 0): {
format["%1 error: PUID NO>
11:38:49   Error position: <_index < 0): {
format["%1 error: PUID NO>
11:38:49   Error Undefined variable in expression: _index
11:38:49 File z\addons\dayz_server\compile\server_verifySender.sqf, line 26
11:38:49 Error in expression < 4;
_player = _this select 5;

_index = dayz_serverPUIDArray find _playerUID;

_>
11:38:49   Error position: <dayz_serverPUIDArray find _playerUID;

_>
11:38:49   Error Undefined variable in expression: dayz_serverpuidarray
11:38:49 File z\addons\dayz_server\compile\server_verifySender.sqf, line 17

Getting this as the only error in my server rpt. Client rpt has only a few unrelated errors.

It is seeing the vehicle and letting me sell it, says trade successfull but for 0 coins.

Also its not removing the vehicle or giving me any coins..

 

Any ideas on this?

Link to comment
Share on other sites

6 hours ago, Kimzer said:

11:38:49 Error in expression <ARRAY: %2",_function,_params]
}; 
case (_index < 0): {
format["%1 error: PUID NO>
11:38:49   Error position: <_index < 0): {
format["%1 error: PUID NO>
11:38:49   Error Undefined variable in expression: _index
11:38:49 File z\addons\dayz_server\compile\server_verifySender.sqf, line 26
11:38:49 Error in expression < 4;
_player = _this select 5;

_index = dayz_serverPUIDArray find _playerUID;

_>
11:38:49   Error position: <dayz_serverPUIDArray find _playerUID;

_>
11:38:49   Error Undefined variable in expression: dayz_serverpuidarray
11:38:49 File z\addons\dayz_server\compile\server_verifySender.sqf, line 17

Getting this as the only error in my server rpt. Client rpt has only a few unrelated errors.

It is seeing the vehicle and letting me sell it, says trade successfull but for 0 coins.

Also its not removing the vehicle or giving me any coins..

 

Any ideas on this?

I'm guessing you are overwriting the epoch variables.sqf (where this is defined) please revert to original as per here: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf#L94

Please don't overwrites the original configvariables.sqf, varables.sqf or compiles.sqf instead load custom versions with your changes as per zsc or any other of my mods: https://github.com/oiad/ZSC/blob/master/init.sqf#L94

If you are updating from 1.0.6.1 I suggest you start clean with a fresh 1.0.6.2 install.

Link to comment
Share on other sites

I tried just calling my changes to the variables instead of overwriting, but still a no go.

It sees the car i want to sell, tells me ill get 100k for it. But when i click sell it says just "Sold blablah for 0 coins" and doesnt remove the vehicle.

Im not overwriting any other stuff, just calling the changes

Link to comment
Share on other sites

you need to go through your DayZ_Server.pbo and compare it with a new one file-by-file to make sure you have not missed any updates with a new one from the 1.0.6.2 server pack

 

I use notepad++ and the compare plugin https://sourceforge.net/projects/npp-compare/ to do this, it's quite quick if you remember your custom edits or comment them indicating they are your edits(which you should)

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...