• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua UIDS Wrath

Glidarn

Member
Joined
May 9, 2009
Messages
970
Reaction score
16
Location
Åkersberga, Sweden
So i'm on the last part of this chartan mission when you are suppose to collect items to fix the teleport...

but the thing is when you are going to use the sacred coal on the water nothing happends

i changed the script because the ids that were in the script wasnt the correct one for my datapack, anyway this is my script:

LUA:
	elseif(item.itemid == 12251 and itemEx.itemid == 493) then -- coal usage - water clean, teleport done
		doCreatureSay(cid, "As you give the coal into the pool the corrupted fluid begins to dissolve, leaving purified, refreshing water.", TALKTYPE_ORANGE_1)
		doPlayerRemoveItem(cid, 12251, 1)
		setPlayerStorageValue(cid, STORAGE_TELEPORT, 1)
	end

and this is the "unchanged" version of it:

LUA:
elseif(item.itemid == 12290 and itemEx.itemid == 12304) then -- coal usage - water clean, teleport done
		doCreatureSay(cid, "As you give the coal into the pool the corrupted fluid begins to dissolve, leaving purified, refreshing water.", TALKTYPE_ORANGE_1)
		doRemoveItem(item.uid)
		setPlayerStorageValue(cid, STORAGE_TELEPORT, 1)
	end

none of these are working, but i thought since i don't know what
LUA:
doRemoveItem(item.uid)
(what UID it suppose to be) i thought i could change that to
LUA:
doPlayerRemoveItem(cid, 12251, 1)
but that didnt work either :(
 
Last edited:
Well what did you change and the "not changed" does it work?, Make sure you have the right id in rme... I cant find any problems within the script.
 
Are you even receiving those storages from NPC because I thought you used Teckman's WOTE :p?
 
Last edited:
After i have spoken to Chartan i checked the latest storage and that was the latest storage. When i tried to enter the tp (with the original script) i just bounced back 2 squares. So i checked on the map what actionIDS those tps had and then i looked for it in the scripts and found something called "wrathteleport.lua" wich is this one. The thing is, when you download teckmans scripts you're not getting any teleport scripts with it, so i thought it might be wrong storagevalues... but i dno i might have it all wrong here :P

and yes i am using teckmans WOTE, anything wrong?

Sorry if its a bit messy xd
 
Last edited:
Back
Top