• 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.
Update your Amulet of Loss in items.lua

PHP:
	<item id="2173" article="an" name="amulet of loss">
		<attribute key="weight" value="420"/>
		<attribute key="slotType" value="necklace"/>
		<attribute key="preventDrop" value="1"/>
		<attribute key="charges" value="1"/>
	</item>
 
Things not working properly for me.

PHP:
Teleport commands. (checks for ghost and something else)
Exp lost. (Players lose way to much exp)
Worthy doors. (Doesn't automaticly close)
Rings shutdown. (I made my rings infinite and they no longer work)
/squelch (something about gamemaster)

Check if you have updated it correctly, with ring check if they're also in movements.xml ;s


Logs doesn't work for me at console. I've configured them well.
 
Great at version 0.3.1 I had crash every 20+ hours, now I've got crashes every 1h and I can't reproduce it if logs doesnt work -.-
 
Great at version 0.3.1 I had crash every 20+ hours, now I've got crashes every 1h and I can't reproduce it if logs doesnt work -.-

The only one error which I always get when the server getting started
Code:
-- ### CONFIG ###
-- message send to player by script "type" (types you can check in "global.lua")
SHOP_MSG_TYPE = 17
-- time (in seconds) between connections to SQL database by shop script
SQL_interval = 15
-- ### END OF CONFIG ###
SQL_COMUNICATION_INTERVAL = SQL_interval * 1000
function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
			doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent'))
		end
	end
	
    registerCreatureEvent(cid, "PlayerKill")
    registerCreatureEvent(cid, "Mail")

    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  

	
    if(InitShopComunication == 0) then
	local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, {})
        local historyPage = addEvent(historyPage, 60000, {})
	InitShopComunication = eventServ
	end
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "PlayerDeath")
	return TRUE
end


function sql_communication(parameters)
	local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';")
	if(result_plr:getID() ~= -1) then
		while(true) do
			id = tonumber(result_plr:getDataInt("id"))
            action = tostring(result_plr:getDataString("action"))
			delete = tonumber(result_plr:getDataInt("delete_it"))
			cid = getPlayerByName(tostring(result_plr:getDataString("name")))
			if isPlayer(cid) == TRUE then
				local itemtogive_id = tonumber(result_plr:getDataInt("param1"))
				local itemtogive_count = tonumber(result_plr:getDataInt("param2"))
				local container_id = tonumber(result_plr:getDataInt("param3"))
				local container_count = tonumber(result_plr:getDataInt("param4"))
				local add_item_type = tostring(result_plr:getDataString("param5"))
				local add_item_name = tostring(result_plr:getDataString("param6"))
	            local received_item = 0
	            local full_weight = 0
	            if add_item_type == 'container' then
	                container_weight = getItemWeightById(container_id, 1)
					if isItemRune(itemtogive_id) == TRUE then
						items_weight = container_count * getItemWeightById(itemtogive_id, 1)
					else
						items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count)
					end
	                full_weight = items_weight + container_weight
	            else
	                full_weight = getItemWeightById(itemtogive_id, itemtogive_count)
					if isItemRune(itemtogive_id) == TRUE then
						full_weight = getItemWeightById(itemtogive_id, 1)
					else
						full_weight = getItemWeightById(itemtogive_id, itemtogive_count)
					end
	            end
	            local free_cap = getPlayerFreeCap(cid)
	            if full_weight <= free_cap then
	                if add_item_type == 'container' then
	                    local new_container = doCreateItemEx(container_id, 1)
	                    local iter = 0
	                    while iter ~= container_count do
	                        doAddContainerItem(new_container, itemtogive_id, itemtogive_count)
	                        iter = iter + 1
	                    end
	                    received_item = doPlayerAddItemEx(cid, new_container)
	                else
	                    local new_item = doCreateItemEx(itemtogive_id, itemtogive_count)
	                    received_item = doPlayerAddItemEx(cid, new_item)
	                end
	                if received_item == RETURNVALUE_NOERROR then
	                    doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.')
	                    db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";")
						db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";")
	                else
	                    doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.')
	                end
	            else
	                doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.')
	            end
	        end
			if not(result_plr:next()) then
				break
			end
		end
		result_plr:free()
    end
    local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, parameters)
