New version: V1.1: compatibility update
Posts by Machete
The next update will be available on Wednesday, December 18, in the early evening (GMT+1).
This update will not yet replace the Java version, instead it is the actual content update. We'll provide more information about the transition together with the update.
-
-
Achtung!
Neue Version: V0.50.1: Kompatibilitäts-Update für Spiel-Version 0.9.2.2 (14.02.2018)Attention!
New Version: V0.50.1: compatibility update for game version 0.9.2.2 (2018-02-14) -
Thank you! I have a question: Has the incompatibility with PNB been solved?
Not yet. But not everyone experience this issue. Did you ever have problems with that?
-
is the renaming function, on and off, an admin only command?
Yes!
And when you use the chat command version, the entry in AnimalBreedMaster.prefs.xml will also be updated (on-the-fly) accordingly. -
New Version: V0.50:
- setting for turning the renaming action on/ off
per entry in AnimalBreedMaster.prefs.xml:
<entry key="rename_action_active">true|false</entry>
or per chat command:
/abm rename true|false
/abm renaming true|false - command for counting animals:
/abm count all (counts all or)
/abm count TYPENAME (of specific type, e.g. /abm count pig) - command for listing animals with status (position, distance and name):
/abm list all (lists all animals or)
/abm list TYPENAME (of specific type, e.g. /abm list pig)
Neue Version: V0.50:
- Einstellung zum Ein-/ Ausschalten der Umbenennung
per Eintrag in AnimalBreedMaster.prefs.xml:
<entry key="rename_action_active">true|false</entry>
oder per Chat Kommando:
/abm rename true|false
/abm renaming true|false - Kommando zum Zählen der Tiere:
/abm count all (alle Tierarten aufzählen oder)
/abm count TYPENAME (bestimmte Art aufzählen, z.B. /abm count pig) - Kommando zum Auflisten der Tiere mit Status (Position, Entfernung (distance) und Name):
/abm list all (alle Tiere auflisten oder)
/abm list TYPENAME (bestimmte Art auflisten, z.B. /abm list pig)
- setting for turning the renaming action on/ off
-
@Machete When running the abm plugin by itself without @Miwarre's pnb or gps plugins, I do not see any issues or errors thrown when naming animals. There definitely appears to be some issue with the rwgui plugin that both pnb and gps plugins use. I get errors when running those plugins even without running the abm plugin.
Hurray, not my fault!
Ok, seriously: Thank you for your effort in investigating this!
I think @red51 is aware of this (with global state changes, e.g. disableClientsideKeys). (aren't you? )But I just released a new version, hope that helps a little!
-
Good finding! A groovy horse, who thought that?
-
Would it be possible to add the capability to "turn off" the ability to name animals until this apparent conflict can be resolved?
Oh, this is really annoying,
I will add a switch in the prefs.xml together with the list command. Until then tell all players not to use paper on animals!
Perhaps I'll find a solution to circumvent this issue. And thank you for your effort to investigate that! -
Ach so!
Hmm, gibt es denn im Konsolen-Fenster vom Server irgendwelche Fehlermeldungen? Irgendwas ungewöhnliches?
Kann es sein, dass Schreibberechtigungen fehlen und deshalb die prefs.xml und der data-Ordner nicht geschrieben werden können?Oder, was auch sein kann:
ein Anti-Virus-Programm blockt gerne mal sowas, wobei man den Rising World-Ordner denn zur Ausnahme hinzufügen kann. -
Nein, die Tiernamen sind beim Starten nicht ausgestellt. Das heißt dann, dass das Plugin nicht erkannt und nicht geladen wurde.
Guck nochmal, ob irgendwo im gesamten plugins-Ordner irgendwas doppelt ist oder doppelt verschachtelte Ordner oder so.
Eine pref.yml ist mir nicht bekannt (wird nicht mit diesem Plugin verwendet), wo liegt diese denn normalerweise? -
Hallo @Deirdre!
Wichtig nach dem Entpacken ist, die .zip-Datei wieder aus dem plugins-Ordner zu löschen.
Und eine .jar-Datei darf nicht entpackt werden. Unter der Haube sind .zip und .jar ziemlich das Gleiche (bzw. dasselbe? ),
da darf man nicht durcheinander kommen.Wenn es wie folgt aussieht, dann ist normal alles ok:
Code
Nach einer Neuinstallation fehlt nur die AnimalBreedMaster.prefs.xml, diese wird jedoch nach dem ersten Laden einer Welt bzw. Neustart des Servers automatisch erzeugt.
Hilft es dir weiter? -
It appears that my animals will also wonder further than 10 blocks away even when I am logged on but go somewhere else in the world far from the "home" position. Is this expected?
This is not expected. And go they further away then 20 blocks (=10m)? You can try the following: Hit a cow f.e. with your axe. The cow will run more than 10m away and look if it returns then.
When I implement the list command I will investigate this issue. But I suspect an other issue with the server, because disappearing animals sounds very strange.With @Miwarre kind of "out of pocket", I'm not sure the errors can be resolved. I think it may be a conflict between the "rwgui" used by /pnb and the /abm plugin when naming animals since it also uses a "GUI" interface to enter the name.
A main problem can be:
Several plugins may interfere with each other under certain circumstances,
because some API function calls for player or world interactions are changing states globally.
This can explain why not all players experience this issue. But otherwise I am at a loss.The GUI implementation of the game is not mature yet. I suppose here we have an example of interfering plugins in changing global states.
(Of course, the error can also be on my side, but I exclude this for now! )I wonder if it is possible to test the behaviour if:
- only pnb activated
- only abm activated
- both activated but only using the gui of one plugin exclusively
-
@Machete We seem to be getting errors on the server (see below) when naming animals. Sometimes the error actually crashes the server, sometimes the error says it is related to the /pnb plugin. Not sure why.
Does this plugin use the RWGUI plugin? Maybe this plugin is somehow conflicting with the "GUI back-end plug-in (rwgui)" plugin by @Miwarre
The Animal-Plugin does not depend on foreign plugins. RWGUI is not used. I suppose like you that the crash may be related to the PNB plugin.
Regarding the getting a list of your animals. The reason for the list would be to find out if all your animals exist or if they are either "Lost" or "Dead", as your animals can be killed by someone. Maybe at least a command that says you have "X out of Y Animals Tamed" or something.
Yeah, this sounds reasonable!
I will provide a command like /abm count animals and/ or for a specific type - perhaps /abm count pigs.
Would you agree with these commands - for a start? If yes I'd try to accomplish it in the coming week! -
How do you set the home position with the noodle? Did not see this in the "readme".
Every animal has the home position set where it is initially tamed.
After that the position is automatically updated where it stands when you "unfollow" your animal with the rolling pin.
The radius is 10m (or 10 blocks? Can't remember ) an animal is allowed to wander around!On a server this only works when the player is online. When offline the animals may roam further away but as soon as the player is online again all animals will return back home (can take a couple of minutes because they are walking comfortably - especially chickens )
...to get a list of all the animals you own and maybe where they are.
I'll think about it. I am still not convinced that it is really needed.
I for myself have 5 to 10 cows, pigs, chickens and sheeps each, on average perhaps 30 animals. No list needed yet! -
Hi!
...to use the area box to set an "electric fence".
Don't be afraid that your animals will run away too far!
I already implemented a "watcher" that looks if an animal is too far from the home position.
If so then it simply "walks home". The home position is set with the noodle....to protect our breeded animals from someone else killing them.
In this early alpha state of this game there is currently no possibility to control npc damage. The provided Plugin API is limited at those points.
Question to @red51:
Are some NPC related API functions planned? For example a PlayerHitNpcEvent?
Nice would be also the possibilty to place a feeding trough (a chest f.e.), where a player puts some food into it and then over time a nearby animal magically pulls some food out and eats itHope you like the ideas
Your ideas and feedback are always welcome!
I want to keep the animal interactions as simple as possible because animal farming etc. is a planned feature of the game itself.
So the lifespan of this plugin seems to be limited. -
New Version: V0.41:
- fixed: mini pig not feedable caused by wrong key
Neue Version: V0.41:
- behoben: Minischwein nicht fütterbar aufgrund falschen Schlüssels
@Jon_miner and @sharkbitefischer:
I tried to tweak the naming (not listed in the changelog), but do not hope too much.
I do not know what causes these issue for (some) players.A main problem can be:
Several plugins may interfere with each other under certain circumstances,
because some API function calls for player or world interactions are changing states globally.
This can explain why not all players experience this issue. But otherwise I am at a loss. -
Kompiliert wieder wie 'ne 1, super! Danke schön!
-
-
Danke, habe mal game_debug_console auf true gestellt und siehe da:
habe etwas entdeckt (hier ein Auszug aus dem Log)CodeX:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\carsten\risingworld\abm\AnimalBreedMaster.java:426: error: type Callback does not take parametersX:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\carsten\risingworld\abm\AnimalBreedMaster.java:435: error: method does not override or implement a method from a supertypeX:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\carsten\risingworld\abm\AnimalBreedMaster.java:503: error: incompatible types: Object cannot be converted to PlayerX:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\carsten\risingworld\abm\AnimalBreedMaster.java:839: error: incompatible types: Object cannot be converted to PlayerX:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\carsten\risingworld\abm\AnimalBreedMaster.java:841: error: incompatible types: AnimalBreedMaster.CallbackRayCastResult cannot be converted to CallbackNote: X:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\carsten\risingworld\abm\AnimalBreedMaster.java uses unchecked or unsafe operations.Copied file from X:\workspace_intellij\Rising World Plugins\AnimalBreedMaster\src\META-INF\MANIFEST.MF to C:\Program Files (x86)\Steam\steamapps\common\RisingWorld\plugins\animalbreedmaster\META-INF\MANIFEST.MFcreate new file C:\Program Files (x86)\Steam\steamapps\common\RisingWorld\plugins\animalbreedmaster\META-INF\MANIFEST.MF
Unterdessen kompiliert meine IDE alles anstandslos.
Hmm, "Note: ...AnimalBreedMaster.java uses unchecked or unsafe operations." Ich schwöre, dem ist nicht so! -
Moin, @red51!
Seit dem letzten Update von Rising World (0.9.1.5) (und heute zusätzlich ein kumulatives Update für Windows 10) werden die Quellen nicht mehr vom Spiel kompiliert.
Ich verwende (wie schon immer) die "projectinfo.txt"-Methode.Die "META-INF\MANIFEST.MF" bzw. "resources\plugin.yml" zieht das Spiel sich immer frisch, d.h. für mich ist der Src-Pfad (weiterhin) korrekt gesetzt.
Grundsätzlich habe ich nichts geändert.
Habe ich hier nun etwas verpasst oder wo ist der Hase im Pfeffer verbuddelt?