0 of 0

File information

Last updated

Original upload

Created by

Morphyum

Uploaded by

Morphyum

Virus scan

Safe to use

Tags for this mod

30 comments

  1. kaelis69
    kaelis69
    • premium
    • 0 kudos
    ModTek v0.7.2 won't load your mod and I hope what I copied is the reason why. Hope this helps you to fix the problem. Thanks!

    StoreTagEnabler 1.0
    Loaded assembly StoreTagEnabler (v1.0.0.0)
    Invoking 'StoreTagEnabler.Init(String directory, String settingsJSON)' using parameter dictionary
    Error: While invoking 'StoreTagEnabler.Init', an exception occured
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: No target method specified for class StoreTagEnabler.StarSystem_InitializeShop (declaringType=BattleTech.StarSystem, methodName =InitializeShop, methodType=, argumentTypes=NULL)
    at Harmony.PatchProcessor.PrepareType () [0x00000] in <filename unknown>:0
    at Harmony.PatchProcessor..ctor (Harmony.HarmonyInstance instance, System.Type type, Harmony.HarmonyMethod attributes) [0x00000] in <filename unknown>:0
    at Harmony.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) [0x00000] in <filename unknown>:0
    at Harmony.CollectionExtensions.Do[Type] (IEnumerable`1 sequence, System.Action`1 action) [0x00000] in <filename unknown>:0
    at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0
    at StoreTagEnabler.StoreTagEnabler.Init (System.String directory, System.String settingsJSON) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    --- End of inner exception stack trace ---
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
    at ModTek.Util.AssemblyUtil.InvokeMethodByParameterNames (System.Reflection.MethodInfo method, System.Collections.Generic.Dictionary`2 paramsDictionary) [0x00000] in <filename unknown>:0
    at ModTek.ModTek.LoadAssemblyAndCallInit (ModTek.ModDef modDef) [0x00000] in <filename unknown>:0
    1. unclecid66
      unclecid66
      • premium
      • 1 kudos
      if i recall correctly this mod broke when they changed how stores work.
      or itsnt needed with the new way stores work.....
      a good indicator is that it hasnt been updated in over a year

      and in the thread below this one the author says:
      "No since shops are completely overhauled and work nothing like before, so there is nothing to update this too. "
  2. xeryx
    xeryx
    • premium
    • 7 kudos
    Are you going to update this mod for Flashpoint?
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      No since shops are completely overhauled and work nothing like before, so there is nothing to update this too.
    2. tvpablo
      tvpablo
      • member
      • 0 kudos
      That's means Advanced/Simple LosTech Recurrence/Variants mods are dead now... Such great mods. Is there any way to recreate their concept?
    3. unclecid66
      unclecid66
      • premium
      • 1 kudos
      like morphyum said....stores work in a whole different way now.
      for all we know a mod like this wont be needed anymore.
      hopefully the authors of the gear mods will be able to figure things out.

  3. kipstafoo
    kipstafoo
    • member
    • 0 kudos
    Hey Morphyum, awesome mod. Any thoughts on how to do this (outside of shops) for mech availability? I.e., limit what the AI can generate as a deployable unit based upon daysSinceStart and/or OpFor house?
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      Sure you have to do the same as i did here and spent hours of hours of your free time to program it in ;-)
  4. Rtlee117
    Rtlee117
    • supporter
    • 0 kudos
    I really wish I understood what this mod does and how to use it. I want to use a mod that requires this one but I just can't seem to wrap my head around how to use it.
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      This mod is nothign a user really realizes, it enables other modders to make better shops based on rep and time. So if another mod says it needs this mod, just install it.
    2. Rtlee117
      Rtlee117
      • supporter
      • 0 kudos
      Ok, thanks a bunch was confused as to if I had to do anything once I installed it.

  5. Vulture82
    Vulture82
    • premium
    • 2 kudos
    Thank you for the update! ^^
  6. Vulture82
    Vulture82
    • premium
    • 2 kudos
    And now your storetags ceased to work completely
    o_O
    :(
    -,-

    I am not good at this, am I?

    Example of a shopfile:

    {
    "ID" : "shopdef_Ammo_starleague_taurian",
    "RequirementTags": {
    "items" : [
    "planet_other_starleague",
    "planet_faction_taurian",
    "rep_taurian_80"
    ]
    },
    "ExclusionTags" : {
    "items" :

    [],
    "tagSetSourceFile" : ""
    },
    "Inventory" : [
    {
    "ID" : "Ammo_AmmunitionBox_Generic_GAUSS",
    "Type" : "AmmunitionBox",
    "DiscountModifier" : 1.0,


    "Count" : 1
    }
    ],
    "Specials" : []
    }

    The above shop ONLY works if I remove "rep_taurian_80", so I don't know what's going on here.
    And now I'mgoing to bed, haven't done that in a while.
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      Are you sure it doesnt work? Do you really have 80 rep with the taurians?
    2. Vulture82
      Vulture82
      • premium
      • 2 kudos
      I do, but even reducing the value to 5 didn't work.
      I thought another mod might interfere with the tags but I've deleted everything else for the last test and still nothing.

      Edit: And I've tested "time_60" too instead of "rep_taurian_80" (the testing career has been going for ~2600 days ^^ ), but that didn't work either.
      I'm out of ideas.

      Edit 2:
      I FIXED IT!
      YOUR MOD WORKS GREAT!

      Damn, it was just a simple formating error, a tab where there shouldn't have been one or something like this.
      From now on I'm swearing off using Notepad for anything and instead I will use jsoneditoronline.org for everything.

      I really am NOT good at this -,-
    3. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      Phew was kinda confused :P Good to hear it works :)
    4. Vulture82
      Vulture82
      • premium
      • 2 kudos
      Also it seems that the shop.json NEEDS a tag in the ExclusionTags field, otherwise the whole json won't work at all.
      Just adding "planet_other_empty" works fine though.
  7. Vulture82
    Vulture82
    • premium
    • 2 kudos
    Hi! Me again :P

    I only have one small favor to ask, could you add the mercenary review board to the faction list that have tags?
    Because with dotPeek I couldn't find them anywhere and I want to edit my Star League - shops so that the blackmarket for instance will only sell you the really good stuff when they have heard of you before, i.e. you have a high enough MRB-score.

    Thank you VERY much for your time and ALL the mods that you've already made!

    Edit:
    For now I have circumvented the problem by using your faction tags and made a shop_def file for every faction plus a file for each planet with a blackmarket or star league tag and gave those the tags of the main ContractEmployers of the system.
    I gave each faction a minimum rep_requirement of 80 (Allied in vanilla), and for the indipendent system each dominant faction 60 for two, and 50 for three factions present. (160 for the real juicy stuff)

    In short, I took 6 files and made 76 out of them ^^
    Worth it! Thank you very, VERY much for your work, because otherwise I wouldn't have been able to do this tedious and glorious work ;P
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      MRB does not have rep, so also no rep tag for them.
    2. Vulture82
      Vulture82
      • premium
      • 2 kudos
      Oh, well that explains that ;)
  8. HandyVac
    HandyVac
    • member
    • 2 kudos
    Hey, this looks great, thanks a lot. I will definitely be using this in some of my own future mods.
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      Glad to hear :)
  9. Dizzy_xc
    Dizzy_xc
    • premium
    • 21 kudos
    I love your mods, Morphyum, but please consider expanding the description of you mods so lesser mortals like myself know what they hell they are and what they do and why we would want to use them. Basically, fire your public relations director and hire an ad agency to sell your mods. Please. Thanks bro! keep up the good work!
    1. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      This mod is only for other modders. It enables them to make better shops.
    2. Dizzy_xc
      Dizzy_xc
      • premium
      • 21 kudos
      You might wanna put that in your description. ;) Your audience is the world of Battletech players, Morphyum, lets try and make mod descriptions sell the mod. I can tell you there are some lousy mod descriptions out there that dont tell the casual mod installer why they need the mod, nor the proper folders to put the mod in or the required mod dependencies. So that all adds to frustration and most users bypass those mods that otherwise could help the community grow. So anyway, just hope you take my words to heart and we have a great frontpage of mods for everyone to easily be able to enjoy. Thanks!
    3. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      All that stuff takes time. that i don't have, i sadly don't earn a single penny doing these and already used 90% of my free time making them, i haven't played the game myself in like 3 weeks and besides my day job all i did was working on these mods. If anyone want's to send me a nicer description i would totally use it, but in my own time, this current version has to be enough :-/
    4. Dizzy_xc
      Dizzy_xc
      • premium
      • 21 kudos
      I understand. All I'm asking for is more description on what the mod does and how it does it. Having the mods u make is more important than having our hand held. So Keep doing what youre doing and if you find the time... explanations are great.
  10. troch22
    troch22
    • supporter
    • 0 kudos
    Ummm .. Im confused... What does this do?
    1. Midicow
      Midicow
      • member
      • 6 kudos
      it lets modders restrict when equipment shows up in shops by faction standing and time progressed.
    2. Morphyum
      Morphyum
      • supporter
      • 32 kudos
      Exactly what midicow said :)