Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''resolvido''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

  1. Fala Galera, queria saber qual a melhor base de tibia para tá começando um servidor derivado uma q tenha sources, poucos items e um client pequeno. Estou procurando uma base para criar um servidor de Saint Seiya (CDZ) só q n sei uma base queria q vcs me indicassem uma, vlw rep+ pra quem ajudar.
  2. Bom galera, eu tenho um server com o mapa Hero editado, rachei muito pra achar ele, porém, ele veio com a distro Allisow Server 8.6, e o server contém MUITOS, mas MUITOS erros mesmo, mas até agora, nenhum prejudicou a jogatina dos players. Eu fui trocar o distro para um TFS 0.4 que eu compilei aqui com war system, cast etc... Quando eu troco o distro, ocorre um bug MUITO LOUCO que eu nunca tinha visto. Não aparece nenhum erro no console(pelo o que eu consegui observar) que gerou esse bug. O bug é: Quando eu iniciei o server pela primeira vez usando esse TFS 0.4 que eu tenho, TODAS as account names foram trocadas para o account id da account do cara, exemplo: Antes de trocar o distro: account ID : 3 account name: exemplo1 password: 12345678 Depois de trocar o distro para TFS 0.4: account ID: 3 account name: 3 password: 12345678
  3. Galera eu fui tentar criar meu servidor e acabei diagnosticando que o problema do meu servidor não está online é devido as liberações de portas. Verifiquei em alguns site de port check e realmente as portas 7171 e 7172 estão fechadas. Porém eu liberei as mesmas, só que aparentemente não fiz, mas eu fiz. Gostaria de saber se vocês podem me ajudar a realmente libera-las. No firewall eu tenho certeza que liberei ambas tanto no tcp quanto no udp. Provavelmente o problema está no Roteador, mas eu também creio que fiz corretamente. Só que não tenho certeza devido a esse roteador ser muito diferente. Alguém poderia dizer o que e como colocar exatamente nele? (Poketibia)
  4. ola galera! gostaria de uma ajuda na criação de um npc que troca x item por 1 pokemon exemplo: escence zard x 50 >shiny charizard escence toise x 50 >shiny blastoise estarei colocando uns 40 pokes nesse npc . agradeço dmais a ajuda dos companheiros ae do forum. vlw uso base cyan by senhor
  5. iae pessoal então como o título já diz estou tentando colocar a função setcreaturename na magia bunshin no jutsu do meu servidor que cria uma clone porém não estou conseguindo coloco tudo certo mas não faz alteração script do jutsu problema resolvido optei por esta script
  6. Eu baixei um ot global 10.76 Fui montar um site segui uns passo de um vídeo do youtube. Eu consigo criar a data-base normal e tudo + só que quando eu clico em APACHE ele da o seguinte erro Error occured!Error ID: #C-2 More info: ERROR: #C-2 : Class::ConfigLUA - LUA config file doesn't exist. Path: C:\Users\paulo\Desktop\testeconfig.lua File: C:\xampp\htdocs\classes/configlua.php Line: 24 File: C:\xampp\htdocs\classes/configlua.php Line: 12 File: C:\xampp\htdocs\system/load.init.php Line: 42 File: C:\xampp\htdocs/index.php Line: 18 Vi uns tutoriais falando sobre que eu tinha que coloca aonde meu otserv tava fiz tudo mudei a pasta ate de posição mais resulto em nada. Alguém teria a gentileza de me ajudar?.
  7. vei tem como vc min ajudar eu to com esses erros quando criar conta quando eu entro no site e clico em records da erro tambem guilds e tals da erro no xampp veio como faço para tirar esses erros: alguem min ajuda ai por favor espero respostas Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in C:\xampp\htdocs\ranks.php on line 47 Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in C:\xampp\htdocs\class\sql.php on line 199 Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in C:\xampp\htdocs\class\sql.php on line 201 Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in C:\xampp\htdocs\class\sql.php on line 199 Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in C:\xampp\htdocs\class\sql.php on line 201
  8. Olá, eu gostaria de que arrumassem esse script da hiraishin kunai para mim. Quando o player da use with no item e na posição desejada, ele é teleportado para o lugar selecionado. Mas eu queria que algum de vocês colocassem para não ser usado na Area PZ, ou seja, ele esta fora da area pz e quando for se teletransportar para a Area PZ não funcionar. Alem disso, gostaria que vocês também colocassem apenas para tal vocation usar. Script da Hiraishin Kunai que eu uso: function onUse(cid, item, frompos, item2, topos, item3) local pos = getThingPos(item2.uid) local effect = 12 ------eu coloquei o effect 12 mais esta livre para editar e colocar que effect que vc quiser-------- if getTilePzInfo(getCreaturePosition(cid)) then return doPlayerSendCancel(cid, "O item nao tem poder em Protection Zones.") end doTeleportThing(cid, pos, false) doPlayerSay(cid, "Shunshin", 1) doSendMagicEffect(pos, effect) return true end
  9. Alguem consegue me arrumar um servidor de dragonball online 8.6 (pode ser 8.0 ou 8.54 tbm) que esteja funcionando com sqlite e mysql... sqlite para poder concertar os erros ou modificar o servidor antes de colocar online, para não ficar aquela palhaçada de ter que ficar fechando o servidor para arrumar um bug, ou coisa e tal... que é muito irritante... Com site de preferência... Vlw desde já
  10. AJUDA AE [Warning - Protocol::RSA_decrypt] Not valid packet size (IP: 127.0.0.1) OLHA MEU CONFIG.LUA -- Account manager accountManager = true namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 1088 newPlayerSpawnPosY = 1062 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 500 newPlayerMagicLevel = 1 generateAccountNumber = false generateAccountSalt = false minPasswordLength = 6 minAccountNameLength = 3 maxAccountNameLength = 25 newCharacterMinNameLength = 3 newCharacterMaxNameLength = 25 -- Unjustified kills -- NOTE: *Banishment and *BlackSkull variables are >summed up< -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their -- *RedSkull equivalents. -- Auto banishing works only if useBlackSkull set to negative. -- advancedFragList is not advised if you use huge frags -- requirements. useFragHandler = true redSkullLength = 3 * 24 * 60 * 60 blackSkullLength = 5 * 24 * 60 * 60 dailyFragsToRedSkull = 10 weeklyFragsToRedSkull = 30 monthlyFragsToRedSkull = 50 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 100 blackSkulledDeathMana = 0 useBlackSkull = true advancedFragList = true -- Banishments -- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment -- killsBanLength works only if useBlackSkull option is disabled. notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 2 * 24 * 60 * 60 killsBanLength = 4 * 24 * 60 * 60 finalBanLength = 7 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true violationNameReportActionType = 2 autoBanishUnknownBytes = false -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "open" protectionLevel = 1000 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 30 * 1000 huntingDuration = 30 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false whiteSkullTime = 5 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = true showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = true loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1988 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true fistBaseAttack = 7 -- Connection config worldId = 0 ip = "127.0.0.1" bindOnlyGlobalAddress = false loginPort = 7171 gamePort = 7172 loginTries = 3 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Compacto MKBRABSOLUTE" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = 0 serverName = "CMKBRABSOLUTE" loginMessage = "Compacto MKBRABSOLUTE" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false -- RSA -- NOTE: These should not be changed unless you know what your doing! -- Prime1 - known as p; Prime2 - known as q; Public - known as e; -- Modulus - known as n; Private - known as d. rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113" rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101" rsaPublic = "65537" rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413" rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073" -- Database -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database. -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value. -- encryptionType can be plain, md5, sha1, sha256, sha512. -- For unlimited reconnection attempts set mysqlReconnectionAttempts to 0. sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "Galaxi" sqlFile = "Galaxi.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 mysqlReconnectionAttempts = 3 encryptionType = "sha1" -- Deathlist deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 -- Guilds ingameGuildManagement = true levelToFormGuild = 100 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 -- Highscores highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 60 -- Houses buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 10 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false -- Item usage timeBetweenActions = 200 timeBetweenExActions = 1000 hotkeyAimbotEnabled = true tibiaClassicSlots = true canOnlyRopePlayers = true -- Map -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning. mapName = "Global Compacto.otbm" mapAuthor = "" randomizeTiles = true storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "" -- Process -- NOTE: daemonize works only on *nix, same as niceLevel, while -- defaultPriority works only on Windows. -- coresUsed are seperated by comma cores ids used by server process, -- default is -1, so it stays untouched (automaticaly assigned by OS). daemonize = false defaultPriority = "normal" niceLevel = 5 coresUsed = "-1" -- Startup startupDatabaseOptimization = true updatePremiumStateAtStartup = true skipItemsVersionCheck = false -- Spells formulaLevel = 5.0 formulaMagic = 1.0 bufferMutedOnSpellFailure = false spellNameInsteadOfWords = true emoteSpells = true unifiedSpells = true enableCooldowns = true -- Outfits allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false addonsOnlyPremium = true -- Miscellaneous -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature, -- called "exception tracer" (__EXCEPTION_TRACER__ flag). dataDirectory = "data/" logsDirectory = "data/logs/" bankSystem = true displaySkillLevelOnAdvance = true promptExceptionTracerErrorBox = true maximumDoorLevel = 500 maxMessageBuffer = 4 tradeLimit = 100 useCapacity = true healPlayersOnLevelAdvance = true -- Depot defaultDepotSizePremium = 6000 defaultDepotSize = 1000 -- Mounts useMounts = true mountCooldown = 2000 unmountPlayerInPz = false -- VIP list separateVipListPerCharacter = false vipListDefaultLimit = 20 vipListDefaultPremiumLimit = 300 -- Saving-related -- houseDataStorage usage may be found at README. houseDataStorage = "binary" saveGlobalStorage = true storePlayerDirection = false savePlayerData = true -- Loot -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's) checkCorpseOwner = true monsterLootMessage = 3 monsterLootMessageType = 29 -- Ghost mode ghostModeInvisibleEffect = false ghostModeSpellEffects = false -- Limits idleWarningTime = 14 * 60 * 1000 idleKickTime = 15 * 60 * 1000 reportsExpirationAfterReads = 1 playerQueryDeepness = -1 tileLimit = 0 protectionTileLimit = 0 houseTileLimit = 0 -- Premium-related freePremium = true premiumForPromotion = false -- Blessings -- NOTE: blessingReduction* regards items/containers loss. -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss. -- pvpBlessingThreshold is damage percent received from PvP that is required to -- enable pvpBlessing. -- fairFightTimeRange is last X seconds from which damage to player counts. -- Applies to pvp blessing. blessings = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecrement = 5 eachBlessReduction = 8 pvpBlessingThreshold = 40 fairFightTimeRange = 60 -- Rates -- NOTE: experienceStages configuration is located in data/XML/stages.xml. -- rateExperienceFromPlayers 0 to disable. experienceStages = false rateExperience = 150.0 rateExperienceFromPlayers = 0 rateSkill = 150.0 rateMagic = 150.0 rateLoot = 2.0 rateSpawn = 1 -- Monster rates rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 -- Experience from players -- NOTE: min~Threshold* set to 0 will disable the minimum threshold: -- player will gain experience from every lower leveled player. -- max~Threshold* set to 0 will disable the maximum threshold: -- player will gain experience from every higher leveled player. minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 -- Stamina -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000. -- rateStaminaHits multiplies every hit done a creature, which are later -- multiplied by player attack speed. -- rateStaminaGain is multiplying every second of logged out time, eg: -- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off. -- rateStaminaThresholdGain is dividing in case the normal gain (that is -- multiplied by rateStaminaGain, btw.) passed above threshold, eg: -- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute). -- staminaRatingLimit* is in minutes. rateStaminaLoss = 1 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 40 * 60 staminaRatingLimitBottom = 14 * 60 staminaLootLimit = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true -- Party -- NOTE: experienceShareLevelDifference is float number. -- experienceShareLevelDifference is highestLevel * value experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 -- Global save -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours, -- if you want such a system please check out data/globalevents/globalevents.xml. globalSaveEnabled = false globalSaveHour = 12 globalSaveMinute = 0 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false -- Spawns deSpawnRange = 2 deSpawnRadius = 50 monsterSpawnWalkback = true -- Summons maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = true -- Status statusPort = 7171 ownerName = "MKBRABSOLUTE COMPACTO" ownerEmail = "sv1absolute@msn.com" url = "" location = "Mexico" displayGamemastersWithOnlineCommand = false -- Logs displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outputLog = "" truncateLogOnStartup = false -- Manager -- NOTE: managerPassword left blank disables manager. managerPort = 7171 managerLogs = true managerPassword = "" managerLocalhostOnly = true managerConnectionsLimit = 1 -- Admin -- NOTE: adminPassword left blank disables manager. -- Set to anything if you set adminRequireLogin to false. -- adminEncryption available options: rsa1024xtea; -- remember to set correct data! adminPort = 7171 adminLogs = true adminPassword = "" adminLocalhostOnly = true adminConnectionsLimit = 1 adminRequireLogin = true adminEncryption = "" adminEncryptionData = ""
  11. Alguem poderia me ajudar a fazer um NPC que sumone um boss se trouxer o item x y z ? Uso TFS 1.0 Esta pode ser uma boa base Se possivel podendo configurar mais de 1 boss (falas diferentes) e mais de 1 item por cada.... @up @up
  12. Qual gesior posso usar na versão do tfs 1.2 funcional + database?
  13. Fala galera do Éks preciso de um script que cada vocação nova ao logar tenha seu propio outfit,sei que é simples porém esse script aqui esta dando erro Dá o seguinte erro
  14. Salve Pessoal do Fórum! bom fiquei umas 2 semanas quebrando a cabeça para fazer um andar diagonal igual da pokexgames, pirate king online e Otpiece e ainda não consegui! caso não saiba que estou falando veja o exemplo no video no momento exato que você deu play ele andou na diagonal ! caso não percebeu volte em 4:58 Será que alguma alma boa saiba fazer isso? é só no otcliente? ou na source do servidor? eis a questão !
  15. olá,gostaria de saber se existe algum codigo disponibiliado que faça o servidor aceitar caracteris,tipo acentos e etc,pois caso bote algum acento no game a sing fica assim: Sendo que a mensagem era ''Lembrando que existe mais quests escondidas pelo mapa,o NPC Mendes,só saberá de algumas delas.''
  16. Ola Xtibianos Hoje Queria Pedir Ajuda em um breve Script Que eu não faço a minima ideia de como faze-lo Segue a gif. No Caso Pra ficar Animado são usadas 3 outfits e elas ficam trocando constantemente
  17. Gente Queria Um Script Para Dropstone. So que inves de dar UM Efeito em todas as stones, Queria que desse um efeito em cada stone sé possivel Obrigado Huehue ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Script Original
  18. gostaria de 1 Spell de Heal que heala-se X% do HP(Life),acho que só isso ja da pra entende. Descrição mais detalhada: quando o player fala "Life Regeneration" ele iria heala 25% do seu HP(Sómente Hp). rep+ pra quem fazer essa script
  19. Galera, eu estava fazendo novos buffs para minhas vocações novas, como eu n manjo muito de script eu fui na arte de copiar e colar , eu fiz isso em um buff ja existente, editei os efeitos e as skills, mas quando fui testar eles estavam com o mesmo efeito, n sei oque aconteceu mas alguem pode me ajudar ?? aki os scripts 1 - local tempo = 60 -- tempo em segundos. local effect = {210} -- effect no player, caso queira apenas 1, basta remover os outros numeros. local ml = 60 -- quantos ira aumentar o skill de ML local skillfist = 60 -- quantos ira aumentar o skill de Fist local skillsword = 60 -- quantos ira aumentar o skill de Sword local skillaxe = 60 -- quantos ira aumentar o skill de Axe local skillclub = 60 -- quantos ira aumentar o skill de Club local skilldistance = 60 -- quantos ira aumentar o skill de Distance local skillshield = 60 -- quantos ira aumentar o skill de Shield local health = 500 -- A cada 1 segundo quantos aumentar de vida local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, ml) setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, skillfist) setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, skillsword) setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, skillaxe) setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub) setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance) setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield) setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_SPEED, 150) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, health) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 1000) setConditionParam(condition, CONDITION_PARAM_MANAGAIN, health) setConditionParam(condition, CONDITION_PARAM_MANATICKS, 1000) setCombatCondition(combat, condition) function magicEffect210(tempo2,tempo3,cid) if (isCreature(cid)) then if getPlayerStorageValue(cid, 1023453) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then for i=1, #effect do local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} doSendMagicEffect(position, effect) end end end end function onCastSpell(cid, var) local position127 = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} if getPlayerStorageValue(cid, 1023453) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then doCombat(cid, combat, var) tempo2 = 0 while (tempo2 ~= (tempo*1000)) do addEvent(magicEffect1458, tempo2, tempo2, tempo*1000, cid) tempo2 = tempo2 + 300 end setPlayerStorageValue(cid, 1023453,1) -- storage verifica transformado, quando = 1 player esta transformado. doCreatureSay(cid, "Fuumetsu !", TALKTYPE_MONSTER) doSendMagicEffect(position127, 210) else doPlayerSendCancel(cid, "Sorry, you are buffed.") end end 2- local tempo = 60 -- tempo em segundos. local effect = {118} -- effect no player, caso queira apenas 1, basta remover os outros numeros. local ml = 65 -- quantos ira aumentar o skill de ML local skillfist = 65 -- quantos ira aumentar o skill de Fist local skillsword = 65 -- quantos ira aumentar o skill de Sword local skillaxe = 65 -- quantos ira aumentar o skill de Axe local skillclub = 65 -- quantos ira aumentar o skill de Club local skilldistance = 65 -- quantos ira aumentar o skill de Distance local skillshield = 65 -- quantos ira aumentar o skill de Shield local health = 100 -- A cada 1 segundo quantos aumentar de vida local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, ml) setConditionParam(condition, CONDITION_PARAM_SKILL_FIST, skillfist) setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, skillsword) setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, skillaxe) setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, skillclub) setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, skilldistance) setConditionParam(condition, CONDITION_PARAM_SKILL_SHIELD, skillshield) setConditionParam(condition, CONDITION_PARAM_OUTFIT, outfit) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_HASTE) setConditionParam(condition, CONDITION_PARAM_SPEED, 250) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setCombatCondition(combat, condition) local condition = createConditionObject(CONDITION_REGENERATION) setConditionParam(condition, CONDITION_PARAM_SUBID, 1) setConditionParam(condition, CONDITION_PARAM_BUFF, TRUE) setConditionParam(condition, CONDITION_PARAM_TICKS, tempo*1000) setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, health) setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 1000) setCombatCondition(combat, condition) function magicEffect16(tempo2,tempo3,cid) if (isCreature(cid)) then if getPlayerStorageValue(cid, 102053) > 0 and getCreatureCondition(cid, CONDITION_REGENERATION, 1) then for i=1, #effect do local position = {x=getPlayerPosition(cid).x, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} doSendMagicEffect(position, effect) end end end end function onCastSpell(cid, var) if getPlayerStorageValue(cid, 102053) ~= 1 or getCreatureCondition(cid, CONDITION_REGENERATION, 1) == false then doCombat(cid, combat, var) doPlayerSendTextMessage(cid,27,'Magic esta ativado.') doPlayerSay(cid, 'Rinnegan!', TALKTYPE_ORANGE_1) tempo2 = 0 while (tempo2 ~= (tempo*1000)) do addEvent(magicEffect16, tempo2, tempo2, tempo*1000, cid) tempo2 = tempo2 + 300 end setPlayerStorageValue(cid, 102053,1) -- storage verifica transformado, quando = 1 player esta transformado. else doPlayerSendCancel(cid, "Sorry, you are transformed.") end end
  20. Ola galera Alguem poderia me ajudar com esse script? Eu quero que players ganhem gold ao matar jogadores high level (700+) Utilizo TFS 1.0.... Esta pode ser uma boa base function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then broadcastMessage(getCreatureName(target).."["..getPlayerLevel(target).."] acabou de ser morto pelo jogador "..getCreatureName(cid).."["..getPlayerLevel(cid).."].", MESSAGE_EVENT_ADVANCE) end return true end
  21. Galera, gostaria de algo simples, um script que aparecesse uma mensagem por exemplo "Quests" mas essa palavra sai em uma so cor por exemplo so na cor laranja, e o efeito em cima do teleport sai 2 ao mesmo tempo. up up
  22. Fala galera então eu adicionei o guild war com escudos e ta tudo certinho o unico problema é no talkaction do war.lua para invitar e aceitar a war bom aparece o seguinte erro [15/06/2016 15:01:09] [Error - TalkAction Interface] [15/06/2016 15:01:09] data/talkactions/scripts/war.lua[15/06/2016 15:01:09] Description: [15/06/2016 15:01:09] (internalGetPlayerInfo) Player not found when requesting player info #11 aqui o war.lua quando um player tenta invitar outra guilda pra war simplesmente aparece o comando como se fosse fala normal .... se alguém puder me ajudar já compilei a source com a função -D_war-system algo assim já ta tudo certinho no site também o unico problema é nessa parte se alguém puder dar uma ajuda pra arrumar esse erro ficaria extremamente agradecido. Ficarei no aguardo desde já obrigado
  23. Meu servidor não tem script no creaturescripts sobre realar toda vida e mana após matar um monstro e passar de level. Gostaria que alguém que saiba pudesse me ajudar. Existe alguma coisa na source sobre isso?? Lembrando TFS 1.2 Versão 10.90 Alguém sabe? REP+ por ajudar.
  24. I ae Galerinha Do xT de Boa?? galera Adicionei Um NPC De Missao Em Meu OT So Que ele so fala (Storkus Missao: Welcome, Nasda! I have been expecting you.) Quando O Player Da Hi Ja tentei Mudar e nada Sempre buga o NPC como posso por em xml para ele falar? Esse è o Script dele. Alguem Pode Me ajudar Com Isso PF? Dou REP++++
  25. Oi, gente queria um npc que: Player:hi NPC:Olá treinador, eu troco Devoted Tokens por uma box onde poderá vir um held aleatorio do tier 1 à 2, mais para isso preciso de 20 devoted tokens, você tem os 20 devoted tokens? player:yes (ai o npc remove os 20 devoted token(ID:XXXX) e da pro player 1 um item id (XXXX).) só que queria que o player podesse realizar essa troca com esse npc quantas vezes ele quiser... Agradeço e dou Reputação+ pra quem ajudar
×
×
  • Criar Novo...