Jump to content

[Release] Multiple Character Support (now compatible with Epoch 1.0.5.1)


Axe Cop

Recommended Posts

oh boy, I have explained that several times, you just have to run the query or import my file multichar.sql

if you don't know how to run the query Google "how to run SQL query with navicat" .. there are even videos on YouTube for that "problem".

hope that helps :)

here is screenshot, i get error

post-12250-0-26658200-1403820767_thumb.j

Link to comment
Share on other sites

here is screenshot, i get error

well that error clearly says you already have a column with the same name (Slot), so I guess you have run the query before since I don't think any other mod uses a column with that name??

 

What about the current characters on the server? Wil they be gone?

Do you mean when installing this mod? No all "old" characters will be displayed n the #1 slot. 

do you see "DEFAULT 1" in the query, that means the old chars will be defaulted to slot 1 if not explicitly specified by the script, that's why the database will still work with the default HiveExt.dll  :)

Link to comment
Share on other sites

well that error clearly says you already have a column with the same name (Slot), so I guess you have run the query before since I don't think any other mod uses a column with that name??

 

Do you mean when installing this mod? No all "old" characters will be displayed n the #1 slot. 

do you see "DEFAULT 1" in the query, that means the old chars will be defaulted to slot 1 if not explicitly specified by the script, that's why the database will still work with the default HiveExt.dll  :)

 

I mean that, I have players on the server right now (With good gear and stuff) Will they lose it when they join after i put this in OR will it be on like the #1 slot?

Link to comment
Share on other sites

I mean that, I have players on the server right now (With good gear and stuff) Will they lose it when they join after i put this in OR will it be on like the #1 slot?

The players won't lose anything, their current char will available as slot #1 char off course. :)

just install it on a test server with your current database and you can try it yourself with your char.

 

i dont have any columm with that name.

that is very weird, but I can't help you with that it is a simple database query and I am no fan of navicat as that tool is buggy and not user friendly in my opinion..

if you don't have that column how come you get an SQL error that you do? :o

Link to comment
Share on other sites

I'm getting this error with the .dll provided for 1.0.5.1 

"This server is running an incorrect version..." 

 

Im using overpoch*

Arma version 112555

 

Here is the errors  <_<

RPT:

 

15:03:48 Error in expression <ray = call compile format ["%1",_data];

_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error position: <_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error Undefined variable in expression: _resultarray
15:03:48 File z\addons\dayz_server\init\server_functions.sqf, line 168
15:03:48 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
15:03:48   Error position: <_characterSlot];
_primary = _key call se>
15:03:48   Error Undefined variable in expression: _characterslot
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
15:03:48 Error in expression <ey call server_hiveReadWrite;
if (count _primary > 0) then {
if ((_primary selec>
15:03:48   Error position: <_primary > 0) then {
if ((_primary selec>
15:03:48   Error Undefined variable in expression: _primary
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 42
15:03:48 Error in expression <ray = call compile format ["%1",_data];
_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error position: <_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error Undefined variable in expression: _resultarray
15:03:48 File z\addons\dayz_server\init\server_functions.sqf, line 168
15:03:48 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
15:03:48   Error position: <_characterSlot];
_primary = _key call se>
15:03:48   Error Undefined variable in expression: _characterslot
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
15:03:48 Error in expression <ray = call compile format ["%1",_data];
_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error position: <_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error Undefined variable in expression: _resultarray
15:03:48 File z\addons\dayz_server\init\server_functions.sqf, line 168
15:03:48 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
15:03:48   Error position: <_characterSlot];
_primary = _key call se>
15:03:48   Error Undefined variable in expression: _characterslot
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
15:03:48 Error in expression <ray = call compile format ["%1",_data];
_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error position: <_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error Undefined variable in expression: _resultarray
15:03:48 File z\addons\dayz_server\init\server_functions.sqf, line 168
15:03:48 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
15:03:48   Error position: <_characterSlot];
_primary = _key call se>
15:03:48   Error Undefined variable in expression: _characterslot
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
15:03:48 Error in expression <ray = call compile format ["%1",_data];
_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error position: <_resultArray
};
 
server_hiveReadWriteLar>
15:03:48   Error Undefined variable in expression: _resultarray
15:03:48 File z\addons\dayz_server\init\server_functions.sqf, line 168
15:03:48 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
15:03:48   Error position: <_characterSlot];
_primary = _key call se>
15:03:48   Error Undefined variable in expression: _characterslot
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
15:03:48 Error in expression <Player _playerObj) exitWith {
 
};
 
