• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ NPC not moving if I put it from RME side

Marko999x

999x era
Premium User
Joined
Dec 14, 2017
Messages
2,822
Solutions
82
Reaction score
1,943
Location
Germany
My npcs are moving if I spawn them with /s

If I create them trough RME they are not moving

What im doing wrong?

TFS 1.4
 
My npcs are moving if I spawn them with /s

If I create them trough RME they are not moving

What im doing wrong?

TFS 1.4
Did you put a spawn field down before placing the npc?

If you placed the npc, then spawn field, I think you get this issue.
To fix, you'd just delete both, then replace in correct order
 
Not sure what to say, because I can't seem to replicate the issue.

Maybe it's some remere's jank?

check the spawn file.. and see if the spawn field is showing a weird position, like all 0's.

If the spawn position is too far away from the npc, they would stop walking I believe.
 
Still coudnt find the problem.

RME look:
1648403633752.png

spawn.xml
XML:
    <spawn centerx="1000" centery="995" centerz="7" radius="1">
        <npc name="rebornnpc" x="0" y="0" z="7" spawntime="10" direction="2" />
    </spawn>

npc.xml
XML:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Reborn King" script="reborn_npc.lua" walkinterval="2000" floorchange="0" skull="red">
    <health now="100" max="100" />
    <look type="130" head="39" body="122" legs="125" feet="57" addons="1" />
    <parameters>
        <parameter key="message_greet" value="Hello |PLAYERNAME|. I sell runes, potions, wands and rods." />
        <parameter key="message_decline" value="Is |TOTALCOST| gold coins too much for you? Get out of here!" />
    </parameters>
</npc>
 
You should add the npc back into your RME and make sure you are using the correct named one. It should be

XML:
<npc name="Reborn King" x="0" y="0" z="7" spawntime="10" direction="2" />

Something tells me you added the npc before with a different name or the wrong file or something. IDK just try adding the npc again and make sure its the correct one by name.

or is it all npcs?
 
You should add the npc back into your RME and make sure you are using the correct named one. It should be

XML:
<npc name="Reborn King" x="0" y="0" z="7" spawntime="10" direction="2" />

Something tells me you added the npc before with a different name or the wrong file or something. IDK just try adding the npc again and make sure its the correct one by name.

or is it all npcs?

so it seems like the server itself reacts weird to the NPC

lets say we got NPC 1 there, it wont move
we add NPC 2 which wont move, but NPC 1 starts to move now
we add NPC 3 which wont move, but NPC 2 starts to move now

Im not sure whats wrong
 
Judging based off the picture and @Xikini questions/suggestions, I noticed a red flag
<npc name="rebornnpc" x="0" y="0" z="7" spawntime="10" direction="2" />

You do indeed have 0's for your x and y, and I find that extremely odd seeing as how 0,0 on the map should be the very corner, but we can clearly see that your npc is not in a corner, I would start there!
 
Judging based off the picture and @Xikini questions/suggestions, I noticed a red flag


You do indeed have 0's for your x and y, and I find that extremely odd seeing as how 0,0 on the map should be the very corner, but we can clearly see that your npc is not in a corner, I would start there!

Sorry for bumping.

I still haven't found a solution at all.
Lua:
    <spawn centerx="1585" centery="993" centerz="7" radius="1">
        <monster name="Panda" x="0" y="0" z="7" spawntime="10" />
    </spawn>
    <spawn centerx="1509" centery="994" centerz="7" radius="1">
        <monster name="Panda" x="0" y="0" z="7" spawntime="10" />
    </spawn>
    <spawn centerx="1578" centery="994" centerz="7" radius="1">
        <monster name="Panda" x="0" y="0" z="7" spawntime="10" />
    </spawn>
    <spawn centerx="1540" centery="995" centerz="7" radius="1">
        <monster name="Panda" x="0" y="0" z="7" spawntime="10" />
    </spawn>
    <spawn centerx="984" centery="996" centerz="7" radius="1">
        <npc name="Hashirama [TASK]" x="0" y="0" z="7" spawntime="15" />
    </spawn>
    <spawn centerx="988" centery="996" centerz="7" radius="1">
        <npc name="Reiner" x="0" y="0" z="7" spawntime="15" />
    </spawn>
    <spawn centerx="1581" centery="996" centerz="7" radius="1">
        <monster name="Panda" x="0" y="0" z="7" spawntime="10" />
    </spawn>

Every monster is placed like this and its working without any problems.
This happens only at NPC itself

Example

1x NPC = NPC Not moving
2x NPC = one of both moving
3x NPC = two of three are moving

editing this part:
Lua:
<npc name="Reiner" x="988" y="997" z="7" spawntime="15" />
Didnt solve anything even after I changed the x,y,z position
 
Anyway you could download a brand new 1.4, and only add the npc's to it, and see if the problem happens still? If you do this, and it does happen, it tells us there is something wrong with the default TFS and we could enlist the help of the devs perhaps, but at the very least it helps narrow down where this problem is occurring, and if it doesn't happen with default TFS, then the next suspects would be CreatureScripts I think... perhaps there is an onThink or something keeping them from moving correctly, especially sounds like this could possibly be the case as you are respawning repeats (noticed panda in there multiple times) and perhaps the when they are spawned in or something with the map, there is a conflict with the creaturescript or something, tbh, im not sure how this could happen, but I know we need more information and to get it, first step would be testing with vanilla 1.4
Post automatically merged:

@Levi999x
 
Back
Top