Ir para conteúdo

igorcbc

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    igorcbc recebeu reputação de Wend II em (Resolvido)Erros na distro   
    Irei te passar o Action.XML resolvido ve se funciona. to vendo oque ocorre com os itens.
    actions.xml
  2. Gostei
    igorcbc deu reputação a Wakon em (Resolvido)[AJUDA] Erro na Distro.   
    Poste o spells.xml
  3. Gostei
    igorcbc deu reputação a Wakon em (Resolvido)[AJUDA] Erro na Distro.   
    Basta colocar a mensagem entre [spoiler@] mensagem [/spoiler@] ( retire os @ ).
    Tente trocar o script por esse:



  4. Gostei
    function onTimer() Substitua por:
    function onTime(interval)
  5. Gostei
    Muda a segunda tag para:

    <globalevent name="TheHornedFox1" time="19:00" event="script" value="TheHornedFox.lua"/> Nomes de globalevents não podem se repetir.
  6. Gostei
    igorcbc deu reputação a Rusherzin em (Resolvido)[AJUDA] Bug Mysql ou Database   
    Não, pode excluir de boas mas para adicionar é melhor ter a conta com acesso de admin..
  7. Gostei
    igorcbc deu reputação a Fir3element em [AJUDA]Paladin Não sobe ML   
    posta o seu ai
  8. Gostei
    igorcbc deu reputação a tghost em (Resolvido)[AJUDA] Bug Mysql ou Database   
    Você precisa adicionar na database Druid Sample e Sorcerer Sample.
    Lhe recomendo importar outra database para evitar futuros erros qual versão do seu OT?
    Caso seja 8.6 use está aqui
    http://www.speedyshare.com/9CfMh/chaitosoft-1.sql
     
     
    Créditos:
    Chaitosoft
    Gustavo Ferreira
     
    Atenciosamente,
    TGHost.com.br
    Atendimento 24 horas por dia via Ticket.
    Atendimento Comercial das 9:00 ás 19:00 via bate-papo no site.
  9. Gostei
    igorcbc deu reputação a Rusherzin em (Resolvido)[AJUDA] Bug Mysql ou Database   
    INSERT INTO `players` VALUES (3, 'Sorcerer Sample', 0, 1, 1, 8, 1, 185, 185, 4200, 68, 114, 78, 58, 128, 0, 0, 0, 35, 35, 0, 2, 50, 50, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, '', 0, 0, ''), (4, 'Druid Sample', 0, 1, 1, 8, 2, 185, 185, 4200, 68, 114, 78, 58, 128, 0, 0, 0, 35, 35, 0, 2, 50, 50, 7, '', 400, 0, 0, 0, 0, 0, 0, 0, '', 0, 0, 0, 201660000, 0, 100, 100, 100, 100, 100, 0, 0, 0, '', 0, 0, '');
  10. Gostei
    igorcbc deu reputação a Rusherzin em (Resolvido)[AJUDA] Bug Mysql ou Database   
    Na aba SQL, no PhpMyAdmin..
  11. Gostei
    igorcbc deu reputação a Fir3element em (Resolvido)[AJUDA] Gesior e Website   
    deleta ele e tenta entrar
  12. Gostei
    igorcbc deu reputação a LeoTK em (Resolvido)[AJUDA] Como instalar e configurar um Site   
    Clique Aqui para ir para o tópico lá o link já ta atualizado com download do xamp 1.7.3 amigo
  13. Gostei
    igorcbc deu reputação a Snowsz em [AJUDA] ERRO DISTRO   
    Sim, é "otserv" com o ponto no final mesmo ? Ou sem o ponto?
     
    Por enquanto que to sem resposta, pode tentar isso:

     
    accountManager = "yes" namelockManager = "yes" newPlayerChooseVoc = "yes" newPlayerSpawnPosX = 160 newPlayerSpawnPosY = 51 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 1 generateAccountNumber = "no" redSkullLength = 24 * 60 * 60 blackSkullLength = 48 * 60 * 60 dailyFragsToRedSkull = 15 weeklyFragsToRedSkull = 30 monthlyFragsToRedSkull = 50 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 55 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 1 * 24 * 60 * 60 killsBanLength = 1 * 24 * 60 * 60 finalBanLength = 1 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "open" protectionLevel = 50 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 2 * 60 * 1000 huntingDuration = 1 * 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = true removeWeaponAmmunition = false removeWeaponCharges = true removeRuneCharges = false whiteSkullTime = 3 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = true showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 1 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true worldId = 0 ip = "192.95.17.161" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Bem vindo ao Styller 24hrs! Para War-System !infowar" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Styller" loginMessage = "Bem vindo ao Styller 24hrs! Para War-System !infowar" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "32073336" sqlDatabase = "otserv" sqlFile = "website.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 2 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 50 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = true hotkeyAimbotEnabled = true maximumDoorLevel = 500 mapName = "Styller.otbm" mapAuthor = "Styller Soft" randomizeTiles = true useHouseDataStorage = false storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "-1" defaultPriority = "high" niceLevel = 5 coresUsed = "-1" optimizeDatabaseAtStartup = true removePremiumOnInit = true confirmOutdatedVersion = false maxMessageBuffer = 4 bufferMutedOnSpellFailure = false dataDirectory = "data/" allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false bankSystem = true saveGlobalStorage = true displaySkillLevelOnAdvance = false spellNameInsteadOfWords = false emoteSpells = true promptExceptionTracerErrorBox = true storePlayerDirection = false monsterLootMessage = 3 monsterLootMessageType = 25 separateViplistPerCharacter = false ghostModeInvisibleEffect = false ghostModeSpellEffects = true idleWarningTime = 14 * 60 * 1000 idleKickTime = 15 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = true premiumForPromotion = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 experienceStages = "yes" rateExperience = 200 rateExperienceFromPlayers = 0 rateSkill = 40 rateMagic = 20 rateLoot = 4 rateSpawn = 3 rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 rateStaminaLoss = 1 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 41 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 globalSaveEnabled = false globalSaveHour = 1 shutdownAtGlobalSave = false cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = false ownerName = "Styller Premium" ownerEmail = "[email protected]" url = "" location = "Brazil" displayGamemastersWithOnlineCommand = false adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false
  14. Gostei
    igorcbc deu reputação a Adriano SwaTT em Sistema: Cassino Slots.   
    Que bom, faça bom proveito.
     
    Boa sorte com seu projeto.
    Até breve.
  15. Gostei
    igorcbc deu reputação a LeoTK em (Resolvido)[AJUDA] Como instalar e configurar um Site   
    amigo irei atualizar com links de download aguarde

    #edit tópico atualizado com endereço de link para download do xampp 1.7.3
  16. Gostei
    igorcbc deu reputação a Bluetooth em (Resolvido)[AJUDA] Como instalar e configurar um Site   
    ae um tutorial bem explicado
    http://www.tibiaking.com/forum/topic/2015-colocando-seu-site-online/
  17. Gostei
    igorcbc deu reputação a Adriano SwaTT em Sistema: Cassino Slots.   
    Bom dia.
     
    No script se configura a quantidade de itens total:

    local items = { [0] = {0},  -- NEUTRO [1] = {2182}, -- ID do ITEM 1 [2] = {2183}, -- ID do ITEM 2 [3] = {2184}, -- ID do ITEM 3 [4] = {2185}, -- ID do ITEM 4 [5] = {2186}, -- ID do ITEM 5 [6] = {2187}, -- ID do ITEM 6 [7] = {2188}, -- ID do ITEM 7 [8] = {2189}, -- ID do ITEM 8 [9] = {2190}, -- ID do ITEM 9 [10] = {2191}, --ID do ITEM 10 [11] = {0}  -- NEUTRO } local qtdd = 10 -- Quantidade de Itens a Sortear // Não precisa apagar as demais linhas de configuração acima. Se mudar "local qtdd = 6" só contarão automaticamente até o 6º (Não precisa apagar as demais linhas do script):

    local items = { [0] = {0},  -- NEUTRO [1] = {2182}, -- ID do ITEM 1 [2] = {2183}, -- ID do ITEM 2 [3] = {2184}, -- ID do ITEM 3 [4] = {2185}, -- ID do ITEM 4 [5] = {2186}, -- ID do ITEM 5 [6] = {2187}, -- ID do ITEM 6  
    E sobre acertar apenas 2 prêmios, já tem no script para ser configurado:

    local comb1 = {2160, 10} -- ID do prêmio, Quantidade, para quem acertar 1 item da combinação local comb2 = {2160, 20} -- ID do prêmio, Quantidade, para quem acertar 2 item da combinação local comb3 = {2160, 50} -- ID do prêmio , Quantidade, para quem acertar todos itens da combinação + o prêmio configurado acima local premio = {6132, 1} -- ID do Prêmio, Quantidade (que o player ganhará ao acertar os 3 itens) Basta por o prêmio desejado conforme segue acima.
    Mas para por para ganhar o prêmio máximo ao acertar 2 dos itens, vai mudar algumas coisas na estrutura do script que eu acho desnecessário.
    Porque já tem prêmio ao acertar 1, 2 e o prêmio máximo que seria acertando os 3 itens.
    Então basta você por o prêmio que quiser ao acertar 1, o prêmio que quiser ao acertar 2, e o prêmio que quiser + o prêmio final ao acertar os 3 itens da combinação, pois ao acertar 3 ganha o comb3 e o premio, conforme no script acima.
     
    Boa sorte.
  18. Gostei
    igorcbc deu reputação a Adriano SwaTT em Sistema: Cassino Slots.   
    Boa noite galera,
    após um pedido aqui no fórum sobre um sistema de Cassino, decidi então criar este e disponibilizar para vocês.
     
    Introdução:
    Bom, este script simula a máquina de Cassino conhecida como Cassino Slots, pra quem não conhece é a máquina que se encontra no spoiler abaixo:
     
     
    Como funciona?
    O jogador precisa escolher 1 (um) dos 10 (dez) itens disponíveis (da para configurar a quantidade de itens) como seu Item da Sorte, e após feito isso, terá que girar a alavanca e torcer para que a máquina sorteie 3 itens repetidos igual ao que o jogador em questão escolheu.
    Para tornar um pouco mais fácil de vencer, criei para que a máquina dê pequenos brindes à quem acertar 1 ou 2 itens dos sorteados (configurável).
     
    Como jogar?
    Para jogar é simples, como desenvolvi todo script em apenas um arquivo, para facilitar na criação, na instalação e até mesmo na jogabilidade, o jogo se baseia na posição em que o jogador está para identificar qual ação executar.
    Selecionar Item da Sorte: com seu personagem virado para baixo (sul), clique na alavanca e automaticamente o item da sorte aparecerá na mesa configurada no script, caso queira outro item, basta ir usando a alavanca até encontrar o item desejado.
    Como Jogar: Após ter selecionado seu item da sorte, que deve estar à mostra em cima da mesa própria, basta virar seu personagem para cima (norte) e clicar novamente na alavanca.
    E se virar esquerda ou direita?: Nada acontecerá, apenas uma mensagem ensinando como jogar será enviada para que o jogador se oriente.
     
    Dicas de instalação!
    Sugiro que quando for criar o mapa para o evento, não faça como do vídeo, pois os itens criados nas mesas não estão com atributos para que não possam ser movidos, sendo assim é provável que jogadores de má fé venham a roubar itens... Faça como a imagem abaixo:
     
    Instalando:
    Basta criar um arquivo na pasta “data/actions/scripts” chamado “cassino_slots.lua” e adicionar o código abaixo dentro:
    Agora em “actions.xml” adicione a tag abaixo:
    Agora basta configurar de acordo com as informações disponíveis no início do script.
     
     
    Vejam o vídeo demonstrativo do Sistema em funcionamento.
     
     
     
     
    Criado por: Adriano Swatt'
  19. Gostei
    igorcbc deu reputação a loreal em Pedido Avatar   
    espero que goste  tive que fazer em resoluçãos 
     


     
    fiz em 3 tamanhos , 150x250 perde muita resolução para imagem caso for para avatar esses tamanhos são ideal
  20. Gostei
    igorcbc deu reputação a LeoTK em [DUVIDA] Dedicado e Geral !   
    Bom vamos lá.
     
    Qual Dedicado Recomendam ? ( Com preços razoáveis ) 
    R: Eu, recomendo a empresa weblara preço acessivel e ótimo atendimento ao cliente
     
    Ao pagar o Dedicado Como faço para me conectar ? 
    R: Para se conectar é facil depois de pago eles madaram especie de um login para seu email você vai usar isso para acessar remotamente o seu vps.... para abrir essa aba procure no executar conexão remota e ja vai aparecer a ferramenta para você feito isso coloquei o "login" passado para seu email e coloque a senha que você colocou quando fez o pedido de seu vps.
     
    como Abro meu ot nele ? Vou precisar abrir portas ? 
    R: Você compacta seu server em winrar coloca no mediafire,mega.co.nz,4shared .... e baixa no seu vps. Não precisa abrir qualquer tipo de porta no vps basta configurar certinho e colocar on-line.
     
    como faço para colocar meu Site online por ele ? 
    R: Para colocar seu site online pelo vps basta usar o mesmo método em seu pc normal, usando o Xampp ou Wampp mesma forma e mesmo processo oque você não precisa fazer é abrir as portas
  21. Gostei
    igorcbc deu reputação a ViitinG em (Resolvido)Protection Zone   
    Clique no tool NO PVP e segura o Ctrl e passa por cima com o botão esquerdo aonde você quer remover o tool.
  22. Gostei
    igorcbc deu reputação a Wakon em Alavancas De Pots   
    Testa assim:
    local t = { gmpid = 7590, -- Item a ser vendido cost = 15000, -- Valor count = 100 -- Cargas } local name = getItemNameById(t.gmpid) ----- End Config ----- function onUse(cid, item, fromPosition, itemEx, toPosition) if doPlayerRemoveMoney(cid, t.cost) == TRUE then doPlayerAddItem(cid, t.gmpid, t.count) doSendAnimatedText(fromPosition, "", TEXTCOLOR_YELLOW) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have purchased a "..t.count.." ".. name .."s for ".. t.cost .." gold.") for i=1,3 do end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need ".. t.cost .." gold coins for buy "..t.count.." ".. name .."s.") end return FALSE end Editei seu script pra ficar mais organizado e pegar a quantidade na mensagem.
  23. Gostei
    igorcbc deu reputação a Wakon em Alavancas De Pots   
    Retire o local bag = doPlayerAddItem(cid, backpackgmp_id, 1) na linha 10 e coloque doPlayerAddItem(cid, gmp_id, cargasgmp_id) no lugar,
    depois retire doAddContainerItem(bag, gmp_id, cargasgmp_id) na linha 14 e se quiser pode retirar a variável backpackgmp_id = 9774.
  24. Gostei
    igorcbc deu reputação a Wakon em (Resolvido)[AJUDA] Problemas com Pots   
    Troca pelo seu script de potions: Geralmente fica em "Data/actions/scripts/liquids/potions.lua".
    local config = {      removeOnUse = "yes",      usableOnTarget = "yes", -- can be used on target? (fe. healing friend)      splashable = "no",      range = -1,      realAnimation = "no", -- make text effect visible only for players in range 1x1      multiplier = {         health = 1.0,         mana = 1.0     } } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = {     [8704] = {empty = 7636, splash = 42, health = {50, 100}}, -- small health potion     [7618] = {empty = 7636, splash = 42, health = {100, 200}}, -- health potion     [7588] = {empty = 7634, splash = 42, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion     [7591] = {empty = 7635, splash = 42, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion     [8473] = {empty = 7635, splash = 42, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion     [7620] = {empty = 7636, splash = 47, mana = {70, 130}}, -- mana potion     [7589] = {empty = 7634, splash = 47, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion     [7590] = {empty = 7635, splash = 47, mana = {250, 350}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion     [8472] = {empty = 7635, splash = 43, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition)      local potion = POTIONS[item.itemid]      if(not potion) then          return false      end      if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then          if(not config.splashable) then              return false          end          if(toPosition.x == CONTAINER_POSITION) then              toPosition = getThingPosition(item.uid)          end          doDecayItem(doCreateItem(POOL, potion.splash, toPosition))          doRemoveItem(item.uid, 1)          if(not potion.empty or config.removeOnUse) then              return true          end          if(fromPosition.x ~= CONTAINER_POSITION) then              doCreateItem(potion.empty, fromPosition)          else              doPlayerAddItem(cid, potion.empty, 1)          end          return true      end      if(hasCondition(cid, CONDITION_EXHAUST)) then          doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)          return true      end      if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and         not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES))     then          doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1)          return true      end      if(config.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getCreaturePosition(cid), getCreaturePosition(itemEx.uid)) > config.range) then          return false      end      local health = potion.health      if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.multiplier.health))) then          return false      end      local mana = potion.mana      if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.multiplier.mana))) then          return false      end      doSendMagicEffect(getThingPosition(itemEx.uid), CONST_ME_MAGIC_BLUE)      if(not config.realAnimation) then          doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1)      else          for i, tid in ipairs(getSpectators(getThingPosition(itemEx.uid), 1, 1)) do              if(isPlayer(tid)) then                  doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid)              end          end      end      doAddCondition(cid, exhaust)      doRemoveItem(item.uid, 1)      if(not potion.empty or config.removeOnUse) then          return true      end      if(fromPosition.x ~= CONTAINER_POSITION) then          doCreateItem(potion.empty, fromPosition)      else          doPlayerAddItem(cid, potion.empty, 1)      end      return true end Não esqueça de configurar ao seu gosto os heals.
  25. Gostei
    igorcbc deu reputação a joadson em (Resolvido)[ PEDIDO ] Portinhas Por profissão   
    Aqui, tente esse...
    vá em action/script e crie um script chamado pdoor.lua e coloque isso dentro
    function onUse(cid, item, frompos, item2, topos) reqvoc = getPlayerVocation(cid) if item.uid == 8200 then -- mude para 8201 se quando for usar o mesmo script para outra vocação e 8203.... if reqvoc == 3 or recvoc == 7 then -- Aqui é o id da vocação, 3 é paladin e 7 é royal pos = getPlayerPosition(cid) if pos.x == topos.x then if pos.y < topos.y then pos.y = topos.y + 1 else pos.y = topos.y - 1 end elseif pos.y == topos.y then if pos.x < topos.x then pos.x = topos.x + 1 else pos.x = topos.x - 1 end else doPlayerSendTextMessage(cid,22,'Stand in front of the door.') return 1 end doTeleportThing(cid,pos) doSendMagicEffect(topos,12) else doPlayerSendTextMessage(cid,22,'Somente Paladins entram aqui.') -- Mensagem end return 1 else return 0 end end e em action,xml coloque
    <action uniqueid="8200" script="pdoor.lua" /> PS: quando for criar outra voc, mude o uniqueID aqui tbm, coloque o mesmo do pdoor.lua
     
    feito isso é só colocar actionID 8200, nas portas de paladin.
     

Informação Importante

Confirmação de Termo