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

Plz Help

phillygangsta

New Member
Joined
May 9, 2010
Messages
46
Reaction score
0
I Cant Log Into My Server And It Say Online Ok Look Im Trying To Host My Own Server I Did EVerything From The Config To Xampp I Load The Server Up And It Says Online But I cant Logg In and After My Server Was Online Thius Pops Up After The Forgotten Server, version 0.3.6 (Crying Damson)
Compiled with GNU C++ version 3.4.5 (mingw special) at Dec 24 2009, 11:16:13.
A server developed by Elf, slawkens, Talaturen, KaczooH, Lithium, Kiper, Kornhol
ijo.
Visit our forum for updates, support and resources: http://otland.net.

>> Loading config (config.lua)
> Using plaintext encryption
>> Checking software version... up to date!
>> Fetching blacklist
>> Loading RSA key
>> Starting SQL connection
>> Running Database Manager
> Optimizing table: account_viplist... [success]
> Optimizing table: accounts... [success]
> Optimizing table: bans... [success]
> Optimizing table: environment_killers... [success]
> Optimizing table: global_storage... [success]
> Optimizing table: guild_invites... [success]
> Optimizing table: guild_ranks... [success]
> Optimizing table: guilds... [success]
> Optimizing table: house_auctions... [success]
> Optimizing table: house_data... [success]
> Optimizing table: house_lists... [success]
> Optimizing table: houses... [success]
> Optimizing table: killers... [success]
> Optimizing table: player_deaths... [success]
> Optimizing table: player_depotitems... [success]
> Optimizing table: player_items... [success]
> Optimizing table: player_killers... [success]
> Optimizing table: player_namelocks... [success]
> Optimizing table: player_skills... [success]
> Optimizing table: player_spells... [success]
> Optimizing table: player_storage... [success]
> Optimizing table: player_viplist... [success]
> Optimizing table: players... [success]
> Optimizing table: server_config... [success]
> Optimizing table: server_motd... [success]
> Optimizing table: server_record... [success]
> Optimizing table: server_reports... [success]
> Optimizing table: tile_items... [success]
> Optimizing table: tiles... [success]
>> Loading items
[Warning - Items::loadFromXml] Unknown slotType one-handed
>> Loading groups
>> Loading vocations
>> Loading script systems
[Warning - Weapons::registerEvent] Duplicate registered item with id: 7410
[Warning - MoveEvents::addEvent] Duplicate move event found: 30000
>> Loading chat channels
>> Loading outfits
>> Loading experience stages
>> Loading monsters
[Error - Monsters::deserializeSpell] DeathFan - Unknown spell name: hellcore
[Warning - Monsters::loadMonster] Cant load spell. (data/monster/deathfan.xml)
[Error - Monsters::deserializeSpell] Bazir - Unknown spell name: drunkness
[Warning - Monsters::loadMonster] Cant load spell. (data/monster/Demon Bosses/Ba
zir.xml)
[Error - Monsters::deserializeSpell] Bazir - Unknown spell name: plinkvis
[Warning - Monsters::loadMonster] Cant load spell. (data/monster/Demon Bosses/Ba
zir.xml)
>> Loading mods...
> Loading buypremium_command.xml... done.
> Loading changender_command.xml... done.
> Loading custommonsters.xml... done.
> Loading customspells.xml... done.
> Loading firstitems.xml... done.
> Loading highscorebook.xml... done.
> 6 mods were loaded.
>> Loading map and spawns...
> Map size: 5000x5000.
> Map descriptions:
"Saved with Remere's Map Editor 1.1.11"
"The Evolutions Never Die project by Hermes."
> Map loading time: 3.651 seconds.
[Warning] NpcSystem:
Parameter 'keyword_reply3' missing. Skipping...
[Warning] NpcSystem:
Parameter 'keyword_reply4' missing. Skipping...
I/O warning : failed to load external entity "data/npc/Oldrak.xml"
[Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Oldrak.xml).
Info: failed to load external entity "data/npc/Oldrak.xml"


