Ir para conteúdo

L3K0T

Membro
  • Registro em

  • Última visita

Tudo que L3K0T postou

  1. oi amigo demorou mais fiz kkk local l3k0t = { colors = {16, 161, 149, 251, 211, 200}, itemganhar = { {2160, 30, 50}, {2160, 20, 30}, {2160, 10, 20} } } function onUse(cid, item, fromPosition, itemEx, toPosition) doRemoveItem(item.uid, 1) local rand = math.random(100) for i = 1, #l3k0t.itemganhar do if rand > l3k0t.itemganhar[i][3] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "ah que pena, não foi desta vez! ;(") doSendAnimatedText(getCreaturePosition(cid), "Bad!", l3k0t.colors[math.random(1, #l3k0t.colors)]) doSendMagicEffect(fromPosition, 2) return true end end local recompensal3k0t = l3k0t.itemganhar rand = math.random(#recompensal3k0t) doPlayerAddItem(cid, recompensal3k0t[rand][1], recompensal3k0t[rand][2], true) doSendAnimatedText(getCreaturePosition(cid), "Win!", l3k0t.colors[math.random(1, #l3k0t.colors)]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "PARABÉNS: Você ganhou: " .. recompensal3k0t[rand][2] .. " crystal coins!") doSendMagicEffect(fromPosition, 27) return true end <action itemid="id do item" event="script" value="recompensa.lua"/>
  2. SUMMON SPELLS Como o nome diz é uma spell que sumona até 4 monstros ou podendo adicionar mais, legal pra naruto etc... Então para não perder ou ficar em vão, irei deixar pra vocês e já com as correções. DEMONSTRAÇÃO 2022-09-01 00-08-30.mp4 INSTALANDO 1: primeiro vá em data/spells/scripts e crie um arquivo.lua e adicione isso abaixo dentro dele e em seguida salve. function onCastSpell(cid, var) local from,to = {x=962, y=885, z=7},{x=973, y=892, z=7} local from2,to2 = {x=979, y=901, z=7},{x=991, y=905, z=7} local dir = getPlayerLookDir(cid) local ppos = getPlayerPosition(cid) if(dir==1)then ppos.x = ppos.x + 1 elseif(dir==2)then ppos.y = ppos.y + 1 elseif(dir==3)then ppos.x = ppos.x - 1 elseif(dir==0)then ppos.y = ppos.y - 1 end local summon = getCreatureSummons(cid) local MaximoSummon = 0 if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) then doPlayerSendCancel(cid, "Você não pode usar Summons Aqui!") return false end if (table.maxn(summon) > MaximoSummon) then doPlayerSendTextMessage(cid, 22, "Voce ainda tem summons em batalha!") return false end local clone1 = doConvinceCreature(cid, doCreateMonster("Morgaroth", ppos)) local clone2 = doConvinceCreature(cid, doCreateMonster("Demon", ppos)) local clone3 = doConvinceCreature(cid, doCreateMonster("Terror Bird", ppos)) local clone4 = doConvinceCreature(cid, doCreateMonster("Giant Spider", ppos)) doPlayerSendTextMessage(cid, 22, "Voce summonou 4 criaturas!") end 2: agora vá em data/spells/ e abra o arquivo spells.xml e coloca isso dentro e salve <instant name="Sumonar" words="!help" lvl="0" mana="0" aggressive="0" params="1" exhaustion="1000" needlearn="0" event="script" value="arquivo.lua"> </instant> 2022-09-01 00-28-08.mp4 Pronto! agora é só usar a imaginação, pode adicionar monstro diferente ou do mesmo quantas vezes quiser. créditos fonte: @Lenilson e L3K0T
  3. function onCastSpell(cid, var) local from,to = {x=962, y=885, z=7},{x=973, y=892, z=7} local from2,to2 = {x=979, y=901, z=7},{x=991, y=905, z=7} local dir = getPlayerLookDir(cid) local ppos = getPlayerPosition(cid) if(dir==1)then ppos.x = ppos.x + 1 elseif(dir==2)then ppos.y = ppos.y + 1 elseif(dir==3)then ppos.x = ppos.x - 1 elseif(dir==0)then ppos.y = ppos.y - 1 end local summon = getCreatureSummons(cid) local MaximoSummon = 0 if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) then doPlayerSendCancel(cid, "Você não pode usar Summons Aqui!") return false end if (table.maxn(summon) > MaximoSummon) then doPlayerSendTextMessage(cid, 22, "Voce ainda tem summons em batalha!") return false end local clone1 = doConvinceCreature(cid, doCreateMonster("Suiton Hearth", ppos)) local clone2 = doConvinceCreature(cid, doCreateMonster("Fuuton Hearth", ppos)) local clone3 = doConvinceCreature(cid, doCreateMonster("Raiton Hearth", ppos)) local clone4 = doConvinceCreature(cid, doCreateMonster("Katon Hearth", ppos)) doPlayerSendTextMessage(cid, 22, "Voce summonou quatro criaturas!") end FIZ ISSO PRA VOCÊ, NÁO SEI SE VAI TE AJUDAR, MAIS SÓ PODE SUMONAR MAIS QUANDO NÃO TER MAIS SUMONS EM BATALHA SE TE AJUDEI NÃO ESQUEÇA DE REP+
  4. player.cpp soulMax = 100; tente mudar esse numero
  5. executa o xammp como administrador
  6. abra seu RME e aperta a tecla E depois do mapa aberto.
  7. Não recomendo porque no Brasil não tem muita proteção em hosts, agora imagina um PC em casa? recomendo comprar uma host fora do brasil, tipo montreal no canadá e sistema operacional eu usava muito o ubuntu server 12.04, espero ter ajudado.
  8. tem um coração do lado >>>>
  9. tente salvar corretamente vou fechar a loja aqui depois eu tento te ajudar mais, pelomenos meio caminho andado REP+
  10. tenta assim config.lua worldType = "pvp" hotkeyAimbotEnabled = true protectionLevel = 100 pzLocked = 60 * 1000 removeChargesFromRunes = false removeChargesFromPotions = true removeWeaponAmmunition = false removeWeaponCharges = false timeToDecreaseFrags = 30 * 24 * 60 * 60 whiteSkullTime = 1 * 60 * 1000 stairJumpExhaustion = 2 * 1000 experienceByKillingPlayers = true expFromPlayersLevelRange = 575 dayKillsToRedSkull = 12 weekKillsToRedSkull = 70 monthKillsToRedSkull = 280 redSkullDuration = 1 blackSkullDuration = 2 orangeSkullDuration = 0 ip = "127.0.0.1" bindOnlyGlobalAddress = false loginProtocolPort = 7171 gameProtocolPort = 7172 statusProtocolPort = 7171 maxPlayers = 2000 motd = "Welcome to Deletera! Spells iguais a versao 8.60!" onePlayerOnlinePerAccount = true allowClones = false serverName = "Deletera" statusTimeout = 5 * 1000 replaceKickOnLogin = true maxPacketsPerSecond = 25 maxItem = 2000 maxContainer = 100 clientVersion = 1264 clientVersionStr = "12.64" freeDepotLimit = 2000 premiumDepotLimit = 10000 depotBoxes = 1 gamestoreByModules = true onlyPremiumAccount = false weatherRain = false thunderEffect = false freeQuests = false allConsoleLog = false deathLosePercent = -1 housePriceEachSQM = 5000 houseRentPeriod = "never" houseNeedPremiumAccount = false timeBetweenActions = 500 timeBetweenExActions = 1000 pushDelay = 1000 pushDistanceDelay = 1500 mapName = "otservbr.otbm" mapAuthor = "WaldirTeixeira" marketOfferDuration = 60 * 24 * 60 * 60 premiumToCreateMarketOffer = true checkExpiredMarketOffersEachMinutes = 60 maxMarketOffersAtATimePerPlayer = 100 mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "vinne42362955" mysqlDatabase = "baiak" mysqlPort = 3306 mysqlSock = "" passwordType = "sha1" allowChangeOutfit = true freePremium = false kickIdlePlayerAfterMinutes = 15 maxMessageBuffer = 4 emoteSpells = true classicEquipmentSlots = false allowWalkthrough = false coinPacketSize = 25 coinImagesURL = "http://127.0.0.1/store/" classicAttackSpeed = true showScriptsLogInConsole = false serverSaveNotifyMessage = true serverSaveNotifyDuration = 5 serverSaveCleanMap = false serverSaveClose = false serverSaveShutdown = true rateExp = 10000000 rateSkill = 3500 rateLoot = 4 rateMagic = 2500 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 deSpawnRange = 2 deSpawnRadius = 50 staminaSystem = false warnUnsafeScripts = true convertUnsafeScripts = true defaultPriority = "high" startupDatabaseOptimization = true ownerName = "Waldir" ownerEmail = "[email protected]" url = "https://deletera.net/" location = "Brazil" discordWebhookURL = ""
  11. ai tem 2 mapas tente com o outro nessa config.lua worldType = "pvp" hotkeyAimbotEnabled = true protectionLevel = 100 pzLocked = 60 * 1000 removeChargesFromRunes = false removeChargesFromPotions = true removeWeaponAmmunition = false removeWeaponCharges = false timeToDecreaseFrags = 30 * 24 * 60 * 60 whiteSkullTime = 1 * 60 * 1000 stairJumpExhaustion = 2 * 1000 experienceByKillingPlayers = true expFromPlayersLevelRange = 575 dayKillsToRedSkull = 12 weekKillsToRedSkull = 70 monthKillsToRedSkull = 280 redSkullDuration = 1 blackSkullDuration = 2 orangeSkullDuration = 0 ip = "127.0.0.1" bindOnlyGlobalAddress = false loginProtocolPort = 7171 gameProtocolPort = 7172 statusProtocolPort = 7171 maxPlayers = 2000 motd = "Welcome to Deletera! Spells iguais a versao 8.60!" onePlayerOnlinePerAccount = true allowClones = false serverName = "Deletera" statusTimeout = 5 * 1000 replaceKickOnLogin = true maxPacketsPerSecond = 25 maxItem = 2000 maxContainer = 100 clientVersion = 1264 clientVersionStr = "12.64" freeDepotLimit = 2000 premiumDepotLimit = 10000 depotBoxes = 1 gamestoreByModules = true onlyPremiumAccount = false weatherRain = false thunderEffect = false freeQuests = false allConsoleLog = false deathLosePercent = -1 housePriceEachSQM = 5000 houseRentPeriod = "never" houseNeedPremiumAccount = false timeBetweenActions = 500 timeBetweenExActions = 1000 pushDelay = 1000 pushDistanceDelay = 1500 mapName = "otservbr" mapAuthor = "WaldirTeixeira" marketOfferDuration = 60 * 24 * 60 * 60 premiumToCreateMarketOffer = true checkExpiredMarketOffersEachMinutes = 60 maxMarketOffersAtATimePerPlayer = 100 mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "vinne42362955" mysqlDatabase = "baiak" mysqlPort = 3306 mysqlSock = "" passwordType = "sha1" allowChangeOutfit = true freePremium = false kickIdlePlayerAfterMinutes = 15 maxMessageBuffer = 4 emoteSpells = true classicEquipmentSlots = false allowWalkthrough = false coinPacketSize = 25 coinImagesURL = "http://127.0.0.1/store/" classicAttackSpeed = true showScriptsLogInConsole = false serverSaveNotifyMessage = true serverSaveNotifyDuration = 5 serverSaveCleanMap = false serverSaveClose = false serverSaveShutdown = true rateExp = 10000000 rateSkill = 3500 rateLoot = 4 rateMagic = 2500 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 deSpawnRange = 2 deSpawnRadius = 50 staminaSystem = false warnUnsafeScripts = true convertUnsafeScripts = true defaultPriority = "high" startupDatabaseOptimization = true ownerName = "Waldir" ownerEmail = "[email protected]" url = "https://deletera.net/" location = "Brazil" discordWebhookURL = ""
  12. eu citei ali em cima o caminho, mais vou citar novamente. o caminho do mapa geralmente fica em data/world como está o nome dos arquivos lá dentro?
  13. mais qual é o nome do mapa que está na pasta? é o mesmo do config.lua?
  14. tenta por de mapName = "baiakdodu" para mapName = "baiakdodu.otbm" o caminho do mapa geralmente fica em data/world
  15. tá falando que seu spawn não existe na pasta e também não conseguiu achar o caminho do mapa.
  16. vc também pode excluir todas as tabelas do mysql e deixa apenas a sua no banco de dados. porque assim não teria mais esse erro de previlégio e agora se isso também não resolver tente instalar um xampp da versão mais antiga se estiver usando ele. tipo um 1.7.3
  17. está dizendo que não conseguiu a conexão com a data base, algo abaixo está errado. mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "vinne42362955" mysqlDatabase = "baiak" mysqlPort = 3306 mysqlSock = "" passwordType = "sha1"
  18. faz assim de por a pasta com o nome ot novo, coloca ot_novo EVITE ESPAÇOS EM PASTA EM INSTALAÇÕES.
  19. assim worldType = "pvp" hotkeyAimbotEnabled = true protectionLevel = 100 pzLocked = 60 * 1000 removeChargesFromRunes = false removeChargesFromPotions = true removeWeaponAmmunition = false removeWeaponCharges = false timeToDecreaseFrags = 30 * 24 * 60 * 60 whiteSkullTime = 1 * 60 * 1000 stairJumpExhaustion = 2 * 1000 experienceByKillingPlayers = true expFromPlayersLevelRange = 575 dayKillsToRedSkull = 12 weekKillsToRedSkull = 70 monthKillsToRedSkull = 280 redSkullDuration = 1 blackSkullDuration = 2 orangeSkullDuration = 0 ip = "127.0.0.1" bindOnlyGlobalAddress = false loginProtocolPort = 7171 gameProtocolPort = 7172 statusProtocolPort = 7171 maxPlayers = 2000 motd = "Welcome to Deletera! Spells iguais a versao 8.60!" onePlayerOnlinePerAccount = true allowClones = false serverName = "Deletera" statusTimeout = 5 * 1000 replaceKickOnLogin = true maxPacketsPerSecond = 25 maxItem = 2000 maxContainer = 100 clientVersion = 1264 clientVersionStr = "12.64" freeDepotLimit = 2000 premiumDepotLimit = 10000 depotBoxes = 1 gamestoreByModules = true onlyPremiumAccount = false weatherRain = false thunderEffect = false freeQuests = false allConsoleLog = false deathLosePercent = -1 housePriceEachSQM = 5000 houseRentPeriod = "never" houseNeedPremiumAccount = false timeBetweenActions = 500 timeBetweenExActions = 1000 pushDelay = 1000 pushDistanceDelay = 1500 mapName = "baiakdodu" mapAuthor = "WaldirTeixeira" marketOfferDuration = 60 * 24 * 60 * 60 premiumToCreateMarketOffer = true checkExpiredMarketOffersEachMinutes = 60 maxMarketOffersAtATimePerPlayer = 100 mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "vinne42362955" mysqlDatabase = "baiak" mysqlPort = 3306 mysqlSock = "" passwordType = "sha1" allowChangeOutfit = true freePremium = false kickIdlePlayerAfterMinutes = 15 maxMessageBuffer = 4 emoteSpells = true classicEquipmentSlots = false allowWalkthrough = false coinPacketSize = 25 coinImagesURL = "http://127.0.0.1/store/" classicAttackSpeed = true showScriptsLogInConsole = false serverSaveNotifyMessage = true serverSaveNotifyDuration = 5 serverSaveCleanMap = false serverSaveClose = false serverSaveShutdown = true rateExp = 10000000 rateSkill = 3500 rateLoot = 4 rateMagic = 2500 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 deSpawnRange = 2 deSpawnRadius = 50 staminaSystem = false warnUnsafeScripts = true convertUnsafeScripts = true defaultPriority = "high" startupDatabaseOptimization = true ownerName = "Waldir" ownerEmail = "[email protected]" url = "https://deletera.net/" location = "Brazil" discordWebhookURL = ""
  20. Remova todos os comentários e espaços no config.lua e que provavelmente vá resolver.
  21. seria legal também te um item no mapa que seria crafitado depois de crafitado ele pode ser usado e assim liberando o personagem
  22. precisar já sabe, estamos sempre ai sempre que der, para sanar problemas.

Informação Importante

Confirmação de Termo