• 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!

Lua Help please with script movevents

husam

Member
Joined
Aug 23, 2008
Messages
2,216
Reaction score
11
Location
Iraq-Baghdad
Help!
What do i change to let this script works in 3.3 ?TFS
function onStepIn(cid, item, pos)
if item.uid == 1003 then
doCreatureSay(cid, "Welcome to the RoxOr Teleport Room!", TALKTYPE_ORANGE_1)
doPlayerSendTextMessage(cid, 20, 'Welcome to the RoxOr Teleport Room!')

end
end
:(
:(:(:(:(:(
I tried :
function onStepIn(cid, item, position)
and didnt work :@:@ :(((((((((((
 
What errors are you getting?

Try this instead:
PHP:
function onStepIn(cid, item, pos)
if item.uid == 1003 then
doCreatureSay(cid, "Welcome to the RoxOr Teleport Room!", TALKTYPE_ORANGE_1)
doPlayerSendTextMessage(cid, 20, "Welcome to the RoxOr Teleport Room!")

end
end
You had ' instead of "
 
Nah I no need to try this because pos is other think Postion in tfs 3.3
so
[24/04/2009 21:50:08] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002

Please help

[24/04/2009 21:50:08] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
[24/04/2009 21:50:09] Duplicate uniqueId 1002
 
Last edited by a moderator:
Change "if item.uid" to "if item.aid".
Then in movements.xml change uniqueid="1002" to actionid="1002"

Then yea, change it in the map editor.
 
this is the serv start:
[24/04/2009 22:30:18] The Forgotten Server, version 0.3.3 (Crying Damson)
[24/04/2009 22:30:18] A server developed by Elf, Talaturen, Lithium, Kiper, Kornholijo, Jonern & Nightmare.
[24/04/2009 22:30:18] Visit our forum for updates, support and resources: http://otland.net.

[24/04/2009 22:30:18] >> Checking software version... up to date!
[24/04/2009 22:30:20] >> Loading config (config.lua)
[24/04/2009 22:30:20] > Using plaintext passwords
[24/04/2009 22:30:20] >> Loading RSA key
[24/04/2009 22:30:20] >> Starting SQL connection
[24/04/2009 22:30:20] >> Running Database Manager
[24/04/2009 22:30:21] > No tables were optimized.
[24/04/2009 22:30:21] >> Loading items
[24/04/2009 22:30:21] >> Loading vocations
[24/04/2009 22:30:21] >> Loading script systems
[24/04/2009 22:30:21] >> Loading outfits
[24/04/2009 22:30:21] >> Loading experience stages
[24/04/2009 22:30:21] >> Loading monsters
[24/04/2009 22:30:22] [Warning - Monsters::loadMonster] Missing voice.sentence. (data/monster/The ruthless seven minions/Annihilon.xml)
[24/04/2009 22:30:22] >> Loading map and spawns...
[24/04/2009 22:30:22] > Map size: 2048x2048.
[24/04/2009 22:30:22] > Map descriptions:
[24/04/2009 22:30:22] Saved with Remere's Map Editor 1.1.7 BETA
[24/04/2009 22:30:22] Remere is the King!
[24/04/2009 22:30:22] Duplicate uniqueId 1002
[24/04/2009 22:30:22] Duplicate uniqueId 1002
[24/04/2009 22:30:23] Duplicate uniqueId 1002
[24/04/2009 22:30:23] > Map loading time: 1.578 seconds.
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (1)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (2)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (3)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (6)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (7)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (8)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (9)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (10)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (11)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (12)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (13)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (14)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (15)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (16)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (17)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (18)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (19)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (22)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (23)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (24)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (25)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (26)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (27)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (28)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (29)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (30)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (31)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (32)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (33)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (34)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (35)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (36)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (37)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (38)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (39)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (41)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (42)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (43)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (45)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (46)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (47)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (48)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (49)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (50)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (52)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (54)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (55)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (56)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (57)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (58)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (59)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (60)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (61)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (62)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (63)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (64)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (65)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (66)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (67)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (68)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (69)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (70)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (71)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (72)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (73)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (74)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (75)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (76)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (77)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (78)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (79)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (80)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (81)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (82)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (83)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (84)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (85)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (86)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (87)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (89)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (90)
[24/04/2009 22:30:24] [Warning - Houses::loadFromXml] House entry not set for: (91)
[24/04/2009 22:30:24] > Data loading time: 0.891 seconds.
[24/04/2009 22:30:24] > Unserialization time for houses: 0 seconds.
[24/04/2009 22:30:25] > Unserialization time for map: 1.125 seconds.
[24/04/2009 22:30:26] >> Checking world type... PvP
[24/04/2009 22:30:26] >> Initializing game state modules and registering services...
[24/04/2009 22:30:26] > Global address: ****
[24/04/2009 22:30:26] > Local ports:
[24/04/2009 22:30:26] 7171 7172
[24/04/2009 22:30:26] >> All modules were loaded, server starting up...
[24/04/2009 22:30:26] >> UnderworldWorld server Online!

[24/04/2009 22:31:17] Gamemaster **** has logged in.
[24/04/2009 22:45:22] > Saving server...
 
i put in movements.xml this ItemID= '1387' or smth so it say error
[24/04/2009 23:12:46] [Warning - MoveEvents::addEvent] Duplicate move event found: 1387
[24/04/2009 23:12:46] [Warning - MoveEvents::addEvent] Duplicate move event found: 1387
[24/04/2009 23:12:46] [Warning - MoveEvents::addEvent] Duplicate move event found: 1387
 
Back
Top