
Tudo que Summ postou
-
TKT - Tibiaking Tasks
É uma ideia interessante, creio eu que participaria sem problemas ...
-
Hearthstone: Heroes of Warcraft
Meus amigos jogam, eles falam que é legal até da pra passar o tempo legal jogando
-
(Resolvido)Addon system não funciona
testei aqui em tfs 0.4 e 1.0 e funcionou normal ... não aparece a mensagem "Parabéns! Você ganhou um novo outfit." nem é removido o item nada ? não acontece absolutamente nada ?
-
(Resolvido)Erro ao usar o comando !reset
Como mencionado no erro, era concatenação errada na linha 22 : db.executeQuery("UPDATE `players` SET `level` = "..t.RemainingLvl..", `experience` = "..t.exp.." WHERE `id` = "..getPlayerGUID(cid).."") /\ Modo Correto. Basta trocar
-
(Resolvido)Addon system não funciona
tag do actions... e como assim não funcionou, tu clica no item não acontece nada, nenhum erro ? posta a tag que tu adiciono no actions.XML você quer que o cara ganhe a outfit ou ADDON FULL ?
-
[AJUDA] BookBless
data/actions/scripts : bookblessing.lua function onUse(cid, item, itemEx, toPosition, fromPosition) local stg = 298741 if getTileInfo(getThingPos(cid)).protection then if getPlayerStorageValue(cid, stg) < 1 then mayNotMove(cid, true) addEvent(function(cid) if isCreature(cid) then setPlayerStorageValue(cid, stg, 1) doPlayerSendTextMessage(cid, 19, "Você será deslogado em 5 segundos ...") doRemoveCreature(cid) doPlayerRemoveItem(cid, 9002,1) end end, 1000 * 5) else return doPlayerSendCancel(cid, "You have already been blessed.") end else return doPlayerSendCancel(cid, "You need to be in protection zone") end return true end <action itemid="9002" event="script" value="bookblessing.lua"/> data/creaturescripts/scripts : bookblessing.lua function onLogin(cid) if getPlayerStorageValue(cid, 298741) > 0 then for b = 1, 5 do if not getPlayerBlessing(cid, b) then doPlayerAddBlessing(cid, b) end end end return true end <event type="login" name="BookBlessing" event="script" value="bookblessing.lua"/> Se quiser que o item não seja removido(eu recomendo que deixe assim) tira essa parte aqui "doPlayerRemoveItem()"
-
(Resolvido)Addon system não funciona
function onUse(cid, item, itemEx, toPosition, fromPosition) local table = {19000, 264, 255} local pos = getPlayerPosition(cid) if getPlayerStorageValue(cid, table[1]) < 1 then doPlayerAddOutfit(cid, table[2], 1) doPlayerAddOutfit(cid, table[3], 1) doPlayerSendTextMessage(cid, 22, "Parabéns! Você ganhou um novo outfit.") doSendMagicEffect(pos, 30) setPlayerStorageValue(cid, table[1], 1) doRemoveItem(item.uid, 1) else return doPlayerSendCancel(cid, "Você já tem esse outfit.") end return true end Se não funcionar posta a tag do XML.
-
Qual VPS escolher ?
Recomendo o debian 7 ... http://www.tibiaking.com/forum/topic/44389-linux-montando-otserver-em-debian-perfeito/< -- Nesse tópico ensina passo a passo como fazer a compilação e instalação do mysql e phpmyadmin, o tópico é sobre debian 7.5, mas funciona na versão 7.0 tb
- Addon/Mount para Shopsystem por Storage
- Addon/Mount para Shopsystem por Storage
- (Resolvido)(DUVIDA) Como colocar uma mount/addon especifica a venda
- Duvida venda de Mounts/Addons por Storages
-
Addon/Mount para Shopsystem por Storage
A pedido desse tópico eu fiz o sistema : http://www.tibiaking.com/forum/topic/49214-duvida-como-colocar-uma-mountaddon-especifica-a-venda/ Troque seu shopsystem.php por esse : shopsystem.php : Agr em data/creaturescripts/scripts crie addonmount.lua addonmount.lua function onLogin(cid) local player = Player(cid) local addons ={ --[storage] = {outfit_male, outfit_female}, [28416] = {143, 147}, -- barbarian [28417] = {134, 142}, -- warrior [28418] = {152, 156}, -- assassins [28419] = {465, 466}, -- Insectoid [28420] = {133, 141}, -- summoner [28421] = {472, 471}, -- Entrepreneur [28422] = {144, 148}, -- duid [28423] = {278, 279}, -- brotherhood [28424] = {577, 578}, -- Dream Warden [28425] = {610, 618}, -- Glooth Engineer [28426] = {130, 138}, -- mage [28427] = {634, 635}, -- Conjurer [28428] = {128, 136}, -- Citizen [28429] = {129, 137}, -- Hunter [28430] = {131, 139}, -- Kinghit [28431] = {132, 140}, -- Noblewoman [28432] = {145, 149}, -- Wizard [28433] = {146, 150}, -- Oriental [28434] = {151, 155}, -- Pirate [28435] = {153, 157}, -- Beggar [28436] = {154, 158}, -- Shaman [28437] = {251, 252}, -- Norsewoman [28438] = {268, 269}, -- Nightmare [28439] = {273, 270}, -- jester [28441] = {289, 288}, -- demonhunter [28442] = {325, 324}, -- yalaharian [28444] = {335, 336}, -- warnaster [28445] = {327, 366}, -- wayfarer [28446] = {430, 431}, -- afflicted [28447] = {432, 433}, -- elementalist [28448] = {463, 464}, -- deepling [28449] = {512, 513}, -- crystal warlord [28450] = {516, 514}, -- soil guardian [28451] = {541, 542}, -- demon [28452] = {574, 575}, -- cave explorer [28453] = {619, 620}, -- jersey [28454] = {637, 636}, -- beastmaster [28455] = {632, 633} -- champion } for storage, addon in pairs(addons) do if player:getStorageValue(storage) > 0 then player:getPosition():sendMagicEffect(CONST_ME_GIFT_WRAPS) player:addOutfitAddon(addon[1], 3) player:addOutfitAddon(addon[2], 3) player:sendTextMessage(MESSAGE_INFO_DESCR, "Seu Addon full foi adicionado!") player:setStorageValue(storage, 0) end end local mounts ={ --[storage] = mounts, [80000] = 1, -- Widow Queen [80001] = 2, -- Racing Bird [80002] = 3, -- War Bear [80003] = 4, -- Black Sheep [80004] = 5, -- Midnight Panther [80005] = 6, -- Draptor [80006] = 7, -- Titanica [80007] = 8, -- Tin Lizzard [80008] = 9, -- Blazebringer [80009] = 10, -- Rapid Boar [80010] = 11, -- Stampor [80011] = 12, -- Undead Cavebear [80012] = 13, -- Donkey [80013] = 14, -- Tiger Slug [80014] = 15, -- Uniwheel [80015] = 16, -- Crystal Wolf [80016] = 17, -- War Horse [80017] = 18, -- Kingly Deer [80018] = 19, -- Tamed Panda [80019] = 20, -- Dromedary [80020] = 21, -- King Scorpion [80021] = 22, -- Rented Horse [80022] = 23, -- Armoured War Horse [80023] = 24, -- Shadow Draptor" [80024] = 25, -- Rented Horse [80025] = 26, -- Nethersteed [80026] = 27, -- Ladybug [80027] = 28, -- Manta [80028] = 29, -- Ironblight [80029] = 30, -- Magma Crawler [80030] = 31, -- Dragonling [80031] = 32, -- Gnarlhound [80032] = 33, -- Crimson Ray [80033] = 34, -- Steelbeak [80034] = 35, -- Water Buffalo [80035] = 36, -- Tombstinger [80036] = 37, -- Platesaurian [80037] = 38, -- Ursagrodon [80038] = 39, -- The Hellgrip [80039] = 40, -- Jade Lion [80040] = 41, -- Golden Lion [80041] = 42, -- Shock Head [80042] = 43, -- Walker [80043] = 44, -- Azudocus [80044] = 45, -- Carpacosaurus [80045] = 46, -- Death Crawler [80046] = 47, -- Flamesteed [80047] = 48, -- Jade Pincer [80048] = 49, -- Tempest [80049] = 50 -- Winter King } for storage, mount in pairs(mounts) do if player:getStorageValue(storage) > 0 then player:getPosition():sendMagicEffect(CONST_ME_GIFT_WRAPS) player:addMount(mount) player:sendTextMessage(MESSAGE_INFO_DESCR, "Sua Mount foi adicionado!") player:setStorageValue(storage, 0) end end return true end Só adicionar a storage do arquivo no itemid do shop. creaturescript.xml tag <event type="login" name="ShopMountAddon" script="addonmount.lua"/> Ps : o Shop vai puxar o numero da storage pra procura pela img do addon/mount. Créditos a Taverna de Programação por ter me ajudado
-
(Resolvido)Quest que dá Book e quest tipo Annihilator
simplifiquei o script : function onUse(cid, item, frompos, item2, topos) local stg = 5010 local bau = { --[id do bau] = {item, quantidade} [5005] = {item = 12391, count = 1}, [5006] = {item = 10943, count = 1}, [5007] = {item = 12574, count = 1}, [5008] = {item = 7559, count = 1}, [5009] = {item = 7735, count = 1} } for item, baus in pairs(bau) do if item.uid == item then if getPlayerStorageValue(cid, stg) < -1 then doPlayerAddItem(cid, baus[1], baus[2]) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a NAME ITEM.") setPlayerStorageValue(cid, stg, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The chest is empty.") end end end return true end ai o maxwell me disse que nem precisava utilizar o for e que a checagem do item.uid era inútil, e fez esse : local stg = 5010 local baus = { --[id do bau] = {item, quantidade} [5005] = {item = 12391, count = 1}, [5006] = {item = 10943, count = 1}, [5007] = {item = 12574, count = 1}, [5008] = {item = 7559, count = 1}, [5009] = {item = 7735, count = 1} } function onUse(cid, item, frompos, item2, topos) local bau = baus[item.uid] if getPlayerStorageValue(cid, stg) < -1 then doPlayerAddItem(cid, baus[1], baus[2]) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have found a NAME ITEM.") setPlayerStorageValue(cid, stg, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The chest is empty.") end return true end
-
DOUBLE XP AUTOMATICO
local days = {1, 5, 10} -- Dias do mês onde terá o evento double xp local stg = 512154 function onLogin(cid) if isInArray(days, os.date("%d")) then if getPlayerStorageValue(cid, stg) < 1 then doPlayerSetRate(cid, SKILL_LEVEL, 2.0) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Hoje estamos em dia de double XP!") setPlayerStorageValue(cid, stg, 1) end elseif getPlayerStorageValue(cid, stg) > 0 then doPlayerSetRate(cid, SKILL_LEVEL, 1) setPlayerStorageValue(cid, stg, -1) end return true end
- Error ServicePort Open Global 10.53 TFS 1.0
-
(Resolvido)TFS 1.1
Estou rodando ele nesse exato momento
-
(Resolvido)TFS 1.1
Funciona no ubuntu 14.04 e se não me falha a memória já rodei no debian 7.5
-
Doe seu ânus aqui !
com quem eu converso pra doar o ânus ?
-
(Resolvido)Erro table player_deaths
CREATE TABLE `player_deaths` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `date` bigint(20) unsigned NOT NULL, `level` int(10) unsigned NOT NULL, PRIMARY KEY (`id`), KEY `date` (`date`), KEY `player_deaths_ibfk_1` (`player_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=42 ; http://www.tibiaking.com/forum/topic/33611-tutorial-resolvendo-qualquer-erro-na-data-base/
-
Logo Taboos Global
Alguém poderia fazer um logo assim pra mim ? com o nome Taboos Global em cima e em baixo Taboos Global Team ? agradeço desde já... up up
-
[Pedido] Logo
o god dos designer atendendo pedidos O.o hasushauhs
- Gesior 2012
-
Almanaque da boa convivência
ehueheuhe
-
Almanaque da boa convivência
ué