Ludeon Forums

RimWorld => Mods => Help => Topic started by: Redfire1200 on October 29, 2017, 01:25:21 PM

Title: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 01:25:21 PM
Question ive got a problem with a mod im working on and i keep getting this message plz kelp



[attachment deleted by admin: too old]
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 01:40:43 PM
It looks like the About.xml file for FantasticBeast is broken. Is that your mod? If so, post the entire contents of About.xml here.

Some of the rest of your errors appear slightly as if a non-savegame compatible mod change were made. Does this problem exist for new games?
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 01:45:47 PM
the about file problem is because i havnt done the about yet ;D
Quote from: CannibarRechter on October 29, 2017, 01:40:43 PM
It looks like the About.xml file for FantasticBeast is broken. Is that your mod? If so, post the entire contents of About.xml here.

Some of the rest of your errors appear slightly as if a non-savegame compatible mod change were made. Does this problem exist for new games?

so you mean that starting a new game will fix it? and yes it is my mod[wip]
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 02:14:50 PM
> It looks like the About.xml file for FantasticBeast is broken. Is that your mod? If so, post the entire contents of About.xml here.
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 02:19:00 PM
the problem with the abot xml is that i havnt made one yet
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 02:31:22 PM
New error message


[attachment deleted by admin: too old]
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 02:32:41 PM
>the problem with the abot xml is that i havnt made one yet

Start.
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 02:35:47 PM
Quote from: CannibarRechter on October 29, 2017, 02:32:41 PM
>the problem with the abot xml is that i havnt made one yet

Start.
Done.
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 02:38:17 PM
Okay, does that error go away? If so, post your errors anew. Otherwise post the About.xml.
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 03:05:42 PM
here

[attachment deleted by admin: too old]
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 03:13:31 PM
This error here still exists: Mod FantasticBeast has incorrectly formatted target version 'Unknown'

Please post the entire contents of About.xml.
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 03:22:08 PM
here

[attachment deleted by admin: too old]
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 03:30:28 PM
Okay. Are you actually running this mod with A18? If so, this is confusing, as that targetVersion should work. Did you try following the recommendation the exception? Your About looks okay to me. I have two questions for you.

Regarding the first second error (FlameBite), was this working previously with A17?

Regarding the 3rd error does your mod contain C# code?
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 03:32:56 PM
answer 1 i kept getting errors in a17 sometimes the pawn wouldnt be able to attack at all so no
answer 2 i dont even know what C# is so no


i made a damage def thing also for flamebite
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 03:39:54 PM
Okay. Are you actually running this mod with A18?
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 03:45:43 PM
unstable
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 04:04:05 PM
Okay. Did you try the verbatim recommendation for the version number as specified in the error log? It shouldn't require something so specific, but this is an unstable build, so who knows?

The third error looks like it might be a bug in A18. Are you developing against A18 with only your mod or are there other mods enabled? I'm saying this as the "Cannot call ItemFromXmlFile" isn't the kind of thing that an XML modder is likely to have access to.

Regarding your could not resolve cross-reference error with FlameBite, I'd look at that carefully, and diff (WinDiff, or similar) it with similar things released in the core to see if they updated something.

If you are ONLY developing for your mod, don't have any C#, don't have any other mods, I might suggest you post this over as a potential A18 bug. The line "Cannot call ItemFromXmlFile with resolveCrossRefs=true while loading is already in progress" looks highly suspicious to me.

I don't think I can add anything further at this point.
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 04:16:28 PM
1 verbatim? sry im new to modding.
2 im only using a single mod ,my mod trying to add animals
3 diff/windiff? again new, cant seem to find anything named that in core folder

do you want to take a look at the my xml files i made incase i screwded up somehow

Defs/DamageDefs/       
first attachment

and
Defs/ThingDefs_Races/
second atachment



[attachment deleted by admin: too old]
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 04:21:25 PM
i based the dragon off a warg and the flame bite off the snakes toxicbite
Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 04:34:26 PM
Did you try "<targetVersion>0.18.1700</targetVersion>" as the error log recommended? It shouldn't be required, but.

Title: Re: Problem with my mod
Post by: CannibarRechter on October 29, 2017, 04:43:58 PM
You should go back to A17 and make it work there before playing around with the developmental release.
Title: Re: Problem with my mod
Post by: Redfire1200 on October 29, 2017, 04:47:15 PM
k
Title: Re: Problem with my mod
Post by: Redfire1200 on October 30, 2017, 06:23:06 AM
ok i got the mod to work in a17
Question can you make a single attack make multiple hediffs eg:        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTime>1.65</defaultCooldownTime>
        <meleeDamageBaseAmount>10</meleeDamageBaseAmount>
        <meleeDamageDef>FireChomp</meleeDamageDef>
        <linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>

and :        <verbClass>Verb_MeleeAttack</verbClass>
        <defaultCooldownTime>1.65</defaultCooldownTime>
        <meleeDamageBaseAmount>10</meleeDamageBaseAmount>
        <meleeDamageDef>Burn</meleeDamageDef>
        <linkedBodyPartsGroup>Teeth</linkedBodyPartsGroup>

combined