Ir para conteúdo
  • Cadastre-se
  1. Matheus Reis

    Matheus Reis

  2. SomeBody

    SomeBody

  3. BeluciGamer

    BeluciGamer

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por dbko
      Alguem poderia fazer uma script pra mim de food qe certo food healaria ex 10% do hp?
    • Por Lokozoido
      Olá,estou com 1 problema muito sério!
      tenho 1 servidor de poketibia e os players uzam bot,e como são muitos players,fica foda de dar goto em cada 1 pra ve se tá de BOT ou não
      então eu queria criar 1 client Anti Bot(não da pra abrir nenhum bot no client)

    • Por Deemolidor
      Estava criando uma hunt nova, e ao colocar meus pokemos percebi que eles não estavam causando dano algum.
       
      Eu ja adicionei eles no configuration.lua, tanto na parte de " movestable " quanto também no " pokes " onde fica as estatisticas de cada pokemon e mesmo assim não funcionou

    • Por franckle
      Ola boa noite , eu estou tentando compilar o servidor que o absolute postou ontem em 64bits, para windows... ja tentei no visual studio 2015 e no 2013 , e mesmo assim continua os seguintes logs de erros ... alguém poderia me ajudar? por favor...
      se alguém puder compilar pra mim em windows ficarei muito grato ... 64 bits... 

      Segue abaixo o log de erros:

      Error    1    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendSkills(void)" (?sendSkills@ProtocolGameBase@@IEAAXXZ) referenced in function "public: void __cdecl Player::sendSkills(void)const " (?sendSkills@Player@@QEBAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\condition.obj    theforgottenserver
      Error    2    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendSkills(void)" (?sendSkills@ProtocolGameBase@@IEAAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\movement.obj    theforgottenserver
      Error    3    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendSkills(void)" (?sendSkills@ProtocolGameBase@@IEAAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    4    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendCancelWalk(void)" (?sendCancelWalk@ProtocolGameBase@@IEAAXXZ) referenced in function "public: void __cdecl Player::sendCancelWalk(void)const " (?sendCancelWalk@Player@@QEBAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\creature.obj    theforgottenserver
      Error    5    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendCancelWalk(void)" (?sendCancelWalk@ProtocolGameBase@@IEAAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    6    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendContainer(unsigned char,class Container const *,bool,unsigned short)" (?sendContainer@ProtocolGameBase@@IEAAXEPEBVContainer@@_NG@Z) referenced in function "public: void __cdecl Player::sendContainer(unsigned char,class Container const *,bool,unsigned short)" (?sendContainer@Player@@QEAAXEPEBVContainer@@_NG@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    7    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendContainer(unsigned char,class Container const *,bool,unsigned short)" (?sendContainer@ProtocolGameBase@@IEAAXEPEBVContainer@@_NG@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    8    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendChannel(unsigned short,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::map<unsigned int,class Player *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class Player *> > > const *,class std::map<unsigned int,class Player const *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class Player const *> > > const *)" (?sendChannel@ProtocolGameBase@@IEAAXGAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBV?$map@IPEAVPlayer@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIPEAVPlayer@@@std@@@3@@3@PEBV?$map@IPEBVPlayer@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIPEBVPlayer@@@std@@@3@@3@@Z) referenced in function "public: void __cdecl Player::sendChannel(unsigned short,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::map<unsigned int,class Player *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class Player *> > > const *,class std::map<unsigned int,class Player const *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class Player const *> > > const *)" (?sendChannel@Player@@QEAAXGAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBV?$map@IPEAVPlayer@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIPEAVPlayer@@@std@@@3@@3@PEBV?$map@IPEBVPlayer@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIPEBVPlayer@@@std@@@3@@3@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    9    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendChannel(unsigned short,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::map<unsigned int,class Player *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class Player *> > > const *,class std::map<unsigned int,class Player const *,struct std::less<unsigned int>,class std::allocator<struct std::pair<unsigned int const ,class Player const *> > > const *)" (?sendChannel@ProtocolGameBase@@IEAAXGAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBV?$map@IPEAVPlayer@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIPEAVPlayer@@@std@@@3@@3@PEBV?$map@IPEBVPlayer@@U?$less@I@std@@V?$allocator@U?$pair@$$CBIPEBVPlayer@@@std@@@3@@3@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    10    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendAddCreature(class Creature const *,struct Position const &,int,bool)" (?sendAddCreature@ProtocolGameBase@@IEAAXPEBVCreature@@AEBUPosition@@H_N@Z) referenced in function "public: void __cdecl Player::sendCreatureAppear(class Creature const *,struct Position const &,bool)" (?sendCreatureAppear@Player@@QEAAXPEBVCreature@@AEBUPosition@@_N@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    11    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendAddCreature(class Creature const *,struct Position const &,int,bool)" (?sendAddCreature@ProtocolGameBase@@IEAAXPEBVCreature@@AEBUPosition@@H_N@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\luascript.obj    theforgottenserver
      Error    12    error LNK2001: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendAddCreature(class Creature const *,struct Position const &,int,bool)" (?sendAddCreature@ProtocolGameBase@@IEAAXPEBVCreature@@AEBUPosition@@H_N@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    13    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendMagicEffect(struct Position const &,unsigned char)" (?sendMagicEffect@ProtocolGameBase@@IEAAXAEBUPosition@@E@Z) referenced in function "public: void __cdecl Player::sendMagicEffect(struct Position const &,unsigned char)const " (?sendMagicEffect@Player@@QEBAXAEBUPosition@@E@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    14    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendCreatureLight(class Creature const *)" (?sendCreatureLight@ProtocolGameBase@@IEAAXPEBVCreature@@@Z) referenced in function "public: void __cdecl Player::sendCreatureLight(class Creature const *)" (?sendCreatureLight@Player@@QEAAXPEBVCreature@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    15    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendWorldLight(struct LightInfo const &)" (?sendWorldLight@ProtocolGameBase@@IEAAXAEBULightInfo@@@Z) referenced in function "public: void __cdecl Player::sendWorldLight(struct LightInfo const &)" (?sendWorldLight@Player@@QEAAXAEBULightInfo@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    16    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendPingBack(void)" (?sendPingBack@ProtocolGameBase@@IEAAXXZ) referenced in function "public: void __cdecl Player::sendPingBack(void)const " (?sendPingBack@Player@@QEBAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\game.obj    theforgottenserver
      Error    17    error LNK2001: unresolved external symbol "protected: virtual void __cdecl ProtocolGameBase::onConnect(void)" (?onConnect@ProtocolGameBase@@MEAAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\otserv.obj    theforgottenserver
      Error    18    error LNK2019: unresolved external symbol "public: __cdecl ProtocolSpectator::ProtocolSpectator(class std::shared_ptr<class Connection>)" (??0ProtocolSpectator@@QEAA@V?$shared_ptr@VConnection@@@std@@@Z) referenced in function "public: __cdecl std::_Ref_count_obj<class ProtocolSpectator>::_Ref_count_obj<class ProtocolSpectator><class std::shared_ptr<class Connection> const &>(class std::shared_ptr<class Connection> const &)" (??$?0AEBV?$shared_ptr@VConnection@@@std@@@?$_Ref_count_obj@VProtocolSpectator@@@std@@QEAA@AEBV?$shared_ptr@VConnection@@@1@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\otserv.obj    theforgottenserver
      Error    19    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendStats(void)" (?sendStats@ProtocolGameBase@@IEAAXXZ) referenced in function "public: void __cdecl Player::sendStats(void)" (?sendStats@Player@@QEAAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    20    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendBasicData(void)" (?sendBasicData@ProtocolGameBase@@IEAAXXZ) referenced in function "public: void __cdecl Player::sendBasicData(void)const " (?sendBasicData@Player@@QEBAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    21    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendInventoryItem(enum slots_t,class Item const *)" (?sendInventoryItem@ProtocolGameBase@@IEAAXW4slots_t@@PEBVItem@@@Z) referenced in function "public: void __cdecl Player::sendInventoryItem(enum slots_t,class Item const *)" (?sendInventoryItem@Player@@QEAAXW4slots_t@@PEBVItem@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    22    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendVIP(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,bool,enum VipStatus_t)" (?sendVIP@ProtocolGameBase@@IEAAXIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0I_NW4VipStatus_t@@@Z) referenced in function "public: bool __cdecl Player::addVIP(unsigned int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum VipStatus_t)" (?addVIP@Player@@QEAA_NIAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4VipStatus_t@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    23    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendPing(void)" (?sendPing@ProtocolGameBase@@IEAAXXZ) referenced in function "public: void __cdecl Player::sendPing(void)" (?sendPing@Player@@QEAAXXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    24    error LNK2019: unresolved external symbol "protected: bool __cdecl ProtocolGameBase::canSee(struct Position const &)const " (?canSee@ProtocolGameBase@@IEBA_NAEBUPosition@@@Z) referenced in function "public: virtual bool __cdecl Player::canSee(struct Position const &)const " (?canSee@Player@@UEBA_NAEBUPosition@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\player.obj    theforgottenserver
      Error    25    error LNK2001: unresolved external symbol "protected: bool __cdecl ProtocolGameBase::canSee(struct Position const &)const " (?canSee@ProtocolGameBase@@IEBA_NAEBUPosition@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    26    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::AddOutfit(class NetworkMessage &,struct Outfit_t const &)" (?AddOutfit@ProtocolGameBase@@IEAAXAEAVNetworkMessage@@AEBUOutfit_t@@@Z) referenced in function "private: void __cdecl ProtocolGame::sendCreatureOutfit(class Creature const *,struct Outfit_t const &)" (?sendCreatureOutfit@ProtocolGame@@AEAAXPEBVCreature@@AEBUOutfit_t@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    27    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::GetFloorDescription(class NetworkMessage &,int,int,int,int,int,int,int &)" (?GetFloorDescription@ProtocolGameBase@@IEAAXAEAVNetworkMessage@@HHHHHHAEAH@Z) referenced in function "private: void __cdecl ProtocolGame::MoveUpCreature(class NetworkMessage &,class Creature const *,struct Position const &,struct Position const &)" (?MoveUpCreature@ProtocolGame@@AEAAXAEAVNetworkMessage@@PEBVCreature@@AEBUPosition@@2@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    28    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::GetMapDescription(int,int,int,int,int,class NetworkMessage &)" (?GetMapDescription@ProtocolGameBase@@IEAAXHHHHHAEAVNetworkMessage@@@Z) referenced in function "private: void __cdecl ProtocolGame::sendMoveCreature(class Creature const *,struct Position const &,int,struct Position const &,int,bool)" (?sendMoveCreature@ProtocolGame@@AEAAXPEBVCreature@@AEBUPosition@@H1H_N@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    29    error LNK2019: unresolved external symbol "protected: static void __cdecl ProtocolGameBase::RemoveTileThing(class NetworkMessage &,struct Position const &,unsigned int)" (?RemoveTileThing@ProtocolGameBase@@KAXAEAVNetworkMessage@@AEBUPosition@@I@Z) referenced in function "private: void __cdecl ProtocolGame::sendRemoveTileThing(struct Position const &,unsigned int)" (?sendRemoveTileThing@ProtocolGame@@AEAAXAEBUPosition@@I@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    30    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendMapDescription(struct Position const &)" (?sendMapDescription@ProtocolGameBase@@IEAAXAEBUPosition@@@Z) referenced in function "private: void __cdecl ProtocolGame::sendMoveCreature(class Creature const *,struct Position const &,int,struct Position const &,int,bool)" (?sendMoveCreature@ProtocolGame@@AEAAXPEBVCreature@@AEBUPosition@@H1H_N@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    31    error LNK2019: unresolved external symbol "protected: bool __cdecl ProtocolGameBase::canSee(class Creature const *)const " (?canSee@ProtocolGameBase@@IEBA_NPEBVCreature@@@Z) referenced in function "private: void __cdecl ProtocolGame::sendCreatureTurn(class Creature const *,unsigned int)" (?sendCreatureTurn@ProtocolGame@@AEAAXPEBVCreature@@I@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    32    error LNK2019: unresolved external symbol "public: void __cdecl ProtocolSpectator::onLiveCastStop(void)" (?onLiveCastStop@ProtocolSpectator@@QEAAXXZ) referenced in function "public: bool __cdecl ProtocolGame::stopLiveCast(void)" (?stopLiveCast@ProtocolGame@@QEAA_NXZ)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\protocolgame.obj    theforgottenserver
      Error    33    error LNK2019: unresolved external symbol "protected: void __cdecl ProtocolGameBase::sendUpdateTile(class Tile const *,struct Position const &)" (?sendUpdateTile@ProtocolGameBase@@IEAAXPEBVTile@@AEBUPosition@@@Z) referenced in function "public: void __cdecl Player::sendUpdateTile(class Tile const *,struct Position const &)" (?sendUpdateTile@Player@@QEAAXPEBVTile@@AEBUPosition@@@Z)    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\tile.obj    theforgottenserver
      Error    34    error LNK1120: 25 unresolved externals    C:\Users\FrAnCkLe\Desktop\G[10.91] Absolute & Ciroc [FREE VERSION]\theforgottenserver 10.90-1 equiphotkey full\vc12\x64\Debug\theforgottenserver.exe    1    1    theforgottenserver
       
       
       
       
      Obrigado ~~
      Att~~
    • Por DeathRocks
      Bom Pessoal,
       
      Estou com Este Erro na Minha Distro...
      E Queria Que vcs Conseguise Arrumar
      E Uso OTX 8.60
      Ficaria Muito Grato e Sempre Valendo +REP
       
      Mensagem do Erro
      [3/12/2015 16:9:4] [Error - CreatureScript Interface] [3/12/2015 16:9:4] data/creaturescripts/scripts/fraglook.lua:onLook [3/12/2015 16:9:4] Description: [3/12/2015 16:9:4] (LuaInterface::luaGetPlayerNameByGUID) Player not found E Aqui Esta o Script
      function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } return size.day + size.week + size.month end function onLook(cid, thing, position, lookDistance) local string = 'You see yourself.' if isPlayer(thing.uid) and thing.uid ~= cid then if getPlayerPremiumDays(thing.uid) > 0 then doPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..'][VIP]') else doPlayerSetSpecialDescription(thing.uid,'[Frags: '..getPlayerFrags(thing.uid)..'][FREE]') end elseif thing.uid == cid then if getPlayerPremiumDays(cid) > 0 then doPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..'][VIP]') else doPlayerSetSpecialDescription(cid,'[Frags: '..getPlayerFrags(cid)..'][FREE]') end if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end string = string..getPlayerSpecialDescription(cid)..'' if getPlayerNameByGUID(getPlayerPartner(cid), false, false) ~= nil then string = string..' You are '.. (getPlayerSex(cid) == 0 and 'wife' or 'husband') ..' of '.. getPlayerNameByGUID(getPlayerPartner(cid)) ..'.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) return false end return true end  
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo