Da0ne / DZMods

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

cant get loot in custom buildings #62

Closed sy8282 closed 5 years ago

sy8282 commented 5 years ago

not sure what im doing wrong tried the oninit advice in the pastebin file but no sign of an export folder anywhere tried the suggestion of moving the CEtesting code to the bottom of the list in dayzsurvival.c

S4MT3K commented 5 years ago

You have to make sure that the buildings Spawning BEFORE the ce Hive code is executed!!!!

My tip: Copy a case in the admin tool (dont forget to registrate it in the upper section) Name it: proxyexportand execute it via Adminlogin INGAME!

m_ExtendedCommands.Insert("/proxyexport", 1); //IN THE UPPER SECTION

case "/proxyexport": //BETWEEN THE EXISTING CASES! CETesting TestHive = GetTesting(); TestHive.ExportProxyProto(); TestHive.ExportProxyData("7500 0 7500", 12000); break;

sy8282 commented 5 years ago

im now having issue with admin tool its not responding to any commands was working fine on friday

sy8282 commented 5 years ago

my bad, I got it cheers buddy worked like a charm

S4MT3K commented 5 years ago

@Da0ne Can you confirm it too that this problem is occurring? I mean i dont want to change your code, thats rude, but with your way of proxyexport, it isnt working =(

sy8282 commented 5 years ago

the proxyexport worked but since then i got no military loot in mili bases only civilian loot any fix?

wydox1SK commented 5 years ago

the proxyexport worked but since then i got no military loot in mili bases only civilian loot any fix?

I had the same issue when i tried to put custom buildings in, must be fucked.

S4MT3K commented 5 years ago

When you exported the Files, only use the mapgrouppos.xml The mapgroupproto.xml stays original.

Edit: Ensure that the values in the Command for export are 7500 0 7500 12000.

The last value is important. Fixed my empty tisy base. (was 15000 before)

wydox1SK commented 5 years ago

When you exported the Files, only use the mapgrouppos.xml The mapgroupproto.xml stays original.

Does that have anything to do with the fact that it changes the normal spawns of military gear? Or the issue that custom military buildings do not spawn military gear?

S4MT3K commented 5 years ago

It is because the new file has no usage tags. You had to manually add them. I compared both files. You can really take the original one. I think somethinh is broken (or purposed to be) that the loot is „main“ at first, and then added military areas manually. I think thats how the vanilla mapgroupproto occur!

sy8282 commented 5 years ago

I thought I was going mad, had players moaning there wax no military loot, and me telling them just because you don't see another player doesn't mean they aren't there etc

S4MT3K commented 5 years ago

DayZ isnt in Beta as they say. I think its a PreBeta(); 😂

Or they just left the PreAlpha state.

Everytime i encounter a bug or Problem i say: Beta.

And all our news are Hashtagged by

Betahahaha

So it wasnt your fault. Its because of the Huge complexity of dayZ itself!

sy8282 commented 5 years ago

Beta isn't better gets thrown around alot

S4MT3K commented 5 years ago

Unfortunately True :(

Is your LootProblem fixed?

wydox1SK commented 5 years ago

It is because the new file has no usage tags. You had to manually add them. I compared both files. You can really take the original one. I think somethinh is broken (or purposed to be) that the loot is „main“ at first, and then added military areas manually. I think thats how the vanilla mapgroupproto occur!

Hey just wondering what you mean by adding the tags manually?

I can see the issue that the new mapgroupproto does not have tags added, are you saying i need to edit the new exported mapgroupproto and add all the tags for every loot spawn? That doesn't seem very realistic. Is there a way i can add my new military building to the already existing vanilla mapgroupproto?

sy8282 commented 5 years ago

Wydox1sk, He is saying only use the mapgrouppos and it will be fine.

S4MT3K, just as you told me the fix my kid's woke up so not had a chance to test yet I'll report back when I get a chance to fix it

S4MT3K commented 5 years ago

@wydox1SK I mean that you had to, if you not already had the existing mapgroupto.xml. You Only have to replace the existing mapgrouppos.xml with the exported one. Keep the mapgroupproto.xml untouched. Both of them!

@sy8282 Ok, i wait for your report :)

wydox1SK commented 5 years ago

@S4MT3K

Ive tested it and everything works fine, thank you very much for the help!

sy8282 commented 5 years ago

@S4MT3K same for me all appears working spawns of the correct type, you sir are a legend

S4MT3K commented 5 years ago

Im just standing around and keep things together... The real amazing work is done by DaOne... Hes the legend ;) But thanks :-*