Ir para conteúdo

Muvuka

Membro
  • Registro em

  • Última visita

Tudo que Muvuka postou

  1. Verde no nroadcast e laranja no defauft conforme a imagem
  2. function onSay(cid, words, param, channel) if(param == "") then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Please type a message for broadcast.") and true end if not (exhaustion.check(cid, 1000)) then exhaustion.set(cid, 1000, 60) broadcastMessage("[/all] --> "..getPlayerName(cid) .." [".. getPlayerLevel(cid) .. "]: " .. param, MESSAGE_STATUS_CONSOLE_ORANGE) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Please wait "..exhaustion.get(cid, 1000).." second"..(exhaustion.get(cid, 1000) > 1 and "s" or "").." to broadcast again.") end return true end
  3. <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="login" name="AntiMC" event="script" value="antimc.lua"/> <event type="death" name="Heart" event="script" value="heart.lua"/> <event type="login" name="firstmessage" script="firstmessage.lua"/> <event type="combat" name="AntiBot1" event="script" value="antiBot.lua"/> <event type="statschange" name="AntiBot2" event="script" value="antiBot.lua"/> <event type="login" name="AntiBot3" event="script" value="antiBot.lua"/> <event type="logout" name="AntiBot4" event="script" value="antiBot.lua"/> <event type="cast" name="AntiBot5" event="script" value="antiBot.lua"/> <event type="death" name="PlayerReborn" event="script" value="reviver.lua"/> <event type="death" name="teleportmonster" script="tpmonster.lua"/> <event type="login" name="fist" script="fist.lua"/> <event type="death" name="chestMoment" event="script" value="chest_moment.lua"/> <event type="advance" name="Playeradvance" event="script" value="efeitoup.lua"/> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="death" name="guardablood" event="script" value="BloodCreatureGuarda.lua"/> <event type="death" name="arcanjoblood" event="script" value="BloodCreatureAnjo.lua"/> <event type="death" name="morrerblood" event="script" value="BloodCreature.lua"/> <event type="look" name="ResetLook" event="script" value="resetlook.lua"/> <event type="death" name="loginblood" event="script" value="BloodCreature.lua"/> <event type="attack" name="WeaponPar" event="script" value="weaponpar.lua"/> <event type="login" name="TopEffect" event="script" value="topeffect.lua"/> <event type="statschange" name="invencible" event="script" value="invencible.lua"/> <event type="login" name="FragsGuildLogin" script="GuildFragsLogin.lua"/> <event type="death" name="DeathSystem" event="script" value="DeathSystem.lua"/> <event type="kill" name="FragsGuildKill" script="GuildFragsKill.lua"/> <event type="kill" name="anunciarmorte" event="script" value="anunciar_morte.lua"/> <event type="kill" name="pvpsystem" event="script" value="pvpsystem.lua"/> <event type="death" name="morto" event="script" value="monster.lua"/> <event type="login" name="CheckVip" script="endvip.lua"/> <event type="advance" name="fullmh" event="script" value="fullmh.lua"/> <event type="login" name="AntiAccBomb" script="accounts.lua"/> <event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/> <event type="login" name="ExpVip" script="vipexp.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="death" name="anuncioServer" event="script" value="anunciomonstro.lua"/> <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/> <event type="kill" name="RepSystem" event="script" value="repsystem.lua"/> <event type="login" name="MutePlayer" event="script" value="mute_check.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="kill" name="owned" script="owned.lua"/> <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> <event type="login" name="PlayerAddPointsTimer" event="script" value="points.lua"/> <event type="attack" name="attackguild" script="attackguild.lua"/> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="death" name="BlessDrop" event="script" value="dropbless.lua"/> <event type="death" name="DeathList" event="script" value="death_list.lua"/> <event type="preparedeath" name="onPrepareDeathinifi" event="script" value="aolinfinity.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/> <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> <event type="login" name="PlayerAddPointsTimer" event="script" value="points.lua"/> <event type="logout" name="PlayerResetPointsTimer" event="script" value="points.lua"/> <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/> <event type="attack" name="attackguild" script="attackguild.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/> <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> <event type="login" name="AntiMC" event="script" value="antimc.lua"/> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="statschange" name="invencible" event="script" value="invencible.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="kill" name="avisarServer" script="avisar.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> <event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> <event type="login" name="FragsGuildLogin" script="GuildFragsLogin.lua"/> <event type="kill" name="FragsGuildKill" script="GuildFragsKill.lua"/> <event type="look" name="fraglook" event="script" value="fraglook.lua"/> </creaturescripts>
  4. DA ESSE ERRO NO CONSOLE (GUI)
  5. Muvuka postou uma resposta no tópico em Suporte Tibia OTServer
    8.60
  6. Deu certo !vlw!
  7. Muvuka postou uma resposta no tópico em Suporte Tibia OTServer
    -- Account manager accountManager = true namelockManager = false newPlayerChooseVoc = true newPlayerSpawnPosX = 160 newPlayerSpawnPosY = 54 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 1 newPlayerMagicLevel = 0 generateAccountNumber = false redSkullLength = 50 * 62 * 70 * 90 blackSkullLength = 64 * 72 * 80 * 95 dailyFragsToRedSkull = 100 weeklyFragsToRedSkull = 500 monthlyFragsToRedSkull = 10000 dailyFragsToBlackSkull = 2000 weeklyFragsToBlackSkull = 1000 monthlyFragsToBlackSkull = 20000 dailyFragsToBanishment = 0 weeklyFragsToBanishment = 0 monthlyFragsToBanishment = 0 blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false notationsToBan = 3 warningsToFinalBan = 1 warningsToDeletion = 1 banLength = 7 * 24 * 60 * 60 killsBanLength = 8 * 24 * 60 * 60 finalBanLength = 31 * 24 * 60 * 60 ipBanishmentLength = 31 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = true worldType = "pvp" protectionLevel = 50 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 20 * 700 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = true removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false whiteSkullTime = 5 * 10 * 100 noDamageToSameLookfeet = false showHealingDamage = true showHealingDamageForMonsters = true fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 5 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 215 allowFightback = true worldId = 0 ip = "dexsoft.servegame.com" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 5 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 2000 motd = "DexSoft Sejam Bem Vindos (as)" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "DexSoft" loginMessage = "/commands Pra Saber os Comandos." statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = true sqlType = "sqlite" sqlHost = "127.0.0.1" sqlPort = 3306 sqlUser = "" sqlPass = "" sqlDatabase = "Sam" sqlFile = "Sam.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 100 updateHighscoresAfterMinutes = 2 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 1 housesPerAccount = 0 houseRentAsPrice = 1000000 housePriceAsRent = 9999999 housePriceEachSquare = 1000000000 houseRentPeriod = "never" houseCleanOld = 31 guildHalls = true timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = true hotkeyAimbotEnabled = true maximumDoorLevel = 1000 mapName = "Baiak Yurots" mapAuthor = "Baiak Samuel" 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 = 1000 * 1000 * 10000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = false premiumForPromotion = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 experienceStages = "false" rateExperience = 999999 rateExperienceFromPlayers = 999999 rateSkill = 300 rateMagic = 200 rateLoot = 35 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 rateStaminaLoss = 0 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 41 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = false experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 globalSaveEnabled = false globalSaveHour = 8 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 2 teleportAllSummons = true teleportPlayerSummons = false ownerName = "Samuel Galdino de Araujo" ownerEmail = "[email protected]" url = "" location = "Brazil" displayGamemastersWithOnlineCommand = false PlayersLogsEnabled = true adminLogsEnabled = true displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false
  8. local MONEY_AMOUNT = 1000 --Quantidade de dinheiro (em gold coins) que o player necessitará para reviver local MAGIC_EFFECT_TELEPORT = 65 -- Efeito que aparecerá quando o player for teleportado local PLAYER_REBORN_POSITION_X = 66541 local PLAYER_REBORN_POSITION_Y = 66542 local PLAYER_REBORN_POSITION_Z = 66543 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end npcHandler:setMessage(MESSAGE_GREET, "Ola |PLAYERNAME|. Eu posso te {reviver} no local aonde voce morreu recentemente por uma certa quantidade de dinheiro.") function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'reviver') or msgcontains(msg, 'revive')) then selfSay('Voce precisa de ' .. MONEY_AMOUNT .. ' gold(s) para ressuscitar no local aonde voce morreu recentemente', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if(getPlayerMoney(cid) >= MONEY_AMOUNT) then doPlayerRemoveMoney(cid, MONEY_AMOUNT) if teleportPlayerToPositionReborn(cid) then doTeleportThing(cid, { x=playerRebornPositionX, y=playerRebornPositionY, z=playerRebornPositionZ }) doSendMagicEffect(getThingPos(cid), MAGIC_EFFECT_TELEPORT) selfSay('Ok, voce foi ressuscitado', cid) end else selfSay('Desculpe, mais voce nao possui o dinheiro suficiente.', cid) end talkState[talkUser] = 0 elseif(msgcontains(msg, 'no') and isInArray({1}, talkState[talkUser]) == TRUE) then talkState[talkUser] = 0 selfSay('Ok, ate mais.', cid) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) function teleportPlayerToPositionReborn(cid) local playerRebornPositionX = getPlayerStorageValue(cid, PLAYER_REBORN_POSITION_X) local playerRebornPositionY = getPlayerStorageValue(cid, PLAYER_REBORN_POSITION_Y) local playerRebornPositionZ = getPlayerStorageValue(cid, PLAYER_REBORN_POSITION_Z) if (playerRebornPositionX <= -1 or playerRebornPositionY <= -1 or playerRebornPositionZ <= -1) then selfSay('Voce nao morreu nenhuma vez ainda.', cid) return false end doTeleportThing(cid, { x=playerRebornPositionX, y=playerRebornPositionY, z=playerRebornPositionZ }) return true end
  9. Muvuka postou uma resposta no tópico em Suporte Tibia OTServer
    To precisando de um npc reset a .lua e o .xml
  10. Funcionou perfeito REP +
  11. 8.60 Necessito de um NPC Revive ele funciona assim quando voce fala hi ele vai fala que voce precisa de uma porcentagem x do seu dinheiro pra ressussitar a tal [SQM] ai quando se tem ao dinheiro e fala yes voce é teleportado pro lugar em que voce morreu.
  12. physical energy fire poison lifedrain paralyze outfit drunk invisible iice death holy

Informação Importante

Confirmação de Termo