Tudo que RedSlugah postou
-
(Resolvido)[AJUDA] script de pot, pot nao fica finita
qnd baixei o ot ele veio com pot infinita ai fui tentar deixar finita coloquei as linhas de comando no script da pot e nao resolveu local MIN = 50 local MAX = 100 local EMPTY_POTION = 7636 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) doRemoveItem(item.uid, 1) doPlayerAddItem(cid, EMPTY_POTION, 1) return TRUE end pq será q nao ta gastando pot ?
-
[SOCORRO] problema com database no site
<p>se eu mudo ele pra mysql no configlua mesmo com tudo certo na configuração ele da aquele erro na database...</p> <p> </p> <p>como eu mudo ele pra mysql ? tentei seguir um tutorial aqui no forum de um programa para transformar db sqlite em mysql mas na hora de converter ele fala q nao é possivel converter a house_list e mais umas 3 coisas la</p> <p> </p> <p>--edit</p> <p> </p> <p>mesmo colando</p> <p>sqlType = "mysql"</p> <div>sqlHost = "localhost"</div> <div>sqlPort = 3306</div> <div>sqlUser = "root"</div> <div>sqlPass = "minhasenha"</div> <div>sqlDatabase = "duallity"</div> <div>sqlFile = "duallity"</div> <div>sqlKeepAlive = 0</div> <div>mysqlReadTimeout = 10</div> <div>mysqlWriteTimeout = 10</div> <div>encryptionType = "sha1"<br /> </div> <div>ou colocando</div> <div> <div>sqlType = "mysql"</div> <div>sqlHost = "localhost"</div> <div>sqlPort = 3306</div> <div>sqlUser = "root"</div> <div>sqlPass = "minhasenha"</div> <div>sqlDatabase = "duallity"</div> <div>sqlFile = "Baiak.s3db"</div> <div>sqlKeepAlive = 0</div> <div>mysqlReadTimeout = 10</div> <div>mysqlWriteTimeout = 10</div> <div>encryptionType = "sha1"</div> </div> <p> </p> <p> </p> <p>continua dando o mesmo erro</p> <br /> <p>desculpa pelo double post mas baixei um ot aqui no forum</p> <p><a data-ipb="nomediaparse" href="http://www.tibiaking.com/forum/topic/39830-860-baiak-absolute-editado-completo-o-melhor/">http://www.tibiaking.com/forum/topic/39830-860-baiak-absolute-editado-completo-o-melhor/</a></p> <p>aqui diz q roda em mysql e sqlite</p> <p>fiz a configuração normalmente igual diz no tutorial e ele deu exatamente o mesmo erro (no proprio config.lua ja veio com "mysql") a unica coisa que alterei foi o nome do database pro nome q eu configurei, a senha e o ip</p> <p> </p> <p>edit~</p> <p>agora o site ta on pq ta configurado no ot q eu baixei..</p>
-
[SOCORRO] problema com database no site
accountManager = "yes" namelockManager = "yes" newPlayerChooseVoc = "yes" newPlayerSpawnPosX = 143 newPlayerSpawnPosY = 61 newPlayerSpawnPosZ = 8 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 1 generateAccountNumber = "no" redSkullLength = 24 * 60 * 60 blackSkullLength = 48 * 60 * 60 dailyFragsToRedSkull = 7 weeklyFragsToRedSkull = 30 monthlyFragsToRedSkull = 70 dailyFragsToBlackSkull = 10 weeklyFragsToBlackSkull = 40 monthlyFragsToBlackSkull = 100 dailyFragsToBanishment = 15 weeklyFragsToBanishment = 50 monthlyFragsToBanishment = 120 blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 1 * 24 * 60 * 60 killsBanLength = 1 * 24 * 60 * 60 finalBanLength = 1 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = true maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "open" protectionLevel = 80 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 2 * 60 * 1000 huntingDuration = 1 * 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false whiteSkullTime = 3 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = true showHealingDamageForMonsters = true fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true worldId = 0 ip = "162.216.156.76" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 100 motd = "Bem vindo ao Duallity Server, o Melhor e Totalmente Dedicado, com Varias Coisas Novas, Confira!!" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Duallity" loginMessage = "Quer Se Tornar o Mais FODA? Ajude o servidor sendo donate e ganhe itens unicos !!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "theforgottenserver" sqlFile = "Baiak.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "sha1" deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 2 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 150 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = true hotkeyAimbotEnabled = true maximumDoorLevel = 500 mapName = "Baiak Barao.otbm" mapAuthor = "Ygnus" 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 = 15 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = true premiumForPromotion = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 experienceStages = "yes" rateExperience = 1 rateExperienceFromPlayers = 0 rateSkill = 30 rateMagic = 20 rateLoot = 2 rateSpawn = 10 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 = true globalSaveHour = 0.1 shutdownAtGlobalSave = false cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 4 teleportAllSummons = false teleportPlayerSummons = false ownerName = "Duallity Server" ownerEmail = "suppdualitty@hotmail.com" url = "" location = "Brazil" displayGamemastersWithOnlineCommand = false adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false
- [SOCORRO] problema com database no site
-
[SOCORRO] problema com database no site
galera eu to tentano fazer o site pelos tutoriais basicos ai do xampp, eu consigo fazer o site normal só tem um problema... na config lua do servidor se eu por "sqlite" eu consigo abrir o ot mas nao consigo configurar o site se eu por "mysql" eu consigo configurar o site mas nao consigo abrir o ot, da erro na database q q eu faço ? se precisarem de alguma informação a mais pede ai que eu posto, prints qqr coisa ps: como eu disse se eu configurar o config lua pro database ser em mysql eu consigo deixar o site on porem se vai criar uma conta por exemplo, ele cria a conta e salva na database do site porem nao salva na do ot... o site se quiserem entrar ta ai duallityot.servegame.com ele ta com a janela de erro pois eu mudei o config.lua pra "sqlite" pra poder abrir o server de novo
-
[8.60]Baiak Barão - Sem Bug Character
roda em linux ubuntu ?