end

That's my login.lua ;/
 
The only one error which I always get when the server getting started
Code:
-- ### CONFIG ###
-- message send to player by script "type" (types you can check in "global.lua")
SHOP_MSG_TYPE = 17
-- time (in seconds) between connections to SQL database by shop script
SQL_interval = 15
-- ### END OF CONFIG ###
SQL_COMUNICATION_INTERVAL = SQL_interval * 1000
function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
			doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent'))
		end
	end
	
    registerCreatureEvent(cid, "PlayerKill")
    registerCreatureEvent(cid, "Mail")

    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    -- if he did not make full arena 1 he must start from zero
    if getPlayerStorageValue(cid, 42309) < 1 then
        for i = 42300, 42309 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 2 he must start from zero
    if getPlayerStorageValue(cid, 42319) < 1 then
        for i = 42310, 42319 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    -- if he did not make full arena 3 he must start from zero
    if getPlayerStorageValue(cid, 42329) < 1 then
        for i = 42320, 42329 do
            setPlayerStorageValue(cid, i, 0)
        end
    end
    if getPlayerStorageValue(cid, 42355) == -1 then
        setPlayerStorageValue(cid, 42355, 0) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  

	
    if(InitShopComunication == 0) then
	local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, {})
        local historyPage = addEvent(historyPage, 60000, {})
	InitShopComunication = eventServ
	end
	registerCreatureEvent(cid, "GuildMotd")
	registerCreatureEvent(cid, "PlayerDeath")
	return TRUE
end


function sql_communication(parameters)
	local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';")
	if(result_plr:getID() ~= -1) then
		while(true) do
			id = tonumber(result_plr:getDataInt("id"))
            action = tostring(result_plr:getDataString("action"))
			delete = tonumber(result_plr:getDataInt("delete_it"))
			cid = getPlayerByName(tostring(result_plr:getDataString("name")))
			if isPlayer(cid) == TRUE then
				local itemtogive_id = tonumber(result_plr:getDataInt("param1"))
				local itemtogive_count = tonumber(result_plr:getDataInt("param2"))
				local container_id = tonumber(result_plr:getDataInt("param3"))
				local container_count = tonumber(result_plr:getDataInt("param4"))
				local add_item_type = tostring(result_plr:getDataString("param5"))
				local add_item_name = tostring(result_plr:getDataString("param6"))
	            local received_item = 0
	            local full_weight = 0
	            if add_item_type == 'container' then
	                container_weight = getItemWeightById(container_id, 1)
					if isItemRune(itemtogive_id) == TRUE then
						items_weight = container_count * getItemWeightById(itemtogive_id, 1)
					else
						items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count)
					end
	                full_weight = items_weight + container_weight
	            else
	                full_weight = getItemWeightById(itemtogive_id, itemtogive_count)
					if isItemRune(itemtogive_id) == TRUE then
						full_weight = getItemWeightById(itemtogive_id, 1)
					else
						full_weight = getItemWeightById(itemtogive_id, itemtogive_count)
					end
	            end
	            local free_cap = getPlayerFreeCap(cid)
	            if full_weight <= free_cap then
	                if add_item_type == 'container' then
	                    local new_container = doCreateItemEx(container_id, 1)
	                    local iter = 0
	                    while iter ~= container_count do
	                        doAddContainerItem(new_container, itemtogive_id, itemtogive_count)
	                        iter = iter + 1
	                    end
	                    received_item = doPlayerAddItemEx(cid, new_container)
	                else
	                    local new_item = doCreateItemEx(itemtogive_id, itemtogive_count)
	                    received_item = doPlayerAddItemEx(cid, new_item)
	                end
	                if received_item == RETURNVALUE_NOERROR then
	                    doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.')
	                    db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";")
						db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";")
	                else
	                    doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.')
	                end
	            else
	                doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.')
	            end
	        end
			if not(result_plr:next()) then
				break
			end
		end
		result_plr:free()
    end
    local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, parameters)
