Posts by red51

    Wäre es vielleicht möglich das Löschen der Npcs auf ein bestimmtes Gebiet zu begrenzen?

    Prinzipiell ja. Ich muss mal gucken, ob ich kurzfristig dem Command noch mehr Parameter hinzufügen kann...


    Ich gehe davon aus, Npc und Animal ist die gleiche Kategorie?

    Ja genau, wenn ich von NPC rede, dann meine ich alles, was kein menschl. Spieler ist - also sowohl Banditen, Skelette, Dummys als auch Tiere ;)

    Danke nochmal für die screenshot API, die habe ich jetzt als erstes in mein GI Plugin eingebaut (noch nicht finished für nen release aber morgen denke ich) hier ein Teaser:

    Sieht gut aus, freut mich, dass das funktioniert :)


    @red51 Muss ich jetzt damit alle Npc's löschen, um keine Probleme mehr zu haben? ;( Es bedeutet sehr viel Arbeit, diese neu an die gewünschte Position zu stellen und auch wieder neu anzukleiden und zu maskieren. Bitte nicht so. ;(

    Das hat doch keiner gesagt. Ich habe hier eine Antwort zu den NPCs geschrieben: Hilfe, komme nicht mehr auf den Server


    Betrifft das Löschen der Npcs auch die neuen Banditen und Skelette oder nur die selbst erstellten?

    Das Löschen betrifft alle NPCs.

    Der neueste Hotfix (0.9.5.3) sollte die Performanceprobleme im Zusammenhang mit NPCs jetzt eigentlich beheben ;) Natürlich haben NPCs weiterhin einen Einfluss auf die Performance (wenn also irgendwo 100 NPCs sind ist die Performance spürbar schlechter als wenn niemand da ist), aber zuvor waren die Performanceprobleme ja teilweise sehr massiv - tatsächlich bis in Richtung 0 FPS. Das sollte jetzt eigentlich nicht mehr der Fall sein. Falls es doch Probleme gibt, lasst es mich bitte wissen :)


    Zusätzlich gibts nun übrigens auch den Befehl deleteallnpcs, womit sämtliche NPCs gelöscht werden können. Auf manchen sehr alten Welten tummeln sich manchmal extrem viele Tiere, teilweise stecken diese im Boden, fliegen in der Luft oder leben irgendwo tief unter der Erde (weil sie damals mal irgendwann durch den Boden fielen). Wenn man eine sehr alte Welt hat und auf die bestehenden NPCs verzichten kann, könnte man mit dem Befehl etwas den Client (und Server im MP) entlasten. Durch die Respawn-Mechanik sollte sich die Tierpopulation dann wieder von alleine erholen ^^

    A small hotfix (0.9.5.3) is now available which hopefully fixes most of the issues out there :) It's necessary to update multiplayer servers.


    Changelog 2019-03-14 (0.9.5.3):

    • [New] New item: Club, which is craftable from the very beginning
    • [New] Added command "deleteallnpc" to remove all npcs from the world
    • [Change] Furnaces now provide warmth to the player if he is nearby
    • [Change] Changed mining drill sounds
    • [Bugfix] Fixed performance issues related to npcs (need feedback)

    Ein Hotfix (0.9.5.3) ist nun verfügbar, welcher hoffentlich die meisten Probleme beiseite schafft :) Es ist nötig, für dieses Update auch die Multiplayer-Server zu aktualisieren.


    Changelog 14.03.2019 (0.9.5.3):

    • [Neu] Neue Waffe: Keule, welche von Anfang an hergestellt werden kann
    • [Neu] Befehl "deleteallnpcs" hinzugefügt, um alle NPCs in der Welt zu löschen
    • [Geändert] Schmelzöfen wärmen nun den Spieler, sofern dieser in der Nähe ist
    • [Geändert] Sounds vom Minenbohrer geändert
    • [Behoben] Performanceprobleme im Zusammenhang mit NPCs behoben (Feedback benötigt)

    Wie bitte kann ich auf einer Map alle Tiere und NPS töten ?

    Ich baue im nächsten Hotfix einen Command dafür ein :) Alternativ kann in der Welt-Datenbank die Tabelle "Npc" manuell gelöscht werden (der Server sollte dafür aber nicht laufen). //edit: Da war dagoline wohl schneller als ich :D

    Wenn man Äpfel z.B. pflücken möchte, muss man 'sehr komisch' den Baum "anvisieren", um die Möglichkeit dazu zu bekommen.

    Hmm... ich schaue mir das mal genauer an ;)


    Der Sägetisch, würde es nicht Sinn machen dem als Bauvoraussetzung etwas Metall hinzu zu fügen?

    Ja, das stimmt eigentlich. Andererseits würde es dann aber auch noch länger dauern, bis man Zugriff darauf bekommt bzw. auch Construction Elemente (also Planken und Balken) herstellen kann 8|


    Oh, und der Schmelzofen wärmt nicht?

    Oh, das stimmt. Das wird mit dem nächsten Hotfix geändert ^^


    Gibt es schon ein Beispielplugin?

    Leider noch nicht, ich arbeite aber derzeit an mehreren Beispielplugins :) Sobald alle Bugs im Update behoben sind, kann ich mich voll und ganz darauf konzentrieren. Ich werde sie dann hier posten: Beispiel Plugins

    It would not be bad if you added SPC settlements with which you could trade (yes, as in minecraft)

    This is planned in the long run :)


    It would also be nice to show how to add your plugins / models to the game.

    I'm currently working on a few example plugins (including a "custom item loader" which allows you to create custom items without having to write any code), but first I need to get some remaining bugs in the game sorted out :saint:


    Don't know if it's the correct place to post this, but there's been a slight bug in the worldgen since a couple of last versions, or so I assume

    Yeah, it happens sometimes at the border of ocean biomes... unfortunately fixing it requires a world conversion (for old worlds) =O Since this issue is annoying though, but not a game breaker, we decided to wait until we have to update the world generator anyway ;)


    Hi. I noticed something weird with skeleton. they can pass throught blocs if too high placed

    Hmm... well, the height of skeletons (or other npcs) is indeed limited. If it is too big, there is a higher chance that the npc gets stucks or even warps to the roof, at least in rooms with low ceilings... I will try to tweak this a little


    Floating Desert Spawn on Random Spawn

    This was unfortunately an issue of the initial release of the update... this problem is fixed now, however, worlds which were created just after the update still suffer from this issue (since the wrong spawn position is already stored in the world data). To fix this, you can either create a new world, or alternatively type setspawn into console while standing on the ground, this updates the spawn position to your current position ;)


    hi,so i already found out why i have fps 0 i do that animals, the less i have so it is better

    There seems to be indeed an issue with npcs, especially if there are several building elements in proximity... I'm currently working on a solution for this, I hope the hotfix will be ready tonight, otherwise tomorrow at the latest :)


    I made my usual changelog video where I read it out loud and then introduce some gameplay into the video

    Thanks for sharing your video! :thumbup:


    So I ask of you, in the future could you consider adding more accessibility options such as a narrator?

    What do you mean exactly with "accessibility options / narrator"?

    @dagoline: Danke für die Tests und Infos! Das Problem scheint tatsächlich mit NPCs zusammenzuhängen, vor allem in Gegenden, in denen viel gebaut wurde. Das liegt wohl daran, dass das NPC Verhalten (sowie Kollisionserkennung etc) nun wesentlich komplexer ist als vor dem Update (daher gabs vorher keine Probleme in der Richtung)... ich arbeite an einer Lösung dafür, ich hoffe, sie wird heute Abend noch fertig sein, ansonsten spätestens morgen! :)

    What "Display mode" are you currently using (go to settings -> graphics)? If it's set to "Fullscreen", try "Fullscreen Windowed" instead. If that doesn't help, you could try to open the "config.properties" file in your game directory with a text editor and change the value of game_pause_on_lost_focus. If it's already set to false, change it to true, or vice-versa.

    Rats seem to hit FPS more than the other NPCs, even the new ones.

    Thanks for letting us know! I will check out what's going on there... as a workaround, you could disable rats. To do that, type "disablenpc rat" into console (but keep in mind that this also deletes all rats which are already spawned). However, it will still be possible to spawn rats via command.


    Would it be too much to ask to also have a book to "tame" the skeletons so they can be our buddies?

    What do you mean exactly? Do you just want them to not attack you anymore, or do you want them to actually help you fighting other hostiles etc? Currently we don't have a mechanism in place to have actual "buddy npcs", but that's definitely planned ;)


    I like the idea of spawning bandits in cabins. I wonder if that would be too much?

    I'm not sure if that works properly, since there isn't much room in the cabins... I'll have to do a little tinkering^^


    I have shot 7 arrows with the compound bow at a spider but it didn´t die.

    I will check out what's wrong with these spiders ^^


    i still don´t understand the thing with the water. Maybe i missunderstood but i thought that we are now able to "smooth" water. The same way as we can with the ground. F5-5 just allows me to place water. I can see no difference to before the patch.

    Oh, no unfortunately it's not possible to "smooth" water :/ Actually the water tool (F5-5) didn't change. We only added a water "material" to the other terrain tools (basically this only affects the paint tool [3] and the area tool [4])


    Part 2 - Immune Bandit:

    Hmm... that's strange oO Was this in singleplayer or multiplayer? A client log would be really helpful to find out what's going on there :) If this happened in multiplayer, a server log might also help

    Old Changelog (0.9.4)


    Key Features:

    • You can now create Custom Items (i.e. custom tools or weapons)
    • Full support for custom sounds
    • Ability to request screenshots and raw map tiles from the client
    • Access to custom images (posters)
    • Internals class which provides access to internal classes and methods


    ------------------------------------------------------------------------------------------------------


    Changelog:

    • General

      • [New] CustomItem which allows you to create a custom item
      • [New] CustomRecipe which allows you to create a crafting recipe for a custom item
      • [New] CustomImage class which provides access to custom image information
      • [New] Definitions.HitDamageDefinition
      • [New] executeDelayed()
      • [New] Internals class, useful when using Reflection
      • [New] Added more CollisionTypes
      • [Bugfix] 2D custom sounds are now fully supported
      • [Bugfix] Raycast "getCollisionInfo()" (on storages) correctly returns storage ID
    • Events

      • [New] PlayerCustomImageUploadEvent
      • [New] PlayerCustomImageUploadRequestEvent
      • [New] PlayerCustomImageDeleteEvent
      • [New] PlayerTeleportEvent
      • [New] PlayerPlayerInteractionEvent
      • [New] PlayerIllegalStateEvent
      • [Bugfix] PlayerPickupItemEvent
    • ExplosionEvent

      • [New] getRelatedPlayer()
    • PlayerElementHitEvent

      • [New] getHitPosition()
      • [New] getHitNormal()
    • NpcSpawnEvent

      • [New] getNpc()
    • Server

      • [New] registerCustomItem()
      • [New] registerCustomRecipe()
      • [New] savePlayers()
      • [New] saveStorages()
      • [New] saveNpcs()
      • [New] findNearestPlayer()
      • [New] sendInputCommand()
      • [New] getCustomImage()
      • [New] removeCustomImage()
      • [New] getAllCustomImages()
    • Inventory

      • [New] insertNewCustomItem()
      • [Bugfix] insertNewClothingItem()
      • [Bugfix] insertNewObjectItem()
    • Storage

      • [New] insertNewCustomItem()
      • [Bugfix] Changing the storage size is now saved permanently
    • GuiElement

      • [New] setAlwaysOnTop()
      • [New] setAlwaysInBackground()
    • World

      • [New] spawnProjectile()
      • [New] triggerFirework()
      • [New] createNewStorage()
      • [New] spawnCustomItem()
      • [New] findNearestItem()
      • [New] findNearestNpc()
      • [New] getNextNpcGroupID()
      • [New] getWorldFolder()
      • [New] getWorldsFolder()
      • [New] isChunkModified()
    • Npc

      • [New] transform()
      • [New] getGroupID()
      • [New] setGroupID()
      • [New] getVectorToNearestPlayer()
    • Player

      • [New] createScreenshot()
      • [New] requestMapTileRaw()
      • [New] raycastFromWorldPosition()
      • [New] setSoundPosition()
      • [New] setSoundVolume()
      • [New] setSoundPitch()
      • [New] showContextMenu()
      • [New] showJournal()
      • [New] hideJournal()
      • [New] showInventory()
      • [New] hideInventory()
      • [New] showStorage()
      • [New] hideStorage()
      • [New] isSprinting()
      • [New] isWalking()
      • [New] isIndoor()
      • [New] isInCave()
      • [New] getIdleTime()




    ______________________________________________


    Latest Javadoc: https://javadoc.rising-world.net/
    Latest Download: https://download.rising-world.net/api/PluginAPI_0.9.5.4.zip

    @Neowolf1978: Vielen Dank für die netten Worte :)


    Warum steht in der Konsole vom Server WARNING: YOUR SERVER VERSION IS OUTDATED (0.9.5.2 vs. 0.9.5.1)

    Da war leider ein Fehler mit der Versionsdatei, ich konnte sie allerdings erst nicht updaten, da das Steamworks Backend zwischenzeitlich offline war (bzw. Steam kurzzeitig der Meinung war, RW würde gar nicht existieren) X/ Das Problem ist nur kosmetischer Natur, sollte nun aber behoben sein ;)

    Thanks a lot for your feedback! :)


    Maybe it would be worth categorizing these sorts of settings as hard or normal.
    I personally wouldn't mind at all having to deal with these guys in the daytime.

    That's a good idea, I will keep that in mind! ;)


    So, I thought some suggestions for NPCs

    Thanks for your suggestions! Some of these things are planned (more information about status, display weapon stats etc), and we're also going to tweak the new npcs (and their loot) ^^


    Also I'm getting this in server log: WARNING: YOUR SERVER VERSION IS OUTDATED (0.9.5.2 vs. 0.9.5.1)

    Oh, thanks for bringing this to our attention! We've just released another minor update which fixes this wrong version number :saint:


    givenpcitem if used on a bandit (with just givenpcitem command with no parameters, will remove the weapon in the NPCs hand, it does not go into inventory, it just vanishes)

    This is indeed intended. While npcs technically have an actual inventory (just like the player), it's not really used by the game atm. Instead they just hold the item in the first inventory slot in their hands. So the command basically replaces the first item in their inventory.


    Also, one town is greatly affected by lag since the update (even latest hotfix)

    Hmm... is there maybe an underground dungeon nearby? Or are there many npcs in the town? Maybe try this: Once you experience the fps problems in the town, press F3 to open the stats. Check out line 8 which starts with "NPC:". Can you tell me the 3 numbers there?

    Danke für die Logs! Darin ist auf dem ersten Blick eigentlich nichts Ungewöhnliches festzustellen ?( Allerdings scheint es so, dass es extrem viele Tiere gibt. Wenn ich das richtig sehe, sind es um die 100.000 Tiere =O Diese müssen beim Spawn erstmal übertragen werden, was den Ladevorgang teilweise spürbar verlangsamen kann. Und auch die allgemeine Serverperformance leidet ein wenig darunter. Es wäre ggf. eine Überlegung wert, einmal alle Tiere zu löschen - seit dem Update werden die Tiere dann ja eh wieder neu spawnen. Ärgerlicher wäre das nur bei speziellen Tieren oder Dummys, die an bestimmten Stellen gespawnt wurden, dann die wären leider auch futsch...


    Ansonsten könntest du ggf. auch probieren, einmal die Sichtweite zu reduzieren bzw. vor allem die Detail Sichtweite. Setze das am besten einmal aufs Minimum und versuche zu connecten. Falls du dann drauf kommst, kannst du die Sichtweite wieder hoch stellen.


    Was den Rasentrimmer angeht: Was genau funktioniert denn nicht? Hörst du keinen sound, spielt die Animation nicht mehr ab, oder mäht er nur kein Gras? Ist es denn immer so, dass er nach 1x Benutzen nicht mehr funktioniert? Spielt es denn eine Rolle, wie lange du ihn verwendest hast? Oder ist auch eine ganz Kurze Benutzung schon ausreichend dass er nicht mehr geht? Funktioniert denn der Minenbohrer noch? Der ist vom eng verwandt mit dem Trimmer. Wichtig ist, dass du nach der Verwendung des Trimmers und der erneuten Versuchs die Maustaste etwas gedrückt hälst (manchmal dauert es 1-2 Sekunden, bis er "anläuft").

    ABM was indeed having issues with the latest version. We've made some changes with the latest hotfixes, please have a look if you still run into any issues with it ;)

    A new hotfix is now available which fixes some of the current issues. Multiplayer servers need to be updated accordingly ;)


    Changelog 2019-03-13 (0.9.5.2):

    • [New] Command "givenpcitem" to give an item to an npc
    • [New] You can now also get venison from giraffes
    • [New] Stamina can now also be disabled server side
    • [New] Added spawn protection setting to config.properties file (for SP)
    • [New] Added separate "fly" permission for creative mode (to disable fly mode)
    • [Change] Reduced respawn rate for npcs
    • [Change] Blueprints no longer include air when placing terrain (can be changed in config)
    • [Bugfix] Fixed wrong spawn position when creating a new world
    • [Bugfix] Fixed yellowish glow of items and player in inventory
    • [Bugfix] Fixed a bug which was responsible for certain performance issue
    • [Bugfix] Fixed water not being visible if placed via blueprint