GraveWalker
Member
- Joined
- Jan 7, 2019
- Messages
- 14
- Reaction score
- 6
Hello, TFS community,
I've been facing a persistent issue with a MoveEvent script in TFS 1.4.2. Despite trying multiple solutions, I still encounter the following error message when attempting to use a simple script:
Here's the script I've been working on, which should print "Test script works!" to the server console when a player steps on a tile with the specified actionid (6000):
And here's the MoveEvent registration in the movements.xml file:
I have ensured the following:
I would appreciate any insights or suggestions from the community to help resolve this issue. Please let me know if you require any additional information about my TFS setup.
Note: I've made this post again as my previous one is still "Awaiting approval before being displayed publicly." after four hours of waiting.
Thank you in advance!
I've been facing a persistent issue with a MoveEvent script in TFS 1.4.2. Despite trying multiple solutions, I still encounter the following error message when attempting to use a simple script:
Code:
[Error - MoveEvent::configureMoveEvent] Missing event
[Warning - BaseEvents::loadFromXml] Failed to configure event
Here's the script I've been working on, which should print "Test script works!" to the server console when a player steps on a tile with the specified actionid (6000):
Lua:
function onStepIn(creature, item, position, fromPosition)
if not creature:isPlayer() then
return true
end
print("Test script works!")
return true
end
And here's the MoveEvent registration in the movements.xml file:
XML:
<movevent type="StepIn" actionid="6000" script="test_script.lua" />
- The script file is located in the data/movements/scripts folder.
- The file path specified in the movements.xml file is correct.
- The actionid is set on a tile using the map editor.
- The server is restarted after making changes to the script or configuration files.
I would appreciate any insights or suggestions from the community to help resolve this issue. Please let me know if you require any additional information about my TFS setup.
Note: I've made this post again as my previous one is still "Awaiting approval before being displayed publicly." after four hours of waiting.
Thank you in advance!