Open sonderlau opened 9 years ago
I am confused. What do you mean more than 5 strings? You use mods in the feast as long as you have the id. Clearly your config must be wrong somewhere if it is throwing that error.
I think I know what he is talking about. I ran into the same issue after the latest update. I tried to make items drop in certain locations only, and the only string I could get to work was "all". No matter what node I set them to drop at, I would get an error. Looking back at the logs I believe this was the error:
8/22/2015 3:00:51 AM] [Error] Failed to load ZaupFeast, unloading now... :System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List1+Enumerator[ZaupFeast.Locs].VerifyState () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List
1+Enumerator[ZaupFeast.Locs].MoveNext () [0x00000] in
In the end I decided to just use "all" instead of the specific nodes. (Using map VinIsland)
Okay, just pushed out a fix I hope. As I don't have time right now to test it, please let me know if it works without having to use all.
I set it so only vanilla items can drop, changed the string to ADAlpha and got the same error I pasted above. As far as the string issue goes, it appears to not be fixed. Still testing about the stuck loot.
Changed what string? Give me an example please.
This is how I set it to test, all items were set to ADAlpha and I got the error I mentioned before. < FeastItem > < Id >331< /Id > < Name >Planter< /Name > < Chance >5</ Chance > < Locations > < string >ADAlpha</ string > </ Locations > </ FeastItem >
(had to add extra spaces, it wouldn't post.) (sorry posted this elsewhere accidentally)
Please let me know if I need to clarify better.
I need to do more testing and probing to find out what is going on with this. I just do not have the time or patience right now. (It sucks to be sick.) In the meantime, continue to use the July 31st build and all as the string.
Sorry to hear that you're not feeling well. Hope you feel better. :+1:
I added about more than 5 strings in config file... i saw that it cant be used..
i added the Mod items id in it,it still cant use. Question appears again.
Like the
NullReferenceException: Object reference not set to an instance of an object – ZaupFeast.Feast.FixedUpdate ()
I added the translation file.. it means i cant use that on mod id? I just can wait the new version? .... my server will open.. i want my server like the RoyalBox ,,, i cant wait...