unkown flag "goes-to-quickbar"

Place to get help with not working mods / modding interface.
Fr33Fun
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 21, 2014 1:17 pm
Contact:

unkown flag "goes-to-quickbar"

Post by Fr33Fun »

Well,
that is the error
the code is
flags = {"goes-to-quickbar"}
what is wrong with that..?

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Rahjital »

It's hard to say without seeing the source, but are you sure you used the flag for an item and not an entity? Entities and items have their own sets of flags.

Fr33Fun
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 21, 2014 1:17 pm
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Fr33Fun »

hm thats a good idea thanks :D
and it is an item :)

and here is what i am working on:(searching sb that is good with graphics btw ;) )
https://www.dropbox.com/s/tyjkczw1nqqatsh/Fr33Belt.rar

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Rahjital »

Ah, your mistake is simple, you use the wrong type for your items. All items must be of the type "item", the game thought you were defining entities and not items. :)

Fr33Fun
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 21, 2014 1:17 pm
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Fr33Fun »

oh ok thansk(its actually my first big mod :D)
and now...i got a problem:
---------------------------
Error
---------------------------
EntityPrototype Unknown key:"entity-name.super-extreme-fast-splitter" doesn't have an order string.
---------------------------
OK
---------------------------
Is it simply making the mod loading "the base mod"(idk how btw :D) first or how can i fix that :(

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Rahjital »

You have another mistake in your "super-extreme-fast-splitter" item. Its place_result is "super-super-fast-splitter" instead of "super-extreme-fast-splitter". :)

Fr33Fun
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 21, 2014 1:17 pm
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Fr33Fun »

yeah sorry that im using you as debugger :D but...
---------------------------
Error
---------------------------
Path Fr33Belt/graphics/super-extreme-fast-transport-belt-animation.png not matching the resource path pattern: __source__/path
---------------------------
OK
---------------------------

the wiki don´t really help me with path pattern or whatever :/

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Rahjital »

Fr33Fun wrote:yeah sorry that im using you as debugger :D
As long as you'll learn from this and know how to fix the errors if you encounter them next time, I won't mind. What good is a modding help section if we weren't helping here? :)
Fr33Fun wrote:---------------------------
Error
---------------------------
Path Fr33Belt/graphics/super-extreme-fast-transport-belt-animation.png not matching the resource path pattern: __source__/path
---------------------------
OK
---------------------------

the wiki don´t really help me with path pattern or whatever :/
Could you upload the mod again, please? I think that whatever causes the error is not in the version you uploaded last time.

All I can say without seeing the up-to-date source is that you migth not have put the double underscore around the Fr33Belt in path, like so: __Fr33Belt__/graphics/super-extreme-fast-transport-belt-animation.png . There is no guarantee it's correct, though.

Fr33Fun
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 21, 2014 1:17 pm
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Fr33Fun »

Ok thanks
and as far is a looked there isn´t a misspell but here is the new version :
https://www.dropbox.com/s/3w0icjmxsyomt ... %200.2.rar

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Rahjital »

This one was a bit tougher to crack, but I've found it finally found it: all of your transport-belt-to-ground animations use Fr33Belt instead of __Fr33Belt__

Fr33Fun
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Jun 21, 2014 1:17 pm
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Fr33Fun »

oh lol really i would enver have find that :/ (cause im an idiot xD)
Well now the mod works..but splitters dont have a icon ingame :/

Rahjital
Filter Inserter
Filter Inserter
Posts: 435
Joined: Thu May 29, 2014 10:44 am
Contact:

Re: unkown flag "goes-to-quickbar"

Post by Rahjital »

Not sure if you have solved your issue already, but if not, try deleting the crop-cache.dat file in your Factorio directory, that usually helps in such cases.

Post Reply

Return to “Modding help”