Posts by yahwho

A new update is now available, introducing fishing, climbing gear, clothes and more!
Latest hotfix: 0.8.5.3 (2025-05-09)

    Unfortunately it prevents npcs from dropping their equipped item, but I'd still recommend to disable it for now

    Hmm I assume this would be until the next update?


    Do you still experience this issue?

    I haven't seen this happen myself for some time. I know this used to happen on JMonkey engine.


    in this case a server log would be very helpful)

    I don't think there is any need for this. Sounds to me like this isn't the cause of the issue Bamse is describing.

    Yes it was only primitive data types I was adding to NPCs as Attributes. If it's easy from your side to implement then please do so.


    However, if it's not going to be a quick fix, please don't waste time on it - I'm sure I could write my own NPC handler for this.

    This is NPC attributes. I don't really want to have to save them manually lol


    Edit: I mean, I have to save them manually, why bother with attributes in the first place? :P

    Hi Red,


    On the next API update, can we get access to an event that is triggered when the game starts to play music to a player?


    I'm thinking things like:


    Hi Red,

    and the 2nd number is the total amount of living npcs in the world


    My thoughts here. I've set the dead bodies despawn time very high.


    I have in the past seen NPCs fall through the world particularly during chunk loading or if a player has a bad ping/connection.


    The fact that there are more dead NPCs in the area than living NPCs in the world may indicate that the NPCs are dying, falling through the world, and then triggering a loop of NPC spawns and deaths. This in conjunction with the dead NPCs not being "garbage collected" would cause an NPC "memory leak". Big air quotes here.


    I may be able to detect this via the API and delete the NPC.


    I am thinking, onNPCDeathEvent, grab the y value, start a short timer, then check the y value again. If the y value is say for example -10 units down on the originally recorded y value on the event, we could make an assertion from this that the NPC has fallen through the world and then call the npc.delete() method to remove it?


    Maybe this might work :thinking:

    Hi, does anyone know what the console command is now to set an npc to invincible?


    It used to be


    Code
    setnpcinvincible 1 || setnpcinvincible 0

    Hi Red, I've been looking in the permissions - https://forum.rising-world.net/thread/11483-permissions-new-version/


    There is a permission - createown - under blueprints. "Determines whether or not a player is allowed to create new blueprints which only contain his own buildings"


    How does this work? Does it require that the land is protected using the built-in area protection, or, does it simply look at who created the construction elements within the area being blueprinted?

    i also have that setting set to true

    Weird. No idea then. I do know that the issue was happening *all the time*. After setting to false the issue went away.


    Certainly not resources, the server has plenty.


    It was Oz who gave me the idea. He mentioned when the server got stuck at 10% loads - he noticed that the world was "rolled back" - sometimes up to an hour (when the database in memory should be writing to file every minute).


    Having just written this, maybe it was the AV software that was causing it? :thinking:


    It would be nice to test this theory, but I don't like the idea of almost intentionally putting the server in a position where folk could loose an hours build work.


    I know I would be aggrieved.


    Edit: *all the time* means at least once if not twice a day.