Posts by red51

A small new update is available now!

    Danke für den Link zum Gebäude! Ich werde mir den Blueprint mal genauer anschauen, dann kann ich etwas mehr dazu sagen :)


    @Larsen: Das mit den Spiegelungen ist schon etwas eigenartig... befindet sich ggf. unter dem Haus (bzw. unmittelbar unter dem Spieler) oder irgendwo im Haus ebenfalls eine Wasserquelle? Um die Spiegelungen zu berechnen, sucht das Spiel die nächstgelegene Wasserquelle, und rendert von dem Punkt aus die Landschaft für das Spiegelbild (da die Welt dynamisch ist, können wir leider keine vorgefertigten "Spiegelbilder" verwenden).

    Danke für die Log Datei! Dort sieht eigentlich alles soweit i.O. aus... d.h. bei dem Problem bleibt das Spiel tatatsächlich "stehen" bzw. hängt kurz? Tritt das auch beim Umschauen auf, oder nur beim Laufen (bzw. beim Generieren von neuen Chunks)? Auf welche Einstellungen ist die Sichtweite (und vor allem die "Detail Sichtweite") bei dir gestellt? Vor allem die Detail Sichtweite kann einen gewaltigen Einfluss auf die Performance haben. Evtl. kannst du auch probieren, etwas die Gras-Sichtweite zu reduzieren (diese Einstellung ist tatsächlich erst mit dem letzten Update hinzugekommen).

    Thanks for the log! According to the log, there are 8 GB assigned to the game (it seems you've used the launch option +memory 4096 4096?). The game cannot use that much RAM, since your OS and other background programs also use some RAM, but as long as you don't experience any crashes, that should be fine :)

    It's working fine. Just one thing: I can NOT make a name for my item, when i try to use spaces in the name. Is this intended?

    Yes and no. Basically this is just a limitation of the CustomItemLoader, to keep the code as simple as possible (since the main purpose of this plugin is to serve as an example plugin) ;) But if you create a custom plugin, you can change the name with this function (which supports spaces as well as multiple languages): CustomItem.setLocalizedNames()


    Oh one more: is there a way to copy the text from the console?

    Unfortunately that's not possible, however, if you want to copy the coordinates from the debugitem or debugplayerbody commands, you can just press Return (press Shift+Return to copy the rotation to clipboard) :)


    Can we get some more documentation so we can add in food items, among other things?

    Unfortunately this can't be done with the CustomItemLoader. This plugin only works for very basic tools and weapons. If you want to create food or more complex items, you have to create a new plugin for that. You could use the Backpacks plugin as a reference, since it works in a similar way (instead of opening the backpack, you just have to remove the food item from the inventory, update the health/hunger/thirst of the player and maybe play an eating sound effect).
    You can also check out the documentation, it also contains some example code: https://javadoc.rising-world.n…ts/custom/CustomItem.html


    A list of animations currently in Rising World, and etc. How do we consume the candy, what animation do I use, and etc?

    The CustomItemLoader plugin contains a list of all animations (as a txt file) ;) Alternatively you can find all animations here: https://javadoc.rising-world.n…/api/utils/Animation.html


    yes right and how can we add another bow,crossbow or rifle? Maybe new clothes too?

    Unfortunately clothes cannot be added through the API at the moment, since they would require some additional preparation (you have to set up proper rigging / skin weighting, which would only work if you have access to the player model skeleton)...
    However, if you want to add firearms, you can check out the potato cannon example plugin. Instead of firing a potato, you can use the World.spawnProjectile() method to fire an actual projectile ;)

    Sorry for another posting but I seem to be having an issue where these blueprints keeps prompting me without giving me a chance to exit

    Hmm... maybe it interfers with another plugin? 8| Can you get rid of the upload dialog when pressing ESC?


    @red51 besteht die möglichkeit, dass das .db file im weltordner gespeichert wird ?

    Ja, das ist vermutlich sogar sinnvoller. Wie @Devidian schon erläutert, müsste dafür im Grunde nur Zeile 83 im Code geändert werden. Falls es im Weltordner gespeichert werden soll, müsste die Zeile so aussehen: database = getSQLiteConnection(getWorld().getWorldFolder() + "/" + "WorldModels.db");


    Ich habe aber den StaticModelLoader nichtsdestotrotz geupdated ;) Jetzt werden die Modelle standardmäßig im Weltordner gespeichert. Um bereits bestehende Modelle mitzunehmen, müsstest du einfach die "WorldModels.db" Datei aus dem Plugin-Ordner in den entsprechenden Welt-Ordner verschieben :)

    Just however wish we had a list of items, clothing, an animations. Even a full documentation so I can make full use of the item loader plugin

    Actually I'm currently preparing a Steam guide which covers all console commands, item names, object names, clothes etc. I just ran into a stupid character limitation :thumbdown: However, the guide should be ready soon^^


    But if you want to make full use of the custom items, you have to create a new plugin for that. You can check out the API documentation to find some example code, or alternatively check out my latest example plugins :)


    and another bug of sorts. The heat protection suit actually makes my body warmer. Maybe the insulation value needs to be negative? Hell just got a lot hotter.

    Thanks for letting me know, I'll put that on our to-do list ;)

    How much RAM do you have exactly? Maybe you can create a report file and upload it here, to do that, open the ingame console (by pressing ` or ~) and type "report", then a file called "report" shows up in your game directory (to get there, rightclick on Rising World in Steam -> Properties -> Local files -> Browse local files). Please post the file content, or alternatively upload it here ;)

    Das hängt nicht mit den Rucksäcken zusammen ;) Das "durchgehende Bearbeiten" (beim Gedrückthalten der Maustaste) ist ein Feature, welches mit dem letzten Update eingeführt wurde (in erster Linie eher für das Smoothing und Paint Tool sinnvoll). Du kannst das Verhalten ausschalten, indem du einmal die rechte STRG Taste drückst (sollte aber auch im Hilfetext stehen, welcher eingeblendet wird, wenn die Terrain-Tools aktiv sind).

    Passiert das im Singleplayer or Multiplayer? Sind evtl. viele Tiere in der Welt vorhanden? Besonders auf manchen alten Welten befinden sich teilweise über 100k Tiere (teils auch unter der Erde, weil sie in der Vergangenheit schonmal durch den Boden gefallen sind), was die Performance generell schmälert (seit dem Update noch mehr als vorher, da das Tierverhalten usw. generell komplexer geworden ist).
    Ggf. könntest du einen Clientlog posten, setze dafür in der "config.properties" Datei den Wert "game_debug_console" auf true, starte das Spiel und spiele ein wenig bis die Probleme auftreten. Gehe dann in den "Logs" Ordner im Spielverzeichnis. Bitte lade die neueste Log-Datei hier hoch, oder sende sie via PN ;)

    Das ist tatsächlich ein schwieriges Thema... es kann allerdings sein, dass der Name eher zufällig gewählt wurde, ohne eine böse Absicht dahinter. Der einfachste Weg wäre wahrscheinlich, wenn du den Serveradmin via Steam kontaktierst (dem Screenshot von @Smoka kann ja die SteamID vom Admin entnommen werden). Evtl. lässt sich die Sache ja schnell klären ;)

    Wenn man bei Regen innerhalb eines Gebäudes aus Holz herumläuft, macht es teilweise Holzgeräusche wie es sein sollte, stellenweise aber auch "schmatzende" Geräusche

    Hmm... wird ggf. der Raum stellenweise nicht als "Innenraum" erkannt? Aktiviere dazu bitte mal die Debug-Ausgaben mit F3 und schaue in der 5. Zeile, ob bei "Indoor" true (im Innenraum) oder false (nicht im Innenraum) steht bzw. ob es Stellen im Gebäude gibt, wo der Wert auf false steht. Grundsätzlich prüft das Spiel in alle Richtungen, ob der Spieler von Wänden umgeben ist. Dabei ist es allerdings auch wichtig, dass diese Wände eine "Mindestdicke" haben (von 0.2 Blöcken)


    Wenn man aus einem z.B. Haus heraus kommt und einen Teich vor sich hat, passt die Reflektion des Wassers ebenfalls nicht. :-/

    Kannst du von diesem Phänomen ggf. einen Screenshot posten? 8|

    Just a "quality of life" type suggestion for Dummy NPCs wishing the menu we gain on 'EditDummyNPC' could extend to clothing selections and items

    Something like that was actually planned, but unfortunately it wasn't ready in time... it's still on our list ;) In the meantime, you could use the editnpcclothes <clothes1> <clothes2> ... command to set clothes for an npc (e.g. editnpcclothes tux_jacket tux_pants tux_shoes, or in order to add only a single clothing item, use editnpcclothes add fedora for example). Although it is quite tricky to get the proper names of the clothes...


    Also, can we PLEASE get an official and updated console command? The one I refer to is dated. Can we please have an up-to-date console command thread? Please?

    I'll try to get a list ready as soon as possible :)

    Thanks for the errorlogs! :) The first log indicates that certain localized strings do not exist in the language files. Does the player maybe use modified language files?


    The 2nd and 3rd log indicate that the game ran out of memory. According to the logs, the machine does have 4 GB of RAM (which is exactly the minimum requirement of the game), however, in certain situation it's still not sufficient (e.g. when using plugins with custom items or models, or when playing on a multiplayer server with lots of buildings). The player could try to go to the game directory, open the config.properties file with a text editor and set "graphic_texture_quality" and "graphic_texture_quality_players" to 0, then save the file, and run the game again. If it still crashes, he could try to assign more RAM to the game manually, although I'm not sure if that really helps. To do that, rightclick on Rising World in Steam -> Properties -> Set launch option -> enter +memory 1536 1536 (or alternatively try +memory 2048 2048) and run the game again.

    Spieler sagt das das die alte Position vom Ofen war und der neue keine Erze drin hat.

    Oh, das ist eigenartig =O Das schaue ich mir nochmal genauer an!


    Ich möchte ebenfalls berichten das insbesondere mit den Texturen der Erdblöcke etwas nicht stimmt. Die Flackern auch auf unserem: Hessenstrolche, so komisch, vor allem wenn man sich bewegt.

    Das stimmt, das ist leider ein Bug, der das "schwarze Flackern" bei den Erdblöcken verursacht. Man wird das Geflackere los, indem man in der config "graphic_blocktexture_grain" ausschaltet, aber ich werde das Problem so bald wie möglich beheben ;)


    Ein gewisses Flackern/Zittern habe ich beobachtet, als ich weit gereist bin, um einen See zu finden

    Das ist leider noch ein anderes Phänomen: Tatsächlich ist die Welt nicht wirklich unendlich groß, stattdessen ist zwar die Welt-Generierung nicht begrenzt (d.h. es werden immer neue Chunks generiert, je weiter man reist), doch man wird früher oder später mit Rundungsfehlern (oder genau genommen mit Gleitkommaungenauigkeiten) konfrontiert - was sich in erster Linie durch "Z-Fighting" bemerkbar macht (zB Flackern von sich überlappenden Bauteilen) sowie durch "Zittern" des Items in der Hand. Die Probleme treten meist auf, wenn man sich mehr als 10.000 Blöcke vom Weltursprung (Koordinate 0 0 0) entfernt hat, und werden ab dem Punkt immer schlimmer (d.h. der halbwegs vernünftig bespielbare Bereich ist max. 10-20k Blöcke vom Weltursprung entfernt, in alle Richtungen).


    Eine "wirklich unendlich große Welt" zu haben ist zwar geplant, leider kann ich noch nicht sagen, wann genau das umgesetzt wird ;)

    Ich finde es blöd das man den Rucksack in den Rucksack packen kann

    Das könnte man verhindern, indem man zB auf das PlayerInventoryToChestEvent lauscht und entsprechend abbricht, falls ein Rucksack in einen Rucksack bewegt werden soll ;) Generell werden Rucksäcke so gehandhabt, als wären sie einfach nur "Kisten", die aber an keinen Ort gebunden sind. Bei Bedarf kann ich dazu gerne einen Code-Schnipsel posten ;)


    wäre es evtl nicht besser wenn er in die Ausrüstung käme, dann kann ein Spieler max 8 Rucksäcke

    Das Plugin sollte generell nur ein Beispiel sein, man könnte es aber natürlich auch durchaus so umsetzen, dass der Rucksack einfach nur im Inventar sein muss und via Hotkey geöffnet werden kann. Ich war aber bei den Beispielen eher darauf bedacht, dass der Code nicht unnötig kompliziert ausfällt, denn ich hoffe natürlich in erster Linie, dass die Beispielplugins jemanden den Einstieg in die API etwas erleichtern ^^

    Noticed you could get infinite food from this hmm... intentional?

    Yes, actually the plugin is only meant to be a small example, and in order to keep it as simple as possible, there are no checks if the player has enough potatoes in his inventory ;)


    Hallo @red51 wenn ich Z.b. 10 Kartoffeln im Inventar habe bleiben sie auch drin ,also mann kann 100 Kartoffeln abfeuern und hat trotztem noch 10 im Inventar

    Im Grunde genommen soll das Plugin nur als kleines Beispiel dienen, und um den Code möglichst einfach und verständlich zu halten, gibt es keine Prüfung, ob der Spieler tatsächlich Kartoffeln im Inventar hat ;)

    Hmm... I just rented a small Nitrado server to reproduce this issue. And actually it looks like the issue is related to the filenames (at least under Linux) 8| This issue should be fixed now, I've updated the backpack plugin (and the potato cannon) accordingly - you have to download it again. Sorry for the hassle!

    Leider ist noch keine Verbindung zwischen Plugins und Permissions vorhanden :/ D.h. leider kann die Steuerung von Plugins oder auch Commands, die von Plugins bereitgestellt werden, noch nicht über die Permissions eingestellt werden.


    Lediglich von Plugin-Seite aus ist es möglich, die Permission-Gruppe eines Spielers auszulesen, d.h. nur ein Plugin kann da von sich auch sowas vorsehen, aber ansonsten ist von außerhalb noch keine Steuerung möglich...

    Singleplayer only. Works perfectly fine on singleplayer but not multiplayer (Nitrado). Probably somehting stupidly simple, as always.

    This plugin also works in multiplayer :) There is no distinction between singleplayer and multiplayer, since plugins are always executed "serverside" (in singleplayer, the game basically runs an integrated server, just without all the networking stuff) ^^


    However, make sure there is an "assets" folder containing various files in the "Backpacks" plugin subfolder. Probably it's the same issue as described here, since the backpack models are loaded in the same way as the potato cannon assets ;)

    Hmm... do you run any plugins? Maybe you can enable the debug log, to do that, open the "config.properties" file in your game directory (to get there, rightclick on RW in Steam -> Properties -> Local files -> Browse local files) and set game_debug_console to true. Now run the game, and if you experience your inventory or a chest getting wiped again, go to the "Logs" folder in your game directory and upload the latest log file here (or alternatively send it via PM to me, or via email to support@jiw-games.net) ;)