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

[7.72] RealOTX with CastSystem - OpenSource

Some issues I noticed so far

No party channel available
"Unable to load items (OTB)" with console version, you dont get this error with compiling GUI
 
Why can't you edit your posts? I forgot to show what happens when the server saves




0hIT27X.jpg
 
Hello Otlanders, i am here to present my project Open Source, Real Open Tibia Server based on Protocol 7.72

As you can see, I like the open source. I think this project to make the best Real Open Tibia 7.72 with your help. Would you help me? ;) You can make your own pull request and help this project.

The server has some bugs that every day I am fixing to have the best Real Tibia 7.72
The server includes:

Engine OTXServer 2 Precompiled Windows Executable (32 & 64 Bits)
Full Datapack Working fine
Daily Updates on GitHub

Features:

Code:
- Engine: OTX 2.X.S.4 LORD ZEDD (Latest revision)
- Real Map 7.72
- Real Npcs 7.72
- Real Monsters
- Real Spells
- CastSystem
- AntiDupe Items
- WarSystem (Withouth Shields)
- AutoStack
- Offiline Training
- Stamina (Work with !stamina)
- Stacked Parcels/Boxes/Crates etc is blocking movement
- Loot message on screen
- Party Shared Exp
- Spells unlocked by reaching required magic level for specific spell
- Bank system
- All functions introduced since 7.4 at 9.85 - And many more....
Downloads: https://github.com/brewsterl/RealOTX-7.72
Sources: https://github.com/brewsterl/RealOTX-7.72/tree/master/sources
You can help with this project: https://github.com/brewsterl/RealOTX-7.72/pulls
You can report issues here: https://github.com/brewsterl/RealOTX-7.72/issues
How To Compile (Linux & Windowx): https://github.com/brewsterl/RealOTX-7.72/wiki

Special Thanks(s) :):
The Forgotten Server Team
Kaiser (mattyx14)

Can this be played? I am still unsure how these things work, but I would love to have something to play with just me and a few friends.
 
When gm use /ghost and say /goto player... the player get a debug error.
If player enter in a screen of the gm (gm with /ghost), player get debug error too.... How can i solve it?

LOg Debug:

----- 23/9/2016 14:26:22 - Newplayer (87.35.233.122) -----
Comment:
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 108 160 102 109 101 109 106 180 030 160
Last Packet: 015 000 108 062 129 204 127 007 002 106 066 129 201 127 007 038
Player Position: [33087,32715,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 108), reason:
Communication.cpp 1661: exception occurred (rx = 7) (ry = 7), reason:
Communication.cpp 1649: assertion failed (rx = 7) (ry = 7), reason:
FieldRefreshRequested(rx,ry,rz)
Fri Sep 23 14:26:03 2016
Debug Assertion 7.72 Communication.cpp 1649
 
When gm use /ghost and say /goto player... the player get a debug error.
If player enter in a screen of the gm (gm with /ghost), player get debug error too.... How can i solve it?

LOg Debug:

----- 23/9/2016 14:26:22 - Newplayer (87.35.233.122) -----
Comment:
Windows Version: 6.1 build 7601 on 2 with Service Pack 1
Graphic Engine: 2
Last Packet Types: 108 160 102 109 101 109 106 180 030 160
Last Packet: 015 000 108 062 129 204 127 007 002 106 066 129 201 127 007 038
Player Position: [33087,32715,7]
Player.cpp 383: exception occurred, reason:
Network.cpp 885: exception occurred (ErrorCode = 0), reason:
Control.cpp 1280: exception occurred (Type = 108), reason:
Communication.cpp 1661: exception occurred (rx = 7) (ry = 7), reason:
Communication.cpp 1649: assertion failed (rx = 7) (ry = 7), reason:
FieldRefreshRequested(rx,ry,rz)
Fri Sep 23 14:26:03 2016
Debug Assertion 7.72 Communication.cpp 1649

You have to fix it in sources by yourself because it's bugged.
 
Guys, I have been out for few years so sorry for stupid question but can I use avesta datapack with this distro?
 
