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

The Forgotten Server v0.3 alpha 4

Status
Not open for further replies.
Actually I can't even find commands file. Where are they stored?

Edit:
I see all of them are in talkactions?
 
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 :p
 
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 :)
 
@Inteligentny

it's easy, /bc textform; LALA

have differents text forms, like 'advance', 'orange', 'small' ;))

thx elf for the realese! ;*
 
This is the last alpha release correct?

I cant wait for the "Official" release.
Ill update my server then.

Thanks Elf.
 
After testing now everything looks ok, except I'll got some minor problems when i'm starting the server with my own map, actions
Code:
[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

I've used this action folder and everything on 0.2 and no errors, and i havnt changed anything since that.

Also when trying to do some quest I'll get this bug
Code:
[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>

And question; is /n ITEMNAME removed? doesn't work atleast.


For sure, this has absolutely nothing to do with this awesome release, i'll just think that my actions has to be updated. May someone help me?

Nice release!


Bugs found;
- When doing /a NUMBERcommand, there is a small error with the poff (Like a player log out). You're poff is comming at the same time as the teleport thing is coming (like a player log in). Like you write /a 2 you'll poff and teleport at the same time in the 2sqm infront of you. Not a serious bug tho.
Sorry, but i'm bad describing

Kind regards,
Sagitta
 
Last edited:
there a problem with destroy field runes i get this on server log :[09/11/2008 19:54:27] Lua Script Error: [Spell Interface]
[09/11/2008 19:54:27] data/spells/scripts/support/destroy field rune.lua:eek:nCastSpell

[09/11/2008 19:54:27] data/spells/scripts/support/destroy field rune.lua:3: attempt to call global 'getThingfromPos' (a nil value)
[09/11/2008 19:54:27] stack traceback:
[09/11/2008 19:54:27] data/spells/scripts/support/destroy field rune.lua:3: in function <data/spells/scripts/support/destroy field rune.lua:1>
[09/11/2008 19:54:27] (tail call): ?
 
Holy crap~! this release from a 3 to 4 fuc** up my manarune :d

Its giving more mana than before 0.o did u change anything with lvl/mlvl power?
And second problem its giving always same amount... not random from 1k- to 2k :<


anyone could fix this script?
Code:
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 :)

Great work, first night without a crash, could you post the /c script please?
 
pretty nice release, but I cant understand why the npc trade system ain't fixed yet.
I mean its one of the most known/should be fixed bugs on 0.3

for example i buy 100 potions he gives me 40 but takes the money for 100.
anyway, it seems alot better then 0.3, so once again. nice release.
 
Last edited:
Status
Not open for further replies.
Back
Top