Ir para conteúdo

ulatson

Membro
  • Registro em

  • Última visita

Tudo que ulatson postou

  1. ulatson postou uma resposta no tópico em Suporte Bots
    Galera seguinte, tava de bot numa cave ai veio um cara me chamou e eu nao respondi logo depois.que que ele estava na cave mandando todo mundo me reportar e agora vou tomar ban??
  2. tem como faz um script por exemplo para o Player falar só !resetar , outra coisa para que nesse script os outros jogadores conseguem visualizar quantos resets o player tem . tem como colocar nesse modelo abaixo level 10.000 -3 resets após 3 resets o player só vai poder resetar no level 50.000 apos 7 resets o player vai ter que resetar 70.000 e 10 somente apos o 100.000 e ter condições para as magias por exemplo star dead (3 resets) exevo gran mas mort (7 resets ) exevo mas dead (10 resets) Se podesse me ajudar nesse script ajudaria muito Rep++
  3. ulatson postou uma resposta no tópico em Monsters, NPC, Raids & Mounts
    tem como colocar no script por exemplo para o Player falar só !resetar , outra pergunta nesse script os outros jogadores vão conseguir visualizar quantos resets o player tem ? tem como colocar nesse modelo abaixo level 10.000 -3 resets após 3 resets o player só vai poder resetar no level 50.000 apos 7 resets o player vai ter que resetar 70.000 e ter magias por exemplo star dead (3 resets) exevo gran mas mort (7 resets ) Se podesse me ajudar nesse script ajudaria muito Rep++
  4. onde coloca essa function ?? function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then resets = getPlayerStorageValue(thing.uid, 1020)+1 doPlayerSetSpecialDescription(thing.uid, "\nResets: [" .. resets ..]") end return true end
  5. Ok, valo lá... O meu server usa account manager ele não usa sie ou oraculo..ou nada parecido, não pois vocation se não me engano é o Account manager. Segue o script das vocations. <?xml version="1.0" encoding="UTF-8" ?> - <vocations> - <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="10" gainmanaticks="6" gainmanaamount="10" manamultiplier="4.0" attackspeed="1000" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="2.0" defense="1.0" armor="1.0" /> <skill id="0" multiplier="1.5" /> <skill id="1" multiplier="2.0" /> <skill id="2" multiplier="2.0" /> <skill id="3" multiplier="2.0" /> <skill id="4" multiplier="2.0" /> <skill id="5" multiplier="1.5" /> <skill id="6" multiplier="1.1" /> </vocation> - <vocation id="1" name="Master Sorcerer" description="a master sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="200" manamultiplier="1.1" attackspeed="120" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="0.0" distDamage="0.0" wandDamage="1.3" magDamage="1.4" magHealingDamage="1.0" defense="1.0" armor="1.0" /> <skill id="0" multiplier="1.5" /> <skill id="1" multiplier="2.0" /> <skill id="2" multiplier="2.0" /> <skill id="3" multiplier="2.0" /> <skill id="4" multiplier="2.0" /> <skill id="5" multiplier="1.5" /> <skill id="6" multiplier="1.1" /> </vocation> - <vocation id="2" name="Elder Druid" description="a elder druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="200" manamultiplier="1.1" attackspeed="120" soulmax="100" gainsoulticks="120" fromvoc="2"> <formula meleeDamage="0.0" distDamage="0.0" wandDamage="1.3" magDamage="1.4" magHealingDamage="1.1" defense="1.0" armor="1.0" /> <skill id="0" multiplier="1.5" /> <skill id="1" multiplier="1.8" /> <skill id="2" multiplier="1.8" /> <skill id="3" multiplier="1.8" /> <skill id="4" multiplier="1.8" /> <skill id="5" multiplier="1.5" /> <skill id="6" multiplier="1.1" /> </vocation> - <vocation id="3" name="Royal Paladin" description="a royal paladin" needpremium="0" gaincap="20" gainhp="15" gainmana="15" gainhpticks="1" gainhpamount="105" gainmanaticks="1" gainmanaamount="100" manamultiplier="1.4" attackspeed="120" soulmax="100" gainsoulticks="120" fromvoc="3"> <formula meleeDamage="0.0" distDamage="1.5" wandDamage="1.0" magDamage="1.2" magHealingDamage="1.0" defense="1.0" armor="1.0" /> <skill id="0" multiplier="1.2" /> <skill id="1" multiplier="1.2" /> <skill id="2" multiplier="1.2" /> <skill id="3" multiplier="1.2" /> <skill id="4" multiplier="1.1" /> <skill id="5" multiplier="1.1" /> <skill id="6" multiplier="1.1" /> </vocation> - <vocation id="4" name="Elite Knight" description="a elite knight" needpremium="0" gaincap="25" gainhp="20" gainmana="5" gainhpticks="1" gainhpamount="100" gainmanaticks="1" gainmanaamount="100" manamultiplier="3.0" attackspeed="120" soulmax="100" gainsoulticks="120" fromvoc="4"> <formula meleeDamage="1.4" distDamage="0.0" wandDamage="1.0" magDamage="1.3" magHealingDamage="1.2" defense="1.0" armor="1.0" /> <skill id="0" multiplier="1.1" /> <skill id="1" multiplier="1.1" /> <skill id="2" multiplier="1.1" /> <skill id="3" multiplier="1.1" /> <skill id="4" multiplier="1.4" /> <skill id="5" multiplier="1.1" /> <skill id="6" multiplier="1.1" /> </vocation>
  6. Gustavo gostei do seu post, queria que tivesse como o player tirar a montaria.... tem como ???
  7. Ola queria colocar no meu ot um script de que quando o player chegar em um level ela vai poder resetar para outra profissão e ficar mais forte e ter novas magias.... poderiam me ajudar a criar esse script
  8. No meu ot deu erro pode me ajudar ?? colei todos os scripts como mandado mais aina n deu certo gerou esse erro [error - luascrptntarface::loadfile] cannot open data/spells/scripts/support/vip_hur.lua: no such file or directory
  9. já consegui descobrir o npc...agora queria saber se fosse para o player resetasse o lvl tem como ??
  10. ulatson postou uma resposta no tópico em Monsters, NPC, Raids & Mounts
    Oii, estou com duvida, o npc não apareceu no rembers como faço, pode me ajudar ??
  11. Olá fiquei só com uma duvida, qual npc que vai vender essa nova vocation ????
  12. Está faltando esses arquivos [09/03/2014 12:26:02] [Error - LuaScriptInterface::loadFile] data/movements/scripts/war.lua:3: '}' expected (to close '{' at line 1) near 'uniqueid' [09/03/2014 12:26:02] [Warning - Event::loadScript] Cannot load script (data/movements/scripts/war.lua) [09/03/2014 12:26:02] data/movements/scripts/war.lua:3: '}' expected (to close '{' at line 1) near 'uniqueid' [09/03/2014 12:26:02] [Error - LuaScriptInterface::loadFile] cannot open data/creaturescripts/scripts/advance.lua: No such file or directory [09/03/2014 12:26:02] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/advance.lua) está gerando erro quando os playes estão upando alguem pode me ajudar ??
  13. Em qual scripit eu vou colocar isso doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)[???quote name=xWhiteWolf" post="178192" timestamp="1394281054]abre o config.lua e edita o deathLossPercent lá. coloca algo tipo 5%. e muda isso daqui no script doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) ele tá multiplicando o loss experience por 10. diminui esse valor pra 1 /\; Para ganhar exp quando matar alguém é no config.lua também, não achei nada de errado nesse script ai.
  14. ulatson postou uma resposta no tópico em Tibia Global OTServer
    Bom dia! Esta com um bug quando os players estao matando ou player nao ganha xp , alguem pode me ajudar ?
  15. NO meu Config.ula não tem essa opção segue o mesmo accountManager = true namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 1095 newPlayerSpawnPosY = 1062 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 130 newPlayerMagicLevel = 10 generateAccountNumber = false redSkullLength = 1 * 60 * 1000 blackSkullLength = 1 * 60 * 1000 dailyFragsToRedSkull = 3 weeklyFragsToRedSkull = 5 monthlyFragsToRedSkull = 10 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = true notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 7 * 24 * 60 * 6 killsBanLength = 7 * 24 * 60 * 60 finalBanLength = 30 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "PVP-Enforced" protectionLevel = 75 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 1 * 60 * 1000 huntingDuration = 60 * 1000 criticalHitChance = 40 criticalHitMultiplier = 1 displayCriticalHitNotify = true removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false whiteSkullTime = 1 * 60 * 1000 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 = 0 allowFightback = true worldId = 0 ip = "127.0.0.1" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 -- Não mude adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Bem vindo ao Carlin War!" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Carlin War" loginMessage = "Bem vindo ao Carlin War!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "Carlin War" sqlFile = "schemas+Database/War.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 75 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 30 highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 60 buyableAndSellableHouses = False houseNeedPremium = False bedsRequirePremium = False levelToBuyHouse = 75 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = False timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = true hotkeyAimbotEnabled = true maximumDoorLevel = 500 mapName = "Carlin War" mapAuthor = "Miguel - War" 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 = true 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 = false rateExperience = 900000 rateExperienceFromPlayers = 5000000000000 rateSkill = 500 rateMagic = 300 rateLoot = 3 rateSpawn = 5 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 = 8 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = false ownerName = "Carlin War" ownerEmail = "[email protected]" url = "http://www.tibiaking.com" location = "Nem Vo Passa, São Paulo - Brasil" displayGamemastersWithOnlineCommand = true adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false
  16. Gente Sou novo em Ot server e estou com alguns problemas,quero que o ot seja war up (quando um player matar outro ganha xp) mais não estou conseguindo fazer isso e quando o player morre ele está perdendo todos os leveis, queria que quando ele morrese perdesse alguns leveis mais não todos, Segue o script do deathBroadcast e o Login . Agradeço desde já local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 2152, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, broadcastMessage = { use = true, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). text = "|KILLERNAME| [|KILLERLEVEL|] just killed |TARGETNAME| [|TARGETLEVEL|]!", messageClass = MESSAGE_STATUS_WARNING }, killerAnimation = { use = true, text = "Frag!", -- Only 9 letters! No "commands" here. color = 144 }, targetAnimation = { use = true, text = "Owned!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList if(isPlayer(killer) == TRUE) then local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 5) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.broadcastMessage.use and (not config.broadcastMessage.minLevel or getPlayerLevel(cid) >= config.broadcastMessage.minLevel) and (not config.broadcastMessage.minLevelDiff or levelDiff >= config.broadcastMessage.minLevelDiff)) then broadcastMessage(formateString(config.broadcastMessage.text), config.broadcastMessage.messageClass) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end ________________________________________________________ local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "kill") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "deathBroadcast") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ReportBug") return true end

Informação Importante

Confirmação de Termo