Ir para conteúdo

DaniloNunes

Campones
  • Total de itens

    15
  • Registro em

  • Última visita

Tudo que DaniloNunes postou

  1. po cara vlw mesmo! deu certo! e agora como eu arrumo o comando !frags? que ta dando erro no meu ot eu deixei com o comando /deathlist , o player digitou o ot caiu.. HAUHAUA .. mas já tirei!
  2. Coloquei mas ta dando os seguintes erros : [12/04/2010 00:09:54] Lua Script Error: [TalkAction Interface] [12/04/2010 00:09:54] data/talkactions/scripts/frags.lua [12/04/2010 00:09:54] data/lib/function.lua:432: attempt to index local 'str' (a boolean value) [12/04/2010 00:09:54] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/frags.lua)
  3. vc pode mandar o teu frags ? talkction/scripts/frags grato
  4. obrigado .. mas continua sem funcionar "/
  5. local config = { advancedFragList = getBooleanFromString(getConfigValue("advancedFragList")) } function onSay(cid, words, param, channel) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents = {day = {}, week = {}, month = {}} local result = db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end po meu problema é o mesmo que o dele.. vc mata 100 nego só pega skull.. me diz oque eu devo fazer.. se tem que modificar o config.lua , sei lá uma LUZ plx
  6. vou testar.. lá em talkactions tem um negocio de frags.. precisa modificar ou n? [10/04/2010 23:33:50] Lua Script Error: [TalkAction Interface] [10/04/2010 23:33:50] data/talkactions/scripts/frags.lua [10/04/2010 23:33:50] data/lib/function.lua:432: attempt to index local 'str' (a boolean value) [10/04/2010 23:33:50] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/frags.lua)
  7. meu problema é o mesmo do te cima.. meu ot é alissow 8.50 ajude-me
  8. ( OT ALISSOW 8.50 ).. OBRIGADO
  9. -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "pvp" protectionLevel = 100 pvpTileIgnoreLevelAndVocationProtection = "yes" pzLocked = 5 * 1000 huntingDuration = 5 * 1000 criticalHitChance = 25 criticalHitMultiplier = 1 displayCriticalHitNotify = "no" removeWeaponAmmunition = "yes" removeWeaponCharges = "yes" removeRuneCharges = "yes" whiteSkullTime = 5 * 60 * 1000 noDamageToSameLookfeet = "no" showHealingDamage = "yes" showHealingDamageForMonsters = "no" fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = "no" oldConditionAccuracy = "no" loginProtectionPeriod = 10 * 1000 deathLostPercent = 20 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = "yes" squareColor = 0 allowFightback = "yes" GALERA QUERIA MUITO COLOCAR SISTEMA DE RED SKULL NO MEU OT.. MAIS NÃO CONSIGO.. ALGUÉM PODERIA COLOCAR UM PRA MIM? ESSE AÍ EM CIMA É DO MEU.. OBRIGADO
  10. cara coloquei teu sistema de rank.. mais quando eu coloco !rank resets .. fiz parametro inválido qual é o teu sistema de reset.. que vc usa esse rank.. passa aê.. pq aquele link que vc passou ta dando erro! vlw
  11. DaniloNunes

    Erro Otmapeditor

    GALERA.. TA DANDO ESSE ERRO QUANDO VOU ABRIR O MAP PRA EDITAR.. 8.50 AJUDA
  12. boa , é isso que eu queria tbm.. por favor alguém faça isso? (:
  13. Po , preciso muito desse script.. de Look.. por favor alguém pode posta ele feito? eu coloquei um.. que acumula os reset no nick.. toda hora meu ot cai.. vou ter que reiniciar ;/
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...