Ir para conteúdo

Celulose

Membro
  • Registro em

  • Última visita

Tudo que Celulose postou

  1. deve ser algum stackable errado ou algo tipo . agora realmente saber oque é complica
  2. se você leva debug só de olhar o potion isso é no items.otb abre o item editor e verifica os potion geralmente é em Stackable esse erro... se você altera na spr , e coloca diferente no otb ele gera debug isso é um erro chato /;
  3. em classes. cara melhor nem meche no website deixa o servidor como sha1 , é uma boa proteção de senha , plain é em forma de texto .
  4. se a configuração do site é sha1 e do config.lua do seu servidor for plain eles não vai conseguir . ou você altera a config.lua onde esta plain para sha1 ou altera no website.
  5. tinha esquecido do end pra fechar marca melhor resposta pra fechar topico
  6. testa este function onUse(cid, item, frompos, item2, topos) local expReward = 90 if item.uid == 1001 then queststatus = getPlayerStorageValue(cid,1001) if queststatus == -1 then if getPlayerLevel(cid) >= 2 then doPlayerSendTextMessage(cid,22,"Parabens, voce encontrou alguns itens!") doPlayerAddItem(cid,2465,1) doPlayerAddItem(cid,2512,1) doPlayerAddItem(cid,2478,1) doPlayerAddItem(cid,2460,1) doPlayerAddItem(cid,2554,1) doPlayerAddItem(cid,2120,1) doPlayerAddExp(cid, expReward) doPlayerSendTextMessage(cid, 22, 'Voce ganhou '.. expReward ..' de experiencia.') setPlayerStorageValue(cid,1001,1) else doPlayerSendTextMessage(cid,22,"Voce ainda nao pode abrir esse bau.") end else doPlayerSendTextMessage(cid,22,"Esta vazio.") end else return 1 end return 1 end
  7. function onUse(cid, item, frompos, item2, topos) local expReward = 90 if item.uid == 1001 then queststatus = getPlayerStorageValue(cid,1001) if queststatus == -1 then if getPlayerLevel(cid) >= 2 then doPlayerSendTextMessage(cid,22,"Parabens, voce encontrou alguns itens!") doPlayerAddItem(cid,2465,1) doPlayerAddItem(cid,2512,1) doPlayerAddItem(cid,2478,1) doPlayerAddItem(cid,2460,1) doPlayerAddItem(cid,2554,1) doPlayerAddItem(cid,2120,1) doPlayerAddExp(cid, expReward) doPlayerSendTextMessage(cid, 22, 'Voce ganhou '.. expReward ..' de experiencia.') setPlayerStorageValue(cid,1001,1) else doPlayerSendTextMessage(cid,22,"Voce ainda nao pode abrir esse bau.") else doPlayerSendTextMessage(cid,22,"Esta vazio.") end else return 1 end return 1 end
  8. cara eu uso até hoje o comando é bem simples ' vai na pasta e da o comando chmod -R 777 tfsAutoRestarter.sh Depois abre como screen
  9. Celulose postou uma resposta no tópico em Suporte Tibia OTServer
    [Warning - Vocations::getVocation] Vocation 4294967295 not found. < não existe a vocação 4294967295 abra o monsters.xml e verifica se tem Kuczy
  10. Celulose postou uma resposta no tópico em Suporte Tibia OTServer
    verifica se tem o monster kuczy . sobre a house . ele está dando um aviso sobre algum erro não é nada grave em nenhum ambos'
  11. crie um arquivo com nome tfsAutoRestarter.sh dentro dele coloca while true; do ./nomedadistro; done depois salva .. da chmod -R 777 nele e sempre inicia ele como screen... lembra-se sempre disso . exemplo. screen ./tfsAutoRestarter.sh ou screen ./tfsAutoRestarter
  12. Celulose postou uma resposta no tópico em Suporte Tibia OTServer
    function onStartup() db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";") return true end
  13. Celulose postou uma resposta no tópico em Suporte Tibia OTServer
    posta o start.lua'
  14. Celulose postou uma resposta no tópico em Suporte Tibia OTServer
    cara é simples ... usa o pesquisar quando é coisa simples no forum tem varios tópico https://github.com/Fir3element/binaries/raw/master/x64.rar - Scans: https://virustotal.com/pt/file/21028857bb1124f19e0353e7f5775c8f66afc4f87f29df9cf4ab8ca1a046b816/analysis/1480675394/ tópico . http://www.tibiaking.com/forum/forums/topic/67233-860-the-forgotten-server-04-sqlite-e-mysql/
  15. 1 dica : usa a otx oficial . mesmo logando 10 char não deveria cair o servidor ... 3 gb aguenta bem mais mesmo sendo OTX que consome muito . enfim tenta isso .' CreatureScripts/CreatureScripts.xml adicione esse linha - <event type="login" name="playercheck" script="playercheck.lua"/> CreatureScripts/Scripts Cria um arquivo chamado "playercheck.lua", dentro desse arquivo cola o seguinte codigo function onLogin(cid, words, param, channel) local _ip = nil local p = 0 local list, ips = {}, {} local players = getPlayersOnline() local max = 5 for i, pid in ipairs(players) do local ip = getPlayerIp(pid) local tmp = table.find(ips, ip) if(tmp ~= nil and (not _ip or _ip == ip)) then if(table.countElements(list, ip) == 0) then list[players[tmp]] = ip end list[pid] = ip end table.insert(ips, ip) end if(table.maxn(list) > 0) then meip = getPlayerIp(cid) mename = getCreatureName(cid) for pid, ip in pairs(list) do local metmp = table.find(ips, meip) if (metmp ~= nil) then p = p + 1 end end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce tem ".. p .." chars Online!") if p > max then doRemoveCreature(cid, mename) end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce tem ".. p+1 .." char Online!") end return true end
  16. olá em seu config.lua procure por item_images_url você vai adiciona a URL que está as imagem
  17. quando leva debug abre o client e tira print e posta aqui para saber o erro
  18. https://www.youtube.com/watch?v=MkqGTGWYbmQ
  19. Celulose postou uma resposta no tópico em Suporte Tibia OTServer
    @mikaelkelvin accountManager = true namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 1000 newPlayerSpawnPosY = 1000 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 13 newPlayerMagicLevel = 0 generateAccountNumber = false redSkullLength = 30 * 24 * 60 * 60 blackSkullLength = 45 * 24 * 60 * 60 dailyFragsToRedSkull = 1000 weeklyFragsToRedSkull = 1000 monthlyFragsToRedSkull = 1000 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 7 * 24 * 60 * 60 killsBanLength = 7 * 24 * 60 * 60 finalBanLength = 30 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "open" protectionLevel = 1 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 10 * 100 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false whiteSkullTime = 5 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = true showHealingDamageForMonsters = true fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 1 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = false squareColor = 0 allowFightback = true worldId = 0 ip = "127.0.0.1" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 10 * 1000 maxPlayers = 1000 motd = "Welcome to NoobWar beta" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "NoobWar by STW team" loginMessage = "Welcome to NoobWar beta!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "cabrobro321" sqlDatabase = "otserver" sqlFile = "forgottenserver.s3db" sqlKeepAlive = 1 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 = 15 updateHighscoresAfterMinutes = 60 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 1 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false timeBetweenActions = 200 timeBetweenExActions = 1150 checkCorpseOwner = true hotkeyAimbotEnabled = true maximumDoorLevel = 500 mapName = "war" mapAuthor = "Marencian" randomizeTiles = true useHouseDataStorage = false storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "-1" defaultPriority = "high" niceLevel = 5 coresUsed = "-1" optimizeDatabaseAtStartup = true removePremiumOnInit = true confirmOutdatedVersion = false maxMessageBuffer = 8 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 = 1 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 = false premiumForPromotion = false blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 0 experienceStages = false rateExperience = 0.5 rateExperienceFromPlayers = 9 rateSkill = 50.0 rateMagic = 17.5 rateLoot = 0.5 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 minLevelThresholdForKilledPlayer = 0 maxLevelThresholdForKilledPlayer = 0 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 = "" ownerEmail = "" url = "" location = "" displayGamemastersWithOnlineCommand = false adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false
  20. esquece , qual versão do servidor ? 8.6 ?? posta o config.lua
  21. posta config lua e qual tfs ta usando ?
  22. segue o tutorial acima , de vez adicionar você remove simples.' Abra o arquivo creaturescripts.xml E adicione: <event type=”think” name=”TiraBattle” event=”script” value=”tirabattle.lua”/> Abra a pasta “scripts” e abra o arquivo login.lua E adicione: registerCreatureEvent(cid, “TiraBattle”) ---------------------- Ainda na pasta scripts, crie o arquivo tirabattle.lua e adicione o seguinte: function onThink(cid, interval) if(getTilePzInfo(getCreaturePosition(cid))) then doRemoveCondition(cid, CONDITION_INFIGHT) end end o nome vai ser parecido so remover'
  23. @BangxD você quer tirar oque da sources?
  24. http://www.mediafire.com/file/rt4q1mcdmsaa5f3/Noobwar+data+git.rar http://www.tibiaking.com/forum/forums/topic/54575-860-noobwar/
  25. esse autoloot é pra 0.4 você está usando tfs 1.3 ?

Informação Importante

Confirmação de Termo