Jump to content

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


Axe Cop

Recommended Posts

Okay I obiously need to be clearer.

 

I am with Vilayer and in there set up they have the following folders when you create a Overpoch server.

 

@Dayz_epoch

@DayzEpochServer

@DayzOverpochServer

@DayzOverwatch

@DayzOverwatchServer

 

So my question should be WHICH of these folders (all of which contain a HiveExt.dll file) do i put the new Hive file in order to get this to work.

 

Thanks

Link to comment
Share on other sites

Hi, I'm getting massive errors I've never seen before and don't appear anywhere in this thread.  I went through the install process twice.  I'm running an OverPochIns server v.1.0.5.1, Infistar v.08112014IAHAT337C.  

 

In my console window (and HiveExt.log)  I'm getting:

 

21:07:37 HiveExt(0): [Error] Error executing |CHILD:101:xxxxxxxxxxxxxxxxxxx:13:Bob_the_K:<null>:|
21:07:37 HiveExt(0): [Error] Error executing |CHILD:101:xxxxxxxxxxxxxxxxxxx:13:Bob_the_K:<null>:|
21:07:39 HiveExt(0): [Error] Error executing |CHILD:101:xxxxxxxxxxxxxxxxxxx:13:Bob_the_K:<null>:|
21:07:39 HiveExt(0): [Error] Error executing |CHILD:101:xxxxxxxxxxxxxxxxxxx:13:Bob_the_K:<null>:|
21:07:39 HiveExt(0): [Error] Error executing |CHILD:101:xxxxxxxxxxxxxxxxxxx:13:Bob_the_K:<null>:|

 

where the x'es are my character ID.

 

This is what I'm getting in my serverside .rpt:

 

21:07:37 Error in expression _resultArray


};

server_hiveReadWriteLar>
21:07:37 Error position: <_resultArray
};

server_hiveReadWriteLar>
21:07:37 Error Undefined variable in expression: _resultarray
21:07:37 File z\addons\dayz_server\init\server_functions.sqf, line 174
21:07:37 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
21:07:37 Error position: <_characterSlot];
_primary = _key call se>
21:07:37 Error Undefined variable in expression: _characterslot
21:07:37 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
21:07:37 Error in expression _resultArray
};

server_hiveReadWriteLar>
21:07:37 Error position: <_resultArray
};

server_hiveReadWriteLar>
21:07:37 Error Undefined variable in expression: _resultarray
21:07:37 File z\addons\dayz_server\init\server_functions.sqf, line 174
21:07:37 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
21:07:37 Error position: <_characterSlot];
_primary = _key call se>
21:07:37 Error Undefined variable in expression: _characterslot
21:07:37 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
21:07:39 Error in expression _resultArray
};

server_hiveReadWriteLar>
21:07:39 Error position: <_resultArray
};

server_hiveReadWriteLar>
21:07:39 Error Undefined variable in expression: _resultarray
21:07:39 File z\addons\dayz_server\init\server_functions.sqf, line 174
21:07:39 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
21:07:39 Error position: <_characterSlot];
_primary = _key call se>
21:07:39 Error Undefined variable in expression: _characterslot
21:07:39 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
21:07:39 Error in expression _resultArray
};

server_hiveReadWriteLar>
21:07:39 Error position: <_resultArray
};

server_hiveReadWriteLar>
21:07:39 Error Undefined variable in expression: _resultarray
21:07:39 File z\addons\dayz_server\init\server_functions.sqf, line 174
21:07:39 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
21:07:39 Error position: <_characterSlot];
_primary = _key call se>
21:07:39 Error Undefined variable in expression: _characterslot
21:07:39 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
21:07:39 Error in expression _resultArray
};

server_hiveReadWriteLar>
21:07:39 Error position: <_resultArray
};

