-
Total de itens
51 -
Registro em
-
Última visita
Posts postados por Arranca Prega
-
-
Bom nao sei se essa seria a area correta mas vamos la
Eae galera, criei um grupo no face de design, para galera se interagir mais, tirar duvidas, pedir recursos etc... postagem diversificada des de desenhos a mão até intros etc... qualquer tipo de trabalho relacionado a Design
Link do grupo
Design ZonEGrupo fechado só pedir a solicitação que vou aceitar o mais rápido possível
Grupo novo :3 -
Meça seus comentários parça xD kkkk
-
Em 14/04/2016 at 08:37, klipstyle disse:
usa o Ditto system = PXG com comando !revert? caso sim, reinstale pois o sistema não possui essa falha.
Caso não use, faça oque o nosso amigo dalvorsn disse bloqueando fly se atributo do ditto estiver presente.
sim uso igual do pxg tem o comando !revert, mas sempre q puxa para a pokeball o ditto volta ao normal e quando desloga tb por isso ta bugando, vou tentar fazer isso
-
-
-
-
6 horas atrás, dalvorsn disse:
Qual char buga, o que deslogou ou master(player que summonou) do ditto?
o cara que deslogou de fly no ditto , o ditto era dele, ele copio um poke que tinha fly ai ele tava montado no poke quando deslogou e foi entrar denovo bugou
-
-
-
Bom como o nome ja diz o ditto no meu servidor não segura a transformação, ele transforma no poke que você quiser mas quando puxa ele pra pokeball ele volta ao normal, eu queria que ele fosse igual o do pxg que não volta ao normal so volta quando usa o comando alguem pode ajudar ?
-
2 horas atrás, danihcv disse:
Aparece algum erro na distro?
aparece esse
Citar[07/04/2016 23:59:01] [Error - CreatureScript Interface]
[07/04/2016 23:59:01] data/creaturescripts/scripts/exp2.0.lua:onStatsChange
[07/04/2016 23:59:01] Description:
[07/04/2016 23:59:01] data/lib/clan system.lua:286: attempt to index field '?' (a nil value)
[07/04/2016 23:59:01] stack traceback:
[07/04/2016 23:59:01] data/lib/clan system.lua:286: in function 'getClanPorcent'
[07/04/2016 23:59:01] data/creaturescripts/scripts/exp2.0.lua:392: in function <data/creaturescripts/scripts/exp2.0.lua:63>
-
Bom meu ot ta com um bug que o quando o player desloga em cima do ditto o char buga e não consegue conectar mais, gostaria de saber se tem como dar um "rollback" so no player bugado ou um jeito de tirar ele de cima do ditto, (ele estava de fly e deslogou quando entrou de novo bugou pois o ditto volta ao normal quando desloga)
Por favor me ajudem, agradeço des de ja
-
up
-
-
Vou testar o seu
fmz se der certo comenta ai :]
-
eu coloco mas não funfa :x
você vai no no-ip, do lado do ip fixo q vc criou vai ter o ip em numeros aquele você coloca na pasta config.lua do seu ot, ai vc liga o servidor e tals, ai você vai no menu inicar e coloca "cmd" vari abrir uma tela, escreve ipconfig e da enter. O ip que você vai colocar no client e o Endereço ipv4.
caso não de certo msm esse aqui e o meu entergame:
EnterGame = { }
G.host = "SEU IP"G.port = 7171G.protocolVersion = 854G.clientVersion = 854-- private variableslocal loadBoxlocal enterGamelocal motdWindowlocal motdButtonlocal enterGameButtonlocal motdEnabled = true-- private functionslocal function onError(protocol, message, errorCode)if loadBox thenloadBox:destroy()loadBox = nilend-- if not errorCode then-- EnterGame.clearAccountFields()-- endlocal errorBox = displayErrorBox(tr('Login Error'), message)connect(errorBox, { onOk = EnterGame.show })endlocal function onMotd(protocol, motd)G.motdNumber = tonumber(motd:sub(0, motd:find("\n")))G.motdMessage = motd:sub(motd:find("\n") + 1, #motd)if motdEnabled thenmotdButton:show()endendlocal function onCharacterList(protocol, characters, account)if enterGame:getChildById('rememberPasswordBox'):isChecked() thenlocal account = g_crypt.encrypt(G.account)local password = g_crypt.encrypt(G.password)g_settings.set('account', account)g_settings.set('password', password)g_settings.set('autologin', enterGame:getChildById('autoLoginBox'):isChecked())elseEnterGame.clearAccountFields()endloadBox:destroy()loadBox = nilCharacterList.create(characters, account)CharacterList.show()if motdEnabled thenlocal lastMotdNumber = g_settings.getNumber("motd")if G.motdNumber and G.motdNumber ~= lastMotdNumber theng_settings.set("motd", motdNumber)motdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)connect(motdWindow, { onOk = function() CharacterList.show() motdWindow = nil end })CharacterList.hide()endendendlocal function onUpdateNeeded(protocol, signature)loadBox:destroy()loadBox = nilif EnterGame.updateFunc thenlocal continueFunc = EnterGame.showlocal cancelFunc = EnterGame.showEnterGame.updateFunc(signature, continueFunc, cancelFunc)elselocal errorBox = displayErrorBox(tr('Update needed'), tr('Your client needs updating, try redownloading it.'))connect(errorBox, { onOk = EnterGame.show })endend-- public functionsfunction EnterGame.init()enterGame = g_ui.displayUI('entergame')enterGameButton = modules.client_topmenu.addCustomLeftButton('enterGameButton', tr('Login') .. ' (Ctrl + G)', '/images/ui/pxg/topMenu_icons/entrar_icon', EnterGame.openWindow, false)motdButton = modules.client_topmenu.addCustomLeftButton('motdButton', tr('Message of the day'), '/images/ui/pxg/topMenu_icons/news_icon', EnterGame.displayMotd, false)motdButton:hide()g_keyboard.bindKeyDown('Ctrl+G', EnterGame.openWindow)if motdEnabled and G.motdNumber thenmotdButton:show()endlocal account = g_settings.get('account')local password = g_settings.get('password')local autologin = g_settings.getBoolean('autologin')EnterGame.setAccountName(account)EnterGame.setPassword(password)enterGame:getChildById('autoLoginBox'):setChecked(autologin)enterGame:hide()-- só usa quando recarrega o module-- if g_app.isRunning() and not g_game.isOnline() then-- enterGame:show()-- endendfunction EnterGame.firstShow()EnterGame.show()local account = g_crypt.decrypt(g_settings.get('account'))local password = g_crypt.decrypt(g_settings.get('password'))local autologin = g_settings.getBoolean('autologin')if #password > 0 and #account > 0 and autologin thenaddEvent(function()if not g_settings.getBoolean('autologin') then return endEnterGame.doLogin()end)endendfunction EnterGame.terminate()g_keyboard.unbindKeyDown('Ctrl+G')enterGame:destroy()enterGame = nilenterGameButton:destroy()enterGameButton = nilif motdWindow thenmotdWindow:destroy()motdWindow = nilendif motdButton thenmotdButton:destroy()motdButton = nilendif loadBox thenloadBox:destroy()loadBox = nilendif protocolLogin thenprotocolLogin:cancelLogin()protocolLogin = nilendEnterGame = nilendfunction EnterGame.show()if loadBox then return endenterGame:show()enterGame:raise()enterGame:focus()endfunction EnterGame.hide()enterGame:hide()endfunction EnterGame.openWindow()if g_game.isOnline() thenCharacterList.show()elseif not g_game.isLogging() and not CharacterList.isVisible() thenEnterGame.show()endendfunction EnterGame.setAccountName(account)local account = g_crypt.decrypt(account)enterGame:getChildById('accountNameTextEdit'):setText(account)enterGame:getChildById('accountNameTextEdit'):setCursorPos(-1)enterGame:getChildById('rememberPasswordBox'):setChecked(#account > 0)endfunction EnterGame.setPassword(password)local password = g_crypt.decrypt(password)enterGame:getChildById('accountPasswordTextEdit'):setText(password)endfunction EnterGame.clearAccountFields()enterGame:getChildById('accountNameTextEdit'):clearText()enterGame:getChildById('accountPasswordTextEdit'):clearText()enterGame:getChildById('accountNameTextEdit'):focus()g_settings.remove('account')g_settings.remove('password')endfunction EnterGame.doLogin()G.account = enterGame:getChildById('accountNameTextEdit'):getText()G.password = enterGame:getChildById('accountPasswordTextEdit'):getText()EnterGame.hide()if g_game.isOnline() thenlocal errorBox = displayErrorBox(tr('Login Error'), tr('Cannot login while already in game.'))connect(errorBox, { onOk = EnterGame.show })returnendprotocolLogin = ProtocolLogin.create()protocolLogin.onLoginError = onErrorprotocolLogin.onMotd = onMotdprotocolLogin.onCharacterList = onCharacterListprotocolLogin.onUpdateNeeded = onUpdateNeededloadBox = displayCancelBox(tr('Please wait'), tr('Connecting to login server...'))connect(loadBox, { onCancel = function(msgbox)loadBox = nilprotocolLogin:cancelLogin()EnterGame.show()end })g_game.chooseRsa(G.host)g_game.setClientVersion(G.clientVersion)g_game.setProtocolVersion(G.protocolVersion)if modules.game_things.isLoaded() thenprotocolLogin:login(G.host, G.port, G.account, G.password)elseloadBox:destroy()loadBox = nilEnterGame.show()endendfunction EnterGame.displayMotd()if not motdWindow thenmotdWindow = displayInfoBox(tr('Message of the day'), G.motdMessage)motdWindow.onOk = function() motdWindow = nil endendendfunction EnterGame.disableMotd()motdEnabled = falsemotdButton:hide()end -
Tenta colocar o ip da sua maquina em vez de colocar o ip do no-ip, no meu servidor eu não consigo conectar pelo do no-ip so os outros players, ai o meu client eu uso o ip da minha maquina mas o client q eu coloquei pra downlaod e o ip do no-ip
se der certo comenta ai :biggrin:
-
-
-
Fala como você quer que eu vejo se consigo fazer :3
-
-
Tô pelo cell. Mas abra seu actions em um editor de texto(de preferência o Notepad).
E procure isso;
if getCreatureName(pk) == "Ditto" or getCreatureName(pk) == "Shiny Ditto" then --edited
local left = getItemAttribute(item.uid, "transLeft")
local name = getItemAttribute(item.uid, "transName")
if left and left > 0 then
setPlayerStorageValue(pk, 1010, name)
doSetCreatureOutfit(pk, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1)
addEvent(deTransform, left * 1000, pk, getItemAttribute(item.uid, "transTurn"))
doItemSetAttribute(item.uid, "transBegin", os.clock())
else
setPlayerStorageValue(pk, 1010, getCreatureName(pk) == "Ditto" and "Ditto" or "Shiny Ditto") --edited
end
end
E remova.
[Faça um backup antes]
não deu certo
-
Posta seu login, e o goback da actions
Loguin :
local config = {
loginMessage = getConfigValue('loginMessage'),useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))}function onLogin(cid)if getPlayerLevel(cid) >= 1 and getPlayerLevel(cid) <= 10 then --alterado v1.8doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)elsedoPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, (getPlayerLevel(cid) >= 200 and 100 or math.floor(getPlayerLevel(cid)/2)) )enddoCreatureSetDropLoot(cid, false)local accountManager = getPlayerAccountManager(cid)if(accountManager == MANAGER_NONE) thenlocal lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessageif(lastLogin > 0) thendoPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)str = "Sua ultima visita foi em " .. os.date("%a %b %d %X %Y", lastLogin) .. "."elsestr = strenddoPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)elseif(accountManager == MANAGER_NAMELOCK) thendoPlayerSendTextMessage(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) thendoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")elsedoPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")endif getCreatureName(cid) == "Account Manager" thenlocal outfit = {}if accountManagerRandomPokemonOutfit thenoutfit = {lookType = getPokemonXMLOutfit(oldpokedex[math.random(151)][1])}elseoutfit = accountManagerOutfitenddoSetCreatureOutfit(cid, outfit, -1)return trueendif(not isPlayerGhost(cid)) thendoSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)endlocal outfit = {}if getPlayerVocation(cid) == 0 thendoPlayerSetMaxCapacity(cid, 0)doPlayerSetVocation(cid, 1)setCreatureMaxMana(cid, 6)doPlayerAddSoul(cid, -getPlayerSoul(cid))setPlayerStorageValue(cid, 19898, 0)if getCreatureOutfit(cid).lookType == 128 thenoutfit = {lookType = 510, lookHead = math.random(0, 132), lookBody = math.random(0, 132), lookLegs = math.random(0, 132), lookFeet = math.random(0, 132)}elseif getCreatureOutfit(cid).lookType == 136 thenoutfit = {lookType = 511, lookHead = math.random(0, 132), lookBody = math.random(0, 132), lookLegs = math.random(0, 132), lookFeet = math.random(0, 132)}enddoCreatureChangeOutfit(cid, outfit)endregisterCreatureEvent(cid, "dropStone")registerCreatureEvent(cid, "ShowPokedex")registerCreatureEvent(cid, "ClosePokedex")registerCreatureEvent(cid, "WatchTv")registerCreatureEvent(cid, "StopWatchingTv")registerCreatureEvent(cid, "WalkTv")registerCreatureEvent(cid, "RecordTv")registerCreatureEvent(cid, "PlayerLogout")registerCreatureEvent(cid, "WildAttack")registerCreatureEvent(cid, "Idle")registerCreatureEvent(cid, "EffectOnAdvance")registerCreatureEvent(cid, "GeneralConfiguration")registerCreatureEvent(cid, "SaveReportBug")registerCreatureEvent(cid, "LookSystem")registerCreatureEvent(cid, "T1")registerCreatureEvent(cid, "T2")registerCreatureEvent(cid, "task_count")registerCreatureEvent(cid, "KillAlavanca")registerCreatureEvent(cid, "ExpVip")registerCreatureEvent(cid, "HouseTranslation")registerCreatureEvent(cid, "UpAbsolute")registerCreatureEvent(cid, "CheckVip")registerCreatureEvent(cid, "PlayerInformation")registerCreatureEvent(cid, "OpenChannelDialog")if getPlayerStorageValue(cid, 99284) == 1 thensetPlayerStorageValue(cid, 99284, -1)endif getPlayerStorageValue(cid, 6598754) >= 1 or getPlayerStorageValue(cid, 6598755) >= 1 thensetPlayerStorageValue(cid, 6598754, -1)setPlayerStorageValue(cid, 6598755, -1)doRemoveCondition(cid, CONDITION_OUTFIT) --alterado v1.9 \/doTeleportThing(cid, posBackPVP, false)doCreatureAddHealth(cid, getCreatureMaxHealth(cid))enddoChangeSpeed(cid, -(getCreatureSpeed(cid)))--///////////////////////////////////////////////////////////////////////////--local storages = {17000, 63215, 17001, 13008, 5700}for s = 1, #storages doif not tonumber(getPlayerStorageValue(cid, storages)) thenif s == 3 thensetPlayerStorageValue(cid, storages, 1)elseif s == 4 thensetPlayerStorageValue(cid, storages, -1)elseif isBeingUsed(getPlayerSlotItem(cid, 8).itemid) thensetPlayerStorageValue(cid, storages, 1)elsesetPlayerStorageValue(cid, storages, -1)endenddoPlayerSendTextMessage(cid, 27, "Sorry, but a problem occurred on the server, but now it's alright")endend--/////////////////////////////////////////////////////////////////////////--if getPlayerStorageValue(cid, 17000) >= 1 then -- flylocal item = getPlayerSlotItem(cid, 8)local poke = getItemAttribute(item.uid, "poke")doChangeSpeed(cid, getPlayerStorageValue(cid, 54844))doRemoveCondition(cid, CONDITION_OUTFIT)doSetCreatureOutfit(cid, {lookType = flys[poke][1] + 351}, -1)local apos = getFlyingMarkedPos(cid)apos.stackpos = 0if getTileThingByPos(apos).itemid <= 2 thendoCombatAreaHealth(cid, FIREDAMAGE, getFlyingMarkedPos(cid), 0, 0, 0, CONST_ME_NONE)doCreateItem(460, 1, getFlyingMarkedPos(cid))enddoTeleportThing(cid, apos, false)if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) >= 1 thensendAuraEffect(cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8endlocal posicao = getTownTemplePosition(getPlayerTown(cid))markFlyingPos(cid, posicao)elseif getPlayerStorageValue(cid, 63215) >= 1 then -- surflocal item = getPlayerSlotItem(cid, 8)local poke = getItemAttribute(item.uid, "poke")doSetCreatureOutfit(cid, {lookType = surfs[poke].lookType + 351}, -1) --alterado v1.6doChangeSpeed(cid, getPlayerStorageValue(cid, 54844))if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) >= 1 thensendAuraEffect(cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8endelseif getPlayerStorageValue(cid, 17001) >= 1 then -- ridelocal item = getPlayerSlotItem(cid, 8)local poke = getItemAttribute(item.uid, "poke")if rides[poke] thendoChangeSpeed(cid, getPlayerStorageValue(cid, 54844))doRemoveCondition(cid, CONDITION_OUTFIT)doSetCreatureOutfit(cid, {lookType = rides[poke][1] + 351}, -1)if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) >= 1 thensendAuraEffect(cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8endelsesetPlayerStorageValue(cid, 17001, -1)doRegainSpeed(cid)endlocal posicao2 = getTownTemplePosition(getPlayerTown(cid))markFlyingPos(cid, posicao2)elseif getPlayerStorageValue(cid, 13008) >= 1 then -- diveif not isInArray({5405, 5406, 5407, 5408, 5409, 5410}, getTileInfo(getThingPos(cid)).itemid) thensetPlayerStorageValue(cid, 13008, 0)doRegainSpeed(cid)doRemoveCondition(cid, CONDITION_OUTFIT)return trueendif getPlayerSex(cid) == 1 thendoSetCreatureOutfit(cid, {lookType = 1034, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, -1)elsedoSetCreatureOutfit(cid, {lookType = 1035, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet}, -1)enddoChangeSpeed(cid, 800)elseif getPlayerStorageValue(cid, 5700) > 0 then --bikedoChangeSpeed(cid, -getCreatureSpeed(cid))doChangeSpeed(cid, getPlayerStorageValue(cid, 5700)) --alterado v1.8if getPlayerSex(cid) == 1 thendoSetCreatureOutfit(cid, {lookType = 1394}, -1)elsedoSetCreatureOutfit(cid, {lookType = 1393}, -1)endelseif getPlayerStorageValue(cid, 75846) >= 1 then --alterado v1.9 \/doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)), false)setPlayerStorageValue(cid, 75846, -1)sendMsgToPlayer(cid, 20, "You have been moved to your town!")elsedoRegainSpeed(cid)endif getPlayerStorageValue(cid, 22545) >= 1 thensetPlayerStorageValue(cid, 22545, -1)doTeleportThing(cid, getClosestFreeTile(cid, posBackGolden), false)setPlayerRecordWaves(cid)endif useKpdoDlls thendoUpdateMoves(cid)doUpdatePokemonsBar(cid)endif getCreatureSpeed(cid) ~= getCreatureBaseSpeed(cid) thenlocal delta = ( (getCreatureBaseSpeed(cid)) - (getCreatureSpeed(cid)) )doChangeSpeed(cid, delta)endreturn trueendgoback:
local EFFECTS = {
--[OutfitID] = {Effect}["Magmar"] = 35,["Jynx"] = 17, --alterado v1.5["Shiny Jynx"] = 17,["Piloswine"] = 205, --alterado v1.8["Swinub"] = 205,}function onUse(cid, item, frompos, item2, topos)if exhaustion.get(cid, 6666) and exhaustion.get(cid, 6666) > 0 then return true endif getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 17001) >= 1 or getPlayerStorageValue(cid, 63215) >= 1or getPlayerStorageValue(cid, 75846) >= 1 or getPlayerStorageValue(cid, 5700) >= 1 then --alterado v1.9 <<return trueendlocal ballName = getItemAttribute(item.uid, "poke")local btype = getPokeballType(item.itemid)local usando = pokeballs[btype].uselocal effect = pokeballs[btype].effectif not effect theneffect = 21endunLock(item.uid) --alterado v1.8if item.itemid == usando thenif getPlayerStorageValue(cid, 990) == 1 then -- GYMdoPlayerSendCancel(cid, "You can't return your pokemon during gym battles.")return trueendif #getCreatureSummons(cid) > 1 and getPlayerStorageValue(cid, 212124) <= 0 then --alterado v1.6if getPlayerStorageValue(cid, 637501) == -2 or getPlayerStorageValue(cid, 637501) >= 1 thenBackTeam(cid)endendif #getCreatureSummons(cid) == 2 and getPlayerStorageValue(cid, 212124) >= 1 thendoPlayerSendCancel(cid, "You can't do that while is controling a mind")return true --alterado v1.5endif #getCreatureSummons(cid) <= 0 thenif isInArray(pokeballs[btype].all, item.itemid) thendoTransformItem(item.uid, pokeballs[btype].off)doItemSetAttribute(item.uid, "hp", 0)doPlayerSendCancel(cid, "This pokemon is fainted.")return trueendendlocal cd = getCD(item.uid, "blink", 30)if cd > 0 thensetCD(item.uid, "blink", 0)endlocal z = getCreatureSummons(cid)[1]if getCreatureCondition(z, CONDITION_INVISIBLE) and not isGhostPokemon(z) thenreturn trueenddoReturnPokemon(cid, z, item, effect)elseif item.itemid == pokeballs[btype].on thenif item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_FEET).uid thendoPlayerSendCancel(cid, "You must put your pokeball in the correct place!")return TRUEendlocal thishp = getItemAttribute(item.uid, "hp")if thishp <= 0 thenif isInArray(pokeballs[btype].all, item.itemid) thendoTransformItem(item.uid, pokeballs[btype].off)doItemSetAttribute(item.uid, "hp", 0)doPlayerSendCancel(cid, "This pokemon is fainted.")return trueendendlocal pokemon = getItemAttribute(item.uid, "poke")if not pokes[pokemon] thenreturn trueend----------------------- Sistema de nao poder carregar mais que 3 pokes lvl baixo e + q 1 poke de lvl medio/alto ---------------------------------if not isInArray({5, 6}, getPlayerGroupId(cid)) thenlocal balls = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid)local low = {}local lowPokes = {"Rattata", "Caterpie", "Weedle", "Oddish", "Pidgey", "Paras", "Poliwag", "Bellsprout", "Magikarp", "Hoppip", "Sunkern"}if #balls >= 1 thenfor _, uid in ipairs(balls) dolocal nome = getItemAttribute(uid, "poke")if not isInArray(lowPokes, pokemon) and nome == pokemon thenreturn doPlayerSendTextMessage(cid, 27, "Desculpe, mas voce nao pode carregar dois pokemons iguais!")elseif nome == pokemon thentable.insert(low, nome)endendendendif #low >= 3 thenreturn doPlayerSendTextMessage(cid, 27, "Sorry, but you can't carry more than three pokemons equals of low level!")endend---------------------------------------------------------------------------------------------------------------------------------------------------local x = pokes[pokemon]local boost = getItemAttribute(item.uid, "boost") or 0if getPlayerLevel(cid) < (x.level+boost) thendoPlayerSendCancel(cid, "You need level "..(x.level+boost).." to use this pokemon.")return trueend---------------------------- Sistema pokes de clan --------------------------------------local shinysClan = {["Dark Articuno"] = {4, "Wingeon"},["Dark Celebi"] = {1, "Volcanic"},["Reshiram"] = {2, "Seavel"},["Shiny Darkrai"] = {9, "Raibolt"},["Shiny Lucario"] = {7, "Psycraft"},["Shiny Riolu"] = {3, "Orebound"},["Zekrom"] = {8, "Naturia"},["Shiny Regirock"] = {5, "Malefic"},["Shiny Registeel"] = {6, "Gardestrike"}, --alterado v1.4}if shinysClan[pokemon] and (getPlayerGroupId(cid) < 4 or getPlayerGroupId(cid) > 6) then --alterado v1.9 \/if getPlayerClanNum(cid) ~= shinysClan[pokemon][1] thendoPlayerSendCancel(cid, "You need be a member of the clan "..shinysClan[pokemon][2].." to use this pokemon!")return trueelseif getPlayerClanRank(cid) ~= 5 thendoPlayerSendCancel(cid, "You need be atleast rank 5 to use this pokemon!")return trueendend--------------------------------------------------------------------------------------doSummonMonster(cid, pokemon)local pk = getCreatureSummons(cid)[1]if not isCreature(pk) then return true end------------------------passiva hitmonchan------------------------------if isSummon(pk) then --alterado v1.8 \/if pokemon == "Shiny Hitmonchan" or pokemon == "Hitmonchan" thenif not getItemAttribute(item.uid, "hands") thendoSetItemAttribute(item.uid, "hands", 0)endlocal hands = getItemAttribute(item.uid, "hands")doSetCreatureOutfit(pk, {lookType = hitmonchans[pokemon][hands].out}, -1)endend----------------------------------------------------------------------------------movement magmar, jynx-------------if EFFECTS[getCreatureName(pk)] thenmarkPosEff(pk, getThingPos(pk))sendMovementEffect(pk, EFFECTS[getCreatureName(pk)], getThingPos(pk))end--------------------------------------------------------------------------if getCreatureName(pk) == "Ditto" or getCreatureName(pk) == "Shiny Ditto" then --editedlocal left = getItemAttribute(item.uid, "transLeft")local name = getItemAttribute(item.uid, "transName")if left and left > 0 thensetPlayerStorageValue(pk, 1010, name)doSetCreatureOutfit(pk, {lookType = getItemAttribute(item.uid, "transOutfit")}, -1)addEvent(deTransform, left * 1000, pk, getItemAttribute(item.uid, "transTurn"))doItemSetAttribute(item.uid, "transBegin", os.clock())elsesetPlayerStorageValue(pk, 1010, getCreatureName(pk) == "Ditto" and "Ditto" or "Shiny Ditto") --editedendendif isGhostPokemon(pk) then doTeleportThing(pk, getPosByDir(getThingPos(cid), math.random(0, 7)), false) enddoCreatureSetLookDir(pk, 2)adjustStatus(pk, item.uid, true, true, true)doAddPokemonInOwnList(cid, pokemon)doTransformItem(item.uid, item.itemid+1)local pokename = getPokeName(pk) --alterado v1.7local mgo = gobackmsgs[math.random(1, #gobackmsgs)].go:gsub("doka", pokename)doCreatureSay(cid, mgo, TALKTYPE_SAY)doSendMagicEffect(getCreaturePosition(pk), effect)if useOTClient thendoPlayerSendCancel(cid, '12//,show') --alterado v1.7endlocal pk = getCreatureSummons(cid)[1]local pb = getPlayerSlotItem(cid, 8).uidlocal look = getItemAttribute(pb,"addon")if not look thendoSetItemAttribute(pb,"addon",0)return falseendif look > 0 thendoSetCreatureOutfit(pk, {lookType = look}, -1)return trueendelsedoPlayerSendCancel(cid, "Esse pokemon desmaiou.")endif useKpdoDlls thendoUpdateMoves(cid)endreturn trueend -
up
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
Brtibia *SERÁ ABERTO HOJE(10/03/2017) AS 18H
em OTServlist
Postado
Brtibia
Eae galera vim trazer para vocês um dos melhores ots que eu ja joguei e jogo ate hoje, o brtibia e um servidor que está aberto já a alguns anos e recentemente foi resetado para algumas mudanças, trouxeram conteúdos antigos(Pets por exemplo) e novas mudanças como eventos novos etc...
o Brtibia e um servidor para aqueles que nao gostam muito da dificuldade de up no global mas ao mesmo tempo não gostam da facilidade de muitos outros otservers por ai, tem uma exp rate boa e decrescente, se nao me engano lvl 160 a rate fica x1.
Mapa próprio*
caso você nunca tenha ouvido falar do brtibia no site existem algumas hunts disponíveis para quem não conhece o mapa
http://www.brtibia.com.br/?subtopic=tutorialfree < cidades free
http://www.brtibia.com.br/?subtopic=tutorialvip < cidades vip
http://www.brtibia.com.br/?subtopic=tutorialsea < cidade principal do jogo
o servidor conta com todas as quests clássicas (poi, inqui, dh, anihi, etc...)
e quests próprias um exemplo é a super inquisition.
o servidor possui um client próprio e um automap disponíveis para download no site
Site do servidor:
http://www.brtibia.com.br
entre crie sua conta e divirta-se!
qualquer duvida deixe nos comentários que se possível tento ajuda-los