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

TheForgottenServer v0.2rc5

Status
Not open for further replies.
hey when i fix flag in the group so gm can´t get experience they still get it when they kill monsters.
 
i actually never noticed that and i actually dont know what u are talking baout mind explaining?

The two newer versions of TFS has a code-name like "Silver Fox" and "Silent Phoenix".
 
-.- what happened to the Linux version of TFS? I wanna use it to base my ot in it but I can't since there is no way to do download it!
 
-.- what happened to the Linux version of TFS? I wanna use it to base my ot in it but I can't since there is no way to do download it!

Why don't you view the README file?
 
Ok, I would download it if I could just open rar files. Since I'm new on Linux I don't know how to install Winrar. If you can upload it in a way that I could use it. Or tell me how to install winrar. Thanks! Sir Herik
 
LOL! the files here have been uploaded in .rar thats why I can't use them.
 
Talaturen,won't you post linux distros?

They are easy enough to compile, by just running one command, so there isn't really any need for that...
 
My parcels still do not give the tags within them... i get a

luaDoAddContainerItem(). Could not add item

Lua Script Error: [Npc interface]
data/npc/scripts/parcel.lua:eek:nCreatureSay

data/global.lua:306: attempt to compare number with nil


any help?
 
My parcels still do not give the tags within them... i get a

luaDoAddContainerItem(). Could not add item

Lua Script Error: [Npc interface]
data/npc/scripts/parcel.lua:eek:nCreatureSay

data/global.lua:306: attempt to compare number with nil


any help?

Yea i have that error to! i tought it was my advanced BuyCOntainer but now you have posted it i serious know it isen't my mistake!!

P.s) Dont tell me u added my buy container -.-"
 
Paste the 10 lines before line 306 to 10 lines after line 316 so I can solve it.
 
Paste the 10 lines before line 306 to 10 lines after line 316 so I can solve it.

Nvm gone test it

this the th 10 lines before 306:
Code:
ITEM_GOLD_COIN = 2148
ITEM_PLATINUM_COIN = 2152
ITEM_CRYSTAL_COIN = 2160
ITEM_FISH = 2667
ITEM_WORM = 3976

function doPlayerGiveItem(cid, itemid, count, charges)
	local hasCharges = (isItemRune(itemid) == TRUE or isItemFluidContainer(itemid) == TRUE)
	if(hasCharges and charges == nil) then
		charges = 1
	end

and i paste it after line 316 so the code would look like this:
Code:
	while count > 0 do
		local tempcount = 1
		if(hasCharges) then
			tempcount = charges
		end
		if(isItemStackable(itemid) == TRUE) then
			tempcount = math.min (100, count)
   		end
	   	local ret = doPlayerAddItem(cid, itemid, tempcount)
	   	if(ret == LUA_ERROR) then
			ret = doCreateItem(itemid, tempcount, getPlayerPosition(cid))
		end
		if(ret ~= LUA_ERROR) then
			if(hasCharges) then
				count = count - 1
			else
				count = count - tempcount
			end
		else
			return LUA_ERROR
		end
	end
ITEM_GOLD_COIN = 2148
ITEM_PLATINUM_COIN = 2152
ITEM_CRYSTAL_COIN = 2160
ITEM_FISH = 2667
ITEM_WORM = 3976

function doPlayerGiveItem(cid, itemid, count, charges)
	local hasCharges = (isItemRune(itemid) == TRUE or isItemFluidContainer(itemid) == TRUE)
	if(hasCharges and charges == nil) then
		charges = 1
	end
	return LUA_NO_ERROR
end

Is it correct?


when i start server i get this:
Code:
Lua Script Error: [Weapon Interface] 
data/global.lua

data/global.lua:295: attempt to compare number with nil
Warning: [LuaScriptInterface::initState] Can not load data/global.lua.

Lua Script Error: [Spell Interface] 
data/global.lua

data/global.lua:295: attempt to compare number with nil
Warning: [LuaScriptInterface::initState] Can not load data/global.lua.

Lua Script Error: [Action Interface] 
data/global.lua

data/global.lua:295: attempt to compare number with nil
Warning: [LuaScriptInterface::initState] Can not load data/global.lua.

Lua Script Error: [TalkAction Interface] 
data/global.lua

data/global.lua:295: attempt to compare number with nil
Warning: [LuaScriptInterface::initState] Can not load data/global.lua.

Lua Script Error: [MoveEvents Interface] 
data/global.lua

data/global.lua:295: attempt to compare number with nil
Warning: [LuaScriptInterface::initState] Can not load data/global.lua.

Lua Script Error: [CreatureScript Interface] 
data/global.lua

data/global.lua:295: attempt to compare number with nil
Warning: [LuaScriptInterface::initState] Can not load data/global.lua.
 
Last edited:
I think Tal~ means to paste the code from the one poisiton to the end position.
 
Status
Not open for further replies.
Back
Top