Jump to content

Arsenal26

Member
  • Posts

    271
  • Joined

  • Last visited

Posts posted by Arsenal26

  1. 19 hours ago, Batsphinx said:

    CONTROLLER IMPROVEMENTS

     

    Any chance of doing something about the Pan button executing a [Reload] when holding a firearm ?

     

    I realize buttons are limited, and double functions are necessary... but when using a Rifle panning to acquire far away targets unfortunately results in reloading every time... Perhaps the reload function can be blocked *if* the [Look] analog is being pushed ??

  2. I thought the same thing too skimming thru the changes and missing the part where it says selects "previous container".... Essentially, left button selects [UP] and right button selects [DOWN] the list of available containers now... This is actually pretty great when trying to loot through huge piles of bodies.... if for instance you skip something by accident, you can go back and grab it now without having to start from the top of the entire list...

  3. 17 hours ago, Batsphinx said:

     - Changed the controller shoulder buttons to both affect the currently-highlighted inventory or loot window.
     Previously, the left shoulder button would select the next container in the inventory window, while the right shoulder button
     would select the next container in the loot window.  Now the left shoulder button selects the previous container in the
     currently-highlighted window.

     

    Oops... disregard last... mis-read "Previous container".... I like how we can select [UP] and [DOWN] the list of available containers now...  Good trade off for having to switch sides...

     

  4. 5 hours ago, leon2356 said:

    Ok, so.

    - I am on version, 41.33.

    - I am testing it on a new save.

    - I have all mods off expect profession framework and my professions mod.  In the load order it is "Profession framework" then my mod.

    - In Console.txt there is only one error "LOG  : General, 1585159547880> ERROR: Missing translation "UI_Loading_Mods" I'll attach a copy of it to this post. Maybe you will see something I can't.

     

    console.txt 94.87 kB · 0 downloads

     

     

    Ok, so PFM is loading just fine... but your leonprofessions mod is not getting loaded.... New professions should appear immediately after the console line :

    LOG  : General, 1585178807101> ProfessionFramework.INFO: Adding Trait Jogger2

    And be at the BOTTOM of the list in game character setup screen...

     

    I did notice that there is an issue with examplemod refusing to load...

     

    Are you sure you setup your leonProfessions mod correctly ?

    ie, mod.info file in your leonProfessions folder...

     

    Might wanna look there bcuz its trying to load "examplemod" and failing, and there is no sign of "leonprofessions" trying to load at all...

  5. 3 hours ago, leon2356 said:

    C:\Users\user\Zomboid\mods\leonProfessions\media\lua\shared/leonprofessions.lua

     

    When i look in "zomboid" there is no "media" file.

    Oh Ooops... my bad...  that's correct, should have read :

    I have my Profession lua in ...\Zomboid\mods\MyProfessionsMod\media\lua\shared\MYPROFESSIONS.lua

     

    Random thoughts...

    - Are you testing on a new game ? or old save ? bcuz new mod memory may cause issues

    - Right version of game ?

    - Try disabling all mods, and re-enable them making sure PFM is activated before your custom professions mod...

    - Console.txt throwing any errors ? scrolling all the way up may reveal where its hanging up or unable to find something...

     

  6. I have the Framework mod in  ...\Zomboid\mods\ProfessionalFramework-master

    I have my Profession lua in ...\Zomboid\media\lua\shared\MYPROFESSIONS.lua

     

    There is an issue with your example....

    Unlike [Perks.SmallBlunt] (no space) Long is just [Perks.Blunt]...  So the script stops at that mistake, and does not apply sprinting, or anything passed that line. Otherwise, I pasted your example in myprofession mod, and it appears in the setup option just fine...

     

    ProfessionFramework.addProfession('Hitter', {
        name = "Pinch Hitter",
        description="When the bases are loaded with two outs...",
        icon = "",
        cost = 0,
        xp = {
            [Perks.Fitness] = 1,
            [Perks.Blunt] = 2,  <<<<<<===== FIX THIS SO IT READS AS SUCH
            [Perks.Sprinting] = 2,
        },
        
        inventory = {
            ["Base.BaseballBat"] = 1,
            ["Base.Baseball"] = 1,
        },
    })

     

     

  7. 3 hours ago, joordann said:

    Thanks a lot Arsenal! I was trying to do that mod for some time!

    i guess ill let this typo of thing for professionals :D

     

    LOL... i'm such a noob at modding its embarrassing... :unsure:

     

    Anyways, I made the mod last night after reading your post and uploaded to see if it worked... but the title of your thread was "how to do that" so here's what I figured out during that 20 minutes of poking around... (took longer to find that picture of the guy prying a plank)

     

    First of all, we are not adding a FUNCTION to a TOOL... because the function already existed which is unbarricade... We merely added a TOOL to the FUNCTION.

     

    In the timed action ISUnbarricadeAction, the isValid function kicks you out if you don't have a Hammer or Stone Hammer... so I just added the Crowbar there...

     

    In the ISWorldContextMenu.lua  it only shows the option to Unbarricade if "hasHammer" is true... So since we did not want to be able to use the Crowbar to Barricade (install planks) and only Unbarricade (remove planks), I added a new check in in the ISWorldObjectContextMenu function for "hasCrowbar" so as not to affect everything else that checked for "hasHammer". I don't think we wanted to be able to hammer nails with a Crowbar right ?

     

    Next we find each instance where Unbarricade is made visible in the context menu, and add the check for "hasCrowbar"....

    in this case, (3) instances existed :

      - if not IgnoreObject

      - if window ~= nil

      - if door ~= nil

     

    And finally, the function ISWorldObjectContextMenu.onUnbarricade has all the logic to determine what ends up in your PrimaryHandItem... I added a check to not automatically equip a hammer every time if you are holding a Crowbar, and visa versa... Previously, it just always equipped either of the (2) possible hammers.

     

    So that's how we added a TOOL to this FUNCTION...

     

    Admittedly, I did it the Caveman way by replacing the whole vanilla file instead of making the changes in a more elegant way.... But I think we can agree that this should just be in the base game.... So I didn't waste too much more brain juice on it other than to see if it worked...

     

  8. On 2/15/2020 at 10:50 AM, EnigmaGrey said:

    No, some of the things you fixed or altered were on our private Trello for weeks or months (in the case of custom char saving). The changes were not taken from the mods for either.

    Of course not...  Vanilla fixes were written in a slightly different way. There's more than one way to skin a cat.

     

    No worries, I read the fine print regarding mods & there being no requirement for credit if mods end up in the game... I don't even care about that.... just the Big Picture, that's all...

     

    And you're absolutely correct... It was about several months before the fix that I first mentioned the issues (albeit insistently on my part) to which you warned me not to be so repetitive... So apologies for that... After I received my warnings I just decided to fix it myself even though I had no idea how to do a mod what-so-ever, luckily for me I had taken some computer classes back in the 7th grade so I wasn't completely lost...  Took a minute, but I managed to fix Auto-Walk to Containers and uploaded my first mod ever. It got hundreds of subscribers per day hitting nearly 2300 before the vanilla fix arrived. And after that fix was in, I re-purposed the mod to fix Auto Walk to Everything Else (light switches and whatnot) and that continued to get subs until the vanilla fix for that came in a few weeks later. My goal was to preserve the "Sanity" of those ~2300 players and my own from going nuts while trying to beta test 41 as the official fix was being worked on.

     

    So Thank you you TIS for the vanilla fix.... Whether the mod influenced the fix or not, it truly doesn't matter...  Back to the point of my earlier post... Modders can sometimes fast track good ideas into reality, and take things in different directions as they may be laid out in the vanilla plan...

  9. 12 hours ago, Nesano said:

     a sweeping strike that divides the kinetic force of the swing between two targets

     

    I think you're on to something here... Mod wise however... Vanilla's path is pretty much set unless we make a mod with enough players subscribing, like my Inventory Sanity mod that fixed Auto-Walking, and RH4DB4's Save Character settings mods that eventually got rolled into an update. Unfortunately right now, with the frequency of updates, mods get broken frequently... So I get the feeling many of our favorite modders are just waiting until vanilla is more stable so they don't waste their time.

     

    You've got some decent ideas.... but perhaps a better place for them would be Mod Suggestions... might be more well received there...

     

    edit... I mean Mod Ideas/Requests.

  10. Seems this happens when stop and load games a few times (Not restarting the game)... Re-Booting the game appears to give it a fresh start.

     



    ERROR: General, 1579980444028> ExceptionLogger.logException> Exception thrown java.lang.OutOfMemoryError: Java heap space at Arrays.copyOf line:3181.
    ERROR: General, 1579980444029> DebugLogStream.printException> Stack trace:
    java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:3181)
        at java.util.ArrayList.grow(ArrayList.java:261)
        at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235)
        at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227)
        at java.util.ArrayList.add(ArrayList.java:458)
        at zombie.util.Pool.alloc(Pool.java:57)
        at zombie.ShaderStackEntry.alloc(ShaderStackEntry.java:25)
        at zombie.IndieGL.pushShader(IndieGL.java:75)
        at zombie.iso.IsoObject.renderWallTileOnly(IsoObject.java:2595)
        at zombie.iso.IsoObject.renderWallTile(IsoObject.java:2568)
        at zombie.iso.IsoGridSquare.performDrawWallOnly(IsoGridSquare.java:1612)
        at zombie.iso.IsoGridSquare.performDrawWall(IsoGridSquare.java:1638)
        at zombie.iso.IsoGridSquare.performDrawWallSegmentSingle(IsoGridSquare.java:1591)
        at zombie.iso.IsoGridSquare.DoWallLightingW(IsoGridSquare.java:1544)
        at zombie.iso.IsoGridSquare.renderMinusFloor(IsoGridSquare.java:6942)
        at zombie.iso.IsoCell.performRenderTiles(IsoCell.java:1035)
        at zombie.iso.IsoCell.renderTilesInternal(IsoCell.java:593)
        at zombie.iso.IsoCell$$Lambda$375/1043610815.accept(Unknown Source)
        at zombie.util.lambda.Invokers$Params1$CallbackStackItem.run(Invokers.java:37)
        at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
        at zombie.core.profiling.AbstractPerformanceProfileProbe.lambda$invokeAndMeasure$0(AbstractPerformanceProfileProbe.java:83)
        at zombie.core.profiling.AbstractPerformanceProfileProbe$$Lambda$195/1090487714.accept(Unknown Source)
        at zombie.util.lambda.Stacks$Params3$CallbackStackItem.invoke(Stacks.java:230)
        at zombie.util.lambda.Stacks$GenericStack.invokeAndRelease(Stacks.java:26)
        at zombie.util.Lambda.capture(Lambda.java:115)
        at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:81)
        at zombie.iso.IsoCell.RenderTiles(IsoCell.java:538)
        at zombie.iso.IsoCell.renderInternal(IsoCell.java:4786)
        at zombie.iso.IsoCell$$Lambda$374/841622067.run(Unknown Source)
        at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
        at zombie.iso.IsoCell.render(IsoCell.java:4370)
        at zombie.iso.IsoWorld.renderInternal(IsoWorld.java:2875)
    ERROR: General, 1579980457972> ExceptionLogger.logException> Exception thrown java.lang.OutOfMemoryError: Java heap space at No Stack Trace Available.
    ERROR: General, 1579980457973> DebugLogStream.printException> Stack trace:
    java.lang.OutOfMemoryError: Java heap space

  11. 14 hours ago, Geras said:

    Exercise?

    New car?

     

    Do you guys play with mods or are these coming? xd

     

    13 hours ago, Kim Jong Un said:

    I was really excited that we might be getting an old Suburban in the game until I saw the Chevy logo and realized this must be a good vehicle mod.

     

    Hopefully down the line, yeah?

     

    The Suburban is one of many vehicles from Filibuster Rhyme's mod...

  12. When trying to [Transfer ALL] or [Loot ALL]

     



    LOG  : General, 1579646724510> -----------------------------------------
    LOG  : General, 1579646724510> STACK TRACE
    LOG  : General, 1579646724510> -----------------------------------------
    LOG  : General, 1579646724511> function: transferAll -- file: ISInventoryPane.lua line # 587
    LOG  : General, 1579646724511> function: onMouseUp -- file: ISContextMenu.lua line # 99
    ERROR: General, 1579646724512> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in transferAll at KahluaUtil.fail line:82.
    ERROR: General, 1579646724512> DebugLogStream.printException> Stack trace:
    java.lang.RuntimeException: Object tried to call nil in transferAll
        at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
        at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:972)
        at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1942)
        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1744)
        at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
        at zombie.ui.UIElement.onMouseUp(UIElement.java:1244)
        at zombie.ui.UIManager.update(UIManager.java:768)
        at zombie.GameWindow.logic(GameWindow.java:239)
        at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
        at zombie.GameWindow.frameStep(GameWindow.java:681)
        at zombie.GameWindow.run_ez(GameWindow.java:599)
        at zombie.GameWindow.mainThread(GameWindow.java:465)
        at java.lang.Thread.run(Thread.java:745)
    LOG  : General, 1579646724517>
    LOG  : General, 1579646724518> -----------------------------------------
    LOG  : General, 1579646724519> STACK TRACE
    LOG  : General, 1579646724520> -----------------------------------------
    LOG  : General, 1579646724520> function: transferAll -- file: ISInventoryPane.lua line # 587
    LOG  : General, 1579646724521> function: onMouseUp -- file: ISContextMenu.lua line # 99
    LOG  : General, 1579646727342>
    LOG  : General, 1579646727343> -----------------------------------------
    LOG  : General, 1579646727343> STACK TRACE
    LOG  : General, 1579646727343> -----------------------------------------
    LOG  : General, 1579646727344> function: lootAll -- file: ISInventoryPane.lua line # 559
    LOG  : General, 1579646727344> function: onMouseUp -- file: ISContextMenu.lua line # 99
    ERROR: General, 1579646727345> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: Object tried to call nil in lootAll at KahluaUtil.fail line:82.
    ERROR: General, 1579646727345> DebugLogStream.printException> Stack trace:
    java.lang.RuntimeException: Object tried to call nil in lootAll
        at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
        at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:972)
        at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:167)
        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1942)
        at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1744)
        at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
        at zombie.ui.UIElement.onMouseUp(UIElement.java:1244)
        at zombie.ui.UIManager.update(UIManager.java:768)
        at zombie.GameWindow.logic(GameWindow.java:239)
        at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
        at zombie.GameWindow.frameStep(GameWindow.java:681)
        at zombie.GameWindow.run_ez(GameWindow.java:599)
        at zombie.GameWindow.mainThread(GameWindow.java:465)
        at java.lang.Thread.run(Thread.java:745)
    LOG  : General, 1579646727349>
    LOG  : General, 1579646727350> -----------------------------------------
    LOG  : General, 1579646727350> STACK TRACE
    LOG  : General, 1579646727351> -----------------------------------------
    LOG  : General, 1579646727353> function: lootAll -- file: ISInventoryPane.lua line # 559
    LOG  : General, 1579646727353> function: onMouseUp -- file: ISContextMenu.lua line # 99

  13. it's still not guaranteed to be a police car...  make more, like 20 stalls to see for yourself how many end up as police cars... up the spawn rate in options as well before testing...

     

    In WorldED (cell view)

    Choose from [OBJGRP] tab along the bottom of the screen.... picking [parking stall]

    Click [CREATE OBJECT(O) along the top

    Draw your square in increments of 3x5

    Name each area where you've indicated on the pic (police, farm, fire) etc...

     

    In WorldED select [the WORLD] tab (not cell view)

    [FILE] ===> [WRITE OBJECTS TO LUA]

    Type in where your Map project is located....

    For example mine is : C:\Users\User\Zomboid\mods\OFFSET MAP\media\maps\WORLD_OFFSET\objects.lua

     

    Once you have this info set, every time you add a zone, or spawn point, clicking [SAVE] will put all your changes into the file : objects.lua

    where you specified above... 

     

  14. On 1/15/2020 at 3:17 AM, Geras said:

    I think the zoom build became obsolete with 41.26 release.

     

    On 1/15/2020 at 5:45 AM, B33ware said:

    New zoom mechanic already in build 41.26?

    Cant check it right now, sadly I’m at work(

     

    Gonna go out on a limb and say no...  I generally run low settings due to old PC, and on trying 41.26 iwbums, higher model detail is gone... Going back to Zoom Beta (also 41.26) detail is nice and crisp again... Performance is also leaps and bounds better than iwbums branch...

     

×
×
  • Create New...