indijdev
Members-
Content Count
27 -
Joined
-
Last visited
Everything posted by indijdev
-
I think the mod BasicSpawnSelect can accomplish your goal, if I understand correctly. I haven't tried it yet myself, but afaik you can make spawnpoints available depending on which category a UID is placed in. Best of luck.
-
A player made a character on my server. After I added the name 'Survivor' (not the SteamID/guid) to the ban.txt in the root folder, he tried to connect, but couldn't until he changed his name. I confirmed with him that he had unsuccessfully tried to log in. I can't tell you why, but it works as intended for me. Maybe I'm missing something.
-
Another thing: I believe you need to edit the values in types.xml and not cfgspawnabletypes.xml. And as far as I know, the max condition of weapons is 200, not 100. -indij
-
I think 00010001 is often a router issue at client end, if other people can join your server. I would advise them to try logging on to an official server and see if they have the same issue. I've also heard that wifi connections can cause some problems. Best of luck. -indij
-
So it seems starting gear is handled different in expansion, if I understand correct. Good to know. Thanks for posting the solution. Will certainly be useful. -indij
-
After my latest testing I'm back to being confused about this. Can't really get a handle on this file. The best solution I've come up with, to accomplish your goal of the worst weather being a *possibility* but not on a certain cycle, is to use vanilla settings and set server-date to late summer/start fall. Currently I use 23/7 and I get occasional drizzle and sometimes a more severe storm. That's the best solution I've found. Sorry I couldn't be of more help. -indij
-
Upon further testing, here are my findings: The function actually do seem to work (maybe a couple of restarts were needed) and there do seem to be some randomness involved in everything except the wind. I think the issue might be that the vanilla config has overcast target set at .45 and the threshold for rain at .5, which means that the weather will hover on the border of rain and overcast most of the time. Additionally, if I remember correctly, the vanilla times for changes in values is set pretty high, so bad weather can last a long time. I've changed my setting a bit and this seems to work somewhat. I'm still adjusting the values and keeping an eye on it, but my server has a 4hr reset cycle (HW can't handle once pr. 24) so it's hard for me to replicate your exact circumstances. I'll give an update when I've become a bit wiser. Best of luck! -indij
-
When comparing to my own init, I only notice a couple of things. Mine doesn't have the '//INIT WEATHER BEFORE ECONOMY' and the '//Loot spawn Creator' part, so I don't know if there are any issues with these. The '//DATE RESET' part is done in reverse in my init, but I can't find any syntax errors in yours, so that should be fine. The 'SetRandomHealth' is done with integers in yours, whereas it's done with floats in the Chernarus init. You can try to use floats to see if that's the issue: I would try to remove all items and only spawn one, while trying to make it work. Maybe something like this: If this doesn't work, I'm not sure I can find the problem with the init file. Are you sure that you not using the chernarusplus missions in your serverDZ.cfg? (I guess banov should be something like template="dayzOffline.banov") And are you sure it is not the init in the \DayZServer\mpmissions\dayzOffline.chernarusplus you are editing? And did you make sure that everything you're trying to spawn is actually in the types.xml in your banov missions folder? These may be silly questions, but I'm at a bit of a loss tbh. -indij
-
Allright. So, since the bandage and chemlight do not spawn either, it seems there's some other issue. I'll give it a second look and see if I can pinpoint the problem.
-
After initial testing, I think you were spot in your OP. This functions seems totally broken. I can confirm that the values will just slide towards the max value and stay there. After 45 mins. the weather was locked at a constant 100% for fog and rain. Furthermore, the overcast was at 0 (which is way below the min threshold for rain), but it did not stop anyway. Additionally, all my clothes went from wet to dry after server restart, so it seems the function is also interfering with something else. Here is the configuration I have tested: Currently doing 2nd round of tests. It's still raining with 0% overcast and climbing. I'll post further results later. -indij
-
Do all the other items spawn fine? I can't really find any issues with the file at first glance. I would remove the 'SetRandomHealth' below the battery to see if that's what causing the issue. Maybe try to spawn only the battery to confirm that it's actually possible. And ofc make sure that there actually is a 'Battery9v' in your Banov types.xml. That's the best advice I can give atm. Best of luck. -indij
-
How long do you have between your resets? I believe it clears up allright on my server, but I'll try to doublecheck and replicate the issue if possible. I think I might have changed some of the rain values, but I don't really remember tbh. (Have been looking through so many files lately that it's kind of a blur by now) Here's what I use: Edit: As I posted this, I just noticed that 'enable' is set to 0, so theoretically this file isn't even loaded. I'll do some testing and get back. Best of luck
-
I've noticed that the FPS drop over time and sudden drops happen, even if noone is logged on to the server. I.e: Server stabilized at around 6.2k FPS after last player logged out and steadily dropped over the next hour or so. Then came a sudden drop of almost 1000 FPS. 19:08:47 Average server FPS: 5772.77 (measured interval: 30 s) 19:08:47 Players: 0 in total 19:09:17 Average server FPS: 5798.40 (measured interval: 30 s) 19:09:17 Players: 0 in total 19:09:47 Average server FPS: 4940.93 (measured interval: 30 s) 19:09:47 Players: 0 in total 19:09:49 Used memory: 3194744 KB 19:10:17 Average server FPS: 4855.93 (measured interval: 30 s) 19:10:17 Players: 0 in total It rose back up and stabilized at around 5150 FPS. Does anyone know why this is happening? When people are logged on, I get the occasional message of *Item [x] is hard to place, performance drops: "<Item>"*, but these messages don't appear when server is empty. Do the restock still take place, but just isn't logged? - indij
-
There is a .txt named 'ban' in the DayZServer root folder. Names added to this file will be banned. Just tested it succesfully today. Best of luck. -indij
-
Afaik, the changes you make to min/max values only affects new items spawned, not the ones already spawned in the map. To clear the map, you have to delete the file that keeps track of spawned items. (Basically wiping the server) I haven't tried it myself, just read about it, so if someone knows more on the topic, please correct me. Best of luck. -indij
-
I think you have to contact your server provider. (I hear Nitrado is one of the main ones) Afaik BI do not provide hosting for private server. And if they do, I think you'd have to contact customer service and not the forum. Best of luck. -indij
-
Have you tried banning the userID? There is a .txt named 'ban' in the DayZServer root folder. I've succesfully used it to ban the default name 'Survivor', but haven't tested if userID bans work. Best of luck. -indij
-
Once again my eagerness to pass on the help that was given me has exceeded my knowledge. You DO have to copy the xml's with <?xml version="......> at the top. From what I can see, it seems the line is the to tell windows that the fil is xml and not txt. Lesson learned. I a sorry for any time wasted listening to my bad advice. Happy troubleshooting. -indij
-
I haven't tried any of the mods myself, so I don't really know how much you can adjust. I think this part of the forum is focused on the standard server setup and settings in general, but if you want to know more about a particular mod, many of them have a link to a discord on their steam workshop page. If the mod isn't dead, there's a good chance some help can be found there. - indij
-
Every type needs to be closed with </type>. Like: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <types> ...... <type name="MountainBag_Autumn"> <nominal>15</nominal> <lifetime>21600</lifetime> <restock>0</restock> <min>5</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" /> <category name="containers" /> <usage name="Town" /> <usage name="Village" /> </type> <type name="MountainBag_Winter"> <nominal>15</nominal> <lifetime>21600</lifetime> <restock>0</restock> <min>5</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" /> <category name="containers" /> <usage name="Town" /> <usage name="Village" /> </type> ..... </types> Are none of your items spawning? Do you get an error in your console log when starting the server? Can you spawn the items with a moderator tool? Many of the items from mods, you have to copy/paste to your types.xml.
-
I'm not sure what you can do to adjust the speed and damage output, but I believe the number of Zombies can be changed in the globals.xml in /mpmissions/dayzOffline.Your_server_version/db At the bottom, look for these lines: I've bumped mine to 2000 and 400. Additionally, there are mods called PvZmoD, which is supposed to do hardcore zombies. There's one called PvZmoD_Spawn_System and one called PvZmoD_TheDarkHorde. Best of luck. -indij
-
Qs about ports and mods + Start gear solution [SOLVED]
indijdev replied to indijdev's topic in Servers
Issue is resolved. My IP was not public, which I thought it was. Thank you NoBeansForMe, without your help it would have taken me ages to pinpoint the problem. I've been able to install a few mods without huge issues. Also thanks for your input on the init files. As said, spawning startgear based on steamid works flawlessly and I'm about to test the rank-based solution. Best regards. -indij -
Greetings. First off, I would like to thank all the vets in here. Your contribution have provided invaluable information in my effort to get this thing up and running. Salute O7 I've solved a lot of initial issues by scouring through this forum, but there's a few things I haven't been able to figure out. Hopefully some of you can nudge me in the right direction. Problem 1: I'm able to direct connect from my workstation to my home server over the LAN ip+port, but I just cannot get it to show up in the 'Community servers' tab or direct connect to my public IP. All ports required for Steam is opened both in Win Defender and on my router as per this: Official Steam Post Additionally 27015 is forwarded to the server and, as per the note in the post, nothing is re-mapped or reconfigured. As I understand, BattleEye uses the game- and queryportnumber +10. Port 2302 is set as gameport, opened in router and forwarded to the server along with 2312. Port 2305 is set as queryport, opened in router and forwarded to the server along with 2315. Serverlog is confirming these two ports being used - SUCCESS: SteamGameServer_Init(0,8766,2302,2305,3,1.15.154337) I DO NOT have a static public IP - is this needed for direct connect? I'm checking public IP 2-3sec. before trying to connect. Do I need to proxy out from my network to test my public IP? I've confirmed with a friend, but only once. He couldn't see it either. I've read something about a Steam API Key - Do I need this to get my server to 'broadcast' it's presence? Problem 2: My server doesn't have any @<MODNAME> folders, only a lot of .pbo files. The DayZ GAME folder on my workstation has all the @-folders of the mods I'm subscribed to, but they do not get downloaded as @-folders to the DayZ SERVER folder on my server-pc. I've tried to unsub and resub to the mods from the steam-client on my server-pc, but that didn't work. Do I need to install the full DayZ GAME on my server in order to get the mods? Or is there some other way to handle mods that I am missing? Contribution + bonus question: ------------------------------- I've made some changes to init.c in order to edit the starting gear. The changes will first spawn all things worn, then target individual slot and populate them. This also allows you to spawn items on vests and belts, like buttpacks, holsters etc. (Ed.) Updated version has a solution for spawning fully assembled weapons. Modified init.c: I bet you could even cut the code down by using lists and for x in y to populate slots, but C isn't my strong side. Question [SOLVED]: Is there any way to dictate who gets what starting equipment? Maybe through an 'if player ID=xxx' check? (Ed.) Exactly this can be done. Solution in post below Thanks for your time - indij
-
Maybe I should ponder the problem more before I try to help I can't think of issues, sry. Best of luck. -indij
-
Qs about ports and mods + Start gear solution [SOLVED]
indijdev replied to indijdev's topic in Servers
Seems like I was mistaken. My outwards IP (212.x.x.x) does not match the WAN IP (100.x.x.x) and it seems I'm on a 255.252.0.0 subnet. (ed.) I am able to connect to the server using the WAN IP, so I guess that Win Defender and port forwarding are not the issue. I'm awaiting mail from my ISP regarding a static IP. Thx Beans. -indij