server_hiveReadWriteLar>
21:07:39 Error Undefined variable in expression: _resultarray
21:07:39 File z\addons\dayz_server\init\server_functions.sqf, line 174
21:07:39 Error in expression <4:",_playerID,dayZ_instance,_playerName,_characterSlot];
_primary = _key call se>
21:07:39 Error position: <_characterSlot];
_primary = _key call se>
21:07:39 Error Undefined variable in expression: _characterslot
21:07:39 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 40
21:07:39 Error in expression
};

if ((_primary select 0) == "ERROR") exitWith >
21:07:39 Error position: <_primary select 0) == "ERROR") exitWith >
21:07:39 Error Undefined variable in expression: _primary
21:07:39 File z\addons\dayz_server\compile\server_playerLogin.sqf, line 54
21:07:49 "infiSTAR.de PlayerDisconnected: _uid: 76561198058545117 _name: Bob_the_K"
21:07:49 "get: STRING (76561198058545117), sent: STRING (76561198058545117)"
21:07:49 "DISCONNECT: Bob_the_K (76561198058545117) Object: B 1-1-A:1 (Bob_the_K) REMOTE, _characterID: 0 at loc [126.249,157.387,46.1041]"
21:07:49 "ERROR: Cannot Sync Character Bob_the_K as no characterID"
21:07:49 Client: Remote object 2:10336 not found

 

My client side .rpt has no errors or warnings.

 

And in my game window, I'm getting:

 

This server is running an incorrect version of the server side application.  You cannot play on this server.  If you are the server admin, please contact DayZ Epoch staff.

 

Any ideas what's happening?  Immediately before I added this script, everything was working properly.  I'm not running any of the coin systems and so wasn't running any of their hive dlls yet (but I want to add one if I can get multi character working).

 

Thanks,

Bob

Link to comment
Share on other sites

Bob I think either your server is not using my modified HiveExt.dll or your database does not match the schema it needs (because the CHILD 101 errors, that is a function I have added to the hive).

If you are using a hosted server on some dedicated box please check if the DLL actually is replaced, because some hosters revert modified files every time you start the server. :/

Link to comment
Share on other sites

Hi I am really struggling with this I have been trying to get this to work for 48 hours and I just cant seem to get this working. It 100% down to me doing something wrong It has to be it works for everyone else.

 

Could I get a little help please?

 

All I want Is the coin system and bank with multiple characters. No matter what I try I just cant get this to work :S

 

Would anyone happen to have a Server.pbo and Mission.pbo I could use with only Coin system + bank and multiple characters set up ready to use please?

 

Would It matter If I used DayZ_Epoch_11.Chernarus OR DayZ_Epoch_17.Chernarus would that make any difference at all? as I am using 11 To be honest I don't know what's different in the 11 and 17.

 

If somebody could be kind enough to help me out with the working .pbo's I would appreciate it very much I will be happy to put your name on my loading screen to give credit for your help. Its not much to give back but Its all I can do :S

 

All I get when I run the server Is spammed with: Mission DayZ Epoch Chernarus read from directory. In my server console.

 

And If I try to join the server I get stuck at wait for host.

 

 

Link to comment
Share on other sites

Well I went through the entire process in excruciating detail.  I re-downloaded all the files, and verified the date stamp and size of the HiveExt.dll file between the server and my download directories.  It's an exact match.  My development server is actually a server in my house so I have full access to everything.  

I verified the database.  There is a "slot" field for all players with a value of "1" for all.  Nothing seems out of place.  I got the exact same results.  

 

For now, I reverted back to my version before I made any changes for multi-character.  I'm going to put in DZGM and then give this another try.

Link to comment
Share on other sites

OK, it has something to do with the HiveExt.dll.  On a fully functioning server, all I did was replace the HiveExt.dll with this one and I got the "incorrect version" message.   I made no other changes.  I put the original .dll back and it works fine.

 

Could it have something to do with my running an Epoch/Overwatch/Origins server on the Taviana map?

Link to comment
Share on other sites

OK, it has something to do with the HiveExt.dll.  On a fully functioning server, all I did was replace the HiveExt.dll with this one and I got the "incorrect version" message.   I made no other changes.  I put the original .dll back and it works fine.

 

