Axe Cop Posted February 1, 2014 Author Report Share Posted February 1, 2014 the HiveExt.dll might work with 1.0.3.1 in theory, but the player monitor is from 1.0.4 so that won't work. You can still us the previous version of this mod, it works fine with 1.0.3.1: http://dl.bintray.com/vos/dayz/multichar1.2.zip (there is a readme with the download, but its essentially the same installation, only a few more dlls to overwrite for the old Epoch version) :) WEB11 1 Link to comment Share on other sites More sharing options...
joe_candy Posted February 2, 2014 Report Share Posted February 2, 2014 Yeay... Axe, big thx that you could update the script so quickly. Works fine, also with SpawnSelection. ^^ Link to comment Share on other sites More sharing options...
blckeagls Posted February 7, 2014 Report Share Posted February 7, 2014 To use this Hiveext.dll for the Child:999/998 you have to do: Copy and paste the hiveext.dll into you @DayZ_Epoch_Server directory Issue the SQL insert to add the Slot to the Character_DATA table. Change to this in server_playerLogin: _key = format["CHILD:101:%1:%2:%3:0:",_playerID,dayZ_instance,_playerName]; Link to comment Share on other sites More sharing options...
blckeagls Posted February 7, 2014 Report Share Posted February 7, 2014 I am getting an issue with the syntax I assume for the CHILD:999/998 though.... Is there something wrong with these SQF statements? _key = "CHILD:999:insert into donor_bank (PlayerUID,Balance) values (555555,1111):[0]:"; _result = _key call server_hiveReadWrite; _key = "CHILD:998:insert into donor_bank (PlayerUID,Balance) values (444444,2222):[0]:"; _result = _key call server_hiveReadWrite; _key = format ["CHILD:998: INSERT INTO donor_bank (PlayerUID) VALUES (?):[""%1""]:", player getPlayerUID]; _key call server_hiveWrite; Link to comment Share on other sites More sharing options...
blckeagls Posted February 8, 2014 Report Share Posted February 8, 2014 Bump Link to comment Share on other sites More sharing options...
Axe Cop Posted February 8, 2014 Author Report Share Posted February 8, 2014 hey blckeagls sorry but nobody knows how that works exactly :D I looked at the code for some minutes and it seems there is no simple Hive 999 or 998 support but new handlers for custom queries called CHILD:500 to 505 maca's solution with Child 999 was much simpler, I don't know why but whoever coded the new version had some time and reinvented queries or something, if you know your way around c++ just check the official code. look at the code: https://github.com/vbawol/DayZhiveEpoch/blob/master/Hive/Source/HiveLib/HiveExtApp.cpp#L120-L125 there are some examples here and others below: https://github.com/vbawol/DayZhiveEpoch/blob/master/Hive/Source/HiveLib/HiveExtApp.cpp#L723-L751 here is the files for the custom queries: https://github.com/vbawol/DayZhiveEpoch/blob/master/Hive/Source/HiveLib/DataSource/CustomDataSource.h https://github.com/vbawol/DayZhiveEpoch/blob/master/Hive/Source/HiveLib/DataSource/CustomDataSource.cpp good luck :) anyway this has nothing to do with this topic in general, since this is added in the official hive since Epoch 1.0.4 :) Link to comment Share on other sites More sharing options...
uNbea7 Posted February 8, 2014 Report Share Posted February 8, 2014 Hi Axe Cop, first of all damn fine script! Unfortunately we do have an error to report: People can't spawn with their 1. Character - they always get a black screen. Changing Character to Character #2 or #3 fixes the blackscreen but as soon as they relog to their first character they land in the blackscreen once again. In the blackscreen they can do everything they normally do, walk, shot etc but they dont see shit and are nowhere to be found on the map. Not all players have that problem strangely but most of them do. Do you have any idea what could have caused that? Using your script for about 1 week now - Server is running Epoch 1.0.4 Taviana 2.0. The problem started arround an hour ago. Regards Link to comment Share on other sites More sharing options...
Guest Posted February 8, 2014 Report Share Posted February 8, 2014 i think this needs an update for 1.0.4.1 :) Link to comment Share on other sites More sharing options...
blacksheep25 Posted February 9, 2014 Report Share Posted February 9, 2014 Yeah, a 1.0.4.1 update would be awesome if it doesn't already work on it. Link to comment Share on other sites More sharing options...
Axe Cop Posted February 9, 2014 Author Report Share Posted February 9, 2014 The HiveExt.dll is unchanged and I don't think it will be updated any time soon in the official Epoch version so you just need to merge the script files for the new version.. I will probably do that tomorrow if I have some time. :) @uNbea7: that's a weird bug if that only occurs on the 1. char slot, because all the slots are handled the same anditI may be the default black screen bug I know from default Epoch or DayZ in for years. If the server is busy players might get stuck in the debug zone or black screen (if you press esc while you are in the black screen you spawn as a bird or something?). Anyway if you see the character selection screen and it shows the characters correctly there is nothing I can do I think, everything after that is default Epoch login, the only change is the extra slot id that is send to the server. btw uNbea7 nice to see you again, I've played some month on your origins server some time ago :D Link to comment Share on other sites More sharing options...
Axe Cop Posted February 10, 2014 Author Report Share Posted February 10, 2014 Update for Epoch 1.0.4.1: http://dl.bintray.com/vos/dayz/multichar1.3.1.zip Link to comment Share on other sites More sharing options...
blacksheep25 Posted February 10, 2014 Report Share Posted February 10, 2014 On 2/9/2014 at 7:16 PM, Axe Cop said: The HiveExt.dll is unchanged and I don't think it will be updated any time soon in the official Epoch version so you just need to merge the script files for the new version.. I will probably do that tomorrow if I have some time. :) Installed it into my test server to try it out and im getting "You have an outdated version of epoch, please download the correct version" error. So im guessing it won't work on 1.4.0.1. I'll wait till you test it and see if it's just me that screwed something up somewhere. Link to comment Share on other sites More sharing options...
Axe Cop Posted February 10, 2014 Author Report Share Posted February 10, 2014 On 2/10/2014 at 8:13 PM, blacksheep25 said: Installed it into my test server to try it out and im getting "You have an outdated version of epoch, please download the correct version" error. So im guessing it won't work on 1.4.0.1. I'll wait till you test it and see if it's just me that screwed something up somewhere. did you use my latest version? anyway it worked with Epoch 1.0.4 on my server and the HiveExt.dll was not changed with the Epoch 1.0.4.1 as far as i can see.. If they change the Hive again I don't think I will support it anymore, it is hours of works to get all the dependencies for the stupid HiveExt working and I've just cleaned my computer haha, no really this is a lot of work and I think its like 10x the work to support mods like this then actually coding it so that kinda sucks in my opinion... Link to comment Share on other sites More sharing options...
blacksheep25 Posted February 10, 2014 Report Share Posted February 10, 2014 Nah i didn't sorry bud, i was trying this out before you posted the 1.0.4.1 update on the thread and didnt have the page refreshed until i posted that. All is good, i'll try the 1.0.4.1 update you posted and see how it goes! Link to comment Share on other sites More sharing options...
Axe Cop Posted February 10, 2014 Author Report Share Posted February 10, 2014 The HiveExt.dll is the same, I mean if you used the old player_monitor.fsm with the latest Epoch version that's not gonna work obviously :D Link to comment Share on other sites More sharing options...
blacksheep25 Posted February 10, 2014 Report Share Posted February 10, 2014 Getting stuck at "Requesting Character Data", I have done all steps you have posted. Any idea why its getting stuck? Also noticed you said On 12/13/2013 at 12:27 AM, Axe Cop said: open the file compile\server_playerLogin.sqf, around line 47 replace _key = format["CHILD:101:%1:%2:%3:",_playerID,dayZ_instance,_playerName]; with _key = format["CHILD:101:%1:%2:%3:%4:",_playerID,dayZ_instance,_playerName,_this select 2]; but in your example file for server_playerLogin.sqf you have _key = format["CHILD:101:%1:%2:%3:%4:",_playerID,dayZ_instance,_playerName,_characterSlot]; Link to comment Share on other sites More sharing options...
Axe Cop Posted February 10, 2014 Author Report Share Posted February 10, 2014 I know the readme is the simplified version and you are the first one who even noticed that :P if you look at my example file I have defined _characterSlot = _this select 2; at line 9 and also added it to the private array in the first line, it's the same in the end but I wanted to keep the instructions simple to follow and this would be 3 steps instead of 1. :) if you get stuck do you see any error in the RPT log files? (sorry but I have to ask this all the time, because never look in the error files by themselves it seems) if not check your HiveExt.log or keep an eye on the server log when you try to join, there be a log entry like HiveExt: [Information] Method: 100 Params: followed by your player ID (method/child 100 is the multi character request, 101 is the actual character data). its hard to to remote debug of a mod like this, if you do something wrong its very hard to find out what with ArmA mods i am afraid. :/ Link to comment Share on other sites More sharing options...
Axe Cop Posted February 10, 2014 Author Report Share Posted February 10, 2014 Ok I've done a fresh install of my mod with Epoch 1.0.4.1 and I have to say it works like its supposed to!! so whatever you are doing it's not my mod, but anyway I've uploaded the modified server and mission file if you wanna try it with those: http://8bit.info/dayz/multichar_example.zip (just the default Epoch 1.0.4.1 with this mod applied and the HiveExt.dll, so everything you need to get this mod working if you have added the slot column to your database). Hope that helps. :) Link to comment Share on other sites More sharing options...
blacksheep25 Posted February 11, 2014 Report Share Posted February 11, 2014 Thanks Axe Cop, I'm pretty sure it is a confliction with another mod i have, ill have to redo the mission file with the default epoch plus this mod added and slowly add in my features i have. Also check your PM's for an important message you need to read! thanks, Blacksheep25 Link to comment Share on other sites More sharing options...
fkh Posted February 14, 2014 Report Share Posted February 14, 2014 Hi Thanks for sharing this great mod, I really like it. Unfortunately this does not work with 1.0.4.2 anymore. Do you already have plans of upgrading? Cheers fkh Link to comment Share on other sites More sharing options...
Axe Cop Posted February 14, 2014 Author Report Share Posted February 14, 2014 On 2/14/2014 at 3:36 AM, fkh said: Hi Thanks for sharing this great mod, I really like it. Unfortunately this does not work with 1.0.4.2 anymore. Do you already have plans of upgrading? Cheers fkh just updated to Epoch 1.0.4.2: http://dl.bintray.com/vos/dayz/multichar1.3.2.zip the "problem" is that the version check is in the file system_monitor.fsm, so with every single Epoch update they change at least the version in that file :D might be a good thing, because they've added an extra line with Epoch 1.0.4.2 in that file, but it was a simple update in 5 minutes. I still hope there isn't an update every week now haha! :) Link to comment Share on other sites More sharing options...
fkh Posted February 14, 2014 Report Share Posted February 14, 2014 Hi Axe That's great news, thank you very much. Cheers fkh Link to comment Share on other sites More sharing options...
tinux Posted February 15, 2014 Report Share Posted February 15, 2014 On 12/17/2013 at 1:04 AM, Bags2247 said: Yeah, I with Vilayer server provider, so I mainly work with the files and when I start the server, it compiles it into a pbo... I'll get the files for you though mate Bags give me a few Bags, I'm with vilayer too. Having trouble to find the location of the hiveext.dll. any folder I should look in? (had no trouble finding hiveext.ini) Link to comment Share on other sites More sharing options...
montymint Posted February 15, 2014 Report Share Posted February 15, 2014 On 2/15/2014 at 1:53 AM, tinux said: Bags, I'm with vilayer too. Having trouble to find the location of the hiveext.dll. any folder I should look in? (had no trouble finding hiveext.ini) You have to request customer services do it Link to comment Share on other sites More sharing options...
Axe Cop Posted February 15, 2014 Author Report Share Posted February 15, 2014 Some hosters don't give you direct access to the HiveExt.dll, also keep in mind that hosters like DayZ.st use their own custom HiveExt.dll and not the official one from Epoch so be careful :) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now