end

That's my login.lua ;/

Great no edit option -.- the error which I get is:
Code:
Lua Script Error: [CreatureScript Interface] 
data/creaturescripts/scripts/login.lua:onLogin

luaAddEvent(). callback parameter should be a function.
 
Great no edit option -.- the error which I get is:
Code:
Lua Script Error: [CreatureScript Interface] 
data/creaturescripts/scripts/login.lua:onLogin

luaAddEvent(). callback parameter should be a function.

man it's not 0.2 version u should take a look at that what a gesior said most of the functions in login.lua should be in globalevents...
 
When compiling (windows) Im getting this error:

PHP:
Linking console executable: bin\Debug\OTCD2.exe
obj\Debug\actions.o: In function `ZN6Action10executeUseEP6PlayerP4ItemRK10PositionExS6_bj':
C:/OTCD2/actions.cpp:845: undefined reference to `lua_pushnumber'
obj\Debug\baseevents.o: In function `ZN10BaseEvents11loadFromXmlEv':
C:/OTCD2/baseevents.cpp:49: undefined reference to `xmlParseFile'
C:/OTCD2/baseevents.cpp:56: undefined reference to `xmlDocGetRootElement'
C:/OTCD2/baseevents.cpp:57: undefined reference to `xmlStrcmp'
C:/OTCD2/baseevents.cpp:59: undefined reference to `xmlFreeDoc'
C:/OTCD2/baseevents.cpp:135: undefined reference to `xmlFreeDoc'
obj\Debug\combat.o: In function `ZNK13ValueCallback15getMinMaxValuesEP6PlayerRiS2_b':
C:/OTCD2/combat.cpp:883: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:890: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:891: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:900: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:910: undefined reference to `lua_pushnumber'
obj\Debug\combat.o:C:/OTCD2/combat.cpp:911: more undefined references to `lua_pushnumber' follow
obj\Debug\combat.o: In function `ZNK13ValueCallback15getMinMaxValuesEP6PlayerRiS2_b':
C:/OTCD2/combat.cpp:923: undefined reference to `lua_gettop'
C:/OTCD2/combat.cpp:924: undefined reference to `lua_pcall'
C:/OTCD2/combat.cpp:932: undefined reference to `lua_gettop'
obj\Debug\combat.o: In function `ZNK12TileCallback12onTileCombatEP8CreatureP4Tile':
C:/OTCD2/combat.cpp:960: undefined reference to `lua_pushnumber'
obj\Debug\combat.o: In function `ZNK14TargetCallback14onTargetCombatEP8CreatureS1_':
C:/OTCD2/combat.cpp:989: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:990: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:992: undefined reference to `lua_gettop'
C:/OTCD2/combat.cpp:993: undefined reference to `lua_pcall'
C:/OTCD2/combat.cpp:996: undefined reference to `lua_gettop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager4loadEv':
C:/OTCD2/configmanager.cpp:51: undefined reference to `lua_close'
C:/OTCD2/configmanager.cpp:53: undefined reference to `luaL_newstate'
C:/OTCD2/configmanager.cpp:57: undefined reference to `luaL_loadfile'
C:/OTCD2/configmanager.cpp:57: undefined reference to `lua_pcall'
C:/OTCD2/configmanager.cpp:59: undefined reference to `lua_close'
obj\Debug\configmanager.o: In function `ZN13ConfigManager15getGlobalStringEP9lua_StateRKSsS3_':
C:/OTCD2/configmanager.cpp:306: undefined reference to `lua_getfield'
C:/OTCD2/configmanager.cpp:307: undefined reference to `lua_isstring'
C:/OTCD2/configmanager.cpp:309: undefined reference to `lua_settop'
C:/OTCD2/configmanager.cpp:313: undefined reference to `lua_objlen'
C:/OTCD2/configmanager.cpp:314: undefined reference to `lua_tolstring'
C:/OTCD2/configmanager.cpp:316: undefined reference to `lua_settop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager15getGlobalNumberEP9lua_StateRKSsi':
C:/OTCD2/configmanager.cpp:327: undefined reference to `lua_getfield'
C:/OTCD2/configmanager.cpp:328: undefined reference to `lua_isnumber'
C:/OTCD2/configmanager.cpp:330: undefined reference to `lua_settop'
C:/OTCD2/configmanager.cpp:334: undefined reference to `lua_tonumber'
C:/OTCD2/configmanager.cpp:335: undefined reference to `lua_settop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager15getGlobalDoubleEP9lua_StateRKSsd':
C:/OTCD2/configmanager.cpp:341: undefined reference to `lua_getfield'
C:/OTCD2/configmanager.cpp:342: undefined reference to `lua_isnumber'
C:/OTCD2/configmanager.cpp:344: undefined reference to `lua_settop'
C:/OTCD2/configmanager.cpp:348: undefined reference to `lua_tonumber'
C:/OTCD2/configmanager.cpp:349: undefined reference to `lua_settop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager8getValueERKSsP9lua_State':
C:/OTCD2/configmanager.cpp:355: undefined reference to `lua_getfield'
obj\Debug\configmanager.o: In function `ZN13ConfigManager9moveValueEP9lua_StateS1_':
C:/OTCD2/configmanager.cpp:361: undefined reference to `lua_type'
C:/OTCD2/configmanager.cpp:364: undefined reference to `lua_pushnil'
C:/OTCD2/configmanager.cpp:367: undefined reference to `lua_toboolean'
C:/OTCD2/configmanager.cpp:367: undefined reference to `lua_pushboolean'
C:/OTCD2/configmanager.cpp:370: undefined reference to `lua_tonumber'
C:/OTCD2/configmanager.cpp:370: undefined reference to `lua_pushnumber'
C:/OTCD2/configmanager.cpp:375: undefined reference to `lua_tolstring'
Process terminated with status 1 (5 minutes, 52 seconds)
50 errors, 0 warnings

