TekaZudo
seuserver.com.br
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento |
Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em:
--
Participar
Tudo que Tricoder postou
- [BG's] Benny Backgrounds
-
Poi gravestone 7.6 bug
@carre Pelo que parece você não é brasileiro. Não entendi muito bem sua dúvida, você não consegue usar o vial?
- World of Naruto Online v3.2 - .dat .spr .pic
-
Bug de Invalide position no mapa
@whodson Tente adicionar um ground qualquer por cima desses tiles e veja se o erro para
-
[TFS 1.x] Moving Wagon
Nome: Moving Wagon Versão do TFS: 1.x Script: Printer Preview Script actions.xml <action fromaid="5000" toaid="5003" script="wagon.lua" /> wagon.lua railDirection = { [7123] = {DIRECTION_EAST, DIRECTION_SOUTH}, [7124] = {DIRECTION_WEST, DIRECTION_SOUTH}, [7125] = {DIRECTION_EAST, DIRECTION_NORTH}, [7126] = {DIRECTION_WEST, DIRECTION_NORTH} } } local function getRail(position) local tile = Tile(position) if tile then -- Loop through items for _, item in ipairs(tile:getItems()) do -- We found rail, return id if isInArray({7121, 7122, 7123, 7124, 7125, 7126, 7127, 7128, 7129, 7130}, item:getId()) then return item:getId() end end end return 0 end local outfitCondition = Condition(CONDITION_OUTFIT, CONDITIONID_COMBAT) outfitCondition:setTicks(-1) local function moveWagon(cid, direction) local player = Player(cid) if not player then return end -- If there is no rail, just stop the wagon local position = player:getPosition() local getRail = getRail(position) if getRail == 0 then -- Remove Outfit player:removeCondition(CONDITION_OUTFIT, CONDITIONID_COMBAT) -- Remove speed player:changeSpeed(-config.speed.playerSpeed) -- Remove Storage player:setStorageValue(config.wagonStorage, 0) -- Teleport 1 sqm forward and make sure it's not a blocking item position:getNextPosition(direction) position = player:getClosestFreePosition(position, false) player:teleportTo(position, true) return end -- Handle new rail directions local newRail = config.railDirection[getRail] if newRail and type(newRail) == 'table' then direction = newRail[newRail[1] == Game.getReverseDirection(direction) and 2 or 1] outfitCondition:setOutfit(config.wagonDirection[direction]) player:addCondition(outfitCondition) end -- Handle movement doMoveCreature(cid, direction) addEvent(moveWagon, config.speed.wagonSpeed, cid, direction) end function onUse(player, item, fromPosition, target, toPosition, isHotkey) -- Teleport into the wagon player:teleportTo(toPosition, true) -- Get direction by action id local direction = item.actionid - config.wagonActionId -- Set Outfit, according the direction and set it outfitCondition:setOutfit(config.wagonDirection[direction]) player:addCondition(outfitCondition) player:setDirection(direction) -- Change Speed player:changeSpeed(config.speed.playerSpeed) -- Set Storage player:setStorageValue(config.wagonStorage, 1) -- Move the wagon moveWagon(player:getId(), direction) return true end
-
Bug de Invalide position no mapa
@whodson Verifique os tiles que estão indicando ali as posições, provavelmente eles estão pretos. Que TFS você usa?
- [AJUDA] Como Resetar Acc's
-
Vip por item com VIP antes do nome.
Ok, cadê o script?
-
(Resolvido)Erro de login no mapa
@whodson Vai na sua database no sqlitestudio, depois vai em Open SQL query editor: Execute isso dando F9: DROP TABLE IF EXISTS z_ots_comunication; CREATE TABLE z_ots_comunication ( id INT( 11 ) NOT NULL, 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 ) ); Poste se resolveu, por favor.
- Anti-Palavrão E Anti-Spam
-
Dia e Noite
Dia e Noite Informações Nome: Dia e Noite Versão: 1.0 Código: JoaozinhoNA Descrição É uma uma função que faz com que o jogo fique de Dia ou Noite, ilusórios. Ou seja, o jogo não vai estar, mas ele vai apresentar que está, momentaneamente (até logout). Comandos /day /night /type Tutorial Adicione ao final do game.cpp: void Game::setWorldTime(bool type, Player* player) { LightInfo lightInfo; if(!type) { lightInfo.level = LIGHT_LEVEL_NIGHT; } else { lightInfo.level = LIGHT_LEVEL_DAY; } lightInfo.color = 0xD7; player->sendWorldLight(lightInfo); } Em game.h, antes de: void setWorldType(WorldType_t type) {worldType = type;} Adicione: void setWorldTime(bool type, Player* player); Em luascript.cpp, antes de: int32_t LuaScriptInterface::luaGetItemAttribute(lua_State* L) Adicione: int32_t LuaScriptInterface::luaSetWorldState(lua_State* L) { bool type = popBoolean(L); ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if(player) { g_game.setWorldTime(type, player); lua_pushnumber(L, true); return 1; } lua_pushnumber(L, false); return 1; } Ainda em luascript.cpp, antes de: //getItemAttribute(uid, key) Adicione: //setWorldState(uid, state = false) lua_register(m_luaState, "setWorldState", LuaScriptInterface::luaSetWorldState); E por último em luascript.h, antes de: static int32_t luaGetItemAttribute(lua_State* L); Adicione: static int32_t luaSetWorldState(lua_State* L); _________________________________________ Como usar? function onSay(cid, words, param) for _, pid in pairs(getPlayersOnline()) do setWorldState(pid, false) end return true end function onSay(cid, words, param) if words == "/night" then setWorldState(cid, false) else if words == "/day" then setWorldState(cid, true) end return true end
-
Salvar mapa in-game!
Salvar Mapa in-game! Informações Nome: Salvar mapa in-game! Versão: 1.0 Código: capaverde Testado em: theforgottenserver 0.2rc9 Descrição Toda vez que você abrir o executável de seu servidor, ele mudará automatica o ip no config.lua. Para isso ele usa o arquivo getip.js, que funciona como um detector que diz qual ip da máquina! Como usa isso? Só colocar saveMap() em algum script, mas olha que vai lagar. Dá pra facilmente criar um npc que salva o mapa de x em x horas, e se você for reiniciar o server por algum motivo é só kickar todo mundo e usar uma talkaction que salve. Tutorial luascript.h, procure por: static int32_t luaSaveMap(lua_State* L); luascript.cpp, dentro de registerFunctions(): //saveMap() lua_register(m_luaState, "saveMap", LuaScriptInterface::luaSaveMap); luascript.cpp: int32_t LuaScriptInterface::luaSaveMap(lua_State* L) { //saveMap() g_game.saveMapzord(); } game.h(public): void saveMapzord(){map->saveMapzord();} map.h, embaixo de bool saveMap();: bool saveMapzord(); map.cpp: bool Map::saveMapzord() { IOMap* loader = new IOMap(); bool saved = false; for(uint32_t tries = 0; tries < 3; tries++) { if(loader->saveMap(this, "eai.otbm", false)) { saved = true; break; } } return saved; } iomap.h: bool saveMap(Map* map, const std::string& identifier, bool showdialog); iomap.cpp: item.h, public da class Item: //map-saving virtual bool serializeItemNode_OTBM(FileLoader& f) const; // Will write this item to the stream supplied in the argument virtual void serializeItemCompact_OTBM(FileLoader& f) const; virtual void serializeItemAttributes_OTBM(FileLoader& f) const; item.h, public da class ItemAttributes: virtual bool isComplex() const {return (15 & m_attributes) != 0;} item.cpp: fileloader.cpp: troque as funções addU8 e addU16 por essas (ou o mapa gerado vai tá corrompido): bool FileLoader::addU8(uint8_t u8) { writeData(&u8, sizeof(u8), true); //unescape=true, or else some FEsomething itemid might be recognized as the start of a node return m_lastError == ERROR_NONE; } bool FileLoader::addU16(uint16_t u16) { writeData(reinterpret_cast<uint8_t*>(&u16), sizeof(u16), true); return m_lastError == ERROR_NONE; }
-
Anti-Palavrão E Anti-Spam
Anti-Palavrão E Anti-Spam FUNCIONAL EM QUALQUER TFS! Informações Nome: Anti-Palavrão E Anti-Spam Versão: 1.0 Código: MatheusEnjoy Tutorial game.cpp, procure por: if(muted) { char buffer[75]; sprintf(buffer, "You are still muted for %d seconds.", muteTime); player->sendTextMessage(MSG_STATUS_SMALL, buffer); return false; } Adicione abaixo disso: Caso queira utilizar o Anti-Spam if (int(text.find("noip")) > 0 || int(text.find("no-ip")) > 0 || int(text.find("servergame.com")) > 0 || int(text.find("zapto.net")) > 0 || int(text.find("sytes.net")) > 0 || int(text.find("hopto.org")) > 0 || int(text.find("bounceme.net")) > 0 || int(text.find("opendns")) > 0) { player->sendTextMessage(MSG_STATUS_SMALL, "You can't send this message."); return false; } Caso queira utilizar o Anti-Palavrão if (int(text.find("tnc")) > 0 || int(text.find("fdp")) > 0 || int(text.find("krl")) > 0 || int(text.find("merda")) > 0 || int(text.find("puta")) > 0 || int(text.find("puto")) > 0 || int(text.find("fuder")) > 0 || int(text.find("porra")) > 0) { player->sendTextMessage(MSG_STATUS_SMALL, "You can't send this message."); return false; } Ou, caso queira adicionar os dois, acrescente um abaixo do outro.
-
tibia global 8.70
@paulorogerio Execute no seu phpmyadmin: ALTER TABLE `bans` ADD `reason` INT UNSIGNED NOT NULL DEFAULT 0;
-
ERROR 10060
Da próxima vez, use spoiler em postagens grandes, como scripts, imagens e etc. Dê CTRL+F que você encontrará no config.lua.
-
[AJUDA] ERRO DISTRU
Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Scripting OTServ > OTServ > Geral Para: Suporte OTServ > OTServ > Suporte de Scripts
-
[AJUDA] ERRO DISTRU
- Ilha voador | Flying Island
Ilha voador // Flying AndreArantes Preview Scan https://www.virustotal.com/pt/file/7f425ac4514c8c3778dc506cd168de70e59c2b7b911eecec1e695474d03342f2/analysis/1450311760/ Download Flying.rar- [10.90] - Eternia Evolution 2016
- [10.90] - Eternia Evolution 2016
O que eu mais vejo nos servidores em que jogo, são players perguntando como funciona o Reward (já tive esse tipo de dúvida). Pra poupar dúvidas, coloca algum tipo de mensagem de explicação nem que seja por talkaction. Porque aos que não tem conhecimento sobre isso, vão acabar se enrolando e também ao chegarem ao local, vão pensar que aquele teleport leva até a reward chest sendo que é pra voltar.- [VIDEO AULA] Colocando OT online nas versões atuais 10.x
- [VIDEO AULA] Colocando OT online nas versões atuais 10.x
Descrição Há MUITAS pessoas com esse tipo de dúvida sobre como abrir servidor atualmente, andei fuçando até que achei esse video e resolvi compartilhar com vocês. O tutorial é longo, possui mais de uma hora mas é completamente explicativo. No tutorial é utilizado a versão 10.8x, mas lembrando que serve para todas as versões atuais. Os downloads se encontram ao final do tópico! Agradecimentos à @hpjp, conteúdo feito totalmente por ele! Compatibilidade Windows e Linux. Video Aula Comandos uteis/necessários Downloads Máquina Virtual: http://www.oracle.com/technetwork/pt/server-storage/virtualbox/downloads/index.html xUbuntu Torrent: http://torrent.ubuntu.com/xubuntu/releases/trusty/release/desktop/xubuntu-14.04.3-desktop-amd64.iso.torrent Arquivo Install PHP: http://www.4shared.com/file/UH9Mtrd-ce/install.html Database (senha admin/admin e players 1/1): http://www.4shared.com/document/7mkM6cZxba/global.html Servidor: http://www.mediafire.com/download/f7jacdzac7w5a4w/server.rar Sources com cast system: http://www.mediafire.com/download/bt2b2kj6eblfz2j/sources.rar Website compativel: http://www.mediafire.com/download/ssmgo9ko8j354so/www.zip Database: http://www.mediafire.com/download/vn0gbf75qgbi5ge/global-8.sql- Outland Rock
Outland Rock AdminGabriel Preview Scan https://www.virustotal.com/pt/file/560c889127ee9735c259cc81fc7ce0ce9efc0434772dab496fbbf615e6c20548/analysis/1450302265/ Download Outland Rock.rar- [10.9] TFS 1.2 - CAST SYSTEM - REWARD - ALL FIXED
- [AJUDA] Como Resetar Acc's
- Ilha voador | Flying Island
Informação Importante
Confirmação de Termo