Postado Junho 10, 2017 7 anos Autor @victor4312 Não tem bless nem aol infinito. @Ziguirifido Sabe arrumar isso? só acontece com alguns players @xWhiteWolf White fiz o que você mandou, verifiquei na database um personagem bugado e tipo a vida dela ta em health = 0 e healtmax = 2124670 nada negativo, já testei o servidor e tirei todos os onDeath e onPrepareDeath e o bug continuou E os que tem de onLogin são esses scripts: antimc.lua local config = { max = 4, -- Número de players permitido com o mesmo IP. group_id = 1 -- Kikar apenas player com o group id 1. } local accepted_ip_list = {} -- Lista dos players permitidos a usar MC, exemplo: {"200.85.3.60", "201.36.5.222"} local function antiMC(p) if #getPlayersByIp(getPlayerIp(p.pid)) >= p.max then doRemoveCreature(p.pid) end return true end function onLogin(cid) if getPlayerGroupId(cid) <= config.group_id then if isInArray(accepted_ip_list,doConvertIntegerToIp(getPlayerIp(cid))) == false then addEvent(antiMC, 1000, {pid = cid, max = config.max+1}) end end return true end login.lua 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) 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) setPlayerStorageValue(cid, 30024, 0) 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 getPlayerStorageValue(cid, 67792) == -1 then doPlayerPopupFYI(cid, "Bem vindos ao DBO") doPlayerSetStorageValue(cid, 67792, 0) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "NoPartyAttack") registerCreatureEvent(cid, "TiraBattle") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "Reward") end registerCreatureEvent(cid, "FullHpMana") registerCreatureEvent(cid, "AdvanceSave") doPlayerPopupFYI(cid, "Bem vindo ao servidor DBO") registerCreatureEvent(cid, "ZombieAttack") registerCreatureEvent(cid, "BlessCheck") registerCreatureEvent(cid, "advance") registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid,"Outfit") registerCreatureEvent(cid, "FragReward") registerCreatureEvent(cid, "Niwdeath") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "LevelRecompense") registerCreatureEvent(cid, "BoasVindas") registerCreatureEvent(cid, "BroadDeath") registerCreatureEvent(cid, "SaveStamina") --------- SHOP --------- registerCreatureEvent(cid, "RemovedorDeFrags") --------- OTHERS --------- registerCreatureEvent(cid, "perdereifeto") registerCreatureEvent(cid, "Maxlvl") registerCreatureEvent(cid, "Maxlvl1") --------------- REFLECT ---------------- registerCreatureEvent(cid, "Reflect") if getPlayerStorageValue(cid, 3482101) ~= 0 then setPlayerStorageValue(cid, 3482101, 0) end registerCreatureEvent(cid, "dodge") if getPlayerStorageValue(cid, 48902) == -1 then setPlayerStorageValue(cid, 48902, 0) end registerCreatureEvent(cid, "critical") if getPlayerStorageValue(cid, 48903) == -1 then setPlayerStorageValue(cid, 48903, 0) end return true end outfit_vocation.lua Citar https://pastebin.com/Vbr992cp skillstageslogin.lua dofile(getDataDir() .. "creaturescripts/scripts/stagesconfig.lua") function onLogin(cid) for skill, skillStage in pairs(skillStages) do if(skill >= 0 and skill <= 6) then nowSkill = getPlayerSkillLevel(cid, skill) else nowSkill = getPlayerMagLevel(cid, true) end for i, skillRateInfo in pairs(skillStage) do if(nowSkill >= skillRateInfo[1]) then skillRate = skillRateInfo[2] else break end end doPlayerSetRate(cid, skill, skillRate) end if(showInfoOnLogin) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, getPlayerSkillRatesText(cid)) end registerCreatureEvent(cid, "SkillStagesAdvance") return TRUE end boasvindas.lua local message = [[Seja bem vindo! Utilize o canal help para maiores informações. Digite !notice ou !news para ver as novidades. Bom jogo!]] function onLogin(cid) local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NEW) then doPlayerPopupFYI(cid, message) end return true end checkbless.lua function onLogin(cid) if(getPlayerBlessing(cid, 1)) then first = "Sim" else first = "Não" end if(getPlayerBlessing(cid, 2)) then second = "Sim" else second = "Não" end if(getPlayerBlessing(cid, 3)) then third = "Sim" else third = "Não" end if(getPlayerBlessing(cid, 4)) then fourth = "Sim" else fourth = "Não" end if(getPlayerBlessing(cid, 5)) then fifth = "Sim" else fifth = "Não" end doPlayerSendTextMessage(cid,20,'Suas Blessings: [1='.. first ..' / 2='.. second ..' / 3='.. third ..' / 4='.. fourth ..' / 5='.. fifth ..']') return true end Servidor de Dragon Ball Online - dbsbattleofgods.com
Postado Junho 12, 2017 7 anos altera na database os players que tem com 0 de vida e deixa igual a vida max. Você vai "desbugar" eles mas precisa achar a causa do bug ainda Todos os meus trabalhos importantes estão na seção "Sobre mim" no meu perfil; Dá uma passada lá! "Há três caminhos para o fracasso: não ensinar o que se sabe, não praticar o que se ensina, e não perguntar o que se ignora." - São Beda (obg ao @Beeny por fazer essa linda sign <3)
Postado Junho 12, 2017 7 anos Autor @xWhiteWolf Os personagens estão com 0 de vida pois estão bugados, mas do nada simplesmente eles desbugam ou eu tenho que kickar e voltam com HP normal. Servidor de Dragon Ball Online - dbsbattleofgods.com
Postado Junho 12, 2017 7 anos esse bug os players em meu servidor chama de "Bug do Imortal" fiquei varios dias tentando resolver ele e simplesmente unica coisa que fiz foi trocar de Source. rapidinho o Bug desapareceu. agr onde elas ficam nas sources n sei. eu peguei uma Source de Tibia 8.60 0.4 e modifiquei oq eu queria modificar depois e pronto. espero ter ajudado.
Postado Junho 12, 2017 7 anos Autor @dissolima Alguma source para indicar? Servidor de Dragon Ball Online - dbsbattleofgods.com
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.