Villager type misnamed

Discussion in 'Help & Support / Errors & Bugs' started by Zombie_Jamboree, May 16, 2018.

  1. Zombie_Jamboree

    Mayor ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️

    Joined:
    Apr 3, 2013
    Messages:
    170
    Trophy Points:
    41,060
    Gender:
    Female
    Ratings:
    +240
    Due to the stacking, I'm seeing villagers that have a cleric title but are buying raw meats. Or villagers having the nitwit tag but are actually buying stuff. Not sure if u can fix this without installing them. I showed Olinova my villagers and he thought it was weird. If you have any questions you can ask either of us. Thanks!
     
    #1 Zombie_Jamboree, May 16, 2018
    Last edited: May 16, 2018
  2. JamieSinn

    JamieSinn Retired Lead Administrator/Developer
    Builder ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Premium Upgrade

    Joined:
    Jun 4, 2011
    Messages:
    5,517
    Trophy Points:
    78,090
    Gender:
    Male
    Ratings:
    +4,588
    Installing what? I'm confused. The villagers should only stack with their profession
     
  3. padsen

    padsen Glory to Arstotzka!
    Resident ⛰️ Ex-Tycoon ⚜️⚜️⚜️ Prestige ⭐ I ⭐ Premium Upgrade

    Joined:
    Apr 30, 2015
    Messages:
    295
    Trophy Points:
    34,910
    Gender:
    Male
    Ratings:
    +1,643
    Can confirm. I have a group of nitwits that are buying paper.
     
    • Like Like x 1
    • Informative Informative x 1
    • List
  4. EMACheung

    EMACheung Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️

    Joined:
    Jul 24, 2017
    Messages:
    19
    Trophy Points:
    7,195
    Ratings:
    +10
    Just thought I'd throw this out. I have a tool smith that buys wool (like a shepherd) but also buys iron and sells tools. He was the last villager in a small stack (I killed the others with lava).
     
    • Like Like x 1
    • Useful Useful x 1
    • List
  5. Zombie_Jamboree

    Mayor ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️

    Joined:
    Apr 3, 2013
    Messages:
    170
    Trophy Points:
    41,060
    Gender:
    Female
    Ratings:
    +240
    Sorry it auto corrected. Meant unstacking.
     
  6. Ladyvamptress

    Ladyvamptress Bloodlust Ex-EcoLegend
    ECC Sponsor Builder ⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ III ⭐ Premium Upgrade

    Joined:
    Jul 26, 2014
    Messages:
    2,253
    Trophy Points:
    75,160
    Gender:
    Female
    Ratings:
    +3,184
    I noticed this exact thing going on with my villagers. I too have (or had as I haven’t looked to see if it straightened itself out) a villager who was titled “tool smith”, but he sold armor and wool. Also, I name tagged all the villagers from that stack, which they did separate and seemed to be normal, but the next day their name tags disappeared and they were stacked again offering funky deals.
     
    #6 Ladyvamptress, May 18, 2018
    Last edited: May 18, 2018
  7. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,374
    Trophy Points:
    102,160
    Ratings:
    +15,065
    Name tagging them splits them out, however they seem to be splitting back in after a while.
    We are looking into preventing named mobs from stacking.

    I've mentioned the above problems to the developer of the plugin. Please be patient.
     
    #7 andrewkm, May 18, 2018
    Last edited: Jun 4, 2018
  8. Zombie_Jamboree

    Mayor ⛰️⛰️ Ex-EcoMaster ⚜️⚜️⚜️⚜️

    Joined:
    Apr 3, 2013
    Messages:
    170
    Trophy Points:
    41,060
    Gender:
    Female
    Ratings:
    +240
    Ok thanks..just wanted to bring this to your attention. Didn't know if you knew or not.
     
  9. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,374
    Trophy Points:
    102,160
    Ratings:
    +15,065
    @Zombie_Jamboree @padsen @EMACheung @Ladyvamptress the developer has done quite a bit of work towards villager stacking.

    The following changes have been pushed for us:
    - Made villager differentiation more specific (Solves: https://github.com/Nathat23/StackMob-2/issues/56)
    - Inconstant removal of stack status (Solves: https://github.com/Nathat23/StackMob-2/issues/51)

    These changes are now live. Please let us know how things are going.
    @Gluupor would be nice if you can shoot some tests at this as well as I know you deal with villagers quite a bit.
     
    #9 andrewkm, Jun 3, 2018
    Last edited: Jun 4, 2018
  10. Gluupor

    Gluupor Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️ Prestige ⭐ I ⭐

    Joined:
    Jun 2, 2017
    Messages:
    189
    Trophy Points:
    7,940
    Gender:
    Male
    Ratings:
    +125
    so i did some testing and i actually live witnessed the merging of a tool smith and an armor smith. so despite the plugin maker actually respecting the careers in his plugin:

    Code:
    if(sm.getVersionId() >= 6){
                       ((Villager) dupe).setCareer(((Villager) original).getCareer());
    
    which would be inline with how the villagers are grouped (as outlined here: https://minecraft.gamepedia.com/Villager#Professions_and_careers),
    villagers with different careers still seem to stack.

    if stacked correctly one should eventually have 13 stacks, one for each career possible. while writing this i accumulated 6 stacks with a number on each so by now i should have had every possible career spawned. what i got is actually the exact number of professions (6).

    the stackmob dev actually also gets the bukkit version in his code, which is setting a variable to 6 if the version he got from bukkit contains "1.12.2" so maybe that might be where the error is, that infact the versionid is set to something else than 6 and the code respecting the careers is never executed (just a wild guess).

    im quite tired now so i might be messing stuff up. maybe take another look @ the commit the guy added to https://github.com/Nathat23/StackMob-2/issues/56

    so since i took a while to write this more villagers have spawned and im still @ 6 stacks.
    hope this helps at least to some degree :)
     
    • Like Like x 1
    • Useful Useful x 1
    • List
  11. Gluupor

    Gluupor Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️ Prestige ⭐ I ⭐

    Joined:
    Jun 2, 2017
    Messages:
    189
    Trophy Points:
    7,940
    Gender:
    Male
    Ratings:
    +125
    i actually set up a spawner with a collection area below so if you need to do some testing feel free to use that.
    coords:
    XYZ: 1811 27 1194
    feel free to kill of the stacks that are in the basin (only those IN the basin please ;) ) if you need to have a fresh start.
    i am off to bed now :)
     
    #11 Gluupor, Jun 4, 2018
    Last edited: Jun 4, 2018
  12. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,374
    Trophy Points:
    102,160
    Ratings:
    +15,065
    Thanks @Gluupor I've forwarded your findings to the developer via the issue.
    Hopefully he can have another peek and see what's going on here :).
     
    #12 andrewkm, Jun 4, 2018
    Last edited: Jun 4, 2018
  13. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,374
    Trophy Points:
    102,160
    Ratings:
    +15,065
  14. Gluupor

    Gluupor Builder
    Builder ⛰️ Ex-Mayor ⚒️⚒️ Prestige ⭐ I ⭐

    Joined:
    Jun 2, 2017
    Messages:
    189
    Trophy Points:
    7,940
    Gender:
    Male
    Ratings:
    +125
    with the latest fix villager now stack according to their career (eg. fisherman, armor smith, ...)
    so now there is 1 stack for each career(13):

    [​IMG]
     
    #14 Gluupor, Jun 5, 2018
    Last edited: Jun 5, 2018
  15. andrewkm

    Founder Premium Upgrade

    Joined:
    Apr 5, 2011
    Messages:
    20,374
    Trophy Points:
    102,160
    Ratings:
    +15,065
    Thanks so much for the tests.
    I will be closing the github issue now :).