• 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.2 (Crying Damson)

Status
Not open for further replies.
I can't run two separate instances of TFS on port 7171, using two different IPs.
I'm using debian lenny, and i have two network interfaces set up- eth0 and eth0:0. First server is runing fine, but when i try to run second one i get

Code:
>> All modules were loaded, server starting up...
>> TFS2 server Online!

terminate called after throwing an instance of 'boost::system::system_error'
  what():  Address already in use
error.
It looks like second instance is trying to bind to server's primary IP adress, even when i put second IP adress in config.lua.
Any idea how to fix that? I don't want to use alternate ports ( 7172 etc) for second server...
 
Hello

i have a little problem xD.

i changed the map for a custom but i've a problem with chests.....doesnt works!!!then i took the "basicquest" script from the tfs 0.2

is this:

PHP:
-- simple quests based on uniqueId
-- to make quest create chest on map and set its uniqueId to id of quest item

function onUse(cid, item, frompos, item2, topos)
	prize = item.uid

	if prize > 1000 and prize < 5000 then
		queststatus = getPlayerStorageValue(cid,prize)

		if queststatus == -1 then
			doPlayerSendTextMessage(cid,22,'You have found a ' .. getItemName(prize) .. '.')
			doPlayerAddItem(cid,prize,1)
			setPlayerStorageValue(cid,prize,1)
		else
			doPlayerSendTextMessage(cid,22,"It is empty.")
		end

		return 1
	else
		return 0
	end
end

BUT look.this happens when you use the chest.




and the addons npc doesnt works correctly.




i think that the problem is this command "getItemName(prize)" the server doesnt mmmm "understand" this order the server takes the chest name,not the item name ,then my addons NPC goes crazy xD because him use the same order

PHP:
local itemsTable = parameters.items
local items_list = ''
if table.maxn(itemsTable) > 0 then
for i = 1, table.maxn(itemsTable) do
local item = itemsTable[i]
items_list = items_list .. item[2] .. ' '[COLOR="Red"] .. getItemName(item[1][/COLOR])
if i ~= table.maxn(itemsTable) then
items_list = items_list .. ', '
end
end
end

plix help,maybe in this ot the script has changed the name and i'm using other ,that not works :S

i dont know if with the original map the chests works OK!!!
 
Hello

i have a little problem xD.

i changed the map for a custom but i've a problem with chests.....doesnt works!!!then i took the "basicquest" script from the tfs 0.2

is this:

PHP:
-- simple quests based on uniqueId
-- to make quest create chest on map and set its uniqueId to id of quest item

function onUse(cid, item, frompos, item2, topos)
	prize = item.uid

	if prize > 1000 and prize < 5000 then
		queststatus = getPlayerStorageValue(cid,prize)

		if queststatus == -1 then
			doPlayerSendTextMessage(cid,22,'You have found a ' .. getItemName(prize) .. '.')
			doPlayerAddItem(cid,prize,1)
			setPlayerStorageValue(cid,prize,1)
		else
			doPlayerSendTextMessage(cid,22,"It is empty.")
		end

		return 1
	else
		return 0
	end
end

BUT look.this happens when you use the chest.




and the addons npc doesnt works correctly.




i think that the problem is this command "getItemName(prize)" the server doesnt mmmm "understand" this order the server takes the chest name,not the item name ,then my addons NPC goes crazy xD because him use the same order

PHP:
local itemsTable = parameters.items
local items_list = ''
if table.maxn(itemsTable) > 0 then
for i = 1, table.maxn(itemsTable) do
local item = itemsTable[i]
items_list = items_list .. item[2] .. ' ' .. getItemName(item[1])
if i ~= table.maxn(itemsTable) then
items_list = items_list .. ', '
end
end
end

plix help,maybe in this ot the script has changed the name and i'm using other ,that not works :S

i dont know if with the original map the chests works OK!!!
 
please help

hello,the doors of my work experience which can not be the problem
 
plx help nop pode crear a char

Go to config.lua and change accountmanager = "yes" or something like that, and then run the server and make accoutns with 1/1 using the accoutn manager.

hello,the doors of my work experience which can not be the problem

MMMMmmmmmmmmmmmm........... right..... maybe in map editor make a level door for level 10 it is actionid = 1010?
 
what would be the difference between hosting ot at Vista, and at XP?
 
Hello

i have a little problem xD.

i changed the map for a custom but i've a problem with chests.....doesnt works!!!then i took the "basicquest" script from the tfs 0.2

is this:

PHP:
-- simple quests based on uniqueId
-- to make quest create chest on map and set its uniqueId to id of quest item

function onUse(cid, item, frompos, item2, topos)
	prize = item.uid

	if prize > 1000 and prize < 5000 then
		queststatus = getPlayerStorageValue(cid,prize)

		if queststatus == -1 then
			doPlayerSendTextMessage(cid,22,'You have found a ' .. getItemName(prize) .. '.')
			doPlayerAddItem(cid,prize,1)
			setPlayerStorageValue(cid,prize,1)
		else
			doPlayerSendTextMessage(cid,22,"It is empty.")
		end

		return 1
	else
		return 0
	end
end

BUT look.this happens when you use the chest.




and the addons npc doesnt works correctly.




i think that the problem is this command "getItemName(prize)" the server doesnt mmmm "understand" this order the server takes the chest name,not the item name ,then my addons NPC goes crazy xD because him use the same order

PHP:
local itemsTable = parameters.items
local items_list = ''
if table.maxn(itemsTable) > 0 then
for i = 1, table.maxn(itemsTable) do
local item = itemsTable[i]
items_list = items_list .. item[2] .. ' ' .. getItemName(item[1])
if i ~= table.maxn(itemsTable) then
items_list = items_list .. ', '
end
end
end

plix help,maybe in this ot the script has changed the name and i'm using other ,that not works :S

i dont know if with the original map the chests works OK!!!


haha! did you bring me one chest? :D
 
ajaja yes the npc goes crazy xD,but i think that is the order itemname or somethink like that ,i need the help of tfs programmer or a new code for the basicquests because in this (cryind damson )doesnt wors hahah,
somebody tell if in the stock map it works?(the chests).
 
@ALL

- I have any problems on my server, i'm update my TFS 0.2-23 to TFS 0.3.2 and found this problems...

-- I have 16 vocations, and when the server update databe apear a message with a error, ONLY FOUR VOCATIONS, and now when i'm login a character with vocation up to 8, apear this message on console...
<php>
Warning: [Vocations::getVocation] Vocation 4294967295 not found.
</php>

-- Level door don't open, i configure on map editor, but don't open,

-- Money don't work, i have 3kk on player and make trade whit npcs, don't work, i make !buypremium and apear "dont have money", i say "buy aol", npc say "dont have money", but have 3kk on a player...

-- Stair whit ids (7924,7925,9573) has bugged...

--- Plx someone help me to solve this questions.... many thx for all...
 
Status
Not open for further replies.
Back
Top