Ir para conteúdo

Absolute

Héroi
  • Registro em

  • Última visita

Solutions

  1. Absolute's post in (Resolvido)MYSQL NÃO LIGA was marked as the answer   
    https://www.apachefriends.org/pt_br/index.html

    1.8.3
  2. Absolute's post in (Resolvido){Pedido} Efeito de Chuva was marked as the answer   
    Globalevents/scripts/nome.lua
    local rain = Rain:new() function onThink(interval, lastExecution) local minX = 949 local minY = 965 local maxX = 1069 local maxY = 1020 local frompos = {x=math.random(minX, maxX), y=math.random(minY, maxY), z=7} local topos = {x=math.random(frompos.x, maxX), y=math.random(frompos.y, maxY), z=7} local effects = { snow = { disteffect = CONST_ANI_FIRE, effect = CONST_ME_FIREAREA }, rain = { disteffect = CONST_ANI_ICE, effect = CONST_ME_WATERSPLASH } } random = math.random(0, 10) if (random == 0) then rain.chance = math.random(10,50) rain:start({fromPos = frompos, toPos = topos}, effects.snow, 300, math.random(100, 500)) else rain.chance = math.random(40,100) rain.createItem = {chance = math.random(0,10), item = {itemid = 2016, type = 1}} rain:start({fromPos = frompos, toPos = topos}, effects.rain, math.random(300, 1000), math.random(100, 350)) end return TRUE end XML: 
    <globalevent name="rain" interval="-1" script="rain.lua"/> Créditos:
    body.
  3. Absolute's post in (Resolvido)Save Server kikando player, VPS was marked as the answer   
    Acho que seja o tanto de contas na database sobrecarrega o HD fazendo com que demore e perca conexão com o banco de dados.

    Recomendo utilizar empresas com disco rígido SSD, optimiza o full save.
  4. Absolute's post in (Resolvido)[Dúvida] Como deixar server on em windows 2003 was marked as the answer   
    Veja com sua empresa de host, infelizmente não tem como eu te informar isto, pois não estou a par da situação.
  5. Absolute's post in (Resolvido)[PEDIDO] Mensagem Em POPUP was marked as the answer   
    Creaturescripts.xml:
    <event type="login" name="jobsonmb" event="script" value="jobsonmb.lua"/> creaturescripts/scripts/jobsonmb.lua:
    function onLogin(cid) doPlayerPopupFYI(cid, "Pedido de Jobsonmb TK") end return TRUE end Registrar no login.lua: 
    registerCreatureEvent(cid, "jobsonmb")
  6. Absolute's post in (Resolvido)[pedido BOOK] texto sagrado was marked as the answer   
    Irei fazer


    Em data/actions/actions.xml adicione a seguinte linha:
    <action itemid="196" script="tibiaking.lua"/>

    Em data/actions/scripts crie um arquivo com o nome de tibiaking.lua e adicione dentro:
    function onUse(cid, item, pos) doPlayerPopupFYI(cid, "COLOQUE AQUI SUA MENSAGEM") doRemoveItem(item.uid, 0) return true end
    Caso queira que o item seja removido altere o item.uid, 0 para item.uid, 1

    Caso queira mudar sem o pop-up (como você pediu da spells) coloque assim:
    function onUse(cid, item, pos) doPlayerSendTextMessage(cid, 27, "COLOQUE AQUI SUA MENSAGEM") doRemoveItem(item.uid, 0) return true end
    É importante lembrar que o item ID deve ser 196, caso não seja altere no actionid...
  7. Absolute's post in (Resolvido)[BUG] RME Map Editor was marked as the answer   
    Vá lá em File, Preferences selecione a versão que deseja usar e selecione o spr e dat do tibia que quer usar, já tentou?
  8. Absolute's post in (Resolvido)como muda o tempo de ataque do play was marked as the answer   
    Na pasta do seu servidor, em XML/vocations.xml há uma linha com attackspeed="... Altere o número que está, quanto menor o número maior vai ficar a velocidade de ataque do player/vocação.
  9. Absolute's post in (Resolvido)[Script] Group tile was marked as the answer   
    Hmm, fiz agora meio correndo, mas testa ae:
    data/movements/movements.xml:
    <movevent type="StepIn" actionid="557" event="script" value="absolutegroup.lua"/> Em data/movements/scripts/absolutegroup.lua:
    function onStepIn(cid, item, position, fromPosition) if getPlayerGroupId(cid) >= 2 then else doPlayerSendTextMessage(cid, 22, "Você não faz parte da staff do Max Willian hihi") doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getCreaturePosition(cid), 12) end end
  10. Absolute's post in (Resolvido)Ajuda meu server está faltando o executável was marked as the answer   
  11. Absolute's post in (Resolvido)[Spell] Heal Friend was marked as the answer   
    Fiz:
     
    Em data/spells/scripts crie um arquivo com o nome de healaamigo.lua e dentro coloque:
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HEALING) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_PINK) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) setCombatParam(combat, COMBAT_PARAM_DISPEL, CONDITION_PARALYZE) setHealingFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 10, 10, 16, 22) function onCastSpell(cid, var) return doCombat(cid, combat, var) end Pós isto abra o spells.xml e coloque embaixo de uma spell a seguinte linha:
    <instant name="Heal Friend" words="Heal Friend" lvl="50" mana="200" prem="0" aggressive="0" needtarget="1" params="1" exhaustion="800" groups="2,1000" icon="84" needlearn="0" event="script" value="healing/healaamigo.lua"> <vocation id="2"/> <vocation id="6"/> </instant> Esta para Sorceres e druids usarem, caso deseje que outras vocações usem adicione o vocation id dela.

     
  12. Absolute's post in (Resolvido)[AJUDA] Lag/Bless PokeTibia was marked as the answer   
    Script bless:
     
    Talkactions.xml:



     
    Talkactions/scripts:


      Está configurado para 100k.       Quanto ao erro de matar com certeza é algum script que vem interferindo nisto.     Por gentileza, explique mais detalhado o problema da house.
  13. Absolute's post in (Resolvido)Pequeno Problema com MODERN ACC was marked as the answer   
    Em globalevents/scripts/shop.lua troque para isto:
    function onThink(interval, lastExecution, thinkInterval) local result = db.getResult("SELECT * FROM shop_history WHERE `processed` = 0;") if(result:getID() ~= -1) then while(true) do cid = getCreatureByName(tostring(result:getDataString("player"))) product = tonumber(result:getDataInt("product")) itemr = db.getResult("SELECT * FROM shop_offer WHERE `id` = "..product..";") if isPlayer(cid) then local id = tonumber(itemr:getDataInt("item")) local tid = tonumber(result:getDataInt("id")) local count = tonumber(itemr:getDataInt("count")) local tipe = tonumber(itemr:getDataInt("type")) local productn = tostring(itemr:getDataString("name")) if isInArray({5,8},tipe) then if getPlayerFreeCap(cid) >= getItemWeightById(id, count) then if isContainer(getPlayerSlotItem(cid, 3).uid) then received = doAddContainerItem(getPlayerSlotItem(cid, 3).uid, id,count) if received then doPlayerSendTextMessage(cid,19, "You have received >> "..productn.." << from our shop system") db.executeQuery("UPDATE `shop_history` SET `processed`='1' WHERE id = " .. tid .. ";") else doPlayerSendTextMessage(cid,19, "Sorry, you don't have enough space on container to receive >> "..productn.." <<") end else doPlayerSendTextMessage(cid,19, "Sorry, you don't have a container to receive >> "..productn.." <<") end else doPlayerSendTextMessage(cid,19, "Sorry, you don't have enough capacity to receive >> "..productn.." << (You need: "..getItemWeightById(id, count).." Capacity)") end elseif isInArray({6,7},tipe) then if tipe == 6 then bcap = 8 bid = 1987 elseif tipe == 7 then bcap = 20 bid = 1988 end if isItemRune(id) then count = 1 end if getPlayerFreeCap(cid) >= (getItemWeightById(1987, 1) + getItemWeightById(id,count * bcap)) then local bag = doCreateItemEx(bid, 1) for i = 1,bcap do doAddContainerItem(bag, id, count) end received = doPlayerAddItemEx(getPlayerSlotItem(cid, 3).uid, bag) if received == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid,19, "You have received >> "..productn.." << from our shop system") db.executeQuery("UPDATE `shop_history` SET `processed`='1' WHERE id = " .. tid .. ";") else doPlayerSendTextMessage(cid,19, "Sorry, you don't have enough space to receive >> "..productn.." <<") end else doPlayerSendTextMessage(cid,19, "Sorry, you don't have enough capacity to receive >> "..productn.." << (You need: "..getItemWeightById(id, count).." Capacity)") end end end itemr:free() if not(result:next()) then break end end result:free() end return true end Veja se tem a linha no globalevents.xml
    <globalevent name="shop" interval="200" script="shop.lua"/>
  14. Absolute's post in [DUVIDA] Server name was marked as the answer   
    Kuu, o server é em um arquivo chamado definitions.h na source, antes de compilar.
  15. Absolute's post in (Resolvido)[AJUDA] IP offline pega mas online não was marked as the answer   
    Sim cara, com internet compartilhada não tem como abrir para outros jogadores, apenas desbloqueando as portas do modem (roteador) ou usar o hamachi.
    Mais fácil comprar um VPS, tem empresa ai vendendo VPS por 10R$
  16. Absolute's post in (Resolvido)Nao consigo logar was marked as the answer   
    Falta de memória RAM/USO DO CPU, no entando o mesmo atinge 100% e crasha o servidor, aconselho manter o theforgottenserver desligado para edição!
  17. Absolute's post in (Resolvido)Bug Remeres poketibia was marked as the answer   
    Simples Fredson, pega o items.otb do ot que você está tentando editar (na apsta items) e coloca na pasta do rme data/pastadaversão, reabre e sucesso!
  18. Absolute's post in (Resolvido)Erro no globalevent was marked as the answer   
    Mais fácil, altere no seu script, substitui seu script por este:
     
     



  19. Absolute's post in (Resolvido)Tibia Não Inicia de Jeito Nenhum was marked as the answer   
    Cara, no próprio site do tibia/cipsoft tem o download do client para ubuntu, aqui em casa uso debian no desktop e para abrir client de servidores ou versões antigas uso o PlayOnLinux, um aplicativo próprio do LINUX que tem aí no store "Lojinha do seu linux".
    Recomendo.

Informação Importante

Confirmação de Termo