Update 12/15/2020: For those of you who don't have the helper function at the top of your init.c (we set this up in the banking addon video) here's a direct link to it: pastebin.com/MCMD0jCu Just add that function to the very top of your init.c file.
Just started learning to mod about a month ago. I have not been able to get banking to work at all on my test server. FINALLY after watching 2 of your videos I now have a working banking system on my test server... Thank you so much! I WILL be watching a lot more of your videos for sure...
3:41 Probably the hardest piece of info to come by in all the videos I've watched. Everyone put the mod line somewhere else and it never worked. Took me days to figure out how to do this whole process. Could have used this video a few months ago lol Hopefully this will save people in the future from the torture I went through! Great work as always!
important note if your using Builderitems in dayz offline mode so any items that have bldr_ in the name you need to have @Builderitems on your server or else it will cause your server to crash because it doesnt know what those custom items are
Thanks for the video! During setup of offline mode, do you have to use a different mission if you are using Expansion.ChernaruPlusGloom? or do you still just just chernarusplus? thank you.
I used DayZCommunityOfflineMode for its ease of use and it's popularity. I personally haven't used VPPAdminTools for this purpose so I can't say if it's any good for this or not.
For my humble skills, I must say that I have used COT for two months and I consider VPPA much more complete, then if you have a server ready it takes 1 minute to make one only for working/test. I have never used DayZCommunityOfflineMode, but it looks the same as COT, I was curious to understand, thanks for the reply.
Check your logs, it'll tell you why it's crashing. My guess is you are spawning an object that does not exist (wrong class name or the server and/or client don't have the mod the object is from).
The expansion mod is still pretty buggy at the moment so I'm waiting a bit before making a video on that topic. And typically items can be spawned in with most popular admin menus.
mine isint working ? im not sure what it could be i get everything just like done in the video with the files and i update my filed via FTP and my server is from a hosting service and when i load it up it gets stuck half way on the loading screen and i have builder items
If you are unable to get into your server after making edits this typically happens when you make an error in the init.c file or if you are trying to spawn objects the server doesn't know (objects from mods the server isn't running).
@@TheGamingChief i only used the standard buildings and I probably did I need to re do the whole thing and see what I can do I know I couldn't find my mission folder I made one and put the offline mode in there and started the batch file if that's wrong
Hi, is it possible to add items with this function that are not possible to pick up for players? Like just for visuals, like open cans, fake food on counters etc?
@@DylanHeuts My mate, sorry for the late answer. Use build statics mod and it will give you option to spawn 'static items' so i hope it's gonna give you what you need.
I followed this guide exactly and when I replace the init.c file in my server, the server crashes. The crash log says NULL pointer to instance Function: 'SpawnObject' Stack trace: $CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c:5 $CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c:19 What am I doing wrong? I used builder items on the offline mode. Do I need builder items on my server as well?
Glad to hear you resolved your issue. Any modded items you place in DayZOfflineMode need the mod enabled on the server as well for everything to work properly.
I realized that was created in the Banking addon video and not mentioned in this one (at least not super clearly), here's a link to the helper function: pastebin.com/MCMD0jCu. I'll go ahead and update the pinned comment as well.
@@TheGamingChief I appreciate that but when I do your instructions, my game doesnt load, I feel like I must be something wrong but I followed step by step exactly! Looks like more research it is!
if i start my server theres a Compile error : Can´t compile mission init script´! $CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c(4): Undefined function 'CreateObject_WIP' I checked every thing, but cant find the reason.
getting stuff in the game is not hard at all, I need a tutorial just like this (perfect) on how to add loot spawns to your custom buildings! Help plz?!?
This works in generic vanilla plus but NOT expansion- i've been trying to add my custom areas to expansion and NOTHING I do WORKS- make a video for expansion, thanks cuz this crap is royally PISSING ME OFF!!!
No, you didn't. You slammed 4 lines into the init.c, saved it, and exited, without doing anything more than mentioning the helper function. You did include a link.... which I see you've done again. NOT VERY HELPFUL.
Update 12/15/2020:
For those of you who don't have the helper function at the top of your init.c (we set this up in the banking addon video) here's a direct link to it: pastebin.com/MCMD0jCu
Just add that function to the very top of your init.c file.
Just started learning to mod about a month ago. I have not been able to get banking to work at all on my test server. FINALLY after watching 2 of your videos I now have a working banking system on my test server... Thank you so much! I WILL be watching a lot more of your videos for sure...
3:41 Probably the hardest piece of info to come by in all the videos I've watched. Everyone put the mod line somewhere else and it never worked. Took me days to figure out how to do this whole process. Could have used this video a few months ago lol Hopefully this will save people in the future from the torture I went through! Great work as always!
important note if your using Builderitems in dayz offline mode so any items that have bldr_ in the name you need to have @Builderitems on your server or else it will cause your server to crash because it doesnt know what those custom items are
any clue why my offline mode dosnt have my mods items installed ? cant use any mods within offline mod , like placeing bbp items
How can I configure it if I rent a server in nitrado
Thanks for the video! During setup of offline mode, do you have to use a different mission if you are using Expansion.ChernaruPlusGloom? or do you still just just chernarusplus? thank you.
Typically you want to stick to the same exact mission. But using the same chernarusplus folder should work in your case.
When I save, no file is created and no text on screen. Followed to a T. Please advise.
I dont have a missions folder like you do is there a reason why?
Hi Chief, thanks for the video, what advantage to use DayZCommunityOfflineMode instead of a testserver with VPPAdmintool / ObjectManager?
I used DayZCommunityOfflineMode for its ease of use and it's popularity. I personally haven't used VPPAdminTools for this purpose so I can't say if it's any good for this or not.
For my humble skills, I must say that I have used COT for two months and I consider VPPA much more complete,
then if you have a server ready it takes 1 minute to make one only for working/test. I have never used DayZCommunityOfflineMode,
but it looks the same as COT, I was curious to understand, thanks for the reply.
i did what you did in the video but with Banking and my server keeps crashing now when trying to join it
Check your logs, it'll tell you why it's crashing. My guess is you are spawning an object that does not exist (wrong class name or the server and/or client don't have the mod the object is from).
any chance you can do an update for expansion and also how to spawn items in
The expansion mod is still pretty buggy at the moment so I'm waiting a bit before making a video on that topic. And typically items can be spawned in with most popular admin menus.
great vid mate do you also have one for setting custom traders
Not quite yet. The topic is still on my to-do list.
any ideas why the building on the map are not showing shapes? thank you!
From my understanding objected added via this method will not be included on the map.
mine isint working ? im not sure what it could be i get everything just like done in the video with the files and i update my filed via FTP and my server is from a hosting service and when i load it up it gets stuck half way on the loading screen and i have builder items
If you are unable to get into your server after making edits this typically happens when you make an error in the init.c file or if you are trying to spawn objects the server doesn't know (objects from mods the server isn't running).
@@TheGamingChief i only used the standard buildings and I probably did I need to re do the whole thing and see what I can do I know I couldn't find my mission folder I made one and put the offline mode in there and started the batch file if that's wrong
Hi,
is it possible to add items with this function that are not possible to pick up for players? Like just for visuals, like open cans, fake food on counters etc?
Something like this: prntscr.com/v4eq3p
The items spawn, but are not possible to pick up!
@@DylanHeuts My mate, sorry for the late answer. Use build statics mod and it will give you option to spawn 'static items' so i hope it's gonna give you what you need.
I followed this guide exactly and when I replace the init.c file in my server, the server crashes. The crash log says
NULL pointer to instance
Function: 'SpawnObject'
Stack trace:
$CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c:5
$CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c:19
What am I doing wrong? I used builder items on the offline mode. Do I need builder items on my server as well?
Never mind! The Server does need builder items on it to work!
Glad to hear you resolved your issue. Any modded items you place in DayZOfflineMode need the mod enabled on the server as well for everything to work properly.
Hello. I can't find the DayCommunityOfflineMode.bat file in my chernarus offline mode folder.
The batch file is included in the DayZ Community Offline Mode download. If the file is actually missing you could try and redownload the file.
Mine hangs one third the way .Even the stock with out mod lines included. Bummer,
Double-check you added the SpawnObject function to the top of your init.c. If you're still having issues feel free to DM me on Discord.
So I can't find the video where you have added objects to spawn in the init.c file for the first time
I realized that was created in the Banking addon video and not mentioned in this one (at least not super clearly), here's a link to the helper function: pastebin.com/MCMD0jCu. I'll go ahead and update the pinned comment as well.
@@TheGamingChief I appreciate that but when I do your instructions, my game doesnt load, I feel like I must be something wrong but I followed step by step exactly! Looks like more research it is!
Likely an error has been made at some point, that or maybe your spawning invalid class names or something like that.
if i start my server theres a Compile error : Can´t compile mission init script´! $CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c(4): Undefined function 'CreateObject_WIP'
I checked every thing, but cant find the reason.
Looks like you are using CreateObject_WIP to create the objects. You should be using CreateObject instead.
@@TheGamingChief can u explain this further I have this same error I don't know what this means?
@@TheGamingChief NVM! you meant in the init.c file change it from CreateObject_WIP to CreateObject I thinkkk I got it :)
Thank you!
getting stuff in the game is not hard at all, I need a tutorial just like this (perfect) on how to add loot spawns to your custom buildings! Help plz?!?
How do i do this on Namalsk???
This works in generic vanilla plus but NOT expansion- i've been trying to add my custom areas to expansion and NOTHING I do WORKS- make a video for expansion, thanks cuz this crap is royally PISSING ME OFF!!!
Thank you for the video man!
Could you make a video on how to spawn loot in the custom object/building we've spawned?
That would be great!
That's on my list of video ideas. Might be a little while before I get to that one though.
Did you?
No, you didn't. You slammed 4 lines into the init.c, saved it, and exited, without doing anything more than mentioning the helper function. You did include a link.... which I see you've done again. NOT VERY HELPFUL.
Thank you !!!