Da0ne / DZMods

DayZ Standalone Vanilla++ project
Other
34 stars 19 forks source link

is the latest version working on 1.0 #144

Closed sy8282 closed 5 years ago

sy8282 commented 5 years ago

ive been running the old version with the better building spawner but seems that is now dead as it crashes the servger on launch throws lots and lots of errors is the new version any better

Sniy commented 5 years ago

I think the People need the Time to find the Problem . Good Work Bro´s .

sy8282 commented 5 years ago

so theres a problem with the newest version aswell? mine is the first moddedscripts serversided only just need to know if the new @vanilla is working on 1.0

SirFrostingham commented 5 years ago

Compile error

Can't compile mission init script'!

$CurrentDir://mpmissions//DayZSurvival.chernarusplus//ScriptedMods//Modules//ServerEvents//InfectedHordes.c(89): Undefined function 'AttachEventHandle'

Abort Retry Ignore

.\mpmissions\DayZSurvival.chernarusplus\ScriptedMods\Modules\ServerEvents\InfectedHordes.c

line 90: Bszmb.AttachEventHandle(PossibleLootDrops,PossibleWeaponDrops,dropChance);

I commented the line for now and the scripts load.

GravityWolfNotAmused commented 5 years ago

AttachEventHandle is defined inside of ZombieBase you can clearly see this on line 14. People always have this issue before and after the update. I fail to see how this isn't from failure to install correctly?

sy8282 commented 5 years ago

i dunno man was working fine i updated to 1.0 and it wouldnt compile commented out the line and then got another error inside world\entities\playerbase.c(154) something about NULL

GravityWolfNotAmused commented 5 years ago

That's the error that I am working on right now

ChawDinky commented 5 years ago

Can't compile mission init script'!

$CurrentDir://mpmissions//DayZSurvival.chernarusplus//ScriptedMods//Modules//AdvancedLoadouts//AdvancedLoadouts.c(83): Unknown type 'CallType'

Due to RPCframe not being updated... Thanks Gravity

GravityWolfNotAmused commented 5 years ago

@chawdinky I think this is caused by not updating RPCManager w/ key.

HumnResources commented 5 years ago

GravityWolf. In the update patch notes there was changes to the commands in launch params. I managed to get it working (though didn't connect just server start) by REMOVING "-scrAllowFileWrite" and REPLACING that with "-filePatching"

HumnResources commented 5 years ago

Update:

The error code I am now receiving is the same as sy8282;

VanillaPP/scripts/4_World/entities\manbase\playerbase.c(159): Only NULL assignment is allowed.

sy8282 commented 5 years ago

so ive been reading online that the 1.0 update has made mod.cpp redundant in its current format and should be packed as a config.cpp inside the pbo taken from this in the patchnotes Changed: The content of the mod.cpp must be included into the mod configuration and a discussion with a guy that knows a little more than me not sure if that helps getting towards a solution or not

ChawDinky commented 5 years ago

@chawdinky I think this is caused by not updating RPCManager w/ key.

Yeah, figured. i have had 0 sleep today. Thanks mate!

sy8282 commented 5 years ago

just a heads up i remove the bleeding computation on line 154 as its only for safezone function and server started just no hordes or safezone

but admintools are working fine

Killtacular commented 5 years ago

Updated to 1.0 then restart the server and everything seems to be normal. No crashes, no compile errors. Come to think of it, I worked on the files before updating the DayZ.

ChawDinky commented 5 years ago

That's the error that I am working on right now

Yeah, same error // it out for now

ChronicGamer420 commented 5 years ago

is there any reason why the admin codes arent working, like spawning in items and teleporting nothing seems to be working even after i login and my guid is there in admin file

HumnResources commented 5 years ago

is there any reason why the admin codes arent working, like spawning in items and teleporting nothing seems to be working even after i login and my guid is there in admin file

Try checking the admins.txt for an empty line/remove it. And double check its your uid and not the standard one provided.

ChronicGamer420 commented 5 years ago

yip done that, altho vanilla plus plus doesnt like to work lol so im not using rpc or ++ atm

HumnResources commented 5 years ago

yip done that, altho vanilla plus plus doesnt like to work lol so im not using rpc or ++ atm

Yea I'm waiting to get my server back up after this gets updated.

ChronicGamer420 commented 5 years ago

yea, tried everything and no works

HumnResources commented 5 years ago

Just to provide an update;

I managed to get it working and such by commenting out the godmode for safe area, as stated above. So far working confirmed; Advanced Loadouts; Custom menu/random/loadouts incl spawn armed. --working. Admin commands --working Zombie Horde --working

The above are all i use on my server so it seems fully functional in my use case. I do not have Custom buildings or safezone enabled.

Hope this can help ! Best of luck and thank you again for all your hard work!

EDIT:

Upon further investigation, it seems that wasn't what caused it to work. As stated above by @sy8282 It seemed to have more to do with the config files. I also when doing the above, merged the config files together. So the @VanillaPlusPlus folder only contains 'Addons' and 'Key' (<- Useless as i had to repack to get it to work). With no config file at all. Instead, I moved the cfgMods array into the config file located in the scripts directory of the pbo itself.

At some point during my trial and errors, I had used a fresh version of VanillaPP.pbo. So the section in question above, in regards to manbase.c(159)=null error. Is actually still working or rather, didnt give me an error. It seems, at first glance from here, the config files were the issue in question.

Also, so you are aware. The update REMOVED the -scrAllowFileWrite parameter, while providing write access to $profiles and $saves. So it may be required to actually create any folders prior to launching the mod, as it will not be able to itself. Hope i can help! (I know nothing about code but i love it, so i try!)

Apologies for unpacking your pbo, will revert if requested upon release of update.

Again thank you for all your efforts. My favourite mod by far, all I ask for now is those darn ui elements for admin commands you promised over on steam ;)