Could it have something to do with my running an Epoch/Overwatch/Origins server on the Taviana map?

 

That means u did not do database changes, u sure u did the changes on the right database?

Link to comment
Share on other sites

Here's the SQL command I ran:  ALTER TABLE `Character_DATA` ADD COLUMN `Slot` TINYINT UNSIGNED NOT NULL DEFAULT 1 AFTER `PlayerUID`;

 

And after running the command, the character_data table excerpt has:

 

CharacterID    PlayerUID                    Slot     InstanceID         Datestamp                          LastLogin
3239               xxxxxxxxxxxxxxxxxxx    1       13                      11/17/2014 19:12:49          11/21/2014 07:56:38
3238               xxxxxxxxxxxxxxxxxxx    1       13                      11/17/2014 19:08:12          11/17/2014 19:12:15
3237               xxxxxxxxxxxxxxxxxxx    1       13                      11/9/2014 21:53:54            11/17/2014 19:07:38
3236               xxxxxxxxxxxxxxxxxxx    1       13                      10/25/2014 14:00:19          11/9/2014 21:53:10
3213               xxxxxxxxxxxxxxxxxxx    1       13                      10/6/2014 21:28:26            10/25/2014 13:59:04
3220               xxxxxxxxxxxxxxxxxxx    1       13                      10/7/2014 21:11:47            10/10/2014 21:09:55
3235               xxxxxxxxxxxxxxxxxxx    1       13                      10/10/2014 21:02:30          10/10/2014 21:02:30
3216               xxxxxxxxxxxxxxxxxxx    1       13                      10/6/2014 23:06:38            10/10/2014 21:01:32
3217               xxxxxxxxxxxxxxxxxxx    1       13                      10/7/2014 02:40:28            10/10/2014 18:37:23
3234               xxxxxxxxxxxxxxxxxxx    1       13                      10/10/2014 11:57:35          10/10/2014 11:57:35
3233               xxxxxxxxxxxxxxxxxxx    1       13                      10/10/2014 00:37:01          10/10/2014 02:22:40
61                   xxxxxxxxxxxxxxxxxxx    1       13                        7/31/2014 22:31:02          10/10/2014 02:14:46
3232               xxxxxxxxxxxxxxxxxxx    1       13                      10/10/2014 00:12:21          10/10/2014 00:12:21

 

 

You can see the "slot" field and the last login date of today with my test character.

Link to comment
Share on other sites

Hey Axe Cop,

Not sure if intended or not. But clicking the disconnect button on the Character Select Screen will not disconnect you but simply reload the character select page. I fixed this by doing this in the player_monitor.fsm file (since we made some custom modification to it, i'll just show you).

oa2j3o.jpg

Link to comment
Share on other sites

  • 4 weeks later...

Well, I'm about to attempt putting in the latest plot pole for life and already have multi character installed.  I've scoured that thread and this one to see if here are any issues since both impact player identification/variables and modify some of the same files but didn't see any stated issues.  Are there any gotchas I should be on the lookout for?

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

I get an error in the constole saying Error Invalid Method ID 100, The ID is located in the server_playerCharacters.sqf.

 

Does anyone know a fix for this or is there something I am doing wrong?

Looks like you are using a wrong HiveExt.dll, only my custom file has Method 100 support :)

Link to comment
Share on other sites

I seem to recall that some changes had to be made to either ah.sqf or ahconfig.sqf (or both) when using Infistar for this mod to work.  It's been awhile since I've updated our A2 Epoch server and want to put the latest Infistar in-place.  But I cannot find anything about it here.  Not too many scripts/mods required updating either of those files.   Am I thinking of another mod/script?  I did a search here and there wasn't anything about it in the installation instructions.

 

I did a compare between the new and old but don't know if the changes are simply due to updates in Infistar or whether some of them were for Multiple Character.

 

Does anyone know or remember?

 

Thanks,

Bob

 

Note:  Found it... It was DZGM.

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
×
×
  • Create New...