Tudo que Fir3element postou
- Account manager TFS 0.4
- [RESOLVIDO] ERRO ACTIONS
-
Error Player ao morrer
Executa no mysql: CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` INT NOT NULL AUTO_INCREMENT, `guild_id` INT NOT NULL, `enemy_id` INT NOT NULL, `begin` BIGINT NOT NULL DEFAULT '0', `end` BIGINT NOT NULL DEFAULT '0', `frags` INT UNSIGNED NOT NULL DEFAULT '0', `payment` BIGINT UNSIGNED NOT NULL DEFAULT '0', `guild_kills` INT UNSIGNED NOT NULL DEFAULT '0', `enemy_kills` INT UNSIGNED NOT NULL DEFAULT '0', `status` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `status` (`status`), KEY `guild_id` (`guild_id`), KEY `enemy_id` (`enemy_id`) ) ENGINE=InnoDB; ALTER TABLE `guild_wars` ADD CONSTRAINT `guild_wars_ibfk_1` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `guild_wars_ibfk_2` FOREIGN KEY (`enemy_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE; ALTER TABLE `guilds` ADD `balance` BIGINT UNSIGNED NOT NULL AFTER `motd`; CREATE TABLE IF NOT EXISTS `guild_kills` ( `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY, `guild_id` INT NOT NULL, `war_id` INT NOT NULL, `death_id` INT NOT NULL ) ENGINE = InnoDB; ALTER TABLE `guild_kills` ADD CONSTRAINT `guild_kills_ibfk_1` FOREIGN KEY (`war_id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `guild_kills_ibfk_2` FOREIGN KEY (`death_id`) REFERENCES `player_deaths` (`id`) ON DELETE CASCADE, ADD CONSTRAINT `guild_kills_ibfk_3` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE; ALTER TABLE `killers` ADD `war` INT NOT NULL DEFAULT 0;
-
weaponType Fist para os novos TFS
items.cpp, logo abaixo de: } else if (tmpStrValue == "ammunition") { it.weaponType = WEAPON_AMMO; Adicione: } else if(tmpStrValue == "fist") { it.weaponType = WEAPON_FIST; const.h, logo abaixo de: WEAPON_AMMO, Adicione: WEAPON_FIST, player.cpp, logo abaixo de: case WEAPON_DISTANCE: { attackSkill = getSkillLevel(SKILL_DISTANCE); break; } Adicione: case WEAPON_FIST: { attackSkill = getSkillLevel(SKILL_FIST); break; } tools.cpp, logo abaixo de: {"wand", WEAPON_WAND}, Adicione: {"fist", WEAPON_fist}, ainda em tools.cpp, logo abaixo de: case WEAPON_AMMO: return "ammunition"; Adicione: case WEAPON_FIST: return "fist"; spells.cpp, logo abaixo de: case WEAPON_AXE: Adicione: case WEAPON_FIST: luascript.cpp, logo abaixo de: registerEnum(WEAPON_AMMO) Adicione: registerEnum(WEAPON_FIST)
-
Bug RME Bixo poketibia
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: OTServ > Notícias e OTServ Geral Para: Suporte OTServ > OTServ > Suporte de Mapping
- Erro com o site
-
Comando utilizado apenas em um certo tile
sim, daria
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
realmente tá assim mesmo, vou dar olhada e ver o q posso fazer
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
substitui seu arquivo e compila no dev-cpp
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
tenta esse: http://hastebin.com/raw/ugafopihuw
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
coloca seu player.cpp no anexo
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
testei aqui e parece que funcionou player.cpp, substitui sua função por essa: Skulls_t Player::getSkullType(const Creature* creature) const { if(const Player* player = creature->getPlayer()) { if(g_game.getWorldType() != WORLDTYPE_OPEN) return SKULL_NONE; if((player == this || (player->getSkull() != SKULL_NONE && player->getSkull() < SKULL_RED)) && player->hasAttacked(this) && !player->isEnemy(this, false)) return SKULL_YELLOW; if(player->getSkull() == SKULL_NONE && (isPartner(player) || isAlly(player)) && g_game.getWorldType() != WORLDTYPE_OPTIONAL) return SKULL_GREEN; } return Creature::getSkullType(creature); }
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
https://github.com/DSpeichert/tfs/commit/53db5cbefb2272640bb71acd27cbb1a814f16f3c não sei se vai funcionar fazendo apenas isso, vou tentar aqui pq to precisando tbm qualquer coisa se conseguir posto aqui!
-
[AJUDA BUG DA HP]
Como você tirou? 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: OTServ > Notícias e OTServ Geral Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
- Update tfs 1.0 para tfs 1.2
- Configurando ot 10.90
-
Duvida em usar host
windows n é ruim, o problema é que pra ots 8.6 vc tem que usar o server 2003 (muitas empresas n usam mais) fora a licença q é uma facada por custo x benefício linux ganha com 150$ vc n vai ter um dedicado bom com windows n sim tem que instalar apache, mysql e php (ou algo parecido)
-
Update tfs 1.0 para tfs 1.2
única diferença nos scripts que lembro é essa aqui tfs 1.0 function onUse(cid, item, fromPosition, target, toPosition, isHotkey) local player = Player(cid) player:sendTextMessage(MESSAGE_STATUS_SMALL, "msg.") end tfs 1.2 function onUse(player, item, fromPosition, target, toPosition, isHotkey) player:sendTextMessage(MESSAGE_STATUS_SMALL, "msg.") end
-
Erro TFS 0.4 REV
sim, é algum script pode ser erro em algum .xml, .lua n acontece isso geralmente
- Otserver com "Lag"
-
Como eu reseto o meu mini-mapa?
C:\users\name\minimap.otmm aqui eu achei
-
(Resolvido)Bug ataque player x player de Skull passa para Yellow
bug antigo, demoraram mt tempo pra arrumar aqueles otx já ta fixado, dá uma olhada no code dps
-
Comando utilizado apenas em um certo tile
function onSay(cid, words, param, channel) local config = { {pos = {x = 1000, y = 1000, z = 7}, itemId = 4597, count = 1, money = 100000}, } for k, v in pairs(config) do if getCreaturePosition == v.pos then if doPlayerRemoveMoney(cid, v.money) doPlayerAddItem(cid, v.itemId, v.count) doPlayerSendTextMessage(cid, "You have bought " .. getItemIdArticle(v.itemId) .. " " .. getItemName(v.itemId) .. ".") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_RED) else doPlayerSendCancel(cid, "You need " .. v.money .. "gps.") end end end return true end
- como liberar o pvp
- OTX SERVER 3.1 [8.60]