if ((_primary select 0) == "ERROR") exitWith >
15:03:48   Error position: <_primary select 0) == "ERROR") exitWith >
15:03:48   Error Undefined variable in expression: _primary
15:03:48 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 54
15:04:01 "get: STRING (11111111), sent: STRING (11111111)"
15:04:01 "DISCONNECT: matt (11111111) Object: B 1-1-A:1 (matt) REMOTE, _characterID: 0 at loc [-7244.94,19534.5,0]"
15:04:01 "ERROR: Cannot Sync Character matt as no characterID"
15:04:01 Client: Remote object 2:9 not found
15:04:01 Client: Remote object 2:10 not found
15:04:01 Client: Remote object 2:11 not found
15:07:08 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
15:12:08 "TIME SYNC: Local Time set to [2013,8,3,13,12]"
15:15:09 "RUNNING EVENT: supply_drop on [2014,6,28,13,15]"
15:17:08 "TIME SYNC: Local Time set to [2013,8,3,13,17]"
15:20:51 Warning: Cleanup player - person 2:0 not found
Link to comment
Share on other sites

@mattisback1: I don't know what you did but you have some errors in your script files, did you check the lines? Maybe you missed something

The DLL file itself did not change since Epoch 1.0.4 like the original Hive did not change, so it can't be an issue of this version.

Link to comment
Share on other sites

Getting this in my client rpt

 

Had this working befire but stopped working when i updated to 1.0.5 and then reverted back to .4

 

Error in expression <!dialog && dayz_characterSlot == -2>
  Error position: <dayz_characterSlot == -2>
  Error Undefined variable in expression: dayz_characterslot
Link to comment
Share on other sites

sorry if i missed it but how do you remove this from you db?

just reverse step 1? delete the column from the character_data table.. or leave it there it doesn't matter (the db will still work with the default HiveExt.dll and this extra column)  :D

be aware if you remove the column there may be multiple character for each player, without this mod Epoch will choose the character with the highest ID I guess.

Link to comment
Share on other sites

what code? do you mean SQL query? you won't need it if you use any kind of database management software (like phpMyAdmin, Navicat or whatever) you can just rightclick the column and click remove or something? Can't be that hard without any coding knowledge I guess :D

If you really want the SQl query for that, here you go lol:

ALTER TABLE character_data DROP COLUMN Slot
Link to comment
Share on other sites

Help  I get a black screen on login and it jus sits there in black screen til it kicks me back to lobby. the rpt say player has no character id and character id 0. is this because Im running 1.0.5.1 or? does anyone know what I can do

Link to comment
Share on other sites

Help  I get a black screen on login and it jus sits there in black screen til it kicks me back to lobby. the rpt say player has no character id and character id 0. is this because Im running 1.0.5.1 or? does anyone know what I can do

 

 

For me help to change my custom compiles and custom variables files.

Original config in init.sqf   

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";

Link to comment
Share on other sites

I don't know if this has something to do with my black screen and it not working but when I follow script when it says place the rscdisplaycharacter file in mission folder and add the call to the bottom of the description. it wont load n rpt I get error rsccharacterselectinfotext: undefined base class 'rsctext'. so I went into my description file and added all of the contents of the rscdisplaycharacter file in there instead of putting the file in missions folder and calling it. would that be why. if so we do I get that error when I try like instruction says

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...