Tudo que Fir3element postou
-
Alguem Ajuda quero monta um server 8.6
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: Aprendizagem OTServ > OTServ > Começando seu Servidor Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
-
Quero uma uma base de tibia ou algo que contem elfos
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: Downloads OTServ > OTServ > Utilitários para OTServs Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
-
[Pedido] Vip Effect
Parece certo.
-
[Pedido] Vip Effect
Porque o VIP no script ta configurado como premium. Você tem que mudar o isPremium para a função que checa VIP no seu otserver. if isPlayer(cid) and isPremium(cid) then
-
Configurar exhausted
É na source, remova essa linha em player.cpp addExhaust(ticks, EXHAUST_HEALING);
-
[Pedido] Mandar msg para all apenas lideres /guildbc
local function getGuildMembers(guildName) local n = 0 local players = db.getResult("SELECT `name`, `rank_id` FROM `players` WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = " .. getGuildId(guildName) .. ");") if(players:getID() ~= -1) then repeat n = n + 1 until not players:next() players:free() return n end end function onSay(cid, words, param, channel) local storage = 123456789 local exhaust = 1 -- em segundos local players = 10 -- quantidade de players if (os.time() - getPlayerStorageValue(cid, storage)) >= exhaust then if(getGuildMembers(getPlayerGuildName(cid)) >= players) then for _, pid in ipairs(getPlayersOnline()) do if(getPlayerGuildLevel(pid) == GUILDLEVEL_LEADER) then doPlayerSendTextMessage(pid, MESSAGE_EVENT_ADVANCE, getCreatureName(cid) .. ": " .. param) end end setPlayerStorageValue(cid, storage, os.time()) else doPlayerSendCancel(cid, "Your guild need more players (min: " .. players .. ").") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) end else doPlayerSendCancel(cid, "You need to wait " .. os.time() - getPlayerStorageValue(cid, storage) .. " seconds.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) end return true end
-
Aumentar level max.
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: Aprendizagem OTServ > OTServ > Começando seu Servidor Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
-
AJUDA AREA DONATE!! +ReP
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: Programação OTServ > OTServ > Tutoriais de Programação Para: Suporte OTServ > OTServ > Suporte de Scripts
-
Problemas Look Type 10.90
function onSay(cid, words, param) local player = Player(cid) if not player:getGroup():getAccess() then return true end local lookType = tonumber(param) if not lookType then lookType = MonsterType(param) and MonsterType(param):getOutfit().lookType if not lookType then player:sendCancelMessage("A monster with that name does not exist.") return false end end if lookType >= 0 and lookType ~= 1 and lookType ~= 135 and lookType ~= 411 and lookType ~= 415 and lookType ~= 424 and (lookType <= 160 or lookType >= 192) and lookType ~= 439 and lookType ~= 440 and lookType ~= 468 and lookType ~= 469 and (lookType < 474 or lookType > 485) and lookType ~= 501 and lookType ~= 518 and lookType ~= 519 and lookType ~= 520 and lookType ~= 524 and lookType ~= 525 and lookType ~= 536 and lookType ~= 543 and lookType ~= 549 and lookType ~= 576 and lookType ~= 581 and lookType ~= 582 and lookType ~= 597 and lookType ~= 598 and lookType ~= 599 and lookType ~= 600 and lookType ~= 616 and lookType ~= 623 and lookType ~= 625 and lookType ~= 636 and lookType ~= 637 and lookType ~= 638 and lookType ~= 639 and lookType ~= 640 and lookType ~= 641 and lookType ~= 642 and lookType ~= 643 and lookType ~= 645 and lookType ~= 646 and lookType ~= 652 and lookType ~= 653 and lookType ~= 654 and lookType ~= 655 and lookType ~= 656 and lookType ~= 657 and lookType ~= 658 and lookType ~= 659 and lookType ~= 660 and lookType ~= 661 and lookType ~= 662 and lookType ~= 663 and lookType ~= 678 and lookType ~= 700 and lookType <= 701 then local playerOutfit = player:getOutfit() playerOutfit.lookType = lookType player:setOutfit(playerOutfit) else player:sendCancelMessage("A look type with that id does not exist.") end return false end
- Sistema de Envenenamento(DISPONDO/AJUDA)
-
oT server 10.82 ou 8.60 com sistema de resete onde axar
http://www.tibiaking.com/forum/topic/55227-talkaction-sistema-de-reset-com-stages-sem-logout/
-
[Ajuda] errozinho básico :P
Quando você clica no monstro e sai arrastando pelo mapa (o certo é colocar um por um) ele dá um bug no Spawntime, é só trocar para 60s nas properties do monstro.
-
Guild - 8.54 - Poketibia
Isso é bug no comando !disband Se quiser o fix: http://www.tibiaking.com/forum/topic/33395-tfs-04-cast/?do=findComment&comment=380399 -- 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 > Sistemas e MODs Para: Suporte OTServ > OTServ > Suporte de Programação
-
outras formas de online
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: Aprendizagem OTServ > OTServ > Começando seu Servidor Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
-
[GESIOR] 0.3.8 modificado por Sekk
Scan corrigido: https://www.virustotal.com/pt/file/fce86e78e2d12655ba85ae0eedba0f728ff342756948b90df23d6219f9a75a31/analysis/1452034737/
- [TFS 1.x] AutoLoot System
-
[MOBA] Why Not?
Interessante, mas teria que adicionar muita coisa pra não ficar enjoativo.
-
Modificações na Source
hp/mana por % protocolgame.cpp, porcura por: void ProtocolGame::AddPlayerStats(NetworkMessage_ptr msg) { msg->AddByte(0xA0); msg->AddU16(player->getHealth()); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MAXHEALTH)); msg->AddU32(uint32_t(player->getFreeCapacity() * 100)); uint64_t experience = player->getExperience(); if(experience > 0x7FFFFFFF) // client debugs after 2,147,483,647 exp msg->AddU32(0x7FFFFFFF); else msg->AddU32(experience); msg->AddU16(player->getPlayerInfo(PLAYERINFO_LEVEL)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_LEVELPERCENT)); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MANA)); msg->AddU16(player->getPlayerInfo(PLAYERINFO_MAXMANA)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_MAGICLEVEL)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_MAGICLEVELPERCENT)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_SOUL)); msg->AddU16(player->getStaminaMinutes()); } Troca por: void ProtocolGame::AddPlayerStats(NetworkMessage_ptr msg) { msg->AddByte(0xA0); if (player->getPlayerInfo(PLAYERINFO_MAXHEALTH) > 0) { msg->AddU16(uint16_t(player->getHealth() * 100 / player->getPlayerInfo(PLAYERINFO_MAXHEALTH))); msg->AddU16(100); } else { msg->AddU16(0); msg->AddU16(0); } msg->AddU32(uint32_t(player->getFreeCapacity() * 100)); uint64_t experience = player->getExperience(); if(experience > 0x7FFFFFFF) // client debugs after 2,147,483,647 exp msg->AddU32(0x7FFFFFFF); else msg->AddU32(experience); msg->AddU16(player->getPlayerInfo(PLAYERINFO_LEVEL)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_LEVELPERCENT)); if (player->getPlayerInfo(PLAYERINFO_MAXMANA) > 0) { msg->AddU16(player->getPlayerInfo(PLAYERINFO_MANA) * 100 / player->getPlayerInfo(PLAYERINFO_MAXMANA)); msg->AddU16(100); } else { msg->AddU16(0); msg->AddU16(0); } msg->AddByte(player->getPlayerInfo(PLAYERINFO_MAGICLEVEL)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_MAGICLEVELPERCENT)); msg->AddByte(player->getPlayerInfo(PLAYERINFO_SOUL)); msg->AddU16(player->getStaminaMinutes()); }
- [TFS 1.x] AutoLoot System
-
AJUDA! QUEST DE NPC Que precisa de itens e da 1 item.
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 > Actions e TalkActions Para: Suporte OTServ > OTServ > Suporte de Scripts
-
[RESOLVIDO] Error while saving player ajuda
Complementando a query do NewCore: ALTER TABLE `players` ADD `cast` TINYINT NOT NULL DEFAULT '0', ADD `castViewers` INT( 11 ) NOT NULL DEFAULT '0', ADD `castDescription` VARCHAR( 255 ) NOT NULL
- PROBLEMAS COM DAT EDITOR !!
-
[TFS 1.x] Salvar servidor ao fechar no [X]
É bem chato mas n é impossível, vou tentar aqui.
- RME em dois lugares!
- Como Transformar SQL Em S3D