npcs thats sells keys aren't working i tried with all others otx distro and they won't work pls help
example of elathriel:
Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)            npcHandler:onCreatureAppear(cid)            end
function onCreatureDisappear(cid)        npcHandler:onCreatureDisappear(cid)            end
function onCreatureSay(cid, type, msg)    npcHandler:onCreatureSay(cid, type, msg)    end
function onThink()                        npcHandler:onThink()                        end

function creatureSayCallback(cid, type, msg)
    if(npcHandler.focus ~= cid) then
        return false
    end
    
    -- NPC Simon (Deeper Fibula Quest) feito por Rodrigo (Nottinghster)
    -- Inicio Simon NPC
    
    local player_gold     = getPlayerItemCount(cid,2148)
    local player_plat     = getPlayerItemCount(cid,2152)*100
    local player_crys     = getPlayerItemCount(cid,2160)*10000
    local player_money    = player_gold + player_plat + player_crys
    
    if msgcontains(msg, 'key') then
    selfSay(' If you are that curious, do you want to buy a key for 5000 gold? Don\'t blame me if you get sucked in.')
    talk_state = 1
    
    elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money >= 5000 then
    selfSay('Here it is.')
    doPlayerRemoveMoney(cid, 5000)
    key = doPlayerAddItem(cid, 2087,1)
    doSetItemActionId(key,3012)
    talk_state = 0
    elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money < 5000 then
    selfSay('You dont have enought money.')
    
    elseif msgcontains(msg, 'bye') and (talk_state >= 1 and talk_state <= 3) then
    selfSay('Have a nice day.')
    talk_state = 0
    
    end

    return true
end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
 
npcs thats sells keys aren't working i tried with all others otx distro and they won't work pls help
example of elathriel:
Code:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid)            npcHandler:onCreatureAppear(cid)            end
function onCreatureDisappear(cid)        npcHandler:onCreatureDisappear(cid)            end
function onCreatureSay(cid, type, msg)    npcHandler:onCreatureSay(cid, type, msg)    end
function onThink()                        npcHandler:onThink()                        end

function creatureSayCallback(cid, type, msg)
    if(npcHandler.focus ~= cid) then
        return false
    end
  
    -- NPC Simon (Deeper Fibula Quest) feito por Rodrigo (Nottinghster)
    -- Inicio Simon NPC
  
    local player_gold     = getPlayerItemCount(cid,2148)
    local player_plat     = getPlayerItemCount(cid,2152)*100
    local player_crys     = getPlayerItemCount(cid,2160)*10000
    local player_money    = player_gold + player_plat + player_crys
  
    if msgcontains(msg, 'key') then
    selfSay(' If you are that curious, do you want to buy a key for 5000 gold? Don\'t blame me if you get sucked in.')
    talk_state = 1
  
    elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money >= 5000 then
    selfSay('Here it is.')
    doPlayerRemoveMoney(cid, 5000)
    key = doPlayerAddItem(cid, 2087,1)
    doSetItemActionId(key,3012)
    talk_state = 0
    elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money < 5000 then
    selfSay('You dont have enought money.')
  
    elseif msgcontains(msg, 'bye') and (talk_state >= 1 and talk_state <= 3) then
    selfSay('Have a nice day.')
    talk_state = 0
  
    end

    return true
end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
Do you get any errors? What exactly do not work?

btw.
I don't get why there is such a thing instead of using function getPlayerMoney:

Code:
local player_gold     = getPlayerItemCount(cid,2148)
    local player_plat     = getPlayerItemCount(cid,2152)*100
    local player_crys     = getPlayerItemCount(cid,2160)*10000
    local player_money    = player_gold + player_plat + player_crys
 
Do you get any errors? What exactly do not work?

btw.
I don't get why there is such a thing instead of using function getPlayerMoney:

Code:
local player_gold     = getPlayerItemCount(cid,2148)
    local player_plat     = getPlayerItemCount(cid,2152)*100
    local player_crys     = getPlayerItemCount(cid,2160)*10000
    local player_money    = player_gold + player_plat + player_crys

Hello @Jakkess

i dont get any errors in exe , the functions that doesnt work is when i try to buy a key all npc
that sell keys just dont say anything ,i tried with other script, others otx distros and nothing

regarding function getPlayerMoeney: i dont know im learning
 
Back
Top