Ir para conteúdo
  • Cadastre-se

Crypter

Membro
  • Total de itens

    343
  • Registro em

  • Última visita

  • Dias Ganhos

    4

Tudo que Crypter postou

  1. então cara precisa da storage 7545 pra ganhar a outfit, vê se o jogador que tu testo já ñ tem essa storage
  2. <?xml version="1.0"?> <outfits> <outfit id="1" quest="7545"> <list gender="0" lookType="31" name="Test"/> <list gender="1" lookType="31" name="Test"/> </outfit> </outfits> Faz uma script que seta a storage 7545 e testa
  3. Se você colocar o atributo storageId na outfit o servidor vai ligar normalmente, então foi algum erro na modo que tu coloco a nova outfit, pode ser que o teu 0.3.6 já tenha esse sistema
  4. Conheço um método e funciona em qualquer otserv
  5. A Creaturescripts que faz o jogador fique imune a dano, foi registrada somente no login.lua ( Que é para os players), caso queira que funciona em monstros vai ter que registrar o creatureevent em todos os monstros
  6. local config = { storage = 98200, trap_time = 10, exhaustion_time = 30, effect = 1 } function onCastSpell(cid, var) if exhaustion.check(cid, config.storage) then doPlayerSendCancel(cid, "Aguarde "..exhaustion.get(cid, config.storage).." segundos.") return false end local position = {x = getCreaturePosition(var.number).x + 0, y = getCreaturePosition(var.number).y + 0, z = getCreaturePosition(var.number).z} doCreatureSetNoMove(var.number, true) addEvent(doCreatureSetNoMove,config.trap_time*1000,var.number, false) doSendMagicEffect(position, c
  7. function onMoveItem(moveItem, frompos, position, cid) if getHouseFromPos(frompos) then if not getPlayerGUID(cid) == getHouseOwner(getHouseFromPos(frompos)) then doSendMagicEffect(getCreaturePosition(cid), 3) return doPlayerSendCancel(cid,"Voce nao pode mover itens desta house") and false end end return true end
  8. local storage = 65321 local seconds = 10 local value = {1,400} local effect = 2 function onCast(cid, target) if exhaustion.check(cid, storage) then return true end local master = getCreatureMaster(cid) if isCreature(master) and getCreatureHealth(master) < getCreatureMaxHealth(master) then local health_value = math.random(value[1],value[2]) doCreatureAddHealth(master, health_value) doCreatureAddHealth(cid, health_value) doSendMagicEffect(getCreaturePosition(cid), effect) and doSendMagicEffect(getCreaturePosition(master), effect) return true and exhaustion.set(c
  9. Galera estou com um problema no meu servidor, ele está apagando algumas contas/players do banco de dados, eu já olhei se foi alguma tentativa de invasão ou do tipo e não é pois está bem seguro, alguém já teve esse problema ou sabe como é causado?
  10. O jeito mais facil de se fazer isso é nas sources, qual servidor tu usa?
  11. function onCastSpell(cid, var) local time = 15 local vocation_start = getPlayerVocation(cid) local config_vocation={ --[id inicial] = {vocation_newId = novo id da vocação,outfit_id= id da newtype,msg_onChance=" 11You changed your vocation("..time..")."}, [1] = {vocation_newId = 2,outfit_id=20,msg_onChance=" 11You changed your vocation("..time..")."}, [2] = {vocation_newId = 3,outfit_id=21,msg_onChance=" 222You changed your vocation("..time..")."}, } local vocation = config_vocation[getPlayerVocation(cid)] if vocation then doSetCreatureOutfit(cid, {lookType = vocation.outfit_i
  12. Você acha mesmo que estou falando do caminho? Estou falando do modo que tu colocou errado eu eu comentei o correto era só copiar e usar o site ,rs rsrsrsrs
  13. o Notepad mostra que ta errado e você insiste em tentar acessar o site $config['site']['serverPath'] = 'C:\Users\sd410\Downloads\otglobal\Pack Premium\otpremium/';
  14. <?PHP # Account Maker Config $config['site']['serverPath'] = 'C:\Users\sd410\Downloads\ot global 10.97\Pack Premium\otpremium/'; $config['site']['useServerConfigCache'] = false; $towns_list = array(1 => 'Venore', 2 => 'Thais', 3 => 'Kazordoon', 4 => 'Carlin', 5 => 'Ab Dendriel', 6 => 'Rookgaard', 7 => 'Liberty Bay', 8 => 'Port Hope', 9 => 'Ankrahmun', 10 => 'Darashia', 11 => 'Edron', 12 => 'Svargrond', 13 => 'Yalahar', 14 => 'Farmine', 15 => 'Gray Beach', 16 => 'Roshamuul', 30 => 'Rathleton'); Tenta dessa forma
  15. LUA config file doesn't exist. Path: C:/Users/sd410/Downloads/ot global 10.97/Pack Premium/otpremium/config.lua Não foi encontrado o arquivo config.lua na pasta especificada
  16. <?PHP # Account Maker Config $config['site']['serverPath'] = 'C:/Users/sd410/Downloads/ot global 10.97/Pack Premium/otpremium/'; $config['site']['useServerConfigCache'] = false; $towns_list = array(1 => 'Venore', 2 => 'Thais', 3 => 'Kazordoon', 4 => 'Carlin', 5 => 'Ab Dendriel', 6 => 'Rookgaard', 7 => 'Liberty Bay', 8 => 'Port Hope', 9 => 'Ankrahmun', 10 => 'Darashia', 11 => 'Edron', 12 => 'Svargrond', 13 => 'Yalahar', 14 => 'Farmine', 15 => 'Gray Beach', 16 => 'Roshamuul', 30 => 'Rathleton');
  17. Você não pode dar Up em seu tópico por comentário, foi adicionado a opção de subir o tópico, tome cuidado, leia as regras.
  18. local config = { time = 120 -- em segundos requiredLevel = 1, daily = true, centerRazzagornRoomPosition = Position(33423, 32466, 14), playerPositions = { Position(33388, 32457, 14) }, newPositions = { Position(33417, 32467, 14), Position(33417, 32467, 14), Position(33417, 32467, 14), Position(33417, 32467, 14), Position(33417, 32467, 14) }, RazzagornPositions = { Position(33425, 32466, 14) } } function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item.itemid == 9825 then if getGlobalStorageValue(56789) == 1 then return player:sen
  19. if target.itemid == 26398 then target:transform(26443) target:decay() item:remove(1) broadcastMessage("The".. player:getName() .." improved item to +1", MESSAGE_EVENT_ADVANCE) return true end Como você não postou o codigo tomo, eu coloquei o player ( na linha 5), caso de erro veja os callbacks do evento e me manda que posso arrumar
  20. local hit_counts = 3 local hit_delay = 150 for z = 1,hit_counts do for a = 1, 9 do addEvent(sendStickEff,hit_delay*z,cid, t[a]) end end
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo