Ir para conteúdo

LuanMattheus

Banido
  • Total de itens

    136
  • Registro em

  • Última visita

Tudo que LuanMattheus postou

  1. Isso ai pronto
  2. Facil /config/config.php procurea linha $config['site']['newchar_towns'][] = array(5); na minha e o numero 5 na sua pode ser 0 entao para ficar mais facil procure $config['site'].['newchar_towns'] ai vc acha mais facil. Exemplo $config['site']['newchar_towns'][] = array(5); onde esta o numero 5 voce cola a town que vc quer com duas ficaria assim. $config['site']['newchar_towns'][] = array(5, 12); voce tem que colocar a town da cidade ali so usa virgula e acresentar a town.
  3. Meu amigo quando uso o comando esta dando critical no cliente; 8.6 tsf 0.4
  4. Alguem consegue uma guild page com war system 8.6?
  5. vc usa roteador?
  6. Cade os cript completo?
  7. Como coloca pra os 3 primeiros ganhar premios?
  8. mostra mais nao da pra ninguem o que adianta
  9. Ei vodkart a fico bom pode ser uma lista so pq eu n tinha entendido que o primeiro que vc fes era o script entendeu. Vou fazer uma explicação pra vc entender pq teve um pequeno erro entao vamos la. A lista precisa aparecer assim pode ser para digitar manual. Outra coisa o lugar onde o free vai o premium tbm precisar ir pq vai ter essas vantagens olha na imagem o free so vai pra onde ta vermelho o premium em todos. E tbm voce esqueceu de colocar se e pra teleporta em PZ ou nao pq so teleporta em PZ quando o player estiver dentro de uma hunt ele nao vai conseguir, ele so nao pode teleporta se tiver battle.
  10. NAO USE ESSE SCRIPT VC CONSEGUE ROUBAR S OUTROS FORA OS BUGS
  11. Vlw Obrigado eu estava procurando esse script que bom que vc voltou cara.
  12. Olha o meu testa ai, o documento e feito mas nao da pra usar. Actions Papaer_points function onUse(cid, item, frompos, item2, topos) local var = getItemAttribute(item.uid, "description") if var == nil then return true end local x = var:match("%b[]") if x == "[VIP Points]:" then local ret = var:match("%d+") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE," Voce recebeu "..ret.." VIP Points.") setPremiumPoints(cid, getPremiumPoints(cid)+ret) doRemoveItem(item.uid) end return true end Talkaction sell_points function onSay(cid, words, param) local var,points = "[VIP Points]: Este documento vale %s VIP Points para voce no site.",getPremiumPoints(cid) local min,max = 5, 100 if param == "" or not tonumber(param) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[VIP Points]: Desculpe, use somente numeros.") return true elseif tonumber(param) < min or tonumber(param) > max then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[VIP Points]: Desculpe, Minimo "..min.." e Maximo "..max.." points.") return true elseif points < tonumber(param) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[VIP Points]: Desculpe, mas voce so possui "..points.." VIP Points.") return true end local item = doPlayerAddItem(cid, 9004,1) doItemSetAttribute(item, "description", var:format(tonumber(param))) setPremiumPoints(cid, points-tonumber(param)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[VIP Points]: Voce recebeu um paper com "..param.." VIP Points.") return true end Lib function getPremiumPoints(cid) local query = db.getResult("SELECT `premium_points` FROM `accounts` WHERE `id` = "..getPlayerAccountId(cid)) return query:getDataInt("premium_points") <= 0 and 0 or query:getDataInt("premium_points") end function setPremiumPoints(cid, amount) return db.executeQuery("UPDATE `accounts` SET `premium_points` = "..amount.." WHERE `id` = "..getPlayerAccountId(cid)) end
  13. Unico problema parece que trava vc faz o item consegue usar mais depois trava, quando voce fas mais uns 3
  14. Vodkart eu posso pega esse ai e adicionar junto ao meu script? Eu queria um script so entendeu pra ficar mais facil mas se der pra usar tipo com mesmo comando e aparecer a lista do mesmo jeito mas com o lugar pro premium e pro free tbm serve se puder amontar fico grato.
  15. Adicionei tudo mas nao adiciona key em nda
  16. Olá eu tenho um script preciso de uma modificação se alguém poder me ajudar, seria assim onde esta a configuração local lugar eu queria que fosse os lugares onde somente players sem premium pudessem usar o comando e teria que criar outra config lugar com lugares que somente player com premium fosse. function onSay(cid, words, param) local config = { pz = false, -- false battle = true, -- trues custo = false, -- false need_level = false, -- false premium = true -- true } --[[ Config lugares]]-- Players sem premium local lugar = { ["azeroth"] ={ -- azeroth pos = {x=615, y=1056, z=7},level = 0,price = 4}, ["esdra"] ={ -- azeroth pos = {x=1091, y=2272, z=4},level = 0,price = 4}, ["elsera"] ={ -- azeroth pos = {x=342, y=101, z=6},level = 0,price = 4}, ["arena"] ={ -- blacknight pos = {x=124, y=29, z=9},level = 200, price = 17}, } --[[ Config lugares]]-- Players com premium local lugar = { ["azeroth"] ={ -- azeroth pos = {x=615, y=1056, z=7},level = 0,price = 4}, <--- Essa parte foi eu que adicionei para mostra o exemplo de como seria os lugar para premium ["esdra"] ={ -- azeroth pos = {x=1091, y=2272, z=4},level = 0,price = 4}, ["elsera"] ={ -- azeroth pos = {x=342, y=101, z=6},level = 0,price = 4}, ["arena"] ={ -- blacknight pos = {x=124, y=29, z=9},level = 200, price = 17}, } if (param == "") then local str = "" for name, pos in pairs(lugar) do str = str..name.."\n" end str = str .. "" doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "--=[ AREAS FREE ]=--") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "CIDADES: azeroth, avalon, gloria, saragoka, elsera, edileia, khalarar, varmor, nevasta, shurima, formagor, esdra, nethergarde. ( promoOrc, arena )") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "--=[ AREAS VIPS ]=--") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "HUNT LEVEL 8 a 30: troll, amazon, mino1, mino2, elf1, dworc, barbarian1, barbarian2, bonelord, orc1, orc2. ( treineroff )") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "HUNT LEVEL 30 a 50: cyclops1, cyclops2, cyclops3, cyclops4, pirate, vamp1, vamp2, lightvale, macacos, scarab, dwarf1, dwarf2, mutated, dragonhatchling1, dragonhatchling2.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "HUNT LEVEL 50 a 80: banshee, wyvern, hero1, hero2, dragon1, dragon2, dragon3, dragon4, dragon5, dragon6, blacknight1, blacknight2, hydra1, hydra2, hydra3, hydra4, spider1, icespider1, icespider2.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Hunt LEVEL 80 a 100: behemoth1, behemoth2, behemoth3, behemoth4, behemoth5, northland, frost1, frost2, frost3, frost4, frost5, volcano, rhun, defiler1, defiler2, bograider1, bograider2, nightmare1, nightmare2, quaras.") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "HUNT LEVEL 100 a 200: hellhound1, hellhound2, hellhound3, warlock1, warlock2, demon1, demon2, demon3, undead1, undead2, undead3, erediunvale, serpent1, serpent2, spiritfire, wyrm, dark, erechvale, behedemon, higelf") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "HUNT LEVEL 200+: northen, elemental, lizard1, lizard2, lizard3, medusa1, medusa2, oxyurus, terminator1, terminator2, jugger1, jugger2, solarian, bloodboil, valemordor, demonictoad.") return TRUE end if param == "" then end local a = lugar[param] if not(a) then return TRUE elseif config.pz == true and getTilePzInfo(getCreaturePosition(cid)) == FALSE then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT,"você precisa estar em protection zone pra poder teleportar.") return TRUE elseif config.premium == true and not isPremium(cid) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Apenas pleyer VIP podem usar este comando.") return TRUE elseif config.battle == true and getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você não pode se teleportar em uma batalha.") return TRUE elseif config.need_level == true and getPlayerLevel(cid) < a.level then doPlayerSendTextMessage(cid, 22, "Você não tem level suficiente para ser teleportado.") return TRUE elseif config.custo == true and doPlayerRemoveMoney(cid, a.price) == FALSE then doPlayerSendTextMessage(cid, 22, "Desculpe,voce nâo tem dinheiro suficiente. Voce precisa "..a.price.." gp para ser teleportado.") return TRUE end doSendMagicEffect(getCreaturePosition(cid), 27) doTeleportThing(cid, a.pos) doSendMagicEffect(a.pos, CONST_ME_BIGCLOUDS) return TRUE end
  17. Isso ai bem facil kkkkkkk demorei uma semana pra fazer aditando e testando nao e facil cara
  18. default
  19. Olá gostaria de um script que mandasse uma mensagen de vermelho pra uma staff online no servidor acima do group 5 falanda O player Luan reportou tulio por esta usando bot.
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo