RELEASED [Gameplay Mod] Tractor Mod

Discussion in 'Mods' started by lambui, Nov 16, 2016.

  1. lambui

    lambui Big Damn Hero

    I can't figure out why it doesn't work and I can't seem to replicate it.
    But here is an improved version, see if it fixes the bug.
     

      Attached Files:

    • SpringsSong

      SpringsSong Cosmic Narwhal

      Hmm, nope, same result as before, I'm afraid. =/
       
      • lambui

        lambui Big Damn Hero

        hmm, does smapi throw any error?
        it also doesnt work with hoe right? if so can you hear the hoe sound when you get on the tractor and move around?
         
        • SpringsSong

          SpringsSong Cosmic Narwhal

          SMAPI is not throwing any sort of an error. It doesn't work with the hoe either; like with the watering can, it fires off when I first get on the tractor, but not after.
           
          • lambui

            lambui Big Damn Hero

            so you dont hear the hoe sound at all after you get on it and move around right?
             
            • lambui

              lambui Big Damn Hero

              Anyway install this version and tell me the SMAPI output while you move around on tractor with a hoe or watering can.
               

                Attached Files:

              • SpringsSong

                SpringsSong Cosmic Narwhal

                Here's my log. The hoe was selected; also, I only heard the hoe sound when I first got on the tractor, but after that, nothing.
                 

                  Attached Files:

                • lambui

                  lambui Big Damn Hero

                  So according to the log, it seems the mod cant get tiles around your character while you on tractor. Hm
                   
                  • SpringsSong

                    SpringsSong Cosmic Narwhal

                    That's odd, and I'm guessing, not intended. =/
                     
                    • lambui

                      lambui Big Damn Hero

                      yeah, I'm trying to figure out why. Is it because this mod conflicts with other mods or does my algorithm not run?
                      Anyway, here try this one and send me the smapi log again.
                      Also can you try the mod on a new save (change minTool to 0 so it works with basic tool).
                      If it does work with your new save then send me the save that doesn't work. Maybe I can figure something out.
                       

                        Attached Files:

                      • SpringsSong

                        SpringsSong Cosmic Narwhal

                        Got a flood of red on a new save when I tried to use anything but the scythe as the selected tool with my usual mod setup. It does the same with only the Tractor Mod loaded. I'll PM you my save file once I get it bundled up.
                         

                          Attached Files:

                        • lambui

                          lambui Big Damn Hero

                          rofl I'm retarded. I send you the incorrect code, thats why its all red.
                          heres the correct one can you try again, sorry for the inconvenience.
                           

                            Attached Files:

                          • SpringsSong

                            SpringsSong Cosmic Narwhal

                            Still not working. =/ This only occurs when on the tractor; when doing it on foot, everything functions as intended.
                             

                              Attached Files:

                            • lambui

                              lambui Big Damn Hero

                              I try your save on my end and its fine so there's nothing wrong with the save.
                              And according to your log just now it seems like there some thing that overrides your movementDirections stack (basically how the game detect if you move left right up down, look like my code detects that you indeed move but when it looks inside the movementDirections stack its all empty)
                              I think this is happening because some other mod does it behind the scene.
                              I would suggest that you try remove other mods one by one and test it out to see what mod conflicts with mine.
                              When done can you reply if its indeed the mod conflict.

                              also these are all the mods I have installed at the moment so you dont have to really check them:
                              AllProfession
                              CalendarEverywhere
                              ChestsAnywhere
                              ConfigurableMachine
                              DynamicMachine
                              GateOpener
                              GiftTasteHelper
                              HarvestWithScythe
                              HorseWhistle
                              InstantGeoge
                              LookupAnything
                              LovedLabel
                              NPCMapLocation
                              TreeOverhaul
                               
                              • SpringsSong

                                SpringsSong Cosmic Narwhal

                                So, here are the incompatibilities I've found so far:

                                -CJB Cheats Menu (Ento's latest patch)
                                -MovementMod (I believe it was Pathos' latest patch to Zoryn's original)

                                Both have aspects that modify movement and/or movement speed, although the CJB Cheats Menu movement speed option hasn't worked in forever.
                                 
                                • lambui

                                  lambui Big Damn Hero

                                  interesting. So you are able to use the mod normally after you remove those mod then. That's great.
                                  Right now I'm making a workaround so I dont have to rely on the facing anymore.
                                   
                                  • SpringsSong

                                    SpringsSong Cosmic Narwhal

                                    Yep, I am able to use it now without those two mods in.
                                     
                                    • lambui

                                      lambui Big Damn Hero

                                      Hello, let me bother you again!
                                      Try out my new workaround version with those incompatible mods.
                                      This should work :D
                                       

                                        Attached Files:

                                      • SpringsSong

                                        SpringsSong Cosmic Narwhal

                                        Thanks, it works now!
                                         
                                          lambui likes this.
                                        • lambui

                                          lambui Big Damn Hero

                                          Latest version should reflect all the mini patches I made for you :D

                                          Well, get the latest version :D
                                           

                                          Share This Page