Munsta0

Members
  • Content Count

    42
  • Joined

  • Last visited

Posts posted by Munsta0


  1. On 2017-5-18 at 0:13 PM, Griffith said:

     

    you should be able to bind two actions with custom bind mod. ex. 

    
    bind f "act x hover | y hover"

    where x is improve action number, and y is repair action number.

     

    http://forum.wurmonline.com/index.php?/topic/136575-released-improved-compass-no-winter-better-tooltips-custom-actions-max-toolbelt-time-lock-skill-gain-tracker-updated-feb-24/&do=findComment&comment=1445293

     

    That will work unless the mod you are referring to rewrites the function that sends the action to the server. I hook into it and replace the selected item with the desired one.

     

    If the custom keybinding mod does something funky and bypasses the normal behavior of the game, you are SOOL.

     

    On 2017-5-18 at 9:51 AM, Woltox said:

    Cause it shall work on : DragonScale armour + Glimmer/adman tools/weapons ?

    Worked with the tip above, would be nice with an auto repair also!

    I have absolutely no idea if it will work on those things, never tested. I don't see why not since I'm just using basic game logic for the association, I haven't hardcoded anything.

    For the auto repair, I simply don't do it due to the action queue limit. If you pressed improve and it would auto queue a repair after it, you would halve your possible actions.


  2. On 15/03/2017 at 5:45 PM, Nappy said:

    Make sure you didn't have a chisel or other knife that looks similar to the carving knife graphic in your toolbelt.

     

    Known bug with the mod. I often can't get chisel or carving knife to work when the other item is above it in the toolbelt.

     

    To be really sure, empty toolbelt with mod enabled. Add only the improving tools needed, test. Should work.

    Yo!

     

    Interesting.. Yeah I think that's how I do my comparison, using the improve icon vs actual icon. I try the items from left to right. 

     

    To be honest I have no freaking idea how I even compile this mod now, I'll see if I can dig up the how to do anything and attempt to address this.

     

    EDIT : okay after looking at my code, I'm comparing the item type vs the improve icon, which leads to other type of knives being tried when they shouldn't. I don't know if I could avoid it.


  3. On 16/07/2016 at 5:47 PM, fivefinger said:

    Auto-repair would be awesome 

     

    I totally agree, but it won't be possible/convinient with the way I found.

     

    Just incase you are curious, let me explain a few things.

     

    The server takes care of a LOT of things for you, and for this mod to be 100% client side ( which is the goal ), I need to work around a few things.

     

    As far as I remember from my digging, the client sends an action request to the server, saying X player wants to do Y action on Z target using A item, or something like that. Then the server decides if it will let the player do that action, and sends an answer back saying "Go ahead and queue this action", and your character begins its action.

     

     

    The above means I can't force anything in the queue, I can't insert an action between an already queued action. This sucks. ( I could probably do shenanigans like store locally all the actions requested, cancel all the actions, queue the one I want, requeue all the others, but that sounds like a ######ton of work )

     

    Another thing is, I do not think I could make a difference between an item being damaged due to improvement and an item damaged due to use, which means I can't just say "Oh if this item == damaged, then repair it"

     

    I could force a repair action before any improve action, but that would lead to quickly filling up your queue. If I have 4 possible actions, and I'm improve 4 items, here is what will happen : "repair improve" "repair improve" "full" "full" (each "" being one item)

     

    So yeah.. idk. But I am probably gonna get back into playing some more WU for the next few weeks so I might try it again

     


  4. On 27/11/2015, 18:46:36, Solax said:

    Not sure if these issues are just me, and they did take awhile to show up, so not sure how to help track it down. Really great mod though, so hoping that there's a fix.

     

    Hey, I couldn't reproduce your weird behavior, but here are a few things that could screw with you.

     

    • Make sure your game is focused ( otherwise keybindings won't register )
    • Make sure you have the right toolbelt selected and haven't accidently changed
    • I'm more the blacksmith kind of guy, so I'm not 100% certain how leather works, but make sure you have enough material to improve with? (leather)

    If none of these help, I'm afraid I can't reproduce with what you told me so far. Any more details would help greatly.


  5. Sure, I could make that happen, same as if you had the bag with seeds selected, but you'd have to queue one action at the time because of the way the game is made. You'd always queue the first seed inside the bag, which I dislike quite a bit. I believe it would require a lot more work to make sure you use a different seed every queued action, more work than I'm willing to put in at this point :P


  6. EDIT: Here is your error "Wurm Unlimited Dedicated Server"... This is "client side mod", meaning it's using the client mod loader, not the server. I'll leave the info down below if it can help anyone else.

     

    Well the error is class not found and I know the mod works since a good few people are now using it.

     

    Here is the folder structure you should have 


    WurmLauncher

    • patcher.bat
    • modlaucher.jar
    • mods/
      • improvedimprove.properties
      • improvedimprove/
        • improvedimprove.jar

  7. On 26/11/2015, 23:18:29, Kodos said:

    This mod is very nice but seems to have a problem with Imping a forge when it requires rock shards.  It can't seem to find the rock shards even though its in my tool belt.

     

    Like Lucinel said, it's not supported at the moment. I have yet to find out how to ask the world about objects.

     

    23 hours ago, Solax said:

    Very helpful mod, was working great at first, but after awhile noticed that sometimes a certain type of improvement would stop working: [15:38:55] You cannot improve the item with that. <-- trying to improve with leather, leather showing as the needed item. Disabling and running patch fixed it, repatching made it get stuck again. 

     

    A couple of times an item on the toolbelt would work for improving, but trying to activate an item from inventory to improve would not imp or even show a message in event log.

     

    Not sure if these issues are just me, and they did take awhile to show up, so not sure how to help track it down. Really great mod though, so hoping that there's a fix.

     

    I'm a bit unsure why it behaves that way. Normally it will try to find a matching improvement item in the toolbelt and if none are found it will send the selected item instead. I'll take another look and see if I can find the cause.


  8. Hey all!

     

    Me and my girlfriend dug in the code and found the meaning to all animal traits, so for your pleasure, here goes

     

     

    "It will fight fiercely."

    • combat rating +1

    "It has fleeter movement than normal."

    • movement speed +0.1
    • has flag “isMoveGlobal”

    "It is a tough bugger."

    • damage threshold of 11%

    "It has a strong body."

    • +10000 strength

    "It has lightning movement."

    • +20% movement speed

    "It can carry more than average."

    • +20000 strength

    "It has very strong leg muscles."

    • +10k strength
    • + 10% speed

    "It has keen senses."

    • will frolic in spring (⅕)

    "It has malformed hindlegs."

    • - 10% speed
    • has flag “isMoveLocal”

    "The legs are of different length."

    • flagged “isSentinel”
    • - 30% speed

    "It seems overly aggressive."

    • bite ⅙ when emoted to

    "It looks very unmotivated."

    • - 30000 strength
    • has ⅖ more chance to hate you every time loyalty updates

    "It is unusually strong willed."

    • will sometimes refuse to move (1/10), unleashes self

    "It has some illness."

    • dies young…. maxAge - Server.rand.nextInt(maxAge / 2)
    • loses strength when it eats instead of gaining (down to 15)

    "It looks constantly hungry."

    • eat more (1500 instead of 700, same as a pregnant animal)

    "It looks feeble and unhealthy."

    • return false to “isRespawn”???
    • doubles chance of disease

    "It looks unusually strong and healthy."

    • halves chance of disease

    "It has a certain spark in its eyes."

    • lives 50% longer

    "It has been corrupted."

    • cannot be tamed by other than follower of Libia
    • only eats corrupted grass
    • npc’s can be dominated???

     

    That's all we could puzzle out for now, hope you guys enjoy!


  9. Hey all!

     

    I love the crafting system, but selecting the proper tool to improve is just a hassle. So why not just use my handy toolbelt to help me craft faster?

     

    I am glad to share with you all my first public mod for Ago's modloader 

     

    Improved Improve : https://github.com/munsta0/WUClientImprovedImprove/releases/tag/1.0

    How to use :

    • Add your improvement items to your toolbelt
    • Bind a key to improve
      • Open console with f1
      • Type "bind t improve"
    • Press binded key over the item of your choice and tada! The proper item will be picked and improved with

    Limitations :

    • Add more than one improve action to the same item at once will use the same improvement tool
    • Only supports inventory windows, cannot currently improve items in the world

    Notes :

    • Will not prevent the normal behavior of improvement, if no matching item is found in the toolbelt, it will try to use the currently selected item instead
    • Requires Ago's mod loader for client to work

     

    I think this is the first mod for this client mod loader? Yay me!

     

    Plan for the future : 

    • Make world object also improvable using this mod
    • Consider making a UI for it instead?
    • Maybe add auto-repair?

     

    PS: first project ever on github, hopefully I did everytihng right. Feel free to give me feedback!


  10. Hey ago,

     

    I'm not certain if someone suggested it already, but linking is currently an issue.

     

    It would be nice to link between all white light gods and all black light gods, based on the config

     

    CreatureBehavior: 

    Quote

     

    
    boolean action(Action act, Creature performer, Item source, Creature target, short action, float counter) {
    
    } else if(action == 399) {
    
        if(target.getDeity() == performer.getDeity()) {