
Tudo que L3K0T postou
-
Vocation mudando após shutdown
usa alguma NPC com storage ? que de promotion se sim verifique ele, ja tive esse problema era a troca de vocação.
-
COMO EU TIRO O LEVEL DO CHAT DO MEU POKETIBIA
groups amigo! data/XML/ abra o arquivo groups.xml e deixa assim a primeira linha <?xml version="1.0" encoding="UTF-8"?> <groups> <group id="1" name="Player"/>
-
Aol Bug
verifique no seu movements.xml se aol tá lá ID: 2173 vai na sua config.lua verifique se está assim lá! removeWeaponAmmunition = true removeWeaponCharges = true removeRuneCharges = true salva e se mata pra ver
-
Lag no Server
provavelmente é sua source que está com erros, que não aparecem na distros!
-
[Saída] Adeus!!
ELF É TENSO HAHAHAHAHA, MAIS NÃO DESISTE NÃO
-
Ajuda erros na distro
1° ERRO é VIA ITEM.XML - ABRA SEU ITEM.XML PRCURA POR 1 DE CADA VEZ. fluidSource poison dscription hand weaponAction infernalarrow piercingarrow ammoAction aoveback useable weaponAction [15:41:13.722] [Warning - Items::loadFromXml] Unknown fluidSource poison [15:41:13.724] [Warning - Items::loadFromXml] Unknown key value dscription [15:41:13.729] [Warning - Items::loadFromXml] Unknown weaponType hand [15:41:13.729] [Warning - Items::loadFromXml] Unknown key value weaponAction [15:41:13.752] [Warning - Items::loadFromXml] Unknown shootType infernalarrow [15:41:13.757] [Warning - Items::loadFromXml] Unknown shootType piercingarrow [15:41:13.758] [Warning - Items::loadFromXml] Unknown ammoAction aoveback [15:41:13.761] [Warning - Items::loadFromXml] Unknown key value useable [15:41:13.769] [Warning - Items::loadFromXml] Unknown weaponType hand [15:41:13.771] [Warning - Items::loadFromXml] Unknown key value weaponAction 2° ERRO SÃO ITENS COM MESMO IDS APAGA O ID2 7688 11389 11391 11393 11395 [15:41:13.761] [Warning - Items::loadFromXml] Duplicate registered item with id 7688 [15:41:13.778] [Warning - Items::loadFromXml] Duplicate registered item with id 10615 [15:41:13.783] [Warning - Items::loadFromXml] Duplicate registered item with id 11389 [15:41:13.783] [Warning - Items::loadFromXml] Duplicate registered item with id 11390 [15:41:13.784] [Warning - Items::loadFromXml] Duplicate registered item with id 11391 [15:41:13.785] [Warning - Items::loadFromXml] Duplicate registered item with id 11392 [15:41:13.786] [Warning - Items::loadFromXml] Duplicate registered item with id 11393 [15:41:13.786] [Warning - Items::loadFromXml] Duplicate registered item with id 11394 [15:41:13.787] [Warning - Items::loadFromXml] Duplicate registered item with id 11395 3° ERRO RESPAWN COM TEMPO 0 NO MINIMO TEM QUE SER 1 SEGUNDO. BUSQUE PELO RME OS LOCAIS DOS RESPAWNS ( 01450 / 00802 / 006 ) SERIA 1450 ,802 , 6 [15:41:19.305] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00802 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.306] [Warning - Spawns::loadFromXml] Zombie ( 01450 / 00802 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.311] [Warning - Spawns::loadFromXml] Zombie ( 01462 / 00805 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.312] [Warning - Spawns::loadFromXml] Zombie ( 01462 / 00805 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.313] [Warning - Spawns::loadFromXml] Zombie ( 01462 / 00805 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.314] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.317] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.319] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.320] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds. [15:41:19.322] [Warning - Spawns::loadFromXml] Zombie ( 01451 / 00818 / 006 ) spawntime cannot be less than 1 seconds. REMOVA ESSES QUE JA VAI DAR UMA GRANDE DIFERENÇA
-
Show Off Site otPokémon AMV
tenho sim! mais meu server é novo, pretendo por pra frente hehe
-
Show Off Site otPokémon AMV
obrigado, sabe quando voc~e faz as coisas com sono ? hahaha eu tava com sono
-
Show Off Site otPokémon AMV
opa, o que acham do meu novo site e do novo layout que fiz hoje ? o que precisa melhorar ? (ele é hover) Ver o site >>> VER
- Qual deve ser o maior atrativo em um server?
- Qual deve ser o maior atrativo em um server?
-
Erro na copilaçao
tente remover o {
-
Erro na copilaçao
nada!
-
Erro na copilaçao
Todos sabem que na maioria dos servidores atuais existe uma função "interna" para talkactions que deixa o jogador invisível.
-
Erro na copilaçao
pq vc não remove essa função ?
-
Erro na copilaçao
tente assim int32_t LuaScriptInterface::luaDoPlayerSetInvisible(lua_State* L) { //doPlayerSetInvisible(cid) ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if(!player) { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND)); lua_pushboolean(L, false); return 1; } SpectatorVec::iterator it; SpectatorVec list = g_game.getSpectators(player->getPosition()); Player* tmpPlayer = NULL; Condition* condition = NULL; if((condition = player->getCondition(CONDITION_GAMEMASTER, CONDITIONID_DEFAULT, GAMEMASTER_INVISIBLE))) { player->setHideHealth(false); g.game->addCreatureHealth(player); IOLoginData::getInstance()->updateOnlineStatus(player->getGUID(), true); for(AutoList<Player>::iterator pit = Player::autoList.begin(); pit != Player::autoList.end(); ++pit) { if((tmpPlayer = pit->second) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->notifyLogIn(player); } for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->sendMagicEffect(player->getPosition(), MAGIC_EFFECT_TELEPORT); } player->removeCondition(condition); g_game.internalCreatureChangeVisible(player, VISIBLE_GHOST_APPEAR); } else if((condition = Condition::createCondition(CONDITIONID_DEFAULT, CONDITION_GAMEMASTER, -1, 0, false, GAMEMASTER_INVISIBLE))) { player->addCondition(condition); player->setHideHealth(true); g.game->addCreatureHealth(player); g_game.internalCreatureChangeVisible(player, VISIBLE_GHOST_DISAPPEAR); for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->sendMagicEffect(player->getPosition(), MAGIC_EFFECT_POFF); } for(AutoList<Player>::iterator pit = Player::autoList.begin(); pit != Player::autoList.end(); ++pit) { if((tmpPlayer = pit->second) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->notifyLogOut(player); } IOLoginData::getInstance()->updateOnlineStatus(player->getGUID(), false); if(player->isTrading()) g_game.internalCloseTrade(player); player->clearPartyInvitations(); if(player->getParty()) player->getParty()->leave(player); } lua_pushboolean(L, true); return 1; }
-
Erro na copilaçao
Mude no Luascript.cpp de int32_t LuaInterface::luaDoPlayerSetInvisible(lua_State* L) { //doPlayerSetInvisible(cid) ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if(!player) { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND)); lua_pushboolean(L, false); return 1; } SpectatorVec::iterator it; SpectatorVec list = g_game.getSpectators(player->getPosition()); Player* tmpPlayer = NULL; Condition* condition = NULL; if((condition = player->getCondition(CONDITION_GAMEMASTER, CONDITIONID_DEFAULT, GAMEMASTER_INVISIBLE))) { player->setHideHealth(false); g.game->addCreatureHealth(player); IOLoginData::getInstance()->updateOnlineStatus(player->getGUID(), true); for(AutoList<Player>::iterator pit = Player::autoList.begin(); pit != Player::autoList.end(); ++pit) { if((tmpPlayer = pit->second) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->notifyLogIn(player); } for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->sendMagicEffect(player->getPosition(), MAGIC_EFFECT_TELEPORT); } player->removeCondition(condition); g_game.internalCreatureChangeVisible(player, VISIBLE_GHOST_APPEAR); } else if((condition = Condition::createCondition(CONDITIONID_DEFAULT, CONDITION_GAMEMASTER, -1, 0, false, GAMEMASTER_INVISIBLE))) { player->addCondition(condition); player->setHideHealth(true); g.game->addCreatureHealth(player); g_game.internalCreatureChangeVisible(player, VISIBLE_GHOST_DISAPPEAR); for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->sendMagicEffect(player->getPosition(), MAGIC_EFFECT_POFF); } for(AutoList<Player>::iterator pit = Player::autoList.begin(); pit != Player::autoList.end(); ++pit) { if((tmpPlayer = pit->second) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->notifyLogOut(player); } IOLoginData::getInstance()->updateOnlineStatus(player->getGUID(), false); if(player->isTrading()) g_game.internalCloseTrade(player); player->clearPartyInvitations(); if(player->getParty()) player->getParty()->leave(player); } lua_pushboolean(L, true); return 1; } para int32_t LuaInterface::luaDoPlayerSetInvisible(lua_State* L) { //doPlayerSetInvisible(cid) ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if(!player) { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND)); lua_pushboolean(L, false); return 1; } SpectatorVec::iterator it; SpectatorVec list = g_game.getSpectators(player->getPosition()); Player* tmpPlayer = NULL; Condition* condition = NULL; if((condition = player->getCondition(CONDITION_GAMEMASTER, CONDITIONID_DEFAULT, GAMEMASTER_INVISIBLE))) { player->setHideHealth(false); g.game->addCreatureHealth(player); IOLoginData::getInstance()->updateOnlineStatus(player->getGUID(), true); for(AutoList<Player>::iterator pit = Player::autoList.begin(); pit != Player::autoList.end(); ++pit) { if((tmpPlayer = pit->second) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->notifyLogIn(player); } for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->sendMagicEffect(player->getPosition(), MAGIC_EFFECT_TELEPORT); } player->removeCondition(condition); g_game.internalCreatureChangeVisible(player, VISIBLE_GHOST_APPEAR); } else if((condition = Condition::createCondition(CONDITIONID_DEFAULT, CONDITION_GAMEMASTER, -1, 0, false, GAMEMASTER_INVISIBLE))) { player->addCondition(condition); player->setHideHealth(true); g.game->addCreatureHealth(player); g_game.internalCreatureChangeVisible(player, VISIBLE_GHOST_DISAPPEAR); for(it = list.begin(); it != list.end(); ++it) { if((tmpPlayer = (*it)->getPlayer()) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->sendMagicEffect(player->getPosition(), MAGIC_EFFECT_POFF); } for(AutoList<Player>::iterator pit = Player::autoList.begin(); pit != Player::autoList.end(); ++pit) { if((tmpPlayer = pit->second) && !tmpPlayer->canSeeCreature(player)) tmpPlayer->notifyLogOut(player); } IOLoginData::getInstance()->updateOnlineStatus(player->getGUID(), false); if(player->isTrading()) g_game.internalCloseTrade(player); player->clearPartyInvitations(); if(player->getParty()) player->getParty()->leave(player); } lua_pushboolean(L, true); return 1; } ache assim a linha fica mais fácil \/ int32_t LuaInterface::luaDoPlayerSetInvisible(lua_State* L)
-
Erro na copilaçao
dev-cpp apaga tudo da pasta obj e recompila! ver se para esse erro
-
Erro na copilaçao
mude lua_register(m_luaState, "doPlayerSetSkillLevel", LuaScriptInterface::luaDoPlayerSetSkillLevel); para lua_register(m_luaState, "doPlayerSetSkillLevel", LuaInterface::luaDoPlayerSetSkillLevel);
-
Configurar Save server
não entendi, explique melhor!
-
Erro na copilaçao
me manda essa linha vermelha ai
-
[AJUDA] Delay ao subir escada
stairhopDelay = 1 * 1000
- Erro Phpmyadmin
-
Auto saved quando otserv cai
problema de bug quando cair, você é de resolver eles. Agora pra salvar tem um scripts lá em globalevents.xml escrito SAVE ele já faz a parte de salva é só configurar o tempo para salvar. <globalevent name="save" interval="5000" event="script" value="save.lua"/> local config = { broadcast = {120, 30}, shallow = "no", delay = 120, events = 30 } config.shallow = getBooleanFromString(config.shallow) local function executeSave(seconds) if(isInArray(config.broadcast, seconds)) then local text = "" if(not config.shallow) then text = "" else text = "" end text = text .. "[AUTO] Salve Server" .. seconds .. "Segundos!" doBroadcastMessage(text) end if(seconds > 0) then addEvent(executeSave, config.events * 1000, seconds - config.events) else doSaveServer(config.shallow) end end function onThink(interval, lastExecution, thinkInterval) if(table.maxn(config.broadcast) == 0) then doSaveServer(config.shallow) else executeSave(config.delay) end return true end
-
Source Poketibia - Códigos de derrubar
sim!