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

[8.4] The Forgotten Server v0.3 beta 3

Status
Not open for further replies.
Thanks AGS. Could you help me with one more thing? Look there.

Elf already answered that. Just wait for the patch to be released.

The problem is that he made a new function called getTileInfo, so he moved getTileHouseInfo and getTilePzInfo and moved them to Lua, but the getTileHouseInfo now only returns TRUE or FALSE instead of FALSE or the house id.
 
If i give a char namelock and the char relog it logon with name Account Manager and saying :
00:05 Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.

Shuld it say somthing else ??

When i try type a new name. the message i get is :
00:07 Account Manager: Please read the latest message that I have specified, I don't understand the current requested action.

if i say account i get :
00:25 Account Manager: Do you want to change your 'password', request a 'recovery key', add a 'character', or 'delete' a character?

How can a char chance name when its name lock ???
 
for the guy with problems in the potions and is "EPIC" elite knight:

just change at the lib -> functions.lua:

Code:
function isKnight(cid)
	if(isPlayer(cid) == FALSE) then
		debugPrint("isKnight: Player not found.")
		return false
	end

	return (isInArray({4,8}, getPlayerVocation(cid)) == TRUE)
end

in the line:

Code:
return (isInArray({4,8}, getPlayerVocation(cid)) == TRUE)

You must add 4,8 and the ID of the voc and do the same with the others 3...
 
The engine isn't stable at all, it's closing suddenly more times than normally in beta 2. Somebody has the engine compiled without the "window" about reporting when it crashes? I need that so my restarter works, players getting furious. Me too. Thanks.
 
Did anyone get error on npc ? moduels something :S if you fixed problem please help!
 
@up
Change your NPCS/lib

Change the lib folder to the newer version of 0.3

That was not the problem thansk anyway, problem was i did something wrong in lib/functions.lua ? >my fault.
 
probably the items are bugged cuz i cant edit/do decay to new items, is there any answer?
 
The engine isn't stable at all, it's closing suddenly more times than normally in beta 2. Somebody has the engine compiled without the "window" about reporting when it crashes? I need that so my restarter works, players getting furious. Me too. Thanks.

I need it too... but we can make a restarter that auto accept the error, any idea?

Gonna post it on request too.
 
Ok cool, if u get it work please message me on PM. thanks.
 
What could be wrong? Should i remove the "To" from line 12?

Code:
[23/01/2009 22:16:41] Lua Script Error: [Action Interface] 
[23/01/2009 22:16:41] data/actions/scripts/Items/OrangeTree.lua:onUse

[23/01/2009 22:16:41] data/actions/scripts/Items/OrangeTree.lua:12: attempt to call global 'doDecayItemTo' (a nil value)
[23/01/2009 22:16:41] stack traceback:
[23/01/2009 22:16:41] 	data/actions/scripts/Items/OrangeTree.lua:12: in function <data/actions/scripts/Items/OrangeTree.lua:1>

my OrangeTree.lua
Code:
function onUse(cid, item, frompos, item2, topos)

     otreeid = 4006 -- Itemid of the tree with oranges
     treeid =  4008      -- Itemid of the empty tree
     orangeid = 2675 -- Itemid of oranges
     max = 5 -- Number of oranges you get
     time = 4000 -- Time to the empty tree become a tree with fruits again

		doTransformItem(item.uid, treeid)
		doPlayerAddItem(cid,orangeid,max)
		doDecayItem(item.uid)
		doDecayItemTo(topos, mtreeid, time)
end
 
Erp0t (Elf) is it planned to add pvp arenas to The forgotten server? :)
Would be awesome if it did, I saw a code for older versions, but I guess it can be updated, unless its an unstable code...
 
What could be wrong? Should i remove the "To" from line 12?

Code:
[23/01/2009 22:16:41] Lua Script Error: [Action Interface] 
[23/01/2009 22:16:41] data/actions/scripts/Items/OrangeTree.lua:onUse

[23/01/2009 22:16:41] data/actions/scripts/Items/OrangeTree.lua:12: attempt to call global 'doDecayItemTo' (a nil value)
[23/01/2009 22:16:41] stack traceback:
[23/01/2009 22:16:41] 	data/actions/scripts/Items/OrangeTree.lua:12: in function <data/actions/scripts/Items/OrangeTree.lua:1>

my OrangeTree.lua
Code:
function onUse(cid, item, frompos, item2, topos)

     otreeid = 4006 -- Itemid of the tree with oranges
     treeid =  4008      -- Itemid of the empty tree
     orangeid = 2675 -- Itemid of oranges
     max = 5 -- Number of oranges you get
     time = 4000 -- Time to the empty tree become a tree with fruits again

		doTransformItem(item.uid, treeid)
		doPlayerAddItem(cid,orangeid,max)
		doDecayItem(item.uid)
		doDecayItemTo(topos, mtreeid, time)
end

You have to add the function in lib/functions.lua i had problem but with npcs. 'getItemNameById'
 
I would like to have contact with someone, who actually has shutdown errors, can manage to compile the sources and knows "basics", so I may lead him to modify & try until we fix it.
 
Status
Not open for further replies.
Back
Top Bottom