Any idea what it might be?
 
ok I edited items.xml when player die amulet of loss doesnt disapear
PHP:
    <item id="2173" article="an" name="amulet of loss">
        <attribute key="weight" value="420"/>
        <attribute key="slotType" value="necklace"/>
        <attribute key="preventDrop" value="1"/>
        <attribute key="charges" value="1"/>
    </item>
 
When compiling (windows) Im getting this error:

PHP:
Linking console executable: bin\Debug\OTCD2.exe
obj\Debug\actions.o: In function `ZN6Action10executeUseEP6PlayerP4ItemRK10PositionExS6_bj':
C:/OTCD2/actions.cpp:845: undefined reference to `lua_pushnumber'
obj\Debug\baseevents.o: In function `ZN10BaseEvents11loadFromXmlEv':
C:/OTCD2/baseevents.cpp:49: undefined reference to `xmlParseFile'
C:/OTCD2/baseevents.cpp:56: undefined reference to `xmlDocGetRootElement'
C:/OTCD2/baseevents.cpp:57: undefined reference to `xmlStrcmp'
C:/OTCD2/baseevents.cpp:59: undefined reference to `xmlFreeDoc'
C:/OTCD2/baseevents.cpp:135: undefined reference to `xmlFreeDoc'
obj\Debug\combat.o: In function `ZNK13ValueCallback15getMinMaxValuesEP6PlayerRiS2_b':
C:/OTCD2/combat.cpp:883: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:890: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:891: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:900: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:910: undefined reference to `lua_pushnumber'
obj\Debug\combat.o:C:/OTCD2/combat.cpp:911: more undefined references to `lua_pushnumber' follow
obj\Debug\combat.o: In function `ZNK13ValueCallback15getMinMaxValuesEP6PlayerRiS2_b':
C:/OTCD2/combat.cpp:923: undefined reference to `lua_gettop'
C:/OTCD2/combat.cpp:924: undefined reference to `lua_pcall'
C:/OTCD2/combat.cpp:932: undefined reference to `lua_gettop'
obj\Debug\combat.o: In function `ZNK12TileCallback12onTileCombatEP8CreatureP4Tile':
C:/OTCD2/combat.cpp:960: undefined reference to `lua_pushnumber'
obj\Debug\combat.o: In function `ZNK14TargetCallback14onTargetCombatEP8CreatureS1_':
C:/OTCD2/combat.cpp:989: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:990: undefined reference to `lua_pushnumber'
C:/OTCD2/combat.cpp:992: undefined reference to `lua_gettop'
C:/OTCD2/combat.cpp:993: undefined reference to `lua_pcall'
C:/OTCD2/combat.cpp:996: undefined reference to `lua_gettop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager4loadEv':
C:/OTCD2/configmanager.cpp:51: undefined reference to `lua_close'
C:/OTCD2/configmanager.cpp:53: undefined reference to `luaL_newstate'
C:/OTCD2/configmanager.cpp:57: undefined reference to `luaL_loadfile'
C:/OTCD2/configmanager.cpp:57: undefined reference to `lua_pcall'
C:/OTCD2/configmanager.cpp:59: undefined reference to `lua_close'
obj\Debug\configmanager.o: In function `ZN13ConfigManager15getGlobalStringEP9lua_StateRKSsS3_':
C:/OTCD2/configmanager.cpp:306: undefined reference to `lua_getfield'
C:/OTCD2/configmanager.cpp:307: undefined reference to `lua_isstring'
C:/OTCD2/configmanager.cpp:309: undefined reference to `lua_settop'
C:/OTCD2/configmanager.cpp:313: undefined reference to `lua_objlen'
C:/OTCD2/configmanager.cpp:314: undefined reference to `lua_tolstring'
C:/OTCD2/configmanager.cpp:316: undefined reference to `lua_settop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager15getGlobalNumberEP9lua_StateRKSsi':
C:/OTCD2/configmanager.cpp:327: undefined reference to `lua_getfield'
C:/OTCD2/configmanager.cpp:328: undefined reference to `lua_isnumber'
C:/OTCD2/configmanager.cpp:330: undefined reference to `lua_settop'
C:/OTCD2/configmanager.cpp:334: undefined reference to `lua_tonumber'
C:/OTCD2/configmanager.cpp:335: undefined reference to `lua_settop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager15getGlobalDoubleEP9lua_StateRKSsd':
C:/OTCD2/configmanager.cpp:341: undefined reference to `lua_getfield'
C:/OTCD2/configmanager.cpp:342: undefined reference to `lua_isnumber'
C:/OTCD2/configmanager.cpp:344: undefined reference to `lua_settop'
C:/OTCD2/configmanager.cpp:348: undefined reference to `lua_tonumber'
C:/OTCD2/configmanager.cpp:349: undefined reference to `lua_settop'
obj\Debug\configmanager.o: In function `ZN13ConfigManager8getValueERKSsP9lua_State':
C:/OTCD2/configmanager.cpp:355: undefined reference to `lua_getfield'
obj\Debug\configmanager.o: In function `ZN13ConfigManager9moveValueEP9lua_StateS1_':
C:/OTCD2/configmanager.cpp:361: undefined reference to `lua_type'
C:/OTCD2/configmanager.cpp:364: undefined reference to `lua_pushnil'
C:/OTCD2/configmanager.cpp:367: undefined reference to `lua_toboolean'
C:/OTCD2/configmanager.cpp:367: undefined reference to `lua_pushboolean'
C:/OTCD2/configmanager.cpp:370: undefined reference to `lua_tonumber'
C:/OTCD2/configmanager.cpp:370: undefined reference to `lua_pushnumber'
C:/OTCD2/configmanager.cpp:375: undefined reference to `lua_tolstring'
Process terminated with status 1 (5 minutes, 52 seconds)
50 errors, 0 warnings

Any idea what it might be?

no libs.
 
change deathlosepercent or check at database table: players
 
@up
i`m not noob
everything is ok when player got 4 bless but if they buy fifth one they dont lose exp when die.
 
Status
Not open for further replies.
Back
Top