Tudo que yuriowns postou
-
Change Sex Com HAT
sabe o que posso fazer amigo?
-
Change Sex Com HAT
Por ser um servidor 7.4 com addons no client, vou postar o outfits.xml e o addons.xml também: ouftits.xml: <?xml version="1.0"?> <outfits> <outfit id="1"> <list gender="0" lookType="258" name="Citizen"/> <list gender="1" lookType="267" name="Citizen"/> </outfit> <outfit id="2"> <list gender="0" lookType="259" name="Hunter"/> <list gender="1" lookType="268" name="Hunter"/> </outfit> <outfit id="3"> <list gender="0" lookType="339" name="Mage"/> <list gender="1" lookType="412" name="Mage"/> </outfit> <outfit id="4"> <list gender="0" lookType="261" name="Knight"/> <list gender="1" lookType="270" name="Knight"/> </outfit> <outfit id="5"> <list gender="0" lookType="329" name="Noblewoman"/> <list gender="1" lookType="297" name="Nobleman"/> </outfit> <outfit id="6" premium="no"> <list gender="1" lookType="316" name="Summoner"/> <list gender="0" lookType="432" name="Summoner"/> </outfit> <outfit id="7"> <list gender="0" lookType="139" name="Warrior"/> <list gender="1" lookType="134" name="Warrior"/> </outfit> <outfit id="8" premium="no"> <list gender="1" lookType="436" name="Druid"/> <list gender="0" lookType="431" name="Druid"/> </outfit> <outfit id="9" premium="no"> <list gender="1" lookType="414" name="Oriental"/> <list gender="0" lookType="434" name="Oriental"/> </outfit> <outfit id="10" premium="no"> <list gender="1" lookType="435" name="Assassin"/> <list gender="0" lookType="437" name="Assassin"/> </outfit> <outfit id="11" premium="yes"> <list gender="0" lookType="337" name="Guardian"/> <list gender="1" lookType="308" name="Guardian"/> </outfit> <outfit id="12" premium="yes"> <list gender="0" lookType="338" name="Spike Elite"/> <list gender="1" lookType="309" name="Spike Elite"/> </outfit> <outfit id="13" premium="yes"> <list gender="1" lookType="307" name="Mysticelite"/> <list gender="0" lookType="336" name="Mysticelite"/> </outfit> <outfit id="14" premium="yes"> <list gender="1" lookType="411" name="Golden"/> <list gender="0" lookType="433" name="Golden"/> </outfit> <!-- <outfit id="15" premium="yes"> <list gender="1" lookType="438" name="Yalahari"/> <list gender="0" lookType="439" name="Yalahari"/> </outfit> --> </outfits> addons.xml: function onLogin(cid) if getPlayerStorageValue(cid,8470001) >= 1 then --Summoner Addon doPlayerAddOutfit(cid,316, 3) else end if getPlayerStorageValue(cid,8470002) >= 1 then --Golden addon doPlayerAddOutfit(cid,411, 3) doPlayerAddOutfit(cid,433, 3) end if getPlayerStorageValue(cid,8470003) >= 1 then --Oriental Addon doPlayerAddOutfit(cid,414, 3) doPlayerAddOutfit(cid,434, 3) end if getPlayerStorageValue(cid,8470004) >= 1 then -- Druid addon doPlayerAddOutfit(cid,436, 3) doPlayerAddOutfit(cid,431, 3) end if getPlayerStorageValue(cid,8470005) >= 1 then --Assassin addon doPlayerAddOutfit(cid,435, 3) doPlayerAddOutfit(cid,437, 3) end if getPlayerStorageValue(cid,8470010) >= 1 then --Mage male 1/summoner female 2 doPlayerAddOutfit(cid,432, 2) doPlayerAddOutfit(cid,412, 1) end if getPlayerStorageValue(cid,8470006) >= 1 then --Mage female addon doPlayerAddOutfit(cid,339, 3) end if getPlayerStorageValue(cid,8470011) >= 1 then --summoner female 1 addon doPlayerAddOutfit(cid,432, 1) end if getPlayerStorageValue(cid,8470012) >= 1 then --Mage addon 2 female doPlayerAddOutfit(cid,412, 2) end if getPlayerStorageValue(cid,8470013) >= 1 then --Warrior addon doPlayerAddOutfit(cid,440, 3) doPlayerAddOutfit(cid,443, 3) end return true end
-
Change Sex Com HAT
Salve rapazeada, tranquilo? Estou com um script que muda o sexo do personagem clicando em um item, porém quando está com o mage full masculino, ele muda para o mage full feminino e não para o summoner que teria o hat, mas quando muda do feminino pro masculino funciona certinho, não sei o motivo, alguém pode me ajudar? script do item: function onUse(cid, item, itemEx, toPosition) local pos = getCreaturePosition(cid) if (getTilePzInfo(getPlayerPosition(cid)) == TRUE) then if (getPlayerSex(cid) == 1) then doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid,22, "Changesex successfully!") doPlayerSetSex(cid, 0) doRemoveCreature(cid) else doRemoveItem(item.uid, 1) doPlayerSendTextMessage(cid,22 , "Changesex successfully!") doPlayerSetSex(cid, 1) doRemoveCreature(cid) end else doPlayerSendTextMessage(cid, 22, "You can only use this item inside protection zone!") end return true end
-
Bug War System
Salve rapazeada, estou com um projeto de ot 7.4 e ultimamente enfrento um pequeno problema da War System, para uma guild invitar outra, dá tudo certo, porém quando a outra guild aceita a War o servidor crasha, não consigo ver que erro está dando, pois fecha a distro, alguém consegue me auxiliar por favor? Agradeço dmss!
-
[PEDIDO] VIP SYSTEM
na verdade o item que utilizo para dar as vips é este: obs: ainda não está dando certo Peço desculpas pelo erro.
-
[PEDIDO] Como utilizar acentuação em Scripts .lua e .php
Deu certo, muito obrigado!!
-
[PEDIDO] Como utilizar acentuação em Scripts .lua e .php
Boa noite meus amigos, estou com esse pequeno problema e não consigo resolver de jeito nenhum, já andei pesquisando sobre e encontrei alguns tópicos referente a acentuações em scripts, mas nenhum deu certo pra mim, posso estar colocando algo de errado, então por favor alguém consegue me ajudar? já coloquei este código no início do script .lua porém nada mudou. Desde já agradeço a atenção!
-
[PEDIDO] VIP SYSTEM
VIP do site: Adicionar dias de VIP: Bônus de XP para vips: Tem uma parte do config.php que diz o seguinte: Não sei se isso muda algo...
-
[PEDIDO] VIP SYSTEM
Boa noite amigos, venho me deparando com um problema bem chatinho sobre a VIP system de meu servidor, já tentei mesclar vários scripts que encontrei aqui no TibiaKing, porém não obtive sucesso com nenhum deles, o problema é mais ou menos assim: Eu só consigo passar para a área VIP após usar o item que me dá 1 ou 15 dias de VIP, até ai tudo certo, porém na teoria quando algum player fosse VIP, ele ganharia 20% a mais de XP, mas está dando 20% a mais para todos, até pra quem não é VIP, caso queiram saber qual script eu uso para a VIP ou para a porcentagem de xp bônus podem me pedir que eu mando. Outro problema que venho enfrentando relacionado a VIP system é no site, mesmo após usar o item e já ser VIP, continua informando que não é, segue a imagem abaixo: De qualquer forma já agradeço a atenção de todos!
-
[AJUDA] Database do Castle 48h
Deu certo amigo, muito obrigado!!
-
[AJUDA] Database do Castle 48h
mysql
-
[AJUDA] Database do Castle 48h
-
[AJUDA] Database do Castle 48h
-
[PEDIDO] Contagem Regressiva (GESIOR)
Como você alterou? Tem as imagens pra me passar?
-
[AJUDA] Database do Castle 48h
Boa noite amigos(as), tudo certo? Me deparei com um erro chatinho que não estou conseguindo resolver, este é o seguindo erro: Eu já tentei colocar essa database com um comando, mas da erro, pois o nome da database tem vários "-" e acaba bugando o comando. comando que utilizei: CREATE TABLE full-database-for-gesior.castle_dono (id INT PRIMARY KEY, guild_id VARCHAR(10)); Quando eu starto esse comando, aparece este seguinte erro: Alguém sabe me ajudar? Estou tomando de 10 a zero pro sql a alguns dias kkkkkk
-
[PEDIDO] Contagem Regressiva Gesior
Boa noite rapazeada, tranquilo? estou fazendo um servidor 8.60 e está quase tudo pronto, preciso de uma contagem regressiva no site do servidor, alguém consegue me auxiliar? gostaria de ter aquela contagem que fica em baixo de onde mostra os players online como essa daqui:
-
[PEDIDO] Contagem Regressiva (GESIOR)
onde estão os arquivos de imagem?
-
Procuro um PROGRAMADOR
Salve rapaziada, estou com uma equipe focada em um projeto de ot 7.6, a procura de um programador experiente para montagem de alguns scripts. PREÇOS POR SCRIPTS A COMBINAR, FAVOR ENTRAR EM CONTATO COMIGO (47) 991807029 - Whats
-
(Resolvido)Minimap Completo
muito top parabéns, consegui!
-
[PEDIDO] PROIBIR CARACTERES CRIAÇÃO DE PERSONAGEM [7.6]
Salve rapaziada, estou criando um servidor 7.6 TFS 0.4.1, nele tem um sistema 1/1 de criar personagens, porém abre uma conta com 4 acc manager, (Criar Sorc, Criar Druid, Criar Pally e Criar Kina) o problema é que da pra criar qualquer nome que quiser (por exemplo "GOD") Alguém sabe como resolver? Script: focus = 0 talk_start = 0 target = 0 following = false attacking = false accstatus = 0 seksik = 3 myname = '' mypass = '' maxnamelen = 10 maxpasslen = 14 allow_pattern = '^[a-zA-Z0-9 -]+$' origmsg = '' mypasscheck = '' mynamecheck = '' function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye then.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) origmsg = msg msg = string.lower(msg) if (msgcontains(msg, 'hi') and focus == 0) and getDistanceToCreature(cid) < 4 then selfSay('Hello...Male or Female?') accstatus = 1 myname = '' mypass = '' myaccnumber = 0 seksik = 0 focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Please wait') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'male') and accstatus == 1 then selfSay('Your name is...?') seksik = 1 accstatus = 2 elseif msgcontains(msg, 'female') and accstatus == 1 then selfSay('Your name is...?') seksik = 0 accstatus = 2 elseif accstatus == 2 then myname = origmsg mynamecheck = msg if string.len(mynamecheck) <= maxnamelen then if string.find(mynamecheck, allow_pattern) then if io.open("data/players/"..myname..".xml" , "r") == nil then selfSay('Your Name is '..myname..'. yes ?') accstatus = 3 else selfSay('Name allready exist, please give next one') end else selfSay('Illegal characters, try another') end else selfSay('Name is too long! Max is 10, try again') end elseif msgcontains(msg, 'yes') then if accstatus == 3 then selfSay('Ok, give your password') accstatus = 4 elseif accstatus == 5 then if seksik == 0 then selfSay('Ok. Lets check: You are female, your name is '..myname..', your password is '..mypass..'.yes ?') else selfSay('Ok. Lets check: You are male, your name is '..myname..', your password is '..mypass..'.yes ?') end accstatus = 10 elseif accstatus == 10 then selfSay('Ok. Say "acc" to take your acc...') accstatus = 7 end elseif msgcontains(msg, 'no') then if accstatus == 3 then selfSay('Chooze another') accstatus = 2 elseif accstatus == 5 then selfSay('Chooze another') accstatus = 4 elseif accstatus == 6 then selfSay('Again, you are man or woman?') accstatus = 1 end elseif accstatus == 4 then mypass = origmsg mypasscheck = msg if string.len(mypasscheck) <= maxpasslen then if string.find(mypasscheck, allow_pattern) then selfSay('Your pass is '..mypass..' yes ?') accstatus = 5 else selfSay('Illegal characters, try another') end else selfSay('too long! Max is 6, give other') end elseif msgcontains(msg, 'acc') and accstatus == 7 then myaccnumber = math.random(100000,999999) if io.open("data/accounts/"..myaccnumber..".xml" , "r") == nil then selfSay('Your Acc is '..myaccnumber..'. Please Log in your Char...Good Luck!') accstatus = 8 f = assert(io.open("./data/accounts/"..myaccnumber..".xml", "w")) f = io.open("./data/accounts/"..myaccnumber..".xml", "w") f:write("<?xml version=\"1.0\"?><account pass=\""..mypass.."\" type=\"1\" premDays=\"90\"><characters><character name=\""..myname.."\"\/><\/characters><\/account>") f:close() f = assert(io.open("./data/players/"..myname..".xml", "w")) f = io.open("./data/players/"..myname..".xml", "w") f:write("<?xml version=\"1.0\"?><player name=\"" ..myname.."\" account=\"" ..myaccnumber.."\" sex=\"" ..seksik.."\" lookdir=\"3\" exp=\"4200\" voc=\"2\" level=\"8\" access=\"0\" cap=\"470\" maglevel=\"1\" lastlogin=\"0\" premticks=\"0\" promoted=\"0\" banned=\"0\"><spawn x=\"1003\" y=\"1073\" z=\"7\" \/><temple x=\"1003\" y=\"1073\" z=\"7\" \/><skull type=\"0\" kills=\"0\" ticks=\"0\" absolve=\"0\" \/><health now=\"185\" max=\"185\" food=\"1000\" \/><mana now=\"35\" max=\"35\" spent=\"1\" \/><look type=\"134\" head=\"77\" body=\"79\" legs=\"78\" feet=\"77\" \/><skills><skill skillid=\"0\" level=\"10\" tries=\"0\" \/><skill skillid=\"1\" level=\"10\" tries=\"0\" \/><skill skillid=\"2\" level=\"10\" tries=\"0\" \/><skill skillid=\"3\" level=\"10\" tries=\"0\" \/><skill skillid=\"4\" level=\"10\" tries=\"0\" \/><skill skillid=\"5\" level=\"10\" tries=\"0\" \/><skill skillid=\"6\" level=\"10\" tries=\"0\" \/><\/skills><spells><spell words=\"exevo pan\" \/><spell words=\"utevo lux\" \/><spell words=\"exana pox\" \/><spell words=\"exura\" \/><spell words=\"exura gran\" \/><spell words=\"exori mort\" \/><spell words=\"exori flam\" \/><spell words=\"exori vis\" \/><spell words=\"utevo gran lux\" \/><spell words=\"utamo vita\" \/><spell words=\"utani hur\" \/><spell words=\"exura sio\" \/><spell words=\"exevo heal\" \/><spell words=\"utevo vis lux\" \/><spell words=\"exura vita\" \/><spell words=\"utani gran hur\" \/><spell words=\"utevo res ina\" \/><spell words=\"exevo vis pan\" \/><spell words=\"exura gran mas res\" \/><spell words=\"exevo gran mas pox\" \/><spell words=\"exevo mas mort pox\" \/><spell words=\"exevo bless\" \/><\/spells><deaths\/><inventory><slot slotid=\"1\"><item id=\"2490\" \/><\/slot><slot slotid=\"2\"><item id=\"2173\" \/><\/slot><slot slotid=\"3\"><item id=\"1988\"><inside><item id=\"2674\" count=\"5\" \/><item id=\"2160\" count=\"5\" \/><item id=\"2554\" count=\"1\" \/><item id=\"2120\" count=\"1\" \/><\/inside><\/item><\/slot><slot slotid=\"4\"><item id=\"2463\" \/><\/slot><slot slotid=\"5\"><item id=\"2525\" \/><\/slot><slot slotid=\"6\"><item id=\"2182\" \/><\/slot><slot slotid=\"7\"><item id=\"2647\" \/><\/slot><slot slotid=\"8\"><item id=\"2643\" \/><\/slot><\/inventory><depots><depot depotid=\"1\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><depot depotid=\"2\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><depot depotid=\"3\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><depot depotid=\"4\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><depot depotid=\"5\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><depot depotid=\"6\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><depot depotid=\"7\"><item id=\"2591\"><inside><item id=\"2594\" \/><\/inside><\/item><\/depot><\/depots><storage><data key=\"777\" value=\"" ..seksik.."\" \/><\/storage><\/player>") f:close() else selfSay('Error number allready exist. Say again "acc" ') end elseif msgcontains(msg, 'next') and accstatus == 8 then selfSay(''..myaccnumber..' Pass is '..mypass..' . If you like to enter OTS website say: --links--.') accstatus = 0 elseif msgcontains(msg, 'links') then selfSay('URLS') elseif string.find(msg, '(%a*)bye(%a*)') and getDistanceToCreature(cid) < 4 then selfSay('Good bye, ' .. creatureGetName(cid) .. '!') focus = 0 accstatus = 0 myname = '' mypass = '' myaccnumber = 0 seksik = '' talk_start = 0 end end end function onCreatureChangeOutfit(creature) end function onThink() if (os.clock() - talk_start) > 30 then if focus > 0 then selfSay('Nastepny prosze') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Do zobaczenia') focus = 0 end end end
-
[PEDIDO] COMPRO SCRIPT PERFEITO SHOP GUILD SYSTEM TFS 1.0
Salve rapaziada, estou a procura de um shop guild system perfeito e funcional que eu possa editar os itens, players necessários para puxar os points, quantos IPS, o level, etc. Chama discord para negociarmos o valor!! yuriowns#0618 TMJ!!
-
[PEDIDO] Alguém sabe me dizer o nome desse item??
- [PEDIDO] SCRIPT DE DAR ITENS PARA TODOS OS PLAYERS ONLINE 1.0
agora deu certo mano, depois que coloquei no global.lua voltei o script pra esse daqui: function onSay(player, words, param) if player:getGroup():getId() < 3 then return false end local split = param:splitTrimmed(",") if not split[1] then player:sendCancelMessage("Necessita de pelo menos um parametro") return false end local item = tonumber(split[1]) and ItemType(tonumber(split[1])) or ItemType(split[1]) local itemid = item:getId() count = 1 if split[2] then count = tonumber(split[2]) > 0 and tonumber(split[2]) or 1 end if itemid > 0 then for _, pid in pairs(Game.getPlayers()) do if pid:addItem(itemid, count, false) then pid:sendTextMessage(22, "Você ganhou " ..count.. "x " ..item:getName().. ".") end end return true end player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Item invalido!") return false end será que qualquer um vai poder usar?- [PEDIDO] SCRIPT DE DAR ITENS PARA TODOS OS PLAYERS ONLINE 1.0
- [PEDIDO] SCRIPT DE DAR ITENS PARA TODOS OS PLAYERS ONLINE 1.0
ainda não deu - [PEDIDO] SCRIPT DE DAR ITENS PARA TODOS OS PLAYERS ONLINE 1.0
Informação Importante
Confirmação de Termo