-
Total de itens
998 -
Registro em
-
Última visita
-
Dias Ganhos
3
Tudo que Fir3element postou
-
Aqui em casa da esse erro quando eu uso um dev-cpp com um mingw diferente, tenta extrair do winrar denovo.
-
Rise Of Devovorga (Alguns Scripts)
tópico respondeu ao mapperneto de Fir3element em Actions e Talkactions
É achei que sem o else não funcionaria mas dps vi que pega normal. esqueceu do end by~ -- Script By: MapperNeto & Fireelement -- function onStepIn(cid, item, position, fromposition) local tp = {x = XXX, y = XXX, z = X} -- pra onde o jogador vai ser teleportado if isPlayer(cid) then doTeleportThing(cid, tp) doSendMagicEffect(getCreaturePosition(cid), 50) -- Efeito que aparecerá após Teleportado doPlayerSendTextMessage(cid, 22, "You're entering the lair of Devovorga.") -- Msg que aparecerá após Teleportado end return true end -
1 e 2, isso é o monster system /data/monsters/ 3 só editar no items.xml /data/items/
-
[Script] Vídeos (Youtube) + Mysql [2.0]
tópico respondeu ao AlexxNica de Fir3element em Websites & Layouts
Deve ter dado um trabalho ^^ rep+ -
Resetar é facil, o dificil é voltar para o 0 mas ainda continuar com hits de 200 (: -- Talvez isso funcione e se funcionar, vai dar um lagg do caramba. Me diga se pegar, dai posso fazer algo melhor pois com essa query seu servidor vai cair rapidinho. data/creaturescripts/scripts/skill.lua function onAdvance(cid, skill, oldLevel, newLevel) local pid = getPlayerGUID(cid) return db.executeQuery("UPDATE `player_skills` SET `value` = "..newLevel.." WHERE `player_id` = "..pid.." and `skillid` = "..skill..";") end data/creaturescripts/creaturescripts.xml <event type="advance" name="SkillAdvance" event="script" value="skill.lua"/>
-
Automaticamente, não sei ao certo mas acho que não da. Vou ver o que posso fazer aqui! ----- No seu script, se você tiver, troque a função: doPlayerAddSkill(cid, SKILL_AXE) Por: for f = 1, 10 do doPlayerAddSkill(cid, SKILL_AXE) end Ela não funciona com todas as quantidades de skill, essa aqui funciona mas pode lagar o servidor. db.executeQuery("UPDATE `player_skills` SET `value` = `value` + QUANTIDADE_QUE_VAI_ADICIONAR WHERE `player_id` = ".. pid .. " and `skillid` = ID_DA_SKILL;")
-
TODOS os servidores são assim, mas consigo ultrapassar esse limite com uma query. Você precisa do que, comando, item, etc. Se eu não ver o tópico me mande uma MP. Se quiser um comando, ta aqui: http://www.xtibia.com/forum/topic/159773-talkaction-comprar-skillmagic-level/ essa função ultrapassa esse limite: for f = 1, 10 do doPlayerAddSkill(cid, SKILL_AXE) end
-
[Arquivado]Quel É O Melhor 0.4_Dev Ou 0.4_Svn
tópico respondeu ao hellcoreot de Fir3element em Noticias - Arquivo
Os caras dizem que a r3884 é melhor pra windows e a r3777 pra linux, mas achei muitos bugs nela. 3926 é 8.60 ainda? -
[Encerrado] [Help] Dúvida Com Semi-Dedicados
tópico respondeu ao misterrox de Fir3element em Tópicos Sem Resposta
Ja rodei um styller yurots aqui no meu pc, 58 online sem lagg, 2gb de ram e net de 1.6mb e com windows 7 ultimate x32 -
Hmm, e a busca como fica :grrrrrr: http://www.xtibia.com/forum/topic/137248-passando-um-otserv-para-860/
-
Compilar Distro Para 64 Bits
tópico respondeu ao decosiqueira de Fir3element em Tutoriais de Programação
Só pra constar, dev-cpp não compila x64, essas libs são inúteis sem o MinGW x64. -
É impossível desbloquear esse server sem as sources, tenta achar algum outro que caiba bem aos teus scripts e o mapa.
-
talvez isso resolva o problema da war function onSay(cid, words, param) local pos = {x=1088, y=1062, z=7} if isPlayerPzLocked(cid) == false then doTeleportThing(cid, pos) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You've been teleported to Carlin.") else doPlayerSendCancel(cid, "You can not be teleported with pz.") end return true end
-
To abrino o tópico para falar algumas coisas... Essa source não é real... A source do alissow server está muito bem deletada por mim mesmo... Tem 99,9% de chance dela ser do alissow server legitimo... 1 semana antes deu deleta a source +/- eu passei pra um cara que disse que ia faze um sv e ia precisa passa pra linux... Dai eu passei mais ele foi o unico... Axo que a source está extinta... Foi eu mesmo que postei quando tinha perdido a senha dessa conta. Re fazer a source é facíl, só fazer todos os patchs 8.6 nela e arrumar alguns bugs descobertos a pouco tempo... parece ser demorado, mas depois de um tempo comecei a fazer isso em poucos minutos Deathlist - script Bless - script também Sources, acho que não tem nada haver, meu amigo usa uma 0.3.6pl1 com os updates 8.60 feito por min, e ele fica com 330~400 on em média, e não há bugs nos tais scripts. flwsss
-
usa este config.lua pra instalar e depois troca pelo teu só precisa mudar o nome da db no sqlDatabase = "" -- The Forgotten Server Config -- Account manager accountManager = "yes" namelockManager = "yes" newPlayerChooseVoc = "no" newPlayerSpawnPosX = 95 newPlayerSpawnPosY = 117 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 1 newPlayerMagicLevel = 0 generateAccountNumber = "no" -- Banishments notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 7 * 24 * 60 * 60 finalBanLength = 30 * 24 * 60 * 60 ipBanishmentLength = 1 * 24 * 60 * 60 broadcastBanishments = "yes" killsToBan = 5 maxViolationCommentSize = 200 autoBanishUnknownBytes = "no" -- Battle -- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. -- showHealingDamageForMonsters inheritates from showHealingDamage. worldType = "pvp" protectionLevel = 1 pvpTileIgnoreLevelAndVocationProtection = "yes" killsToRedSkull = 3 pzLocked = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = "no" removeWeaponAmmunition = "yes" removeWeaponCharges = "yes" removeRuneCharges = "yes" timeToDecreaseFrags = 24 * 60 * 60 * 1000 whiteSkullTime = 15 * 60 * 1000 noDamageToSameLookfeet = "no" experienceByKillingPlayers = "no" showHealingDamage = "no" showHealingDamageForMonsters = "no" fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = "no" oldConditionAccuracy = "no" loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 -- Connection config worldId = 0 ip = "127.0.0.1" loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Welcome to the Forgotten Server!" displayOnOrOffAtCharlist = "no" onePlayerOnlinePerAccount = "yes" allowClones = 0 serverName = "Forgotten" loginMessage = "Welcome to the Forgotten Server!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = "yes" forceSlowConnectionsToDisconnect = "no" loginOnlyWithLoginServer = "no" premiumPlayerSkipWaitList = "no" -- Database -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database. -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value. sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "theforgottenserver" sqlFile = "forgottenserver.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTImeout = 10 passwordType = "plain" -- Deathlist deathListEnabled = "yes" maxDeathRecords = 5 -- Guilds ingameGuildManagement = "yes" levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 -- Highscores highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 60 -- Houses buyableAndSellableHouses = "yes" houseNeedPremium = "yes" bedsRequirePremium = "yes" levelToBuyHouse = 1 housesPerAccount = 0 houseRentAsPrice = "no" housePriceAsRent = "no" housePriceEachSquare = 1000 houseRentPeriod = "never" -- Item usage timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = "yes" hotkeyAimbotEnabled = "yes" maximumDoorLevel = 500 -- Map -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning. -- useHouseDataStorage usage may be found at README. mapName = "forgotten" mapAuthor = "Komic" randomizeTiles = "yes" useHouseDataStorage = "no" storeTrash = "yes" cleanProtectedZones = "yes" -- Startup defaultPriority = "high" niceLevel = 5 coresUsed = "-1" optimizeDatabaseAtStartup = "yes" removePremiumOnInit = "yes" confirmOutdatedVersion = "yes" -- Muted buffer maxMessageBuffer = 4 bufferMutedOnSpellFailure = "no" -- Miscellaneous dataDirectory = "data/" kickIdlePlayerAfterMinutes = 15 allowChangeOutfit = "yes" allowChangeColors = "yes" allowChangeAddons = "yes" disableOutfitsForPrivilegedPlayers = "no" bankSystem = "yes" saveGlobalStorage = "yes" ghostModeInvisibleEffect = "no" displaySkillLevelOnAdvance = "no" spellNameInsteadOfWords = "no" emoteSpells = "no" expireReportsAfterReads = 1 promptExceptionTracerErrorBox = "yes" storePlayerDirection = "no" playerQueryDeepness = 2 -- Premium-related freePremium = "no" premiumForPromotion = "yes" -- Blessings -- NOTE: blessingReduction* regards items/containers loss. -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss. blessingsOnlyPremium = "yes" blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 -- Rates -- NOTE: experienceStages configuration is located in data/XML/stages.xml. experienceStages = "no" rateExperience = 5.0 rateSkill = 3.0 rateMagic = 3.0 rateLoot = 2.0 rateSpawn = 1 -- Stamina rateStaminaLoss = 1 rateStaminaGain = 1000 / 3 rateStaminaThresholdGain = 4 staminaRatingLimitTop = 41 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = "yes" -- Party -- NOTE: experienceShareLevelDifference is float number. -- experienceShareLevelDifference is highestLevel * value experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 -- 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 = "no" globalSaveHour = 8 shutdownAtGlobalSave = "yes" cleanMapAtGlobalSave = "no" -- Spawns deSpawnRange = 2 deSpawnRadius = 50 -- Summons maxPlayerSummons = 2 teleportAllSummons = "no" teleportPlayerSummons = "no" -- Status ownerName = "" ownerEmail = "@otland.net" url = "http://otland.net/" location = "Europe" displayGamemastersWithOnlineCommand = "no" -- Logs -- NOTE: This kind of logging does not work in GUI version. adminLogsEnabled = "no" displayPlayersLogging = "yes" prefixChannelLogs = "" runeFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = "no"
-
config.lua tem que estar assim sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "SENHA" sqlDatabase = "NOME DA DATABASE" sqlFile = "forgottenserver.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" -- plain/sha1, não importa
-
Client Sem Tibia.dat E Sem Tibia.pic E Tibia.spr E Outros
tópico respondeu ao 96736649 de Fir3element em Lixeira Pública
Usaram um programa de unir tudo num só arquivo, talvez MoleBox. -
É um code nas sources (otserv.cpp) que ele fez, quando o version.xml está tudo ok o servidor roda normal dai o cara ficou puto da vida e deletou o arquivo, ai da como bloqueado o servidor. Ele fez isso pois não queria postar as sources, já que elas são obrigatórias... No tópico dele tem a rev. que ele usou e disse que encontrou no forum VAPus.net
-
Ja tinha isso aqui no XTibia mas acho que ele foi excluido. É um bom tutorial
-
talkaction [Talkaction] Bless System
tópico respondeu ao Fir3element de Fir3element em Actions e Talkactions
Cara não sei se o 8.0 tem todas essas funções. Você pode editar o preço aqui: local cost, pos = 50000, getCreaturePosition(cid) Na segunda linha, dai você edita o número 50000. -
talkaction [Talkaction] Bless System
tópico respondeu ao Fir3element de Fir3element em Actions e Talkactions
O que todos ganham, não perde items, nem skill e nem exp. Disse isso porque tem algumas pessoas que ta com esse bug -
Acho que você deve ver tutoriais de nature, parar de usar auto-border e usar detalhes na cave.
-
Removido.
-
Por Favor Me Ajudem, Erro Na Contagem De Mana E Runas, E Aneis E Amuletos Bugados!
tópico respondeu ao lmg de Fir3element em Lixeira Pública
+- isso items/items.xml <item id="2197" article="a" name="stone skin amulet"> <attribute key="weight" value="760" /> <attribute key="slotType" value="necklace" /> <attribute key="charges" value="5" /> <attribute key="showcharges" value="1" /> <attribute key="absorbPercentPhysical" value="80" /> <attribute key="absorbPercentDeath" value="80" /> <attribute key="showattributes" value="1" /> </item> <attribute key="charges" value="5" /> -- Sobre a contagem, o fix é pelas sources (tem que saber compilar e editar elas). game.cpp void Game::showHotkeyUseMessage(Player* player, Item* item) { int32_t subType = -1; if(item->hasSubType() && !item->hasCharges()) subType = item->getSubType(); const ItemType& it = Item::items[item->getID()]; uint32_t count = player->__getItemTypeCount(item->getID(), subType, false); char buffer[40 + it.name.size()]; if(count == 1) sprintf(buffer, "Using the last %s...", it.name.c_str()); else sprintf(buffer, "Using one of %d %s...", count, it.pluralName.c_str()); player->sendTextMessage(MSG_INFO_DESCR, buffer); } substitui por void Game::showHotkeyUseMessage(Player* player, Item* item) { const ItemType& it = Item::items[item->getID()]; uint32_t count = player->__getItemTypeCount(item->getID(), -1); char buffer[40 + it.name.size()]; if(count == 1) sprintf(buffer, "Using the last %s...", it.name.c_str()); else sprintf(buffer, "Using one of %d %s...", count, it.pluralName.c_str()); player->sendTextMessage(MSG_INFO_DESCR, buffer); } -
Tile Nao Deixa Player Em Fight Passar
tópico respondeu ao coyotestark de Fir3element em Lixeira Pública
function onStepIn(cid, item, position, fromPosition) local pos = {x=78, y=373, z=7} if item.actionid == 1566 then if getCreatureCondition(cid, CONDITION_INFIGHT) == true then doTeleportThing(cid, fromPosition, pos) return true end end return true end
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.