Ir para conteúdo

douguera

Campones
  • Total de itens

    69
  • Registro em

  • Última visita

Tudo que douguera postou

  1. vlw e otra pergunta passo desse mas da erro aqui STEP 1 Check server configuration File config.lua loaded from C:/Users/Douglas/Desktop/The Forgotten Server/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author. alguemm pode mi manda algum config.lua o meu n ta dando
  2. é o meu ta dando essee erro oq fasso? Notice: Undefined index: page in C:\xampp\htdocs\install.php on line 40 Notice: Undefined index: page in C:\xampp\htdocs\install.php on line 52 Notice: Undefined index: page in C:\xampp\htdocs\install.php on line 63
  3. douguera

    Ajuda Plizz

    galera eu fui liga ot hoje e tava assim pa normal ai eu loguei o xar fiko assim [25/05/2011 13:20:34] [Error - CreatureScript Interface] [25/05/2011 13:20:34] buffer:onLogin [25/05/2011 13:20:34] Description: [25/05/2011 13:20:34] [string "loadBuffer"]:3: attempt to call global 'getPlayerStorageValue' (a nil value) [25/05/2011 13:20:34] stack traceback: [25/05/2011 13:20:34] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2> [25/05/2011 13:20:34] [Error - CreatureScript Interface] [25/05/2011 13:20:34] buffer:onLogin [25/05/2011 13:20:34] Description: [25/05/2011 13:20:35] [string "loadBuffer"]:4: attempt to call global 'getPlayerStorageValue' (a nil value) [25/05/2011 13:20:35] stack traceback: [25/05/2011 13:20:35] [string "loadBuffer"]:4: in function <[string "loadBuffer"]:1> [25/05/2011 13:20:35] [Error - CreatureScript Interface] [25/05/2011 13:20:35] data/creaturescripts/scripts/firstitems.lua:onLogin [25/05/2011 13:20:35] Description: [25/05/2011 13:20:35] data/creaturescripts/scripts/firstitems.lua:54: attempt to call global 'getPlayerStorageValue' (a nil value) [25/05/2011 13:20:35] stack traceback: [25/05/2011 13:20:35] data/creaturescripts/scripts/firstitems.lua:54: in function <data/creaturescripts/scripts/firstitems.lua:53> [25/05/2011 13:20:35] [Error - CreatureScript Interface] [25/05/2011 13:20:35] data/creaturescripts/scripts/login.lua:onLogin [25/05/2011 13:20:35] Description: [25/05/2011 13:20:35] data/creaturescripts/scripts/login.lua:42: attempt to call global 'isPlayerGhost' (a nil value) [25/05/2011 13:20:35] stack traceback: [25/05/2011 13:20:35] data/creaturescripts/scripts/login.lua:42: in function <data/creaturescripts/scripts/login.lua:6> [25/05/2011 13:20:35] [Error - CreatureScript Interface] [25/05/2011 13:20:35] buffer:onLogout [25/05/2011 13:20:35] Description: [25/05/2011 13:20:36] [string "loadBuffer"]:3: attempt to call global 'getPlayerStorageValue' (a nil value) [25/05/2011 13:20:36] stack traceback: [25/05/2011 13:20:36] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2> [25/05/2011 13:20:36] Account Manager has logged out. e meu xar nao logou oq faço? alguem sabe?
  4. @TheDevilZ nao funfou velho
  5. man ker tirar issu so tu tirar o !commando ke eles usa q eu sei no talkacktions.xml so tirar a linha q n da maiz
  6. douguera

    Remover Skull

    bom galera eu to com esse script mas quando pego red skull n tem como usar oq fassO? -- [( Script created by Doidin for XTibia.com )] -- function onUse(cid, item, fromPosition, item2, toPosisition) local rskulls = {green = SKULL_GREEN, red = SKULL_RED, black = SKULL_BLACK} if isInArray(rskulls, getPlayerSkullType(cid)) then doPlayerSendCancel(cid,"Voce Removeu seus Frags e Skulls.") doSendMagicEffect(getPlayerPosition(cid), 2) else db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")") doCreatureSetSkullType(cid, 0) doCreatureSay(cid, "Seus Frags e Skull Foram Removidos!", 19) doSendMagicEffect(getPlayerPosition(cid), 26) return TRUE end end
  7. douguera

    Change Name

    olha so muda o nome o meu eh /rename mas fas a mesma funçao ok ai vai em seuot/data/talkactions/scripts e crie um arquivo lua xamado rename.lua e coloque o seguinte script dentro --Player rename by Mock the bear (MTB) function sugested() --GName generator local cons = {'b','c','d','f','g','h','i','j','k','l','m','n',' p','q','r','s','t','v','x','y','z'} local vog = {"a",'e','i','o','u'} local sibalas = {} for i=1,#cons do for e=1,#vog do table.insert(sibalas,1,cons[i]..vog[e]) end end local total = "" for i=1,math.random(1,2) do local nam = "" for i=1,math.random(2,4) do nam = nam..sibalas[math.random(1,#sibalas)] end if math.random(1,2) == 1 then nam = nam..vog[math.random(1,#vog)] elseif math.random(1,2) == 2 then nam = nam..cons[math.random(1,#vog)] end total = total..(i == 2 and ' ' or '')..nam:sub(1,1):upper()..nam:sub(2,-1) end return total end function onSay(cid, words, param, channel) if param == 'gen' then doCreatureSay(cid,'Suggested name: '..sugested(),1) return true end local param1,param2 = param:match('(.-)[;:,.]%s*(.+)') param = param1 or param param2 = param2 or sugested() if not param then doPlayerSendTextMessage(cid,25,'Use like this: /rename Old name, New name') return true end if param2:len() <= 2 or param2:len() > 20 then doPlayerSendTextMessage(cid,25,'Please 3-20 characters.') return true end if param2:match('[%a%d%s%u%l]+') ~= param2 then doPlayerSendTextMessage(cid,25,'Please only A-Z 0-9') return true end param2 = param2:sub(1,1):upper()..param2:sub(2,-1) local p2 = getPlayerByName(param) if p2 and isPlayer(p2) then local id = getPlayerGUID(p2) doPlayerPopupFYI(p2,'Changing your name. Please login aigan on your character list.') addEvent(doRemoveCreature,2000,p2) addEvent(function(id,param2) db.executeQuery("UPDATE `players` SET `name` = '"..param2.."' WHERE `id` ="..id) end,2100,id,param2) else doPlayerSendTextMessage(cid,25,'Player '..param..' not found.') return true end return TRUE end agora vai em seuot/data/talkactions/talkactions.xml e coloque a seguinte linha <talkaction log="yes" access="5" words="/rename" event="script" value="rename.lua" /> access="5" em vermelho aki eh o group que vai usar portanto 5 vai ser GOD ... vlw tae o script velho
  8. douguera

    Ajudem Aqui Vlw

    tipow eu gostaria de por as mensagems que o player recebera tipo o player loga no xar e n tem double exp aparece no default Voce nao tem Double Exp. e se o player usar a Double exp fike assim Voce tem double exp até ...... e as horas no meu caso a double exp eh 2 horas entao se ele usar 12:20 fika assim Voce tem double exp até 14:20. esse eh meu sistem exppotion <?xml version="1.0" encoding="UTF-8"?> <mod name="AdvancedExpPotionSystem" enabled="yes" author="MatheusMkalo" forum="XTibia.com"> <!-- Configs and Functions --> <config name="PotionExpConfigs"><![CDATA[ ------ CONFIGURE SEU SCRIPT ------ TRUE ou FALSE configs = { time = 120, ---- TIME IN MINUTES needpa = TRUE, needlvl = {TRUE, level = 8}, costmana = {TRUE, mana = 3000}, addrate = 30, -- Exp que vai adicionar em % removeonuse = TRUE } function getTime(s) local n = math.floor(s / 60) s = s - (60 * n) return n, s end CreatureEventChecker = function(event, ...) -- Colex if isCreature(arg[1]) then event(unpack(arg)) end end creatureEvent = function(event, delay, ...) -- Colex addEvent(CreatureEventChecker, delay, event, unpack(arg)) end function getPlayerExtraExpRate(cid) -- By MatheusMkalo return (getPlayerRates(cid)[8]-1)*100 end ]]></config> <!-- exppotion.lua --> <action itemid="6527" event="script"><![CDATA[ domodlib('PotionExpConfigs') if getPlayerStorageValue(cid, 62164) >= 1 then return doPlayerSendCancel(cid, "You are already taking effect from this item.") end if configs.needpa and not isPremium(cid) then return doPlayerSendCancel(cid, "You need to be a premmium account to use this item.") end if configs.needlvl[1] and getPlayerLevel(cid) < configs.needlvl.level then return doPlayerSendCancel(cid, "You need to be level " .. configs.needlvl.level .. " to use this item.") end if configs.costmana[1] then if getCreatureMana(cid) < configs.costmana.mana then return doPlayerSendCancel(cid, "You need " .. configs.costmana.mana .. " mana to use this item.") else doCreatureAddMana(cid, -configs.costmana.mana) end end if configs.removeonuse then doRemoveItem(item.uid, 1) end for i = configs.time*60, 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == configs.time*60 then creatureEvent(doPlayerSendCancel, configs.time*60*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, (configs.time*60-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, configs.time *60*1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) doPlayerSendTextMessage(cid, 25, "vOCE RECEBERA 2 HORAS DE DOUBLE EXP") setPlayerStorageValue(cid, 62164, os.time()) creatureEvent(setPlayerStorageValue, configs.time *60*1000, cid, 62164, 0) return TRUE ]]></action> <creaturescript type="login" name="ExpPotion" event="script"><![CDATA[ domodlib('PotionExpConfigs') local time = configs.time if os.time()-getPlayerStorageValue(cid, 62164) < time *60 then doPlayerSetExperienceRate(cid, (1+(configs.addrate/100))+(getPlayerExtraExpRate(cid)/100)) creatureEvent(doPlayerSetExperienceRate, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000, cid, 1+(getPlayerExtraExpRate(cid)/100-(configs.addrate/100))) creatureEvent(setPlayerStorageValue, (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) * 1000 , cid, 62164, 0) for i = (time*60-(os.time()-getPlayerStorageValue(cid, 62164))), 1, -1 do local a = math.floor(i/60) .. ":" .. i - (60 * math.floor(i/60)) if #a < 4 then a = string.sub(a,1,2) .. "0" .. string.sub(a, 3) end if i == (time*60-(os.time()-getPlayerStorageValue(cid, 62164))) then creatureEvent(doPlayerSendCancel, (time*60-(os.time()-getPlayerStorageValue(cid, 62164)))*1000, cid, "The effect of the exp potion end.") end creatureEvent(doPlayerSendCancel, ((time*60-(os.time()-getPlayerStorageValue(cid, 62164)))-i)*1000, cid, "The effect of the exp potion will end in "..a..".") end end return TRUE ]]></creaturescript> </mod>
  9. douguera

    Ajuda

    sim sim manin mas ae vlw mesmo cara é q eu n gosto de fica criando mt topico ai eu edito
  10. douguera

    Ajuda Fast

    Ok Aqui vai em em seuot/data/talkactions/scripts tu copia qualker arquivo .lua e renomeie por name e poem issu dentro --by Dougllas Henrique function sugested() --GName generator local cons = {'b','c','d','f','g','h','i','j','k','l','m','n',' p','q','r','s','t','v','x','y','z'} local vog = {"a",'e','i','o','u'} local sibalas = {} for i=1,#cons do for e=1,#vog do table.insert(sibalas,1,cons[i]..vog[e]) end end local total = "" for i=1,math.random(1,2) do local nam = "" for i=1,math.random(2,4) do nam = nam..sibalas[math.random(1,#sibalas)] end if math.random(1,2) == 1 then nam = nam..vog[math.random(1,#vog)] elseif math.random(1,2) == 2 then nam = nam..cons[math.random(1,#vog)] end total = total..(i == 2 and ' ' or '')..nam:sub(1,1):upper()..nam:sub(2,-1) end return total end function onSay(cid, words, param, channel) if param == 'gen' then doCreatureSay(cid,'Suggested name: '..sugested(),1) return true end local param1,param2 = param:match('(.-)[;:,.]%s*(.+)') param = param1 or param param2 = param2 or sugested() if not param then doPlayerSendTextMessage(cid,25,'Use like this: /name Old name, New name') return true end if param2:len() <= 2 or param2:len() > 20 then doPlayerSendTextMessage(cid,25,'Please 3-20 characters.') return true end if param2:match('[%a%d%s%u%l]+') ~= param2 then doPlayerSendTextMessage(cid,25,'Please only A-Z 0-9') return true end param2 = param2:sub(1,1):upper()..param2:sub(2,-1) local p2 = getPlayerByName(param) if p2 and isPlayer(p2) then local id = getPlayerGUID(p2) doPlayerPopupFYI(p2,'Changing your name. Please login aigan on your character list.') addEvent(doRemoveCreature,2000,p2) addEvent(function(id,param2) db.executeQuery("UPDATE `players` SET `name` = '"..param2.."' WHERE `id` ="..id) end,2100,id,param2) else doPlayerSendTextMessage(cid,25,'Player '..param..' not found.') return true end return TRUE end salve agora vai em seuot/data/talkactions/talkactions.xml e coloque esta linha <talkaction log="yes" access="5" words="/name" event="script" value="name.lua"/> bom em access="5"tu deixa assim pois assim Apenas GOD poderao usar o Comand /name...
  11. douguera

    Ajuda

    Oi galera to com uma duvida eu puis no meu ot no stages pra fikar level 500k maximo mas ele ultrapassa os 500k oq eu fasso pa ele parar no 500k? uso o baiak 8.60 obg
  12. douguera

    Ajuda

    queria saber como deixo essa Spell pa ataca conforme a força da arma e skill magic lvl level essas coisas a magia eh essa local scom1 = createCombatObject() local scom2 = createCombatObject() local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 255) setCombatParam(combat1, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE) setCombatFormula(combat1, COMBAT_FORMULA_SKILL, 0, -80, 11.0, -100) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 0) setCombatParam(combat2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_WEAPONTYPE) setCombatFormula(combat2, COMBAT_FORMULA_SKILL, 0, -70, 5.0, -100) arr1 = { {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0} } arr2 = { {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0}, {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0} } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) setCombatArea(scom1, area1) setCombatArea(scom2, area2) function onTargetTile(cid, pos) doCombat(cid,combat1,positionToVariant(pos)) end function onTargetTile2(cid, pos) doCombat(cid,combat2,positionToVariant(pos)) end setCombatCallback(scom1, CALLBACK_PARAM_TARGETTILE, "onTargetTile") setCombatCallback(scom2, CALLBACK_PARAM_TARGETTILE, "onTargetTile2") local function onCastSpell1(parameters) doCombat(parameters.cid, scom1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, scom2, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var} addEvent(onCastSpell1, 100, parameters) addEvent(onCastSpell2, 200, parameters) return TRUE end e Queria saber outra coisa Gostaria se alguem pudesse mandar um Script de Double Exp Por Exemplo eu Usu Um Item ele some e eu fico com a Exp Dobrada em torno de 5 horas vlw aee
  13. AJUDA Gate Of Experience nao Abre gente eu to lvl full e n abre oq faço?
  14. bom cara vlw ae mas manin eu ja dei rep++ hoje pf mi adc no msn para amanha eu dar seu rep dodyfany@hotmail.com Obg quando adc pod fala q é do xtibia pra eu saber qm eh vc
  15. FEXEM JA RESOLVI
  16. queria saber mudar as vocaçoes do acc manager eles comessa com elder druid etc kero colocar apenas druid etc vlw
  17. TIpo noo baiak o acc manager comessa com Elder Druid, Royal Paladin, Elite Knight e Master Sorcerer, queria trocar pra por so a primeira Sorcerer,Druid,Paladin e Knight ja arrumei tudu nas vocations e tals so falta mudar no acc manager mas eu nao sei como fasso issu? alguem sabbee ??
  18. por issu ond n tenhu script por issu to pedindo =/
  19. use o id 1497
  20. iae como ponho o amuleto infinito ?
  21. Alguem mi fala como deixo aol infinita e quando morre red n perde item? se alguem mi ajuda eu do rep ++ E outra Eu Fis Uma Magia mais nao gasta mana e n sai no default como arrumo?
  22. ae cara n foi bem oq pedi mas valew vo ti da rep+ si
  23. ASHUASHU Oia o paulo akiii HSUAUHS se n usava o otserv ? ;D
  24. Queria um Exp Potion que nao tivesse bug eu vi algums que se morreçem o potion n dava pra usar entao eu keria um sem bug ok obrigado ;D
  25. douguera

    Duvida De Vip

    Galera queria saber 1 duvida se pode por 2 vip no mesmo ot ou da bug? pq keria por tipo assim Vip normal Vip Avançada Ok Obrigado Abraços
  • Quem Está Navegando   0 membros estão online

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