[Spawn::addMonster] Cannot find "Trosh"
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01144 / 01300 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01144 / 01300 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01144 / 01300 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01119 / 01304 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01119 / 01304 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01119 / 01304 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01143 / 01310 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01143 / 01310 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01143 / 01310 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01162 / 01313 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01162 / 01313 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01179 / 01314 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01179 / 01314 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01179 / 01314 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01109 / 01322 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01109 / 01322 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01167 / 01326 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01167 / 01326 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01201 / 01326 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01201 / 01326 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01201 / 01326 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01217 / 01332 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01193 / 01339 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01193 / 01339 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01220 / 01345 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01227 / 01345 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01199 / 01348 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01150 / 01356 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01150 / 01356 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01150 / 01356 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01160 / 01356 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01160 / 01356 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01217 / 01357 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01217 / 01357 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01164 / 01366 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01164 / 01366 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01199 / 01367 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01199 / 01367 / 008 ) spawntime ca
nnot be less than 1 seconds.
[Warning - Spawns::loadFromXml] Dwarf Guard ( 01199 / 01367 / 008 ) spawntime ca
nnot be less than 1 seconds.
I/O warning : failed to load external entity "data/npc/Thorgrincormaya.xml"
[Warning - Npc::loadFromXml] Cannot load npc file (data/npc/Thorgrincormaya.xml)
.
Info: failed to load external entity "data/npc/Thorgrincormaya.xml"


[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1254)
[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1255)
[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1256)
[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1257)
[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1258)
[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1261)
[Warning - Houses::loadFromXml] House entry not set for: Forgotten headquarter (
Flat 1, Area 42) (1262)
> Data parsing time: 0.437 seconds.
> Houses synchronization time: 3.167 seconds.
> Content unserialization time: 0.281 seconds.
>> Checking world type... PvP-Enforced
>> Initializing game state modules and registering services...
> Global address: 68.81.217.118
> Local ports: 7171 7172
>> All modules were loaded, server is starting up...
>> Suicideot server Online!

mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
mysql_real_query(): SELECT * FROM z_ots_comunication WHERE `type` = 'login'; - M
YSQL ERROR: Table 'truekingsot.z_ots_comunication' doesn't exist (1146)
 
1º Oldrak.xml
PHP:
  <npc name="Oldrak" script="data/npc/scripts/oldrak.lua" walkinterval="2000" floorchange="0" access="3" level="1" maglevel="1">
    <health now="150" max="150"/>
    <look type="57" head="115" body="113" legs="31" feet="38" addons="3" corpse="2212"/>
    <parameters>
        <parameter key="message_greet" value="Hello, |PLAYERNAME|!" />
        <parameter key="message_needmoremoney" value="Try again when you have more money."/>
        <parameter key="message_decline" value="Why would you tease me like that?"/>
    </parameters>
</npc>
now in npc/scripts oldrak.lua
PHP:
  local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

-- OTServ event handling functions start
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
-- OTServ event handling functions end

function creatureSayCallback(cid, type, msg)
    -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.
    if (not npcHandler:isFocused(cid)) then
        return false
    end

        if msgcontains(msg, 'hallowed axe') then
                npcHandler:say('Do you want to buy a Hallowed Axe from me?', cid)
                talk_state = 1
        elseif msgcontains(msg, 'yes') and talk_state == 1 then
                local price = 1000
            if getPlayerItemCount(cid, 2386) >= 1 and getPlayerMoney(cid) >= price then
                if doPlayerRemoveMoney(cid, price) == true then
                    npcHandler:say('Here you are. You can now defeat the demon oak with this axe.', cid)
                    doPlayerRemoveItem(cid, 2386, 1)
                    doPlayerAddItem(cid, 8293, 1)
                    talk_state = 0
                end
            else
                npcHandler:say('I need an axe and ' .. price .. ' gold coins to make you a {hallowed axe}.', cid)
                talk_state = 0
            end
        elseif msgcontains(msg, 'demon oak') then
                npcHandler:say('Did you defeat the demon oak?', cid)
                talk_state = 2
        elseif msgcontains(msg, 'yes') and talk_state == 2 then
            if getPlayerStorageValue(cid, 35700) == 1 then
                npcHandler:say('Good job!', cid)
                doPlayerSetStorageValue(cid, 35700, 2)
                talk_state = 0
            else
                npcHandler:say('Go defeat the demon oak first.', cid)
                talk_state = 0
            end
------------------------------------------------ confirm no ------------------------------------------------
        elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 3) then
            npcHandler:say('Ok thanks.', cid)
            talk_state = 0
        end
    -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself.
    return true
end

npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())

2º for you error in z_ots communication go to phpmyadmin SQL and put this query
PHP:
CREATE TABLE IF NOT EXISTS `z_ots_comunication` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `action` varchar(255) NOT NULL,
  `param1` varchar(255) NOT NULL,
  `param2` varchar(255) NOT NULL,
  `param3` varchar(255) NOT NULL,
  `param4` varchar(255) NOT NULL,
  `param5` varchar(255) NOT NULL,
  `param6` varchar(255) NOT NULL,
  `param7` varchar(255) NOT NULL,
  `delete_it` int(2) NOT NULL default '1',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
 
Back
Top