Closed ehetteNandaYo closed 3 years ago
Some of this (exp, taking it from storage) seems to be entity-specific (this entity has specific attributes?) Should all have same source - identified and probably already fixed locally
Modes: Check behaviorSkill.isModeUsable
Couldn't reproduce baby-capturing-problem yet
@ehetteNandaYo What baby-pet did you try to capture?
Fixed commands+storage in https://github.com/Jakllp/MyPet/commit/19c4b15203f171a98a6c6da99fd36deae6ee8625
Still waiting on info for baby-capture Still working on behavior
Some of this (exp, taking it from storage) seems to be entity-specific (this entity has specific attributes?)
fresh captured zombie, I will try other later when I try,
What baby-pet did you try to capture?
Also zombie
I noticed because i had a db with pets from 1.16.5 and when I called it it was adult zombie, so I tried to capture another and same result
Alright. I thibk I fixed the storage problem (will be in the next release)
I tried a baby pig and a baby chicken. Will look into zombies later
Note to self: Baby Zombie might be due to new baby-system as baby zombies are different to other baby entities (might also effect piglins?)
Fixed baby-zombies in https://github.com/Jakllp/MyPet/commit/e7d2e38c8c214e6a892a0be4e9bd319efd6b678a
Forgot that behavior was still a thing
Behavior does work - Is skilltree-dependent - this might have been the cause for it not working on your end (or there was a bug that is now somehow fixed. Who knows)
petadmin exp still doesnt work
I tried it, it looks like it works but it doesnt, it didnt add set or remove any exp, it always stays the same
if you try with a new pet it looks like this
@ehetteNandoYo I'm guessing you used these commands:
/petadmin exp <PlayerName> 878
for first screenshot
/petadmin exp <Playername> 0
for second screenshot
Or did you enter the command differently?
no, i was trying different numbers and all of them show the same result, I believe 878 is the exp the pet has at the moment, because a recently captured pet has 0
I gotta admit - I'm confused
I tried reproducing this error but the command works as I'd expect it to work - But:
The only way I found to get this result is by doing:
/petadmin exp <Playername> set <number>
The plugin expects the operator (in this case set) behind the amount (so: /petadmin exp <Playername> <number> set
) which I gotta admit is odd.
The system technically works but the syntax can be improved (which I will do)
Ahhhh I was doing set number not number set which works... that was the issue...
Glad we could work it out ^^
if you capture a baby pet, it gets converted to its adult version, when taking a pet out from the storage you an error.
taking pet from storage https://paste.gg/p/anonymous/0e79113952a3471f91dd43d3cdd68211/files/788f9d04451642c3a3ae563055c38051/raw
Petadmin commands dont work like exp clone...
petadmin clone https://paste.gg/p/anonymous/36eff224519b4015a676836bf3a58b75/files/91fe2486a640440db003c34f27913f24/raw
cant change modes pb normal pb agroo pb farm