Ir para conteúdo

Mark Ackerman

Membro
  • Registro em

  • Última visita

Tudo que Mark Ackerman postou

  1. Galera vo tentar abrir meu object builder mas crasha quem poder ajuda +Rep Porfavor ajudem ai com ese poblema
  2. Galera eu queria saber como comfigurar o sistema de som pra tocar em konoha uma musica em so konoha aki esta o script porfavor mi ajudem ! SOUNDS_CONFIG = { soundChannel = SoundChannels.Music, checkInterval = 500, folder = 'music/', noSound = 'No sound file for this area.', } SOUNDS = { -- Konoha {fromPos = {x=2370, y=1657, z=7}, toPos = {x=2752, y=1961, z=7}, priority = 2, sound="Konoha.ogg"}, {fromPos = {x=2370, y=1657, z=6}, toPos = {x=2752, y=1961, z=6}, priority = 2, sound="Konoha.ogg"}, {fromPos = {x=2370, y=1657, z=5}, toPos = {x=2752, y=1961, z=5}, priority = 2, sound="Konoha.ogg"}, {fromPos = {x=2370, y=1657, z=4}, toPos = {x=2752, y=1961, z=4}, priority = 2, sound="Konoha.ogg"}, {fromPos = {x=2370, y=1657, z=3}, toPos = {x=2752, y=1961, z=3}, priority = 2, sound="Konoha.ogg"}, -- Cave {fromPos = {x=2425, y=1883, z=8}, toPos = {x=2627, y=1985, z=8}, priority = 1, sound="Cave.ogg"}, {fromPos = {x=2425, y=1883, z=9}, toPos = {x=2627, y=1985, z=9}, priority = 1, sound="Cave.ogg"}, {fromPos = {x=2425, y=1883, z=10}, toPos = {x=2627, y=1985, z=10}, priority = 1, sound="Cave.ogg"}, {fromPos = {x=2425, y=1883, z=11}, toPos = {x=2627, y=1985, z=11}, priority = 1, sound="Cave.ogg"}, -- Konoha South Exit {fromPos = {x=2291, y=1854, z=7}, toPos = {x=2786, y=2290, z=7}, priority = 1, sound="New_Evening.ogg"}, {fromPos = {x=2291, y=1854, z=6}, toPos = {x=2786, y=2290, z=6}, priority = 1, sound="New_Evening.ogg"}, {fromPos = {x=2291, y=1854, z=5}, toPos = {x=2786, y=2290, z=5}, priority = 1, sound="New_Evening.ogg"}, {fromPos = {x=2291, y=1854, z=4}, toPos = {x=2786, y=2290, z=4}, priority = 1, sound="New_Evening.ogg"}, {fromPos = {x=2291, y=1854, z=3}, toPos = {x=2786, y=2290, z=3}, priority = 1, sound="New_Evening.ogg"}, -- Boss {fromPos = {x=977, y=903, z=8}, toPos = {x=1009, y=916, z=9}, priority = 1, sound="FF VII - Main.ogg"}, {fromPos = {x=1001, y=917, z=9}, toPos = {x=1002, y=919, z=9}, priority = 1, sound="FF VII - Main.ogg"}, -- Main -- Dragon {fromPos = {x=1089, y=1110, z=8}, toPos = {x=1135, y=1142, z=8}, priority = 1, sound="Fairy Tail - Main.ogg"}, {fromPos = {x=1102, y=1128, z=9}, toPos = {x=1131, y=1149, z=9}, priority = 1, sound="Fairy Tail - Main.ogg"}, {fromPos = {x=1034, y=861, z=7}, toPos = {x=1017, y=935, z=7}, priority = 1, sound="Fairy Tail - Main.ogg"}, {fromPos = {x=1100, y=1104, z=10}, toPos = {x=1127, y=1131, z=10}, priority = 1, sound="Fairy Tail - Main.ogg"}, {fromPos = {x=1103, y=1108, z=9}, toPos = {x=1108, y=1112, z=9}, priority = 1, sound="Fairy Tail - Main.ogg"}, {fromPos = {x=1096, y=1088, z=5}, toPos = {x=1110, y=1100, z=6}, priority = 1, sound="Fairy Tail - Main.ogg"}, } ---------- -- Sound local rcSoundChannel local showPosEvent local playingSound -- Design soundWindow = nil soundButton = nil function toggle() if soundButton:isOn() then soundWindow:close() soundButton:setOn(false) else soundWindow:open() soundButton:setOn(true) end end function onMiniWindowClose() soundButton:setOn(false) end function init() for i = 1, #SOUNDS do SOUNDS.sound = SOUNDS_CONFIG.folder .. SOUNDS.sound end connect(g_game, { onGameStart = onGameStart, onGameEnd = onGameEnd }) rcSoundChannel = g_sounds.getChannel(SOUNDS_CONFIG.soundChannel) -- rcSoundChannel:setGain(value/COUNDS_CONFIG.volume) soundButton = modules.client_topmenu.addRightGameToggleButton('soundButton', tr('Sound Info') .. '', '/images/audio', toggle) soundButton:setOn(true) soundWindow = g_ui.loadUI('rcsound', modules.game_interface.getRightPanel()) soundWindow:disableResize() soundWindow:setup() if(g_game.isOnline()) then onGameStart() end end function terminate() disconnect(g_game, { onGameStart = onGameStart, onGameEnd = onGameEnd }) onGameEnd() soundWindow:destroy() soundButton:destroy() end function onGameStart() stopSound() toggleSoundEvent = addEvent(toggleSound, SOUNDS_CONFIG.checkInterval) end function onGameEnd() stopSound() removeEvent(toggleSoundEvent) end function isInPos(pos, fromPos, toPos) return pos.x>=fromPos.x and pos.y>=fromPos.y and pos.z>=fromPos.z and pos.x<=toPos.x and pos.y<=toPos.y and pos.z<=toPos.z end function toggleSound() local player = g_game.getLocalPlayer() if not player then return end local pos = player:getPosition() local toPlay = nil for i = 1, #SOUNDS do if(isInPos(pos, SOUNDS.fromPos, SOUNDS.toPos)) then if(toPlay) then toPlay.priority = toPlay.priority or 0 if((toPlay.sound~=SOUNDS.sound) and (SOUNDS.priority>toPlay.priority)) then toPlay = SOUNDS end else toPlay = SOUNDS end end end playingSound = playingSound or {sound='', priority=0} if(toPlay~=nil and playingSound.sound~=toPlay.sound) then g_logger.info("RC Sounds: New sound area detected:") g_logger.info(" Position: {x=" .. pos.x .. ", y=" .. pos.y .. ", z=" .. pos.z .. "}") g_logger.info(" Music: " .. toPlay.sound) stopSound() playSound(toPlay.sound) playingSound = toPlay elseif(toPlay==nil) and (playingSound.sound~='') then g_logger.info("RC Sounds: New sound area detected:") g_logger.info(" Left music area.") stopSound() end toggleSoundEvent = scheduleEvent(toggleSound, SOUNDS_CONFIG.checkInterval) end function playSound(sound) rcSoundChannel:enqueue(sound, 0) setLabel(clearName(sound)) end function clearName(soundName) local explode = string.explode(soundName, "/") soundName = explode[#explode] explode = string.explode(soundName, ".ogg") soundName = '' for i = 1, #explode-1 do soundName = soundName .. explode end return soundName end function stopSound() setLabel(SOUNDS_CONFIG.noSound) rcSoundChannel:stop() playingSound = nil end function setLabel(str) soundWindow:recursiveGetChildById('currentSound'):getChildById('value'):setText(str) end
  3. Fala galera do Tibia King presiso de um script ou sla que em uma area do mapa so poder entrar as pessoas que forem akatsuki quem poder ajudar +REP
  4. Galera queria saber como aumentar o limite de sprintes do meu old client porfavor mi ajudem !
  5. Fala galera do TK queria saber como colocar esas imagens do lado da tela do player no otc Olhem o print Quem poder Ajuda +Rep
  6. Eles entram por um portal
  7. Ia ser 30 players 15 de um lado de 15 do otro o time de um certo lado teria que proteger o mostro e mata os otros do oto time caso o mostro Tsuki no me seja morto o time perdera a partida assim o lado oposto ganhamdo
  8. Mark Ackerman postou uma resposta no tópico em Suporte Tibia OTServer
    Eu sei uma base boua e posso ti ajudar nela Sou Web Desinger +- Sou scripter% Sou mapper % e Sprinter +- Manjo mas nos mapper e scipte So vim chat ti mostro uma boa base
  9. Ola galera Do TK presiso do scripte do evento tsuki no me pra por no meu nto quem poder ajuda agradeço :D
  10. Mark Ackerman postou uma resposta no tópico em Formação de Equipe
    Sou maper e sei mexer com clients
  11. galera no meu server demora muito pra sair o pk do personajem quando ele ataka otro cara queria saber como diminuir ese tempo
  12. Como ta o meu mapa de konoha ? ta legal ? Aceito sugestoes Comentem suas sugestoes
  13. Galera eu subistitui um buff antigo por ese novo so que ele fica bugado tipo ele fica do lado do personajem ta ai o print alguem pode ajudar pofvafor ?
  14. galera presiso de um script de evento quer oque nasce um bixo chamado jubi as 3horas da tarde e quando ela nascer sai uma mensajem pra todo servidor dizendo Evento jubi boss Iniciado quem poder ajuda agradeço
  15. Galera queria saber como colocar novas vocaçoes em meu nto alguem pode ajudar ?
  16. Preiso de um script que da uma certa vocaçao no caso um pergaminho que da uma certa vocaçao alguem pode ajudar ?
  17. Mas quando eu pego o arquivo pra editar no paint como faco pra por denovo no object builder ?
  18. Eu vi em varios servers com agua transparente e queria saber como dexar o meu assim Podem ajudar ? quem mi ajudar eu agradeco
  19. galera eu tenho um server de naruto mas no old client o jutsu que eu utilizo no caso eo rasengan furie no jutsu eu uso mas ele demora +- 1 ou 2 segundos ate acabar Porem no old client ele e assim mas o OTC que eu criei o jutsu ficou mas rapido tipo o effect ficou mas rapido eu queria dexar como ta no old pq assim mt rapido n é bom quem poder mi ajudar agradeço
  20. abre o rmes dps vai na pasta world do seu server e vai no rme e clika em open import e clika pra importar suas houses e etc
  21. Vai em data world e edita seu mapa dps de editar vc clika pra fechar e salvar ai dps liga seu server e se divirta
  22. Galera quando eu vo tentar ligar meu server sai ese baguio aki ERROR:Unbale to load items <OTB>! Quem poder mi ajudar agradeço bastante porfavor mi ajudem aki o print pra voces verem
  23. Tento entrar na minha vps mas da isso dai olha so quem poder ajudar agradeço

Informação Importante

Confirmação de Termo