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

[10.77][TFS 1.2] ORTS, a real map project

Best Released Real Map 10.31 Based 1.0!

i can do this !!

playerslist.png

Not login
connection refused.png

i try with local ip , global ip , localhost , 127.0.0.1 and nothing happens ,, people can log in .
help please !!
 
yes , firewall , modem ..
if I put online version 10.10 , easy to me to log in , but not on this version 10.31, I dont know whats the problem

i hope can help me
Try to reinstall your ip changer, i had the same problem. It turned out to just be my ip changer messed up
 
Try to reinstall your ip changer, i had the same problem. It turned out to just be my ip changer messed up

i do that , same problem , what do a have to put on the config.lua of ip ?
my local , my global ip ?
because the players can login
 
Anyone else is having memory leak problems like me? The server starts using 2gb of ram and 4 hours later is using 6GB and rising...
 
But this map does not include all the islands, for example Cormaya.
 
I have no idea how the hell to make a character to work.. I make a char manually but it just say its wrong password or account, What to do to make it works? :S tried everything..
 
ZNOTESHOP.LUA

I got this script to work with TFS 1.0, so you can now use znote's dontaion system and actually recive your items in game :p
First the LUA

znoteshop.lua
Code:
-- Znote Shop v1.0 for Znote AAC on TFS 0.3.6+ Crying Damson. (RESCRIPT By: Darkstox)
function onSay(cid, words, param)
    local storage = 54073 -- Make sure to select non-used storage. This is used to prevent SQL load attacks.
    local cooldown = 15 -- in seconds.
   
    if getPlayerStorageValue(cid, storage) <= os.time() then
        setPlayerStorageValue(cid, storage, os.time() + cooldown)
        local accid = getAccountNumberByPlayerName(getCreatureName(cid))
       
        -- Create the query
        local orderQuery = db.storeQuery("SELECT `id`, `type`, `itemid`, `count` FROM `znote_shop_orders` WHERE `account_id` = " .. accid .. " LIMIT 1;")
       
        -- Detect if we got any results
        if orderQuery ~= false then
            -- Fetch order values
            local q_id = result.getDataInt(orderQuery, "id")
            local q_type = result.getDataInt(orderQuery, "type")
            local q_itemid = result.getDataInt(orderQuery, "itemid")
            local q_count = result.getDataInt(orderQuery, "count")
            result.free(orderQuery)
            -- ORDER TYPE 1 (Regular item shop products)
            if q_type == 1 then
                -- Get wheight
                local playerCap = getPlayerFreeCap(cid)
                local itemweight = ItemType(q_itemId):getWeight(q_count)
                    if playerCap >= itemweight and getTileInfo(getCreaturePosition(cid)).protection then
                        --backpack check
                        local backpack = getPlayerSlotItem(cid, 3)
                        local gotItem = false
                        if(backpack and backpack.itemid > 0) then
                            local received = doAddContainerItem(getPlayerSlotItem(cid, 3).uid, q_itemid,q_count)
                            if(received ~= false) then
                                db.query("DELETE FROM `znote_shop_orders` WHERE `id` = " .. q_id .. ";")
                                doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Congratulations! You have recieved ".. q_count .." "..ItemType(q_itemid):getName().."!")
                                gotItem = true
                            end
                        end
 
                        if(not gotItem) then
                            doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "You have no available space in backpack to receive that item.")
                        end                       
                    else
                        doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Need more CAP and Need ProtectZone!")
                    end
            end
            -- Add custom order types here
            -- Type 2 is reserved for premium days and is handled on website, not needed here.
            -- Type 3 is reserved for character gender(sex) change and is handled on website as well.
            -- So use type 4+ for custom stuff, like etc packages.
            -- if q_type == 4 then
            -- end
        else
            doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "You have no orders.")
        end
       
    else
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Can only be executed once every "..cooldown.." seconds. Remaining cooldown: ".. getPlayerStorageValue(cid, storage) - os.time())
    end
    return false
end

Then this in talkactions.xml
Code:
<talkaction words="!shop" script="znoteshop.lua"/>

As long as your have your shop setup on website this should work!! :D
Rep+ if you like or was helpful!!
 
Hello Community,
I downloaded the Server and set it up,
when I started the server he has got 2.587.040 K RAM
xzq55dv5.png

but the Server freeze every time he reached 2.603.000 RAM without any Error!
pikvwo5d.png

I have WIN 7 x64 and 16GB RAM.
Is this a lua problem or is the map too huge??
Has somebody the same problem??
Or exist a Fix for this Memleak??
Thanks for reply and help
 
Hello Community,
I downloaded the Server and set it up,
when I started the server he has got 2.587.040 K RAM
xzq55dv5.png

but the Server freeze every time he reached 2.603.000 RAM without any Error!
pikvwo5d.png

I have WIN 7 x64 and 16GB RAM.
Is this a lua problem or is the map too huge??
Has somebody the same problem??
Or exist a Fix for this Memleak??
Thanks for reply and help
You should download latest source and recompile.
 
Hi, thanks for reply
i downloaded the last version and compiled it. I get the same freeze bug.
then i run it in debbug and get an error: perhaps an Memleak. is this able to fix it?
cmtpggrf.png
 
Help me please
Code:
Error    1    error C1083: Cannot open include file: 'boost/asio.hpp': No such file or directory    c:\users\gabbe\desktop\compile map\forgottenserver-master\src\otpch.h    30    1    theforgottenserver
Code:
    2    IntelliSense: cannot open source file "boost/asio.hpp"    c:\Users\Gabbe\Desktop\Compile Map\forgottenserver-master\src\otpch.h    30    1    theforgottenserver
 
I cant speak with NPCs where are moving like baxter or aruda.
they dont react.
 
why i should start my server with localhost. enter with my character on world and later shutdown and open with global ip to can enter the game?
all people can enter without problems only if i enter from host pc...
 
Back
Top