Ir para conteúdo

CoLoRaDo

Barão
  • Total de itens

    242
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Tudo que CoLoRaDo postou

  1. Tipo galera , eu criei meu ot ontem ate ontem estava tudo normal até que começou este erro : [Warning - Protocol::RSA_decrypt] Not valid packet size tipo eu tento entra e da esse erro mas eu vi agora e os outros players podem entra mas eu nao! pesquisei no google , parece que era apena marcar "yes" no config lua em : QUOTE AutoBanishUnknowBytes="no" mas eu marquei e apareceu mais do erro ainda.
  2. subwat eu arrumei o seu script tenta ai! ps: ele vai banir a conta! function onSay(cid, words, param) local default_comment = "Banido por chingar god." local default_lenght = 1 -- ban time in hours local lenght = default_lenght doAddAccountBanishment(cid, lenght * 3600, 23, ACTION_BANISHMENT, comment) doRemoveCreature(cid) local name = getCreatureName(cid) doCreatureSay(cid, ""..name.." Você acaba de sofre uma puniçao pela ofensa a minha pessoa,entao 2 dias de ban", TALKTYPE_ORANGE_1) end ou function onSay(cid, words, param) local default_comment = "Banido por chingar god." local default_lenght = 1 -- ban time in hours local lenght = default_lenght doAddAccountBanishment(cid, lenght * 3600, 23, ACTION_ACCOUNTBANISHMENT, comment) doRemoveCreature(cid) local name = getCreatureName(cid) doCreatureSay(cid, ""..name.." Você acaba de sofre uma puniçao pela ofensa a minha pessoa,entao 2 dias de ban", TALKTYPE_ORANGE_1) end espero ter ajudado!
  3. alguem ai sabe onde eu baixo o site gesior que vem com um script do Aleh que mostra quem eh o top do server quem eh o ultimo registrado etc...? achu que eh para versao 8.5x ou 8.60 plz me ajudem!
  4. olá a todos esses dias estava vendo um site de um ot! e eh gesior e queria saber como colocar cor nas noticias! por favor me ajudem a colocar cor nas noticias! tipo se eu kiser destacar algo!
  5. eai gente blz? eu preciso mto de ajuda de alguem!!!! no meu ot os cara conseguem tirar a red skull e black skull soh dando party em alguem ou dando !attackguild e atakando alguem da sua guild! plz me ajudem a tirar esses bugs!
  6. MS Fox eu quero saber como exportar do forgotten.s3db para schema.sql para importar no banco de dados xampp ai eu queria saber como exportar no sql Studio!
  7. ola gente... eu uso o gesior para meu ot se kiserem da uma olhada ta ai o site: http://foreverot.no-ip.biz/home.php e ele possui um sistema de points!!! soh que eu quero fazer os points que nao precisem pagar de verdade... ai eu queria um comando la pro ot que fosse assim: !buypoints e que o comando desse 10 points por 3kk! agradeço desde já!
  8. esse negócio eh 8.61 mesmo?? pq no meu ip chaneger aki q eh o asprate nao apareceu nada pra atualiza ele!!! plz preciso mto do ip changer 8.61!
  9. olá a todos agora pouco estava fuçando nos talkactions do meu ot e achei um pasta na pasta scripts: a pasta se chama rep e dentro dela tem alguns arquivos. mas no talkactions.xml nao tem nenhum comando sobre REP!(Uso baiak 8.60) ai entao oh os scripts: talkactions/scripts/rep/addremove.lua -- >>> THE Best REP++System CryingDamson Edition by Cybermaster <<< -- -- >>> Scripted IN and ONLY for TFS 0.3<<< -- -- >>> t[1] is Player Name, t[2] is Rep Amount<<< -- function onSay(cid, words, param) if(param == "") then doPlayerSendCancel(cid,"You have to type a player name.") return TRUE end local t = string.explode(param, ",") local tid = getPlayerByName(t[1]) if(isPlayer(tid) == false) then doPlayerSendCancel(cid, "Player " .. param .. " not found or is offline.") return TRUE end if getPlayerSex(tid) == 0 then sex = 'she' else sex = 'he' end if(not t[2]) and (isPlayer(tid) == true) then if (words == '/hail') then addPlayerRep(tid, 5, TEXTCOLOR_TEAL) doPlayerSendCancel(cid, "You added +5 rep points to " .. getPlayerName(tid) .. ", and now " .. sex .. " has " .. getRepPoints(tid) .. " rep points.") return true end if words == '/fuck' then removePlayerRep(tid, 5, TEXTCOLOR_RED) doPlayerSendCancel(cid, "You removed -5 rep points to " .. getPlayerName(tid) .. ", and now " .. sex .. " has " .. getRepPoints(tid) .. " rep points.") return true end end if (t[2]) and (words == '/set') or (words == '/hail') or (words == '/fuck') then if (not tonumber(t[2])) then doPlayerSendCancel(cid, "Rep amount invalid.") return true end end if words == '/hail' then addPlayerRep(tid, t[2], TEXTCOLOR_TEAL) doPlayerSendCancel(cid, "You added " .. t[2] .. " rep points to " .. getPlayerName(tid) .. ", and now " .. sex .. " has " .. getRepPoints(tid) .. " rep points.") return true end if words == '/fuck' then removePlayerRep(tid, t[2], TEXTCOLOR_RED) doPlayerSendCancel(cid, "You removed " .. t[2] .. " rep points to " .. getPlayerName(tid) .. ", and now " .. sex .. " has " .. getRepPoints(tid) .. " rep points.") return true end if (t[2]) and (words == '/set') then setPlayerRep(tid, t[2]) doPlayerSendCancel(cid, "You have set " .. getPlayerName(tid) .. "'s rep points to " .. getRepPoints(tid) .. ".") else doPlayerSendCancel(cid, "Absolute rep amount not specified.") return true end if(not t[2]) then doPlayerSendCancel(cid, "Absolute rep amount not specified.") return true end return true end talkactions/scripts/rep/highscore.lua -- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< -- -- >>> Credits to Shawak in this script <<< -- -- >>> Scripted IN and ONLY for TFS 0.3 <<< -- function onSay(cid, words, param) local players = 10 -- The amount of max players that is shown in each list local str, value, name, result = "","","",0,nil -- don't touch -- if param == "hero" or param == "pos" or param == "+" then str,value,name = "[#]-[Name]-[Points]-[Rank]\n--[Positive Rep Highscores]--\n","rep","name" result = db.getResult("SELECT `name`, `rep` FROM `players` WHERE players.rep > -1 ORDER BY `rep` DESC, `name` ASC;") elseif param == "evil" or param == "neg" or param == "-" then str,value,name = "[#]-[Name]-[Points]-[Rank]\n--[Negative Rep Highscores]--\n","rep","name" result = db.getResult("SELECT `name`, `rep` FROM `players` WHERE players.rep < 0 ORDER BY `rep` ASC, `name` DESC;") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Unknown Paramater: '" .. param .. "'") return TRUE end if (result:getID() ~= -1) then local i = 1 while TRUE do str = str .. "\n " .. i .. ". - " .. result:getDataString("name") .. " - [" .. result:getDataInt(value) .. "] - " .. getRepRank(result:getDataInt(value)) .. "" i = i+1 if not(result:next()) or i > players then break end end result:free() end if str ~= "" then doPlayerPopupFYI(cid, str) end return TRUE end talkactions/scripts/rep/fuck.lua -- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< -- -- >>> Credits to Sync in this script <<< -- -- >>> Scripted IN and ONLY for TFS 0.3 <<< -- function onSay(cid, words, param, channel) local config = { newTime = 6 * 60 * 60, -- This is [6] hours, in seconds. Time between rep. oldTime = getPlayerStorageValue(cid, 23232), level = 20, target = getPlayerByName(param) } if config.oldTime == -1 then setPlayerStorageValue(cid, 23232, os.time()) end local nextTime = config.oldTime - os.time() local nextDate = os.date("%d %B %Y %X", config.oldTime + config.newTime) if getPlayerLevel(cid) < config.level then doPlayerSendCancel(cid,"You may fuck from level "..config.level.." and above.") return TRUE end if (os.time() - config.oldTime) < config.newTime then doPlayerSendCancel(cid, "You may fuck in " .. repTime(nextTime) .. ", (".. nextDate..").") return TRUE end if(param == "") then doPlayerSendCancel(cid,"You have to type a player name.") return TRUE end if isPlayer(config.target) == false then doPlayerSendCancel(cid,"That player doesn't exist or is offline.") return TRUE end if getPlayerIp(cid) == getPlayerIp(config.target) then doPlayerSendCancel(cid,"You may not fuck yourself or your same IP.") return TRUE end removePlayerRep(config.target, 5, TEXTCOLOR_RED) setPlayerStorageValue(cid, 23232, os.time()) doPlayerSendCancel(cid,'You just fucked '.. getPlayerName(config.target) ..'.') end talkactions/scripts/rep/info.lua -- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< -- -- >>> Scripted IN and ONLY for TFS 0.3<<< -- function onSay(cid, words, param, channel) local o, points, action = getCreatureOutfit(cid), getRepPoints(cid), false --do not modify doPlayerSendTextMessage(cid, 19, "You have " .. points .. " rep points. You are " .. getRepRank(points) .. ".") if points > 4999 and getPlayerSex(cid) == 0 then --female rep+++ queen outfit disguise, text, action = {lookType = 331}, "Queen!!", true elseif points > 4999 and getPlayerSex(cid) > 0 then --male rep+++ king outfit disguise, text, action = {lookType = 332}, "King!!", true elseif points > 1999 then --rep++ cm outfit disguise, text, action = {lookType = 266}, "Legend!!", true elseif points > 1499 then --rep+ hero outfit disguise, text, action = {lookType = 73}, "Hero!!", true elseif points < -4999 then --rep*** devil outfit disguise, text, action = {lookType = 40}, "Devil!!", true elseif points < -1999 then --rep** pig outfit -- disguise, text, action = {lookType = 60}, "Pig!!", true elseif points < -1499 then --rep* orc outfit -- disguise, text, action = {lookType = 5}, "Orc!!", true end if action == true then doCreatureChangeOutfit(cid, disguise) doSendAnimatedText(getCreaturePosition(cid), text, math.random(01,255)) return true end end talkactions/scripts/rep/hail.lua -- >>> THE Players'REP++System CryingDamson Edition by Cybermaster <<< -- -- >>> Credits to Sync in this script <<< -- -- >>> Scripted IN and ONLY for TFS 0.3 <<< -- function onSay(cid, words, param, channel) local config = { newTime = 6 * 60 * 60, -- This is [6] hours, in seconds. Time between rep. oldTime = getPlayerStorageValue(cid, 23232), level = 20, target = getPlayerByName(param) } if config.oldTime == -1 then setPlayerStorageValue(cid, 23232, os.time()) end local nextTime = config.oldTime - os.time() local nextDate = os.date("%d %B %Y %X", config.oldTime + config.newTime) if getPlayerLevel(cid) < config.level then doPlayerSendCancel(cid,"You may hail from level "..config.level.." and above.") return TRUE end if (os.time() - config.oldTime) < config.newTime then doPlayerSendCancel(cid, "You may hail in " .. repTime(nextTime) .. ", (".. nextDate..").") return TRUE end if(param == "") then doPlayerSendCancel(cid,"You have to type a player name.") return TRUE end if isPlayer(config.target) == false then doPlayerSendCancel(cid,"That player doesn't exist or is offline.") return TRUE end if getPlayerIp(cid) == getPlayerIp(config.target) then doPlayerSendCancel(cid,"You may not hail yourself or your same IP.") return TRUE end addPlayerRep(config.target, 5, TEXTCOLOR_LIGHTBLUE) setPlayerStorageValue(cid, 23232, os.time()) doPlayerSendCancel(cid,'You just hailed '.. getPlayerName(config.target) ..'.') end então gente eu queria que alguem me passe os comandos que serve para esses 5 scripts para eu por no talkactions.xml e como usa-los! quem não entender pergunte no tópico! e na pasta mods tem esse script: rep_system.xml <?xml version="1.0" encoding="UTF-8"?> <!-- NECESSARY SQL QUERY FOR THE REPUTATION SYSTEM MySQL: ALTER TABLE `players` ADD `rep` INT( 11 ) NOT NULL DEFAULT '0'; SQLite: ALTER TABLE "players" ADD "rep" INT( 11 ) NOT NULL DEFAULT "0"; CREDITS: Sync.darkhaos.Colandus.Shawak.Absolute Mango.nsanee --> <mod name="Cyber's REPutation System" revision="5.0" author="Cybermaster" contact="otland.net" enabled="yes"> <config name="repSystem"><![CDATA[ rep = { --[[ GLOBAL CONFIG ]]-- interval = 6 * 60 * 60, --This is [6] hours, in seconds. Time between rep. lastTime = 5136, --Used to store the player's last Rep Timestamp lastName = 5138, --Used to store the last repped's GUID minLevel = 20, --From this level onwards player can use commands pvpLevel = 30, --Minimum level for PVP Rep'ing skull = {4,5}, --these skulled player won't receive rep when killing getArticle = function(cid, uppercase) return getPlayerSex(cid) == 0 and (uppercase and 'S' or 's') ..'he' or (uppercase and 'H' or 'h') ..'e' end, getPoints = function(cid) local Info = db.getResult("SELECT `rep` FROM `players` WHERE `id` = " .. getPlayerGUID(cid) .. ";") local rep = Info:getDataInt("rep") Info:free() return rep end, getPower = function(points) local power = {{0,2},{300,3},{500,4},{1000,5},{1500,6},{2000,8},{5000,10}} table.sort(power, function(a, b) return a[1] > b[1] end) for _, t in ipairs(power) do if(math.abs(points) >= t[1]) then return t[2] end end return power[1][2] end, getRank = function(points) local ranks = { {-5000, 'Power Abuser (*<<==========)'}, {-2000, 'Evil (=*<==========)'}, {-1500, 'Slayer (==*==========)'}, {-1000, 'Killer (===|=========)'}, {-500, 'Villain (====|========)'}, {-300, 'Creeping (======|======)'}, {-299, 'Unknown (======|======)'}, {300, 'Avowed (=======|=====)'}, {500, 'Popular (========|====)'}, {1000, 'Hailed (=========|===)'}, {1500, 'Acclaimed (==========+==)'}, {2000, 'Hero (==========>+=)'}, {5000, 'Legend (==========>>+)'}, } if points > -1 then table.sort(ranks, function(a, b) return a[1] > b[1] end) for _, t in ipairs(ranks) do if points >= t[1] then return t[2] end end else table.sort(ranks, function(a, b) return a[1] < b[1] end) for _, t in ipairs(ranks) do if points <= t[1] then return t[2] end end end return ranks[1][2] end, set = function(cid, points) db.executeQuery("UPDATE `players` SET `rep` = " .. points .. " WHERE `id` = " .. getPlayerGUID(cid) .. ";") end, add = function(cid, amount, color) db.executeQuery("UPDATE `players` SET `rep` = `rep` + " .. amount .. " WHERE `id` = " .. getPlayerGUID(cid) .. ";") doSendAnimatedText(getCreaturePosition(cid), '+REP', color) doPlayerSendCancel(cid,'You have just been hailed and gained '.. amount ..' reputation points.') end, remove = function(cid, amount, color) db.executeQuery("UPDATE `players` SET `rep` = `rep` - " .. amount .. " WHERE `id` = " .. getPlayerGUID(cid) .. ";") doSendAnimatedText(getCreaturePosition(cid), '-REP', color) doPlayerSendCancel(cid,'You have just been repudiated and lost '.. amount ..' reputation points.') end, getTime = function(timeDiff) local dateFormat = { {'h', timeDiff / 60 / 60 % 6}, {'m', timeDiff / 60 % 60}, } local out = {} for k, t in ipairs(dateFormat) do local v = math.floor(t[2]) if(v > 0) then table.insert(out, (k < #dateFormat and '' or ' and ') .. v .. '' .. t[1]) end end return table.concat(out) end, formatNum = function(str, sep) str = tostring(str):reverse() str = str:gsub("(%d)(%d)(%d)", '%1%2%3' .. (sep or " "), math.ceil(str:len() / 3)-1) return str:reverse() end, }]]> </config> <event type="login" name="repRegister" event="script"><![CDATA[ function onLogin(cid) registerCreatureEvent(cid, "repLook") registerCreatureEvent(cid, "repKill") registerCreatureEvent(cid, "repMonster") return true end]]> </event> <event type="look" name="repLook" event="script"><![CDATA[ domodlib('repSystem') function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid,'.\n' .. (thing.uid == cid and 'You are' or rep.getArticle(thing.uid, true) .. ' is') .. ' ' .. rep.getRank(rep.getPoints(thing.uid))) end return true end]]> </event> <event type="kill" name="repKill" event="script"><![CDATA[ domodlib('repSystem') local t = { [sKULL_WHITE] = 15, [sKULL_RED] = 30, [sKULL_BLACK] = 45, [sKULL_NONE] = -30, } function onKill(cid, target, lastHit) if isPlayer(cid) and isPlayer(target) then --THE KILLER if isInArray({0,3,4,5}, getCreatureSkullType(target)) then if getPlayerLevel(target) >= rep.pvpLevel and not isInArray(rep.skull, getCreatureSkullType(cid)) then doSendAnimatedText(getCreaturePosition(cid), getCreatureSkullType(target) == 0 and '-REP' or '+REP', math.random(1,255)) rep.set(cid, rep.getPoints(cid)+t[getCreatureSkullType(target)]) doPlayerSendTextMessage(cid, 20, 'You '.. (getCreatureSkullType(target) == 0 and 'lose' or 'gain') ..' reputation because you killed a player.') end end --THE VICTIM if rep.getPoints(target) == 0 then return true elseif rep.getPoints(target) > 0 then rep.remove(target, 5, TEXTCOLOR_RED) doPlayerSendTextMessage(target, 20, 'You lose reputation because you were killed by a player.') else rep.add(target, 5, TEXTCOLOR_LIGHTBLUE) doPlayerSendTextMessage(target, 20, 'You lose reputation because you were killed by a player.') end end return true end]]> </event> <event type="kill" name="repMonster" event="script"><![CDATA[ domodlib('repSystem') function onKill(cid, target, lastHit) if not isPlayer(cid) or not isMonster(target) then return true end local monsters = { ["demon"] = 3, ["behemoth"] = 4, ["hellfire fighter"] = 5, ["orshabaal"] = 10, } local name = getCreatureName(target) local monster = monsters[string.lower(name)] if monster then rep.add(cid, monsters[string.lower(getCreatureName(target))], TEXTCOLOR_LIGHTBLUE) end return true end]]> </event> <talkaction log= "yes" words="/hail;/fuck;/set" access="4" event="buffer"><![CDATA[ domodlib('repSystem') if param == '' then doPlayerSendCancel(cid,'You must write a player\'s name.') return true end local t = string.explode(param, ',') local tid = getPlayerByName(t[1]) if not isPlayer(tid) then doPlayerSendCancel(cid, 'Player ' .. param .. ' not found or is not online.') return true end if not t[2] and isPlayer(tid) then if words == '/hail' then rep.add(tid, 5, TEXTCOLOR_TEAL) doPlayerSendCancel(cid, 'You added +5 rep points to ' .. getPlayerName(tid) .. ', and now ' .. rep.getArticle(tid, false) .. ' has ' .. rep.getPoints(tid) .. ' points.') return true end if words == '/fuck' then rep.remove(tid, 5, TEXTCOLOR_RED) doPlayerSendCancel(cid, 'You removed -5 rep points to ' .. getPlayerName(tid) .. ', and now ' .. rep.getArticle(tid, false) .. ' has ' .. rep.getPoints(tid) .. ' points.') return true end end if t[2] and isInArray({'/set','/hail','fuck'}, words) then if not tonumber(t[2]) then doPlayerSendCancel(cid, 'Reputation amount is invalid.') return true end end if words == '/hail' then rep.add(tid, t[2], TEXTCOLOR_TEAL) doPlayerSendCancel(cid, 'You added ' .. t[2] .. ' rep points to ' .. getPlayerName(tid) .. ', and now ' .. rep.getArticle(tid, false) .. ' has ' .. rep.getPoints(tid) .. ' points.') return true end if words == '/fuck' then rep.remove(tid, t[2], TEXTCOLOR_RED) doPlayerSendCancel(cid, 'You removed ' .. t[2] .. ' rep points to ' .. getPlayerName(tid) .. ', and now ' .. rep.getArticle(tid, false) .. ' has ' .. rep.getPoints(tid) .. ' points.') return true end if t[2] and words == '/set' then rep.set(tid, t[2]) doPlayerSendCancel(cid, 'You have set ' .. getPlayerName(tid) .. '\'s points to ' .. rep.getPoints(tid)) else doPlayerSendCancel(cid, 'Absolute reputation amount not specified.') return true end if not t[2] then doPlayerSendCancel(cid, 'Absolute reputation amount not specified.') return true end return true]]> </talkaction> <talkaction words="!ranks" event="buffer"><![CDATA[ domodlib('repSystem') local players = 10 local str, value, name, result = "","","",0,nil if isInArray({'hero','pos','1','+'}, param) then str,value,name = "[#]-[Name]-[Points]-[Rank]\n--[Positive Rep Highscores]--\n","rep","name" result = db.getResult("SELECT `name`, `rep` FROM `players` WHERE `rep` > -1 AND `id` > 6 AND `group_id` < 2 ORDER BY `rep` DESC, `name` ASC;") elseif isInArray({'evil','neg','2','-'}, param) then str,value,name = "[#]-[Name]-[Points]-[Rank]\n--[Negative Rep Highscores]--\n","rep","name" result = db.getResult("SELECT `name`, `rep` FROM `players` WHERE `rep` < 0 AND `id` > 6 AND `group_id` < 2 ORDER BY `rep` ASC, `name` DESC;") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Unknown Paramater: '" .. param .. "'") return true end if (result:getID() ~= -1) then local i = 1 while true do str = str .. "\n " .. i .. ". " .. result:getDataString("name") .. " - [" .. result:getDataInt(value) .. "] - " .. rep.getRank(result:getDataInt(value)) .. "" i = i+1 if not(result:next()) or i > players then break end end result:free() end if str ~= "" then doPlayerPopupFYI(cid, str) end return true]]> </talkaction> <talkaction words="!rep" event="buffer"><![CDATA[ domodlib('repSystem') local points, lastName, action = rep.getPoints(cid), getPlayerStorageValue(cid, rep.lastName), false doPlayerSendTextMessage(cid, 19, 'You have ' .. rep.formatNum(points, ",") .. ' reputation points. You are ' .. rep.getRank(points) .. '\nYour Rep Power is ' .. rep.getPower(points) ..'. ' .. (getPlayerStorageValue(cid, rep.lastName) ~= -1 and 'You last reputed ' .. getPlayerNameByGUID(lastName) .. '.' or '')) if points > 4999 then --female rep+++ queen outfit disguise, text, action = (getPlayerSex(cid) == 0 and {lookType = 331} or {lookType = 332}), (getPlayerSex(cid) == 0 and 'Queen!!' or 'King!!'), true elseif points > 1999 then --rep++ cm outfit disguise, text, action = {lookType = 73}, 'Hero!!', true elseif points > 1499 then --rep+ hero outfit disguise, text, action = {lookType = 63}, 'Acclaimed!!', true elseif points < -4999 then --rep*** devil outfit disguise, text, action = {lookType = 334}, 'P.O.!', true elseif points < -1999 then --rep** pig outfit disguise, text, action = {lookType = 306}, 'Evil!!', true elseif points < -1499 then --rep* orc outfit disguise, text, action = {lookType = 5}, "Slayer!!", true end if action and getCreatureOutfit(cid).lookType ~= disguise.lookType then doSetCreatureOutfit(cid, disguise, -1) doSendAnimatedText(getCreaturePosition(cid), text, math.random(1,255)) return true end return true]]> </talkaction> <talkaction words="!hail;!fuck" event="buffer"><![CDATA[ domodlib('repSystem') if param == '' then doPlayerSendCancel(cid, 'Command requires a player\'s name.') return true end local target, oldTime = getPlayerByName(param), getPlayerStorageValue(cid, rep.lastTime) if not isPlayer(target) then doPlayerSendCancel(cid, 'That player does not exist or is offline.') return true end if oldTime == -1 then setPlayerStorageValue(cid, rep.lastTime, os.time()) end if getPlayerLevel(cid) < rep.minLevel then doPlayerSendCancel(cid,'You may repute from level ' .. rep.minLevel ..' onwards.') return true end if getPlayerGUID(target) == getPlayerStorageValue(cid, rep.lastName) then doPlayerSendCancel(cid, 'You may not repute that player two times in a row.') return true end if (os.time() - oldTime) < rep.interval then doPlayerSendCancel(cid, 'You may repute in ' .. rep.getTime(oldTime - os.time()) .. ' [' .. os.date("%b.%d %X", oldTime + rep.interval) ..']') return true end if getPlayerIp(cid) == getPlayerIp(target) then doPlayerSendCancel(cid, 'You may not repute neither yourself nor someone in your IP.') return true end if words == '!hail' then setPlayerStorageValue(cid, rep.lastName, getPlayerGUID(target)) rep.add(target, rep.getPower(cid), TEXTCOLOR_LIGHTBLUE) setPlayerStorageValue(cid, rep.lastTime, os.time()) doPlayerSendCancel(cid, 'You have just reputed ' .. getCreatureName(target)) elseif words == '!fuck' then setPlayerStorageValue(cid, rep.lastName, getPlayerGUID(target)) rep.remove(target, rep.getPower(cid), TEXTCOLOR_RED) setPlayerStorageValue(cid, rep.lastTime, os.time()) doPlayerSendCancel(cid, 'You have just reputed ' .. getCreatureName(target)) end return true]]> </talkaction> </mod> me ajudem plz! Ficarei mto grato quem me ajudar! ^^
  10. ola... eu vou fazer um site mas nao quero resetar o ot entao queria saber se tem como exportar a database forgotten.s3db para um arquivo de texto .sql para eu carregar no banco de dados do Xampp... plz ajudem quem ajudar dou REP +++
  11. CoLoRaDo

    [Pedido] 3 Scripts!

    ola gente estou aki para pedir 3 scripts! 1º: Guild War System 2º: Married System(com npc padre e etc) 3º: Npc Que Troca O Nome Do Char por 1kk Se Possivel! e se alguem sabe como usar o comando !sellhouse se estiver isso no talkactions.xml: <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> tipow se estiver esse filter="word-spaced" como usar o comando? pq sem o filter="word-spaced" o comando eh assim !sellhouse Fulano plz dou rep mais quem ajudar!
  12. aew comedinhaaaas me ajuda como posso usar o comando !sellhouse... se tiver Filter="Word-Spaced"
  13. Aew Gente como usar o comando !sellhouse quando tiver assim no talkactions.xml: <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> por favor nao sei pq ta isso: filter="word-spaced" mas tem um ot de um amigo que ele nao consegue tirar pq ta sem a senha do dedicado e eu queria saber como usar esse comando com o filter="word-spaced" plz ajuda rapido!
  14. Sim Todos Soh Trocam Uma Vez
  15. eaew galerinha do xtibia! estou aki para pedir um npc que troque sua vocation por dia vip tipow: ola ADM Forever eu troco sua vocation por 5 dias premium vc quer ser {sorcerer},{knight},{druid} ou {paladin}? e tbm queria saber se eh possivel um npc que troque o nome do char?! e um npc que troque o sexo?! e que todos soh deixem trocar uma vez!
  16. Como Assim Exportar??
  17. ola a todos hoje vim aki pedir para vcs me ajudarem a resolver esse erro: Warning - Houses::loadFromXml] House Entry not set for: Forgotten headquarter <Flat1, Area 42> <89> e outro erro em um monstro que eh no Hellgorak: [Warning - Monster::Monster] Unknown event name - inquisitionportals me ajudem plz! quem ajudar dou REP+++
  18. Procura por essa linha no seu config.lua: worldId = 0 em um server tu deixa 0 e no outro tu poe 1! ou se for um em cada executavel ai tu muda a porta tipow procura por essa linha: loginPort = 7171 em um server tu deixa 7171 e no outro tu poe 7172 ou outra porta OBS: Tem que liberar a outra porta tbm tipow se tu colo 7172 tu libera a porta 7172! Espero Ter Ajudado! xD
  19. nossa pra mim esse foi o update mais demorado hein!!!! ta certo eu soh jogo a 2 anos mais nunca esperei tanto um update!!! vamo la ta chegando ooooooooo Tão Esperado Update!
  20. Brasil 2x2 Chile
  21. Olha cara Aqui minha net eh compartilhada eu compartilho com um soh computador e nao preciso de hamachi!!! mas eu desbloquiei as portas no roteador!! olha vc tem que ir em iniciar/executar ai vo digita cmd e da enter ai no cmd vc digita ipconfig e da enter ai vc pega o gateway padrão e digita no seu browser(internet explorer,ou mozilla firefox ou outros!!) e da enter, aki no meu eu tive que ir em virtual servers e desbloquear as portas mas ai aki no forum tem bastante tutorial!!! qual é a marca do seu roteador????
  22. aki deu um monte de erro!!!! eu baixei o 8.57 V: 71 atualizado dia 25/05/2010 olha! o que pode ser??
  23. Cara Aki Nai Funcionou!!!! Apareceu Isso no distro do ot(The Forgotten Server, version 0.3.5 (Crying Damson).) [25/05/2010 12:07:16] Lua Script Error: [CreatureScript Interface] [25/05/2010 12:07:16] data/creaturescripts/scripts/playerdeath.lua:onDeath [25/05/2010 12:07:17] luaGetCreatureName(). Creature not found [25/05/2010 12:07:17] Lua Script Error: [CreatureScript Interface] [25/05/2010 12:07:17] data/creaturescripts/scripts/playerdeath.lua:onDeath [25/05/2010 12:07:17] data/creaturescripts/scripts/playerdeath.lua:23: attempt to concatenate local 'hitKillerName' (a boolean value) [25/05/2010 12:07:17] stack traceback: [25/05/2010 12:07:17] data/creaturescripts/scripts/playerdeath.lua:23: in function <data/creaturescripts/scripts/playerdeath.lua:9> e no ot la no default e no server log nao aparece nada!! me ajuda please!!!
  24. eu to precisando muito disso!!! mas a função doAddPlayerBanishment nao bani o char ela soh kicka o char e ai o char pode entra dinovo!!!!
  25. cara... eu nao acredito!!!! a funcao doAddIpBanishment eh para banir o ip, a de doAddPlayerBanishment eh para banir soh o player e a de doAddAccountBanishment é para banir toda acc??? Post: Esse seu Script eh para banir o que? a acc toda(tipo todos os chars da acc),o ip ou só o char
  • Quem Está Navegando   0 membros estão online

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