Ir para conteúdo
Banner com Efeitos

BangBang

Membro
  • Registro em

  • Última visita

  1. Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). TFS 0.4 Base: PDA 2015 Qual erro está surgindo/O que você procura? Eu hookei o client com a dll extend.dll para ter mais espaço, ok dai eu separo o dat2.dat e tibia.spr e separo p/ usar o item editor e object builder. Mesmo marcando o extended, o item editor não carrega. retorna um erro "Unhandled exception has ocurred in your application If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Parameter is not valid Você tem o código disponível? Se tiver publique-o aqui: Codigo do erro : See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) at ItemEditor.ClientItem.GetBitmap() at ItemEditor.Controls.ServerItemListBox.DrawItemHandler(Object sender, DrawItemEventArgs ev) at System.Windows.Forms.ListBox.OnDrawItem(DrawItemEventArgs e) at System.Windows.Forms.ListBox.WmReflectDrawItem(Message& m) at System.Windows.Forms.ListBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- ItemEditor Assembly Version: 0.4.0.0 Win32 Version: 0.4.0.0 CodeBase: file:///C:/Program%20Files/ItemEditor/ItemEditor.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- PluginInterface Assembly Version: 0.4.0.0 Win32 Version: 0.4.0.0 CodeBase: file:///C:/Program%20Files/ItemEditor/PluginInterface.DLL ---------------------------------------- PluginOne Assembly Version: 0.4.0.1 Win32 Version: 0.4.0.1 CodeBase: file:///C:/Program%20Files/ItemEditor/Plugins/PluginOne.dll ---------------------------------------- PluginThree Assembly Version: 0.4.0.1 Win32 Version: 0.4.0.1 CodeBase: file:///C:/Program%20Files/ItemEditor/Plugins/PluginThree.dll ---------------------------------------- PluginTwo Assembly Version: 0.4.0.1 Win32 Version: 0.4.0.1 CodeBase: file:///C:/Program%20Files/ItemEditor/Plugins/PluginTwo.dll ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  2. BangBang reagiu a uma resposta no tópico: Poke System
  3. Resolvido já. Obrigado !! O problema é que alguns pokémons não estão configurados.
  4. Poderia passar o login.lua OU alguma parte de OnDeath no mesmo ?
  5. Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Base PDA 2015 com level system. TFS 0.3.6. (8.54) Base: PDA 2015 LEVEL SYSTEM Qual erro está surgindo/O que você procura? [03/02/2018 13:06:22] [Error - CreatureScript Interface] [03/02/2018 13:06:22] data/creaturescripts/scripts/pokeexp.lua:onDeath [03/02/2018 13:06:22] Description: [03/02/2018 13:06:22] data/lib/level system.lua:357: attempt to compare nil with number [03/02/2018 13:06:22] stack traceback: [03/02/2018 13:06:22] data/lib/level system.lua:357: in function 'adjustPokemonLevel' [03/02/2018 13:06:22] data/lib/level system.lua:293: in function 'givePokemonExp' [03/02/2018 13:06:22] data/creaturescripts/scripts/pokeexp.lua:47: in function <data/creaturescripts/scripts/pokeexp.lua:10> O pokemon não está recebendo xp, e também não está upando ! Você tem o código disponível? Se tiver publique-o aqui: local balls = {10975, 11826, 11828, 11829, 11831, 11832, 11834, 11835, 11837, 12972, 11737, 11739, 11740, 11742, 11743, 11745, 11746, 11748, 12621, 13259} local function playerAddExp(cid, exp) doPlayerAddExp(cid, exp) doSendAnimatedText(getThingPos(cid), exp, 215) end function onDeath(cid, corpse, deathList) --if not isCreature(cid) then return true end if isSummon(cid) or not deathList or corpse.itemid == 0 or getCreatureName(cid) == "Evolution" then return true end -------------Edited Golden Arena------------------------- if getPlayerStorageValue(cid, 22546) == 1 then setGlobalStorageValue(22548, getGlobalStorageValue(22548)-1) doItemSetAttribute(corpse.uid, "golden", 1) --alterado v2.6 end --alterado v2.4 if getPlayerStorageValue(cid, 22546) == 1 and (getGlobalStorageValue(22547) == -1 or getGlobalStorageValue(22547) == #wavesGolden+1) and getGlobalStorageValue(22548) <= 0 then for _, sid in ipairs(getPlayersOnline()) do if getPlayerStorageValue(sid, 22545) == 1 then doPlayerSendTextMessage(sid, 20, "You have win the golden arena! Take your reward!") doPlayerAddItem(sid, 2152, 100) --premio setPlayerStorageValue(sid, 22545, -1) doTeleportThing(sid, getClosestFreeTile(sid, posBackGolden), false) --alterado v2.4 end --nao esqueçam de fazer as alteraçoes no lib/configuration.lua!! end end --------------------------------------------------- local givenexp = getWildPokemonExp(cid) local expstring = ""..cid.."expEx" local killer = getItemAttribute(corpse.uid, "corpseowner") if givenexp > 0 then for a = 1, #deathList do local pk = deathList[a] if isCreature(pk) then playerAddExp(pk, math.floor(playerExperienceRate * givenexp)) local firstball = getPlayerSlotItem(pk, 8) if firstball and getItemAttribute(firstball.uid, expstring) and getItemAttribute(firstball.uid, expstring) > 0 then local percent = getItemAttribute(firstball.uid, expstring) <= 1 and getItemAttribute(firstball.uid, expstring) or 1 local gainexp = math.ceil(percent * givenexp) doItemSetAttribute(firstball.uid, expstring, 0) givePokemonExp(pk, firstball, gainexp) end for b = 1, #balls do local pokes = getItemsInContainerById(getPlayerSlotItem(pk, 3).uid, balls) if #pokes >= 1 then for _, uid in pairs (pokes) do if getItemAttribute(uid, expstring) and getItemAttribute(uid, expstring) > 0 then local percent = getItemAttribute(uid, expstring) <= 1 and getItemAttribute(uid, expstring) or 1 local gainexp = math.ceil(percent * givenexp) doItemSetAttribute(uid, expstring, 0) givePokemonExpInBp(pk, uid, gainexp, balls) end end end end end end end doItemSetAttribute(corpse.uid, "offense", getPlayerStorageValue(cid, 1011)) doItemSetAttribute(corpse.uid, "defense", getPlayerStorageValue(cid, 1012)) doItemSetAttribute(corpse.uid, "speed", getPlayerStorageValue(cid, 1013)) doItemSetAttribute(corpse.uid, "vitality", getPlayerStorageValue(cid, 1014)) doItemSetAttribute(corpse.uid, "spattack", getPlayerStorageValue(cid, 1015)) doItemSetAttribute(corpse.uid, "level", getLevel(cid)) doItemSetAttribute(corpse.uid, "gender", getPokemonGender(cid)) return true end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  6. localhost(para testes), pesquisei e agora meu problema é somente um. Carrega até a character list, mas ao tentar entrar in-game resulta em "Error 10061"..
  7. Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). BASE KPDO - tfs 0.3.6 - no source - template otpokémon Base: KPDO Qual erro está surgindo/O que você procura? Configurei toda a database, config, servers.xml, site, abri portas e tudo mais e o site (pkst.sytes.net:8090) não entra, e muito menos no client(MODIFIQUEI O OLD COM PKST.SYTES.NET) e neste não carrega a character list. mas no disponibilizado pelo KPDO CATER, onde o ip é 127.0.0.1 carrega somente a character list e NÃO entra in game !! Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  8. if words == "exeta res" then -- Se falar 'exeta res' vai verificar se a target list do player (EU CREIO QUE ESSA TARGET LIST É QUEM ATACA O PLAYER) E VAI TROCAR O TARGET DO PLAYER PARA ELE MESMO, if == getMonsterTargetList(cid) >= 1 then -- VAI RETORNAR ERRO E VAI SAIR O TARGET. doMonsterSetTarget(cid, cid) end end
  9. BangBang postou uma resposta no tópico em Suporte Tibia OTServer
    Eu quero saber se há alguma forma de adicionar mais cores configuráveis (além de cabelo, roupa,calça e sapato), queria adicionar olhos, pulseiras e etc. Seria possível, e se sim, em qual versão do Tibia ?
  10. BangBang postou uma resposta no tópico em Suporte Bots
    Acho que elfbot pega.. Mas tem que configurar o otpokémon assim http://imgur.com/a/96XTJ e arranjar um jeito pra injetar a dll do elfbot..
  11. BangBang postou uma resposta no tópico em Suporte OTServer Derivados
    Queria um MC client para o OTPOKÉMON.. otpokemon.com
  12. BangBang postou uma resposta no tópico em Suporte Tibia OTServer
    Não man; preciso ressucitar o próprio player. Ah, esqueci de adicionar ao script o sistema de precisar de uma entidade para ser o sacrificio..
  13. BangBang postou uma resposta no tópico em Suporte Tibia OTServer
    Criei um sistema de edo tensei, em que o player diz "EDO TENSEI "NICK"", precisa de ter o coração desse player "nick"(this is heart of ..player..); e o ressucita. Porém não tenho alguém para testar comigo.. E também quero fazer com que antes de ressucitá-lo, verifica-o se ele morreu recentemente. Codigo : function onCastSpell(cid) local player == getCreatureByName(edo tensei "name") if words == edo tensei "player" then if getPlayerItemById(cid, player, 2160) == 1 then if getItemDescriptionsById(2160) == "This is the heart of ..player.." then doSummonMonster(player, getCreaturePosition(cid)) doPlayerRemoveItem(cid, 2160, 1) return TRUE else return FALSE end return TRUE else return FALSE end return TRUE else return FALSE end end
  14. BangBang postou uma resposta no tópico em Suporte Tibia OTServer
    Algo que não entendi. baixei uma base de naruto, a partir de uma alteração tudo 'bugou' ! Erro : [18/07/2017 13:53:33] Naruto Uzu has logged in. [18/07/2017 13:53:33] [Error - CreatureScript Interface] [18/07/2017 13:53:33] data/creaturescripts/scripts/looktypes.lua:onLogin [18/07/2017 13:53:33] Description: [18/07/2017 13:53:33] attempt to index a nil value [18/07/2017 13:53:33] stack traceback: [18/07/2017 13:53:33] [C]: in function 'doSetCreatureOutfit' [18/07/2017 13:53:33] data/creaturescripts/scripts/looktypes.lua:17: in function <data/creaturescripts/scripts/looktypes.lua:1> [18/07/2017 13:53:33] Naruto Uzu has logged out. Script function onLogin(cid) local outfits = { --LookType Vocations Iniciais [1] = {lookType = 2}, [2] = {lookType = 3}, [3] = {lookType = 4}, [4] = {lookType = 5}, [5] = {lookType = 6}, [6] = {lookType = 7}, [7] = {lookType = 389}, } local voc_id = getPlayerVocation(cid) if getPlayerVocation(cid) > 0 then doSetCreatureOutfit(cid, outfits[voc_id], -1) end return TRUE end
  15. BangBang postou uma resposta no tópico em Suporte Tibia OTServer
    Nada.. Consegui fazê-lo de modo que não bugasse. Agora só me resta adicionar o sistema de leveis.. obrigado !
  16. BangBang postou uma resposta no tópico em Suporte Tibia OTServer
    Eu adaptei(ou pelomenos tentei) o sistema de critical (se não me engano, do xWhiteWolf). Meu objetivo era um sistema de critical que pudesse ser upado a partir de ataque. E ao atacar, ter uma chance de upar o level dessa skill. Maas, não obtive sucesso. Todo dano causado está causando critical, e a skill não está upando. Segue o código : local lvlcrit = 48913 local multiplier = 1.5 function onStatsChange(cid, attacker, type, combat, value) if isPlayer(attacker) and (not (attacker == cid)) and (type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS) then if (getPlayerStorageValue(attacker, lvlcrit)*3) >= math.random (0,1000) then dano = math.ceil(value*(multiplier)) doTargetCombatHealth(attacker, cid, combat, -dano, -dano, 255) doSendAnimatedText(getCreaturePos(attacker), "DANO CRITICO!", 144) return false end end return true end local config = { effectonuse = 14, -- efeito que sai levelscrit = 100, --- leveis que terão storagecrit = 48913 -- storage que será verificado } function onTarget(cid, target) if getPlayerStorageValue(cid, config.storagecrit) < config.levelscrit then doSendMagicEffect(target,config.effectonuse) doPlayerSendTextMessage(cid,22,"You advanced to critical level ["..(getPlayerStorageValue(cid, config.storagecrit)+1).."/"..config.levelscrit.."].") setPlayerStorageValue(cid, config.storagecrit, getPlayerStorageValue(cid, config.storagecrit)+1) elseif getPlayerStorageValue(cid, config.storagecrit) >= config.levelscrit then doPlayerSendTextMessage(cid,22,"You advanced to critical level [100].") return 0 end return 1 end Poderiam me ajudar ?

Informação Importante

Confirmação de Termo