0 of 0

File information

Last updated

Original upload

Created by

KaBooMa

Uploaded by

kaboomaz

Virus scan

Safe to use

Tags for this mod

53 comments

  1. Truerurouni2
    Truerurouni2
    • member
    • 0 kudos
    Is anyone else having issues with not leveling at end of day with this and silkroad installed?
  2. Xerp
    Xerp
    • supporter
    • 4 kudos
    Same issue as everyone else... No dealers in phone unless you roll back to the old version
  3. brownsugarmama
    brownsugarmama
    • member
    • 0 kudos
    HI,

    Still not working successfully with the main branch. Followed the install instructions and the the alt instructions in this post but the app still failed to load Bicky Robby and Silk Road. No matter if the plugin file is included at "C:\Program Files (x86)\Steam\steamapps\common\Schedule I\Plugins" or "C:\Program Files (x86)\Steam\steamapps\common\Schedule I\Schedule I_Data\Plugins", the same error messages persist. 

    When the files were in \Schedule I\Schedule I_Data\Plugins:
    [07:35:10.031] [Il2CppInterop] Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
     ---> System.TypeInitializationException: The type initializer for 'Il2CppInterop.Runtime.Il2CppClassPointerStore`1' threw an exception.
     ---> System.TypeInitializationException: The type initializer for 'Il2CppSystem.Collections.Generic.List`1' threw an exception.
     ---> System.NullReferenceException: Object reference not set to an instance of an object.
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(QCallTypeHandle type)
       at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
       at Il2CppInterop.Runtime.Il2CppClassPointerStore`1..cctor() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppClassPointerStore.cs:line 42
       --- End of inner exception stack trace ---
       at Il2CppSystem.Collections.Generic.List`1..ctor()
       at S1API.Quests.Quest..ctor()
       at SilkRoad.QuestDelivery..ctor()
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
       --- End of inner exception stack trace ---
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
       at S1API.Quests.QuestManager.CreateQuest(Type questType, String guid)
       at S1API.Quests.QuestManager.CreateQuest[T](String guid)
       at SilkRoad.MyApp.AcceptQuest(QuestData quest)
       at SilkRoad.MyApp.<>c__DisplayClass27_0.<OnSelectQuest>b__0()
       at (il2cpp delegate trampoline) System.Void_System.Action(IntPtr , Il2CppMethodInfo* )

    When the files were in \Schedule I\Plugins:
    [07:40:48.515] [Il2CppInterop] Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
     ---> System.TypeInitializationException: The type initializer for 'Il2CppInterop.Runtime.Il2CppClassPointerStore`1' threw an exception.
     ---> System.TypeInitializationException: The type initializer for 'Il2CppSystem.Collections.Generic.List`1' threw an exception.
     ---> System.NullReferenceException: Object reference not set to an instance of an object.
       --- End of inner exception stack trace ---
       at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(QCallTypeHandle type)
       at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(RuntimeTypeHandle type)
       at Il2CppInterop.Runtime.Il2CppClassPointerStore`1..cctor() in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppClassPointerStore.cs:line 42
       --- End of inner exception stack trace ---
       at Il2CppSystem.Collections.Generic.List`1..ctor()
       at S1API.Quests.Quest..ctor()
       at SilkRoad.QuestDelivery..ctor()
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
       --- End of inner exception stack trace ---
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
       at S1API.Quests.QuestManager.CreateQuest(Type questType, String guid)
       at S1API.Quests.QuestManager.CreateQuest[T](String guid)
       at SilkRoad.MyApp.AcceptQuest(QuestData quest)
       at SilkRoad.MyApp.<>c__DisplayClass27_0.<OnSelectQuest>b__0()
       at (il2cpp delegate trampoline) System.Void_System.Action(IntPtr , Il2CppMethodInfo* )

    ATP I give up. I've been trying since the 22nd to get S1 running properly.
  4. Wisam97
    Wisam97
    • member
    • 0 kudos
    when i installed this, i loaded my save and suddenly all the messages are gone, dealers gone, 90% of the customers gone, its like the progress went backwords, luckily the game save wasnt corrupted, i downloaded this because i downloaded the bicky bulk mode can i still use it without this plugin?
    1. kaboomaz
      kaboomaz
      • supporter
      • 2 kudos
      Hey! I hate to hear that. Sorry for the issues bud. What all mods did you have installed? Did you by chance have SilkRoad installed as well?

      Bicky does require this plugin to work properly.
    2. FemboyClay
      FemboyClay
      • member
      • 1 kudos
      same issue here idk what to do tbh
    3. 1civ
      1civ
      • supporter
      • 0 kudos
      Just got this issue as well. Using the latest update
    4. TheRebelGreaser
      TheRebelGreaser
      • member
      • 0 kudos
      I'm also running into this issue and the only way I know how to fix it as of right now unless someone can correct me is just use a previous version of the mod I use silk road which requires this file and when I try to bring up the app in game it's just the phone case and the screen is basically see through. 

      So something is not working right maybe a missing piece of code or something I'm not sure but I had to revert to the last version of this mod until there is a fix of some sort or work around. 
    5. Bluebottle0
      Bluebottle0
      • supporter
      • 2 kudos
      i found that deleting the mods folder including in the 1.5.0 .zip retained my messages and dealers, but silkroad does not work then. likely silkroad needs an update
    6. PleasantSpoon72
      PleasantSpoon72
      • member
      • 0 kudos
      it says silk road is working on v1.3.1 of S1API
    7. Heliusjm
      Heliusjm
      • member
      • 0 kudos
      Same with me, it's your mod that did it...

      [06:06:44.874] [Il2CppInterop] During invoking native->managed trampoline
      System.InvalidOperationException: Sequence contains no matching element
         at System.Linq.ThrowHelper.ThrowNoMatchException()
         at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
         at S1API.Internal.Patches.NPCPatches.NPCOnDestroy(NPC __instance)
         at DMD<Il2CppScheduleOne.NPCs.NPC::OnDestroy>(NPC this)
         at (il2cpp -> managed) OnDestroy(IntPtr , Il2CppMethodInfo* )
    8. UserPaddingFTW
      UserPaddingFTW
      • member
      • 0 kudos
      Doesn't matter which one of SilkRoad or Bicky's is used. Both throw this exception:

      [Il2CppInterop] During invoking native->managed trampoline
      System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
      Could not load type 'S1API.NPCs.NPC' from assembly 'S1API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
         at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
         at System.Reflection.Assembly.GetTypes()
         at S1API.Internal.Utils.ReflectionUtils.GetDerivedClasses[TBaseClass]()
         at S1API.Internal.Patches.HomeScreen_Start_Patch.Postfix(HomeScreen __instance)
         at DMD<Il2CppScheduleOne.UI.Phone.HomeScreen::Start>(HomeScreen this)
         at (il2cpp -> managed) Start(IntPtr , Il2CppMethodInfo* )

      And all customers are reset to starting customers and you lose your dealers and suppliers.

      It might have been fine if all i had to do was unlock all customers again. But with no suppliers, it's kinda hard to make drugs.
      And even if i unlocked all customers again, i don't think that make a difference because next time you load the game they would be gone.

      And the previous version of this API makes Silkroad not work with the lab oven. The UI hangs with no messages.
    9. Heliusjm
      Heliusjm
      • member
      • 0 kudos
       S1API.Internal.Patches.NPCPatches.NPCOnDestroy(NPC __instance) looks like the mod is deleting the NPC folders.
    10. TheRebelGreaser
      TheRebelGreaser
      • member
      • 0 kudos
      So you're saying this mod is destroying the NPC folder and that's basically what's breaking the mod besides the fact that silk road doesn't work because I reverted the version of the mod so I haven't seen if anything else is bugged but yeah.
    11. UserPaddingFTW
      UserPaddingFTW
      • member
      • 0 kudos
      OnDestroy() is a method call that destroys the NPC instance in memory, not on permanent storage.

      In other words, your files are still safe.
    12. Heliusjm
      Heliusjm
      • member
      • 0 kudos
      yes all you have to do is uninstall S1api and they all come back. 
    13. Cocatox
      Cocatox
      • member
      • 1 kudos
      version 1.6.2 didn't fixed it
  5. Gorzirra
    Gorzirra
    • member
    • 0 kudos
    installed update now getting this error. any help  would be great


    [09:44:45.786] [Il2CppInterop] During invoking native->managed trampoline
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
    Could not load type 'S1API.Entities.NPC' from assembly 'S1API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.Assembly.GetTypes()
       at S1API.Internal.Utils.ReflectionUtils.GetDerivedClasses[TBaseClass]()
       at S1API.Internal.Patches.PhoneAppPatches.Postfix(Scene scene, LoadSceneMode mode)
       at DMD<UnityEngine.SceneManagement.SceneManager::Internal_SceneLoaded>(Scene scene, LoadSceneMode mode)
       at (il2cpp -> managed) Internal_SceneLoaded(Scene , LoadSceneMode , Il2CppMethodInfo* )
    System.TypeLoadException: Could not load type 'S1API.Entities.NPC' from assembly 'S1API, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
    1. Gorzirra
      Gorzirra
      • member
      • 0 kudos
      it looks like I fixed it, not sure what I did though lol. now getting an error with silk road


      nope still broken
  6. Binkcla
    Binkcla
    • member
    • 0 kudos
    Maybe Im stupid but where is the API reference documentation. I cant find anything? I normally write LUA so I was expecting a Documentation a bit like this one: https://schedulelua.github.io/ScheduleLua-Docs/api/

    Or is this way above my level then??
    Thanks
    1. kaboomaz
      kaboomaz
      • supporter
      • 2 kudos
      Hey Binkcla!

      The creator of ScheduleLua is working on documentation just like his mod has for S1API! I'll be posting that once available in the Discord, as well as putting in our description here
    2. Binkcla
      Binkcla
      • member
      • 0 kudos
      Thank you for the reply I thought I was just being stupid lol. 
      :)
  7. doglinhas
    doglinhas
    • member
    • 0 kudos
    i think the latest version 1.5.0 is not backwards compatible. all mods that i have using s1api only work with 1.3.1
  8. Roberts13666
    Roberts13666
    • supporter
    • 0 kudos
    why dont i levelup with this mod instaled?
    1. Akermi
      Akermi
      • member
      • 5 kudos
      you do it just doesnt show 
    2. Bluebottle0
      Bluebottle0
      • supporter
      • 2 kudos
      is there a way to make it show? i like to see what i unlock when i level up on that screen :c
    3. Roberts13666
      Roberts13666
      • supporter
      • 0 kudos
      +1
  9. FemboyClay
    FemboyClay
    • member
    • 1 kudos
    for anyone having issues with messages not loading, he did not give us correct instructions to install you have to put the plugin folder into 
    C:\Program Files (x86)\Steam\steamapps\common\Schedule I\Schedule I_Data 
    1. Heliusjm
      Heliusjm
      • member
      • 0 kudos
      TY, it works now.
    2. 4lb3z
      4lb3z
      • member
      • 0 kudos
      I had the not loading error, went here to report it but after reading your post and moving the stuff on the "other" plugins dir (the one in Schedule I_Data) the issue is now fixed.
      Thanks a lot :)
    3. ttkslams
      ttkslams
      • member
      • 0 kudos
      how do i get to C:\Program Files (x86)\Steam\steamapps\common\Schedule I\Schedule I_Data ?
    4. KrazyKris84
      KrazyKris84
      • premium
      • 0 kudos
      I am assuming you mean the UserData folder as there is no Data folder. So what exact folder/file do you put where? Lol... When I unzip it there's the main folder Titled S1API-770-v1-3-1-1745454770. Inside that is a folder titled Plugins, a png image titled icon, a manifest .jason file and a README that doesn't help with s***. Inside the Plugins folder is a S1APILoader.dll file and a S1API folder; which then has a S1API.Il2Cpp.dll file and a S1API.Mono.dll file inside of it. Sooo do I move the entire main folder into the UserData folder? Or do I move just the Plugins folder? The instructions from the creator really aren't very clear at all and I'd like to use SilkRoad so I kinda have to use this mod lol. Just need to know how exactly to add this in correctly

      Edit - Nvm I read it wrong lol... I see now you put Schedule I_Data folder and I somehow skimmed past that folder haha
  10. DiumStreamDev
    DiumStreamDev
    • member
    • 0 kudos
    Hello, I created a mod update checker and the only thing that needs to be added to your code for the mods to be compatible is `[assembly:
    System.Reflection.AssemblyMetadata("NexusModID", "You ID Mods")]` and
    always change the version information in MelonInfo  
    1. kaboomaz
      kaboomaz
      • supporter
      • 2 kudos
      I seen your project the other night looking on the Discord. I’ll check more into it later and add support! Appreciate it
    2. DiumStreamDev
      DiumStreamDev
      • member
      • 0 kudos
      THANKS