FlamesAdmin
-
Total de itens
1550 -
Registro em
-
Última visita
-
Dias Ganhos
19
Posts postados por FlamesAdmin
-
-
-
da ctrl f no seu notepad++ e deixe assim dps que procurar tudo relacionado ao gender, só ir comentando com " -- " (sem os aspas) as linhas que tiver o gender
-
5 minutos atrás, Developer Berg disse:
show, só tive que remover os
getNameDisplacement
-
8 minutos atrás, Marcos VMA disse:
você modificou o nome do poke? ou algo do tipo?
nop
-
if (drawFlags & Otc::DrawNames) { if (g_painter->getColor() != fillColor) g_painter->setColor(fillColor); CachedText shiny; shiny.setText("Shiny"); shiny.setFont(g_fonts.getFont("verdana-11px-rounded")); Rect shinyrect = Rect(point.x - shiny.getTextSize().width() / 2.0, point.y - 26, shiny.getTextSize()); if (m_name.find("Shiny") != std::string::npos) { std::string nname = m_name; nname.erase(0, 5); m_nameCache.setText(nname); m_nameCache.draw(textRect); g_painter->setOpacity(0.5); g_painter->setColor(Color(0, 255, 255)); shiny.draw(shinyrect); g_painter->resetColor(); g_painter->resetOpacity(); m_nameCache.setText(m_name); } else { m_nameCache.draw(textRect); } }
-
@Developer Bergpq fica desse jeito o nome?
-
@Developer Bergmeu fica dando esse aviso quando compila e não funciona
C:\otclient\src\client\creature.cpp|282|warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]|
-
-
verifique se no configuration.lua da lib possui isso
headbutt = { [25] = {{"Metapod", 2}, {"Kakuna", 2}, {"Pidgey", 3}, {"Ekans", 1}}, [30] = {{"Metapod", 3}, {"Kakuna", 3}, {"Pidgey", 3}, {"Spearow", 2}, {"Ekans", 1}}, [40] = {{"Pidgeotto", 1}, {"Beedrill", 2}, {"Spearow", 3}, {"Ekans", 2}, {"Venonat", 1}}, [55] = {{"Pidgeotto", 2}, {"Beedrill", 2}, {"Spearow", 3}, {"Arbok", 1}}, [60] = {{"Arbok", 1}, {"Beedrill", 3}, {"Pidgeotto", 2}, {"Beedrill", 2}, {"Butterfree", 2}}, [70] = {{"Arbok", 2}, {"Beedrill", 3}, {"Parasect", 1}, {"Pidgeotto", 3}, {"Butterfree", 2}}, [80] = {{"Beedrill", 4}, {"Parasect", 2}, {"Pinsir", 1}, {"Pidgeotto", 4}, {"Venomoth", 1}}, [90] = {{"Beedrill", 4}, {"Parasect", 2}, {"Pinsir", 1}, {"Pidgeotto", 4}, {"Venomoth", 2}}, [120] = {{"Butterfree", 4}, {"Pinsir", 1}, {"Parasect", 2}, {"Pinsir", 2}, {"Venomoth", 1}, {"Parasect", 2}, {"Venomoth", 2}, {"Farfetch'd", 1},}, [150] = {{"Butterfree", 4}, {"Parasect", 2}, {"Scyther", 1}, {"Pinsir", 2}, {"Fearow", 1}, {"Venomoth", 2}, {"Farfetch'd", 1},}, [200] = {{"Butterfree", 5}, {"Parasect", 3}, {"Scyther", 1}, {"Pinsir", 2}, {"Fearow", 1}, {"Venomoth", 3}, {"Farfetch'd", 1},}, [250] = {{"Butterfree", 5}, {"Parasect", 3}, {"Scyther", 1}, {"Pidgeot", 1}, {"Pinsir", 2}, {"Fearow", 2}, {"Venomoth", 3}, {"Farfetch'd", 2},}, [300] = {{"Parasect", 4}, {"Scyther", 2}, {"Pidgeot", 2}, {"Pinsir", 3}, {"Fearow", 3}, {"Venomoth", 4}, {"Farfetch'd", 3},}, [1000] = {{"Parasect", 4}, {"Scyther", 2}, {"Pidgeot", 2}, {"Pinsir", 3}, {"Fearow", 3}, {"Venomoth", 4}, {"Farfetch'd", 3},}, }
-
local function growHead() doTransformItem(getTileItemById(pos, 12592).uid, 12591) --id do item arvore quebrada, arvore normal end
-
precisa mudar no order.lua da lib também
-
Seu servidor não possui nas sources o código do getDamageMapPercent, troque seu pokeexp por esse abaixo
Spoilerlocal function playerAddExp(cid, exp) local Tiers = { [71] = {bonus = Exp1}, } local exx = exp local bonusvip = getConfigValue("BonusXpVip") local msg = "" local ball = getPlayerSlotItem(cid, 8) local Tier = getItemAttribute(ball.uid, "heldx") if isPremium(cid) then exx = math.floor((exx / 100) * (100 + bonusvip)) end if Tier and Tier > 70 and Tier < 78 then exx = math.floor(exx * Tiers[Tier].bonus) end if getGlobalStorageValue(8445641) > os.time() then exx = math.floor(exx * 2) end if getPlayerStorageValue(cid, 8445642) > os.time() then exx = math.floor(exx * 1.5) end doPlayerAddExp(cid, exx) doSendAnimatedText(getThingPos(cid), exx, 215) end function onDeath(cid, corpse, deathList) if isSummon(cid) or not deathList or getCreatureName(cid) == "Evolution" then return true end --alterado v1.8 -------------Edited Golden Arena------------------------- --alterado v1.7 \/\/ if getPlayerStorageValue(cid, 22546) == 1 then setGlobalStorageValue(22548, getGlobalStorageValue(22548)-1) if corpse.itemid ~= 0 then doItemSetAttribute(corpse.uid, "golden", 1) end --alterado v1.8 end if getPlayerStorageValue(cid, 22546) == 1 and getGlobalStorageValue(22548) == 0 then local wave = getGlobalStorageValue(22547) for _, sid in ipairs(getPlayersOnline()) do if isPlayer(sid) and getPlayerStorageValue(sid, 22545) == 1 then if getGlobalStorageValue(22547) < #wavesGolden+1 then doPlayerSendTextMessage(sid, 20, "Wave "..wave.." will begin in "..timeToWaves.."seconds!") doPlayerSendTextMessage(sid, 28, "Wave "..wave.." will begin in "..timeToWaves.."seconds!") addEvent(creaturesInGolden, 100, GoldenUpper, GoldenLower, false, true, true) addEvent(doWave, timeToWaves*1000) elseif getGlobalStorageValue(22547) == #wavesGolden+1 then doPlayerSendTextMessage(sid, 20, "You have win the golden arena! Take your reward!") doPlayerAddItem(sid, 2152, getPlayerStorageValue(sid, 22551)*2) --premio setPlayerStorageValue(sid, 22545, -1) doTeleportThing(sid, getClosestFreeTile(sid, posBackGolden), false) setPlayerRecordWaves(sid) end end end if getGlobalStorageValue(22547) == #wavesGolden+1 then endGoldenArena() end end --------------------------------------------------- /\/\ local givenexp = getWildPokemonExp(cid) if givenexp > 0 then for a = 1, #deathList do local pk = deathList[a] --- local list = getSpectators(getThingPosWithDebug(pk), 30, 30, false) if isCreature(pk) then local expTotal = math.floor(playerExperienceRate * givenexp) local party = getPartyMembers(pk) if isInParty(pk) and getPlayerStorageValue(pk, 4875498) <= -1 then expTotal = math.floor(expTotal/#party) --alterado v1.6.1 for i = 1, #party do if isInArray(list, party[i]) then playerAddExp(party[i], expTotal) end end else playerAddExp(pk, expTotal) end end end end if isNpcSummon(cid) then local master = getCreatureMaster(cid) doSendMagicEffect(getThingPos(cid), getPlayerStorageValue(cid, 10000)) doCreatureSay(master, getPlayerStorageValue(cid, 10001), 1) doRemoveCreature(cid) return false end if corpse.itemid ~= 0 then --alterado v1.8 doItemSetAttribute(corpse.uid, "level", getPokemonLevel(cid)) doItemSetAttribute(corpse.uid, "gender", getPokemonGender(cid)) end return true end
- Marcos VMA reagiu a isso
- 1
-
adicionou elas no actions.xml na parte do doors.lua e dentro do mesmo?
-
elseif spell == "Quick Attack" then doSendMagicEffect(getThingPosWithDebug(cid), 211) local x = getClosestFreeTile(cid, getThingPosWithDebug(target)) doTeleportThing(cid, x, false) doFaceCreature(cid, getThingPosWithDebug(target)) doAreaCombatHealth(cid, NORMALDAMAGE, getThingPosWithDebug(target), 0, -min, -max, 3)
Basta mudar o nome, tipo do dano e os efeitos que irão sair xD
-
A barra de pesquisa, o Google, os fóruns de open tibia ta ai, basta pesquisar e correr atrás
-
@Akzsestou usando Google Cloud com Ubuntu. Não deu certo, abri como saída e entrada e continua mostrando o status como offline
-
@adeiltonpessiniconseguiu resolver o problema?
-
manda seu globalevents.xml
-
Útil
-
@VampirescoDisponha !
-
@Vampirescobom eu nao pude testar mas creio que seja sim
-
@Vampirescovai na suas sources, no arquivo configmanager.cpp e procura por m_confNumber[MAX_PLAYERS] = getGlobalNumber("maxPlayers");
Troca por m_confNumber[MAX_PLAYERS] = getGlobalNumber("maxPlayers", 1000);
-
no arquivo anti-mc.lua dentro da pasta creaturescripts/scripts vc consegue alterar a quantidade de players por ip
local maximo = 2 -- Maximo de IP's iguais permitidos.
-
Alguém sabe dizer se precisa mudar isso?
if getItemAttribute(pb, "pokeballusada") == 0 then
Aqui fica dando "vc nao pode usar esse objeto"
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
OTcliente sem proteção contra bot
em Clients
Postado · Editado por FlamesAdmin
Se não me engano tem essas dlls dentro da pasta das sources , pega elas e coloca dentro da pasta do client