magic rope.lua/exani tera doesnt work.
Actually I can't even find commands file. Where are they stored?
Edit:
I see all of them are in talkactions?
yep they are in talkactions.xml
I got question, how to broadcast on color?
/bc orange bla bla bla is not working
[10/11/2008 00:07:02] [Warning - Weapons::registerEvent] Duplicate registered item with id: 7451
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 1873
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 1874
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 1875
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 1876
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2096
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2097
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2086
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2087
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2088
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2089
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2090
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2091
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2092
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 6123
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2442
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2553
[10/11/2008 00:07:02] [Warning - Actions::registerEvent] Duplicate registered item with id: 2088
[10/11/2008 00:07:03] [Warning - Actions::registerEvent] Duplicate registered item with id: 2089
[10/11/2008 00:07:03] [Warning - Actions::registerEvent] Duplicate registered item with id: 2091
[10/11/2008 00:07:03] [Warning - Actions::registerEvent] Duplicate registered item with uniqueid: 10056
[10/11/2008 00:07:03] [Warning - Actions::registerEvent] Duplicate registered item with id: 1223
[10/11/2008 00:07:03] [Warning - Actions::registerEvent] Duplicate registered item with uniqueid: 10543
[10/11/2008 01:15:37] data/actions/scripts/quests/quests.lua:4: attempt to call global 'getItemWeight' (a nil value)
[10/11/2008 01:15:37] stack traceback:
[10/11/2008 01:15:37] data/actions/scripts/quests/quests.lua:4: in function <data/actions/scripts/quests/quests.lua:2>
function onUse(cid, item, frompos, item2, topos)
local level = getPlayerLevel(cid)
local mlevel = getPlayerMagLevel(cid)
-- Exhausted Settings --
local exhausted_seconds = 0 -- How many seconds manarune will be unavailible to use. --
local exhausted_storagevalue = 7050 -- Storage Value to store exhaust. It MUST be unused! --
-- Exhausted Settings END --
-- Mana Formula Settings --
-- You can use "level" and "mlevel" --
local mana_minimum = (level * 2) + (mlevel * 5) - 0
local mana_maximum = (level * 2) + (mlevel * 5)
-- Mana Formula Settings END --
local mana_add = math.random(mana_minimum, mana_maximum)
-- We check the charges. --
if(item.type > 1) then
-- Exhausted check. --
if(os.time() > getPlayerStorageValue(cid, exhausted_storagevalue)) then
-- Entity is player? --
if(isPlayer(item2.uid) == 1) then
doSendMagicEffect(topos,28)
doSendMagicEffect(topos, CONST_ME_MAGIC_GREEN)
doSendAnimatedText(topos, mana_add, TEXTCOLOR_LIGHTBLUE)
doPlayerSay(cid,"Aaah...",1)
doPlayerAddMana(item2.uid, mana_add)
setPlayerStorageValue(cid, exhausted_storagevalue, os.time() + exhausted_seconds)
doChangeTypeItem(item.uid, item.type - 1)
else
doSendMagicEffect(frompos, CONST_ME_POFF)
doPlayerSendCancel(cid, "You can use this rune only on players.")
end
else
doSendMagicEffect(frompos, CONST_ME_POFF)
doPlayerSendCancel(cid, "You are exhausted.")
end
else
if(os.time() < getPlayerStorageValue(cid, exhausted_storagevalue)) then
doSendMagicEffect(frompos, CONST_ME_POFF)
doPlayerSendCancel(cid, "You are exhausted.")
else
if(isPlayer(item2.uid) == 1) then
doSendMagicEffect(topos,28)
doSendMagicEffect(topos, CONST_ME_MAGIC_GREEN)
doSendAnimatedText(topos, mana_add, TEXTCOLOR_LIGHTBLUE)
doPlayerSay(cid,"Mana UUPP!!!",1)
doPlayerAddMana(item2.uid, mana_add)
setPlayerStorageValue(cid, exhausted_storagevalue, os.time() + exhausted_seconds)
doRemoveItem(item.uid, 1)
else
doSendMagicEffect(frompos, CONST_ME_POFF)
doPlayerSendCancel(cid, "You can use this rune only on players.")
end
end
end
return 1
end
I've tested /c and well, it should work properly...
/i usage: /i name or id, amount
/r usage: /r [optional: amoount of removed items]
/up or /down usage: /* [optional: number of tiles]
/bc usage: /bc text or color; text
commands.xml is removed, every command is stored in talkactions.xml and for monster/npc skull/shield you need to reload npcs/monsters and then /n or /m