Da0ne commented 5 years ago

The mod is seriously fucked tbh, all the serialization of the Json and loadout data...spawn points etc.. its all broken due to the devs. I cant do ANYTHING about it i have to wait for their fix. I have fixed all the issues with startup and errors due to outdated code (0.63-1.0). But the main issue is to do with core engine functions that i rely on to read write and make data. I appreciate everyone who is active here and trying to help out :)

HumnResources commented 5 years ago

It'll be done ! Don't fret, do what you can for now that's all. Appreciate the updates.

I'm not quite free right now however, if you would like me to test anything let me know! So far the only bug i have run into is; unconscious respawning. If the character is unconscious, and i respawn. I have to relog. However, other than that. I have been having little to no issues. Hordes spawn okay, inventory spawns on character load etc. I can test the safezone feature later tonight if you havent figured things out by then.

Glad to help wherever needed! Best of luck!

Da0ne commented 5 years ago

@HumnResources Can you send me a picture of your Json file in your profile " SpawnPoints.json " also a if possible a dump of the script.log from server start

HumnResources commented 5 years ago

script.log capture

There you go sir, both as per requested. I am leaving my house however and wont be able to reply so i do hope that helps!

As for the respawn points, i did copy over the json respawn file i had from a backup. As when i first launched the server it was "replaced" with an empty one.

Da0ne commented 5 years ago

Yup, thats the issue "the empty one" its supposed to fill out default points but due to max cap they added 18kb is too much lol. Thanks for that. Edit: this also means the Static loadouts does not function

HumnResources commented 5 years ago

Saw this before I ran out. Noted, I will see if I can test and try to get the static loadouts to work tonight after work. Again, if you haven't figured something out by then. Keeping in mind I unfortunately know next to nothing about code, let alone enscript.

I never tried the static loadouts, only random/itemized selection. Maybe it can be resolved the same way as the spawn points. May be able to just write a separate json outside of the game for it I'm sure. Maybe you can just bundle the .json in with the downloads for the time being? Either way, I'm glad my insomniac night came out to some usefulness haha. (Had a lot of fun getting it to work though ;p)

Good luck with your tasks throughout the day! I'll check back here for any updates when i have the time.

LArtDesChOiX commented 5 years ago

I try to install Vanilla++.. Dont work you need do a maj ? Good luck

GravityWolfNotAmused commented 5 years ago

@HumnResources Can you send me your json file?