
Tudo que vankk postou
-
[PEDIDO] Incrementar sistema
setPlayerStorageValue(cid, 22334, os.time() + 1000 * 60 * 60 * 10) -- 10 horas if getPlayerStorageValue(cid, 22334) - os.time() <= 0 then
-
(Resolvido)[VIP]
Talvez? local config = { storageValue = 5849, -- storage para checar se tem o nome ou não days = 30, daysvalue = days * 24 * 60 * 60, storageplayer = getPlayerStorageValue(cid, 23510), timenow = os.time(), time = getPlayerStorageValue(cid, 23510) - os.time() <= 0 and timenow + daysvalue or storageplayer + daysvalue } function onUse(cid, item, fromPosition, itemEx, toPosition) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram adicionados ".. config.days .." dias de VIP no seu character.") setPlayerStorageValue(cid, 23510, config.time) if getPlayerStorageValue(cid, config.storageValue) < 1 then setPlayerStorageValue(cid, config.storageValue, 1) db.executeQuery("UPDATE `players` SET `name` = '[VIP]" .. getCreatureName(cid) .. "' WHERE `id` = " .. getPlayerGUID(cid)) end local quantity = math.floor((getPlayerStorageValue(cid, 23510) - config.timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(28,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você tem ".. config.quantity .." dias de VIP restantes.") doRemoveItem(item.uid, 1) return true end
- [10.90] - Eternia Evolution 2016
- "Erro" ao vender loot
-
(Resolvido)Meu antivirus acusa o cliente após ser compilado, como resolver?
Faça um scan no VirusTotal e veja quais outros anti-virus detecta esse problema, e avisa no seu site que o anti-virus X, Y e Z estão detectando que o cliente possui vírus, porém é um falso-positivo. Infelizmente é o que eu posso te ajudar devido ao meu pouco conhecimento sobre servidores derivados, e não ter nenhum interesse em aprender também.
- (Resolvido)Meu antivirus acusa o cliente após ser compilado, como resolver?
- [10.90] - Eternia Evolution 2016
-
ERRO AO DELETA SQL
Importar?!
-
[BUG] Backpacl tfs 1.2
Não fez corretamente, ou não compilou corretamente, porque esse é o único jeito de arrumar esse problema
-
[DÚVIDA] X Item pra cair de todos os monstros
local function event(pos) local corpse = getTileItemByType(pos, ITEM_TYPE_CONTAINER).uid local item = 2160 -- item id if corpse > 0 then doAddContainerItem(corpse, item) end end function onKill(cid, target, lastHit) addEvent(event, 0, getThingPos(target)) return true end Utilize esse script, porém você vai ter que configurar os monstros que vai dropar. Você vai ter que colocar em cada monstro: <script> <event name="EventName"/> </script> Muda o nome do event pelo nome que você colocar no creaturescripts. Boa sorte.
-
(HELP) SCRIPT DE QUEST
function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerLevel(cid) =< 50 then if getPlayerStorageValue(cid, 5640) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found 2 crystal coins.') doPlayerAddItem(cid, 2160, 2) setPlayerStorageValue(cid, 5640, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'It is empty.') end elseif getPlayerLevel(cid) >= 51 and getPlayerLevel(cid) =< 100 then if getPlayerStorageValue(cid, 5641) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found 5 crystal coins.') doPlayerAddItem(cid, 2160, 5) setPlayerStorageValue(cid, 5641, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'It is empty.') end elseif getPlayerLevel(cid) >= 101 and getPlayerLevel(cid) =< 150 then if getPlayerStorageValue(cid, 5642) == -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You have found 10 crystal coins.') doPlayerAddItem(cid, 2160, 10) setPlayerStorageValue(cid, 5642, 1) else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'It is empty.') end end return true end
-
[10.90] - Eternia Evolution 2016
Muitos falam, mas poucos são capazes de serem melhor. Atualmente as quests free já estão finalizadas, deu bastante trabalho, mas felizmente consegui deixar do jeito que eu queria, tudo em scripts, e bem organizados. Agora começo a trabalhar melhor nos teleports free, e decidir se mantenho a ideia de ter ou não monstro editados. O que acham? Opinem. E um agradecimento especial: @Azhaurn por ter/estar procurado bugs no servidor.
- Donete
- (Resolvido)Sempre pega red battle!
-
LATENEWS BUGADO !
Coloque o code no pastebin.com
-
LATENEWS BUGADO !
Ainda não consigo adivinhar codes, então não consigo te ajudar se você não mandar a merda do latestnews.php.
-
[BUG] Backpacl tfs 1.2
O erro continua se você não tiver feito o que eu falei
-
COPILAR SOUCER [LINUX]
Procure por tutoriais na internet, se não, procure pessoas que entendem de compilação e pague por esse serviço.
-
Compilar tfs VS2015 BugLib
Você não configurou a pasta das libs direito Warning não são nada, são apenas avisos que da na hora de compilar.
- [PEDIDO] Particulas Automaticas / Efeitos Automaticos
- [PEDIDO] Particulas Automaticas / Efeitos Automaticos
- (Resolvido)Sempre pega red battle!
-
(Resolvido)[pedido] Kill no default e nao matar membro da mesma party
Ops. function onKill(cid, target) if isPlayer(target) == TRUE then if getCreatureSkullType(cid) == 4 or getCreatureSkullType(cid) == 3 and getCreatureSkullType(target) == 0 and isPlayer(target)then broadcastMessage(getCreatureName(cid) .. " killed ".. getCreatureName(target)..".",MESSAGE_STATUS_CONSOLE_ORANGE) elseif getCreatureSkullType(target) == 3 or getCreatureSkullType(target) == 4 and isPlayer(target) then broadcastMessage(getCreatureName(cid) .. " killed ".. getCreatureName(target)..".",MESSAGE_STATUS_CONSOLE_ORANGE) end end return TRUE end
-
NPC de informações sobre o mapa
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 > Monsters e NPCs Para: Suporte OTServ > OTServ > Suporte de Scripts <?xml version="1.0" encoding="UTF-8"?> <npc name="Guide" script="default.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="268" head="114" body="94" legs="114" feet="114" addons="3"/> <parameters> <parameter key="message_greet" value="Hey |PLAYERNAME|, welcome to (the server name) what would you like to know: {cities}, premium, and promotion npcs, other" /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="cities;camelot;sajona;egipt;Premium and promotion;npc;other;map;hunt;information" /> <parameter key="keyword_reply1" value="what city would you like to know: Camelot, Egipt or Sajona?." /> <parameter key="keyword_reply2" value="bla, bla bla." /> <parameter key="keyword_reply3" value="bla, bla bla." /> <parameter key="keyword_reply4" value="bla, bla bla." /> <parameter key="keyword_reply5" value="for buying premium you can use the command !buypremium for 5k for 10 days and for having promotion you can go to the king of your city and ask him." /> <parameter key="keyword_reply6" value="in all city you will find different npc that will give everything you will need like magic store, buying or selling weapons, paladin store, equipment store, outfit store and more!." /> <parameter key="keyword_reply7" value="you want to know about: the map, hunt or information of (server name)." /> <parameter key="keyword_reply8" value="well, the (name of the server) has 5 cities, the other 2 that I didnt talk is Transilvania in the north of Camelot and it is goberned by undead people and the other city is Tartaro that only you can go by boat being lvl 50 and there you will find the most dificult quests that you will probably will like to do like Annihilator,Pits of inferno or Demon helmet quest." /> <parameter key="keyword_reply9" value="the hunt zones are divided in 2 parts that are the begginers teleports that you dont need to be premium and the teleports for premium that are more advanced monsters with many quest and to travel to other city. YOU MUST KNOW THAT TO GET BACK TO THE CITY AFTER HUNTING YOU MUST DO IT WALKING!." /> <parameter key="keyword_reply10" value="the server is with stages you will begin with x17 then x12 then x7 finally x5 magic: x7 skills:x15 redskull: kill5." /> </parameters> </npc>
-
Avast detecta virus no meu website 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: WebSites OTServ > OTServ > Tutoriais de Websites Para: Suporte OTServ > OTServ > Suporte de WebSites