• 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] OTHire 0.0.1b - Based in OTServ Trunk (Latest)

Code:
 :: Loading Talkactions ...Warning: [Event::loadScript] Can not load script. data/talkactions/scripts/broadcastclass.lua
data/talkactions/scripts/broadcastclass.lua:4: unexpected symbol near '-'

Anyone have fix for broadcast ? :) ( /B )
 
Code:
 :: Loading Talkactions ...Warning: [Event::loadScript] Can not load script. data/talkactions/scripts/broadcastclass.lua
data/talkactions/scripts/broadcastclass.lua:4: unexpected symbol near '-'

Anyone have fix for broadcast ? :) ( /B )
Show that broadclass.lua
 
now i change this script for new and have other error :

Code:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/broadcastclass.lua:onSay

data/functions.lua:823: attempt to compare number with nil
stack traceback:
data/functions.lua:823: in function 'broadcastMessage'
data/talkactions/scripts/broadcastclass.lua:9: in function
 
now i change this script for new and have other error :

Code:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/broadcastclass.lua:onSay

data/functions.lua:823: attempt to compare number with nil
stack traceback:
data/functions.lua:823: in function 'broadcastMessage'
data/talkactions/scripts/broadcastclass.lua:9: in function
OTHire doesn't have function "broadcastMessage". That's why you have that errors.
 
now i change this script for new and have other error :

Code:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/broadcastclass.lua:onSay

data/functions.lua:823: attempt to compare number with nil
stack traceback:
data/functions.lua:823: in function 'broadcastMessage'
data/talkactions/scripts/broadcastclass.lua:9: in function

Search and replace this function in functions.lua:
Code:
function doBroadcastMessage(text, class)
    local class = class or MESSAGE_STATUS_WARNING
    if(type(class) == 'string') then
        local className = MESSAGE_TYPES[class]
        if(className == nil) then
            return false
        end

        class = className
    elseif(class < MESSAGE_STATUS_CONSOLE_YELLOW or class > MESSAGE_INFO_DESCR) then
        return false
    end

    for _, pid in ipairs(getPlayersOnlineList()) do
        doPlayerSendTextMessage(pid, class, text)
    end

    print("> Broadcasted message: \"" .. text .. "\".")
    return true
end
 
i need all the correct 7.4 spells


Thanks, but some spell formulas is missing

Still need Flame Strike, Fireball, Fire Wave, Poison Storm, Energy Beam
Flame Strike = Energy Strike. The -30 on minimun value for physical spells does not apply also, they were in the calculator where the formulas where taken from to compensate the reduction from armor.
 
i noticed that the sand hole with ID 489 turns into a void when it close instead of ID 481, anyone with a fix?
 
What is the use for tiles and tiles_items on database, if houses are being saved on map_store. I am trying to create a dosavehouse function and got struggle on that
 
What is the use for tiles and tiles_items on database, if houses are being saved on map_store. I am trying to create a dosavehouse function and got struggle on that

It's for relational map storage saving instead of binary ^^
 
It's for relational map storage saving instead of binary ^^
What do you suggest, binary or relational? My server is already binary, if I change to relational all the houses are cleaned? What about function to save houses? I was trying to implement one, but several others this server doesnt have, such as
saveHouse(db, house)).
 
What do you suggest, binary or relational? My server is already binary, if I change to relational all the houses are cleaned? What about function to save houses? I was trying to implement one, but several others this server doesnt have, such as
saveHouse(db, house)).

Binary > relational, I still don't get why did someone even add relational in the first place.
 
Back
Top