Jump to content

RAJADAO

Campones
  • Posts

    73
  • Joined

  • Last visited

Reputation Activity

  1. Upvote
    RAJADAO reacted to rafersiq in ERRO AO ABRIR RME   
    as partes de vermelho que sao sprites que esta bugada e apenas a verçao 
    pra mudar vc aperta "ctrl+P"
     
    e a parte dos npcs vc vai terque importar eles pro remeres 
  2. Upvote
    RAJADAO reacted to JulianoZN in ERRO AO ABRIR RME   
    Na mesma pasta onde ta as spr.zip > Tibia.otfi para o signature
  3. Thanks
    RAJADAO reacted to Ayron5 in [Resolvido] XP BONUS PRA PLAYER VIP   
    Teste esse. ^^ 
     
    em Creaturescript/script Crie um arquivo.lua e renomeie para : vipexp.lua
    em Creaturescript/script/login.lua adicione:
    em Creaturescript.xml adicione a tag:
     
  4. Upvote
    RAJADAO reacted to Lenhador in [Resolvido] dominio.com   
    Putz cara... não sei oque é. ,manda 1 tikect pros cara lá, ou da uma pesquisada, do porque não da para editar aquela opção. A principio é assim como eu disse, tenta mudar aquele 1hora por 600 segundos.
  5. Upvote
    RAJADAO reacted to Lenhador in [Resolvido] dominio.com   
    Entra na conta e entra em  Meus Produtos.  
     
     
     
    Ai depois você clika em DNS, e edita aonde está riscado ali no VALOR  e edita clikando ali na canetinha, colocando o ip da maquina.  
     
     
     
     
     
     
     
     
  6. Upvote
    RAJADAO reacted to Duhisback in [Resolvido] RED SKULL NÃO TOMA BAN   
    Recomendo pegar um config.lua já com essas funções vou te mandar um que eu tenho aqui!
     
     
  7. Upvote
    RAJADAO reacted to Duhisback in [Resolvido] RED SKULL NÃO TOMA BAN   
    pronto chegou outra pessoa pra tentar te ajudar tomara que dê certo ^^ tentei ajudar!
  8. Upvote
    RAJADAO reacted to celohere in [Resolvido] RED SKULL NÃO TOMA BAN   
    copia isso e cola no  creaturescripts/scripts/playerdeath.lua 
    ( pra editar qntos frags pra levar ban so alterar essa parte: local killsToBan = 6
    pra editar o tempo de ban essa : local killsBanLenght = 3 )
     
    local deathListEnabled = true local maxDeathRecords = 5 local killsToBan = 6 local killsBanLenght = 3 function onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) local playerId = player:getId() if nextUseStaminaTime[playerId] ~= nil then nextUseStaminaTime[playerId] = nil end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You are dead.") local byPlayer = 0 local killerName if killer ~= nil then if killer:isPlayer() then byPlayer = 1 else local master = killer:getMaster() if master and master ~= killer and master:isPlayer() then killer = master byPlayer = 1 end end killerName = killer:getName() else killerName = "field item" end local byPlayerMostDamage = 0 local mostDamageKillerName if mostDamageKiller ~= nil then if mostDamageKiller:isPlayer() then byPlayerMostDamage = 1 else local master = mostDamageKiller:getMaster() if master and master ~= mostDamageKiller and master:isPlayer() then mostDamageKiller = master byPlayerMostDamage = 1 end end mostDamageName = mostDamageKiller:getName() else mostDamageName = "field item" end local playerGuid = player:getGuid() db.query("INSERT INTO `player_deaths` (`player_id`, `time`, `level`, `killed_by`, `is_player`, `mostdamage_by`, `mostdamage_is_player`, `unjustified`, `mostdamage_unjustified`) VALUES (" .. playerGuid .. ", " .. os.time() .. ", " .. player:getLevel() .. ", " .. db.escapeString(killerName) .. ", " .. byPlayer .. ", " .. db.escapeString(mostDamageName) .. ", " .. byPlayerMostDamage .. ", " .. (unjustified and 1 or 0) .. ", " .. (mostDamageUnjustified and 1 or 0) .. ")") local resultId = db.storeQuery("SELECT `player_id` FROM `player_deaths` WHERE `player_id` = " .. playerGuid) local deathRecords = 0 local tmpResultId = resultId while tmpResultId ~= false do tmpResultId = result.next(resultId) deathRecords = deathRecords + 1 end if resultId ~= false then result.free(resultId) end local limit = deathRecords - maxDeathRecords if limit > 0 then db.asyncQuery("DELETE FROM `player_deaths` WHERE `player_id` = " .. playerGuid .. " ORDER BY `time` LIMIT " .. limit) end if byPlayer == 1 then local targetGuild = player:getGuild() targetGuild = targetGuild and targetGuild:getId() or 0 if targetGuild ~= 0 then local killerGuild = killer:getGuild() killerGuild = killerGuild and killerGuild:getId() or 0 if killerGuild ~= 0 and targetGuild ~= killerGuild and isInWar(playerId, killer:getId()) then local warId = false resultId = db.storeQuery("SELECT `id` FROM `guild_wars` WHERE `status` = 1 AND ((`guild1` = " .. killerGuild .. " AND `guild2` = " .. targetGuild .. ") OR (`guild1` = " .. targetGuild .. " AND `guild2` = " .. killerGuild .. "))") if resultId ~= false then warId = result.getDataInt(resultId, "id") result.free(resultId) end if warId ~= false then db.asyncQuery("INSERT INTO `guildwar_kills` (`killer`, `target`, `killerguild`, `targetguild`, `time`, `warid`) VALUES (" .. db.escapeString(killerName) .. ", " .. db.escapeString(player:getName()) .. ", " .. killerGuild .. ", " .. targetGuild .. ", " .. os.time() .. ", " .. warId .. ")") end end end local skullTime = killer:getSkullTime() if skullTime > 0 then local kills = math.ceil(skullTime / configManager.getNumber(configKeys.FRAG_TIME)) if kills >= killsToBan then local timeNow = os.time() db.query("INSERT INTO `account_bans` (`account_id`, `reason`, `banned_at`, `expires_at`, `banned_by`) VALUES (" .. killer:getAccountId() .. ", " .. db.escapeString("Excessive Unjustified Player Killing.") .. ", " .. timeNow .. ", " .. timeNow + (killsBanLenght * 86400) .. ", 1)") killer:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) killer:remove() end end end end  
  9. Downvote
    RAJADAO reacted to Benny in [Encerrado]AJUDA FINALIZAR PROJETO   
    Concordo com o piabeta, Rajadão.
    Todas essas suas questões são questões simples de serem resolvidas, e eu garanto que já tem algo falando sobre no fórum.
    Você também está errado em sair disparando insultos contra o membro. Em momento algum ele te ofendeu. 
     
    Vou mover o tópico pra formação de equipes, você quer alguém para fazer pra você. Não aprender.
     
    Abração
  10. Downvote
    RAJADAO reacted to LeoTK in [Encerrado]AJUDA FINALIZAR PROJETO   
    cara sinceramente foi um equivoco seu mesmo porque se você ta trabalhando todo esse tempo no servidor saberia resolver todas as questões acima que esta pedindo ajuda....
  11. Upvote
    RAJADAO reacted to Zazeros in [Encerrado] BONUS NO ITEM   
    @RAJADAO Voce colocou em movements também??
     
    Se não colocou, tenta por isso na pasta data/movements/movements.xml:
     
    <movevent type="Equip" itemid="8871" slot="armor" event="function" value="onEquipItem">
        <vocation id="1"/>
            <vocation id="5" showInDescription="0"/>
            <vocation id="2"/>
            <vocation id="6" showInDescription="0"/>
        </movevent>      
        <movevent type="DeEquip" itemid="8871" slot="armor" event="function" value="onDeEquipItem"/>
     
    Em vermelho, esta o id do item, no caso, a focus cape.
     
    Em azul, esta as vocações que podem usar, no caso, Sorcerer, Master Sorcerer, Druid e Elder Druid.
     
    (Obs: se voce quiser que mostre que Elder druid e máster sorcerer possa usar o item também quando der look, na parte que esta escrito "showInDescription", mude para 1 para mostrar, ou deixe em 0 para não mostrar)
  12. Upvote
    RAJADAO reacted to Sammy in [Resolvido] Alterando versão do mapa   
    Tem como sim, siga esses passos:
     
    1- Abra o RME com o seu mapa e vá em Map e clique na opção Properties. (CRTL + P)
     
    2- No índice Client Version clique na "setinha" para baixo e depois escolha a versão que deseja transformar seu mapa.
     
    3- Após selecionar a versão desejada clique em OK.
     
    4- Após isso irá aparecer algumas barras você da "OK" em tudo e aguarde carregar depois seu mapa estará convertido na versão desejada.
     
    (Desculpe pela falta de prints, mas acho que deu p entender ahahshas).
  13. Upvote
    RAJADAO reacted to Sammy in [Resolvido] Alterando versão do mapa   
    Pelo o que eu entendi a versão 7.4 não está disponível no seu Remeres.. correto ? se sim siga esses passos...
     
    1- Na pasta data de seu Rme jogue dentro esta pasta: 740.rar
     
    2- Ainda na pasta data, abra o arquivo "client.xml" e jogue este código junto ás linhas de "otb client"
    <otb client="7.40" version="1" id="1"/> Adicione mais em baixo esta linha também
    <client name="7.4" otb="7.40" visible="true" data_directory="740"> <otbm version="1"/> <extensions from="7.4" to="7.4"/> <data format="7.4" dat="0x41BF619C" spr="0x41B9EA86"/> </client>  
    Veja como ficará:
    Assim como nos prints recomendo por as linhas em primeiro lugar..
  14. Upvote
    RAJADAO reacted to Benny in [Encerrado] NPC BUGANDO   
    Tenta assim 
    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end if msgcontains(msg, 'bp of ultimate healing') then npcHandler:say('Do you want to buy a backpack of ultimate healing rune for 3000 gold coins?') talk_state = 1 elseif msgcontains(msg, 'yes') and talk_state == 1 then if getPlayerMoney(cid) >= 3000 then blue_bp = doPlayerAddItem(cid, 2002, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doAddContainerItem(blue_bp, 2273, 1) doPlayerRemoveMoney(cid, 3000) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end if msgcontains(msg, 'bp of sudden death') then npcHandler:say('Do you want to buy a backpack of sudden death rune for 6000 gold coins?') talk_state = 2 elseif msgcontains(msg, 'yes') and talk_state == 2 then if getPlayerMoney(cid) >= 5500 then grey_bp = doPlayerAddItem(cid, 2003, 1) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doAddContainerItem(grey_bp, 2268, 3) doPlayerRemoveMoney(cid, 5500) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end if msgcontains(msg, 'bp of heavy magic missile') then npcHandler:say('Do you want to buy a backpack of heavy magic missile rune for 2000 gold coins?') talk_state = 3 elseif msgcontains(msg, 'yes') and talk_state == 3 then if getPlayerMoney(cid) >= 2000 then purple1_bp = doPlayerAddItem(cid, 2001, 1) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doAddContainerItem(purple1_bp, 2311, 5) doPlayerRemoveMoney(cid, 2000) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end if msgcontains(msg, 'bp of great fireball') then npcHandler:say('Do you want to buy a backpack of great fireball rune for 3000 gold coins?') talk_state = 4 elseif msgcontains(msg, 'yes') and talk_state == 4 then if getPlayerMoney(cid) >= 3000 then red_bp = doPlayerAddItem(cid, 2000, 1) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doAddContainerItem(red_bp, 2304, 4) doPlayerRemoveMoney(cid, 3000) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end if msgcontains(msg, 'bp of explosion') or msgcontains(msg, 'bp of explo') then npcHandler:say('Do you want to buy a backpack of explosion rune for 4000 gold coins?') talk_state = 5 elseif msgcontains(msg, 'yes') and talk_state == 5 then if getPlayerMoney(cid) >= 4000 then purple2_bp = doPlayerAddItem(cid, 2001, 1) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doAddContainerItem(purple2_bp, 2313, 3) doPlayerRemoveMoney(cid, 4000) npcHandler:say('Thank you for buying.') talk_state = 0 else npcHandler:say('You don\'t have enough money.') talk_state = 0 end end  
  15. Downvote
    RAJADAO reacted to Benny in [7.4] Sprites Classicus - Morghar - Medivia   
    Você já foi alertado verbalmente várias vezes para ler as regras do fórum, não reviva tópicos. Preste atenção na data do mesmo.
     
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...