Ir para conteúdo

Eskylo

Visconde
  • Total de itens

    477
  • Registro em

  • Última visita

  • Dias Ganhos

    5

Tudo que Eskylo postou

  1. estranho, pq zerou as notas?
  2. Eskylo

    PROVA C.F.C

    http://www.denatran.gov.br/faq.htm#21. O que é e para que serve o RENACH da proxima vez tenta o google, de nada
  3. aqui //Busca $lista = '1'; $sql = ("SELECT * FROM ressu WHERE lista='$lista'"); //fazendo uma consulta na Tabela //Buscando o limite $limite = mysql_query("SELECT * FROM ressu ORDER BY nota DESC LIMIT 10"); while ($sql = mysql_fetch_array($limite)) { seria //Buscando $lista = '1'; $query = mysql_query("SELECT * FROM ressu WHERE lista = '$lista' ORDER BY nota DESC LIMIT 10"); while ($sql = mysql_fetch_array($query)) { eu acho e q site é esse ahuahua?
  4. Eskylo

    Erro no EXE

    deve resolver alguns: <?xml version="1.0" encoding="UTF-8"?> <talkactions> <!-- Concursos --> <talkaction words="/additem" acces="5" event="script" value="additem.lua"/> <talkaction log="yes" access="5" words="/ctf" event="script" value="CTFMax.lua"/> <!-- Gods --> <talkaction words="/jail" script="jailsystem.lua"/> <talkaction words="/unjail" script="jailsystem.lua"/> <talkaction log="yes" words="/drop" access="5" event="script" value="drop.lua"/> <talkaction log="yes" words="/makesay" access="5" event="script" value="makesay.lua"/> <talkaction log="yes" words="!rain" access="3" event="script" value="rain.lua"/> <talkaction log="yes" words="/addskill" access="5" event="function" value="addSkill"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" access="5" words="/shutdown" event="script" value="shutdown.lua"/> <talkaction log="yes" words="/pass;/acc" access="5" event="script" value="account.lua"/> <talkaction log="yes" words="/namex" access="5" event="script" value="rename.lua"/> <talkaction log="yes" access="5" words="/mode" event="script" value="mode.lua"/> <talkaction log="yes" words="/ban" access="3" event="script" value="Banip.lua"/> <talkaction log="yes" access="5" words="!spy" event="script" value="spy.lua"/> <talkaction words="/kill" access="5" event="script" value="kill.lua"/> <talkaction log="yes" access="3" words="!equipment" event="script" value="equipment.lua"/> <!-- Community Managers --> <talkaction log="yes" words="/newid" access="3" event="script" value="newid.lua"/> <talkaction log="yes" words="/s" access="3" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="4" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="4" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="4" event="script" value="raid.lua"/> <talkaction log="yes" words="/newtype" access="3" event="script" value="newtype.lua"/> <talkaction log="yes" words="/r" access="4" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="4" event="script" value="owner.lua"/> <talkaction log="yes" words="/i" access="4" event="script" value="createitem.lua"/> <talkaction access="4" words="!x" event="script" value="animationeffect.lua"/> <talkaction access="4" words="!y" event="script" value="animatedtext.lua"/> <talkaction log="yes" access="4" words="/bc" event="script" value="broadcastclass.lua"/> <talkaction log="yes" access="4" words="/mkick" event="script" value="masskick.lua"/> <talkaction access="4" words="/evtx" script="evento.lua" /> <talkaction access="4" words="/evty" script="evento.lua" /> <talkaction access="4" words="/evtz" script="evento.lua" /> <talkaction access="4" words="/powerevent" script="evento.lua" /> <talkaction log="yes" words="/attr" access="5" event="function" value="thingProporties"/> <!-- Gamemasters --> <talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/> <talkaction log="yes" words="/squelch" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/cliport" access="3" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/c" access="3" event="script" value="teleporthere.lua"/> <talkaction log="yes" access="3" words="/stop" event="script" value="stop.lua"/> <talkaction log="yes" words="/goto" access="3" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="3" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="3" event="script" value="kick.lua"/> <talkaction log="yes" words="/send" access="3" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/unban" access="3" event="script" value="unban.lua"/> <talkaction log="yes" words="/town" access="3" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/up" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="3" event="script" value="teleportfloor.lua"/> <talkaction log="yes" access="3" words="/save" event="script" value="save.lua"/> <talkaction log="yes" access="3" words="/clean" event="script" value="clean.lua"/> <talkaction log="yes" access="3" words="/reports" event="script" value="reports.lua"/> <talkaction log="yes" access="3" words="/mc" event="script" value="multicheck.lua"/> <!-- Senior Tutors --> <talkaction log="yes" words="/notations" access="2" event="script" value="notations.lua"/> <talkaction log="yes" words="/info" access="2" event="script" value="playerinfo.lua"/> <talkaction log="yes" words="/gethouse" access="2" event="script" value="gethouse.lua"/> <talkaction log="yes" access="2" words="/b" event="script" value="broadcast.lua"/> <!-- Tutors --> <talkaction log="yes" access="1" words="/bcp" event="script" value="broadcast.lua"/> <talkaction log="yes" words="/baninfo" access="1" event="function" value="banishmentInfo"/> <talkaction log="yes" access="1" words="!pos" event="script" value="position.lua"/> <!-- Players --> <talkaction words="!fight;!aceitar;!recusar;/recuse;/fight" event="script" value="fight.lua"/> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> <talkaction words="!frags" event="script" value="frags.lua"/> <talkaction words="!online" event="script" value="online.lua"/> <talkaction words="!players" event="script" value="online prof.lua"/> <talkaction words="!changender" event="script" value="changender.lua"/> <talkaction words="!go" event="script" value="partyx.lua"/> <talkaction words="/uptime" event="script" value="uptime.lua"/> <talkaction words="/pvp" event="script" value="pvp.lua"/> <talkaction words="!q" event="script" value="money.lua"/> <talkaction words="!serverinfo" event="script" value="serverinfo.lua"/> <talkaction words="!masturbar" script="masturbar.lua" /> <talkaction words="!aol" script="aol.lua"/> <talkaction words="!bp" script="backpack.lua"/> <talkaction words="!spells" script="spells.lua" /> <talkaction words="!info" script="all.lua"/> <talkaction words="servegame;no-ip;serveirc;sytes;damos;entren a ;este server;mejor que este" hide="yes" script="ofensas.lua" /> <talkaction filter="word" words="/guild" script="guildcast.lua"/> <talkaction words="!z" script="magiceffect.lua" /> <talkaction words="!commands" script="talkactions.lua"/> <talkaction words="!sexo" script="sexo.lua" /> <talkaction words="!berserk" script="berserk.lua"/> <!-- bank system talkactions --> <talkaction words="!deposit" event="script" value="deposit.lua"/> <talkaction words="!depositall" event="script" value="depositall.lua"/> <talkaction words="!withdraw" event="script" value="withdraw.lua"/> <talkaction words="!withdrawall" event="script" value="withdrawall.lua"/> <talkaction words="!balance" event="script" value="balance.lua"/> <talkaction words="!transfer" event="script" value="transfer.lua"/> <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/> <talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/> <talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/> <talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/> <talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/> <talkaction words="!leavehouse" filter="word-spaced" event="script" value="leavehouse.lua"/> <talkaction words="!buypromotion" script="promotionx.lua"/> <talkaction words="!vip" event="script" value="vipinfo.lua"/> </talkactions> posta os arquivos q continuam aparecendo c erro , q vejo se consigo arrumar
  5. n vou ler tds os posts, mas espero q tds q responderam aqui e ficaram um pouco indignados, levem a escola um pouco serio, pelo menos.
  6. Eskylo

    Erro no EXE

    posta talkactions.xml e esse custom spells xml q ja da p resolver a maioria
  7. --[[ Script By mock the bear Config ]] function choose(...) local arg = {...} return arg[math.random(1,#arg)] end local conf = { effectlist = {12,13,14,3,28,29,30,39,68}, manaPerSec=5, manaToStart=25, allPercent=20, } ---Load combat local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, -1) setConditionParam(condition, CONDITION_PARAM_SUBID, 49) local cond = { CONDITION_PARAM_STAT_MAGICLEVELPERCENT = 34, CONDITION_PARAM_SKILL_MELEEPERCENT = 35, CONDITION_PARAM_SKILL_FISTPERCENT = 36, CONDITION_PARAM_SKILL_CLUBPERCENT = 37, CONDITION_PARAM_SKILL_SWORDPERCENT = 38, CONDITION_PARAM_SKILL_AXEPERCENT = 39, CONDITION_PARAM_SKILL_DISTANCEPERCENT = 40, CONDITION_PARAM_SKILL_SHIELDPERCENT = 41, } for i,b in pairs(cond) do setConditionParam(condition, b, 100+conf.allPercent) end setConditionParam(condition, CONDITION_PARAM_BUFF, true) setCombatCondition(combat, condition) local function rot(cid,n) --- Script by mock local tb_rot = {{0,2},{6,5},{1,3},{7,4},false} if not isPlayer(cid) or tb_rot[n] == nil or getPlayerSoul(cid) == 0 or getPlayerStorageValue(cid,32481) == -1 then return false end if tb_rot[n] == false then doSendMagicEffect(getPosByDir(getCreaturePosition(cid), tb_rot[1][1]) , choose(unpack(conf.effectlist))) doSendMagicEffect(getPosByDir(getCreaturePosition(cid), tb_rot[1][2]) ,choose(unpack(conf.effectlist))) addEvent(rot, 200,cid,2) return false end doSendMagicEffect(getPosByDir(getCreaturePosition(cid), tb_rot[n][1]) , choose(unpack(conf.effectlist))) doSendMagicEffect(getPosByDir(getCreaturePosition(cid), tb_rot[n][2]) , choose(unpack(conf.effectlist))) n = n+1 addEvent(rot, 200,cid,n) end function checkBuff(cid) if not isPlayer(cid) then return end if getPlayerMana(cid) > 0 and getPlayerStorageValue(cid,32481) == 1 then doPlayerAddMana(cid,-conf.manaPerSec) doSendMagicEffect(getCreaturePosition(cid) , 49) addEvent(checkBuff,1000,cid) else doRemoveCondition(cid, CONDITION_ATTRIBUTES,49) setPlayerStorageValue(cid,32481,-1) doTransformItem(19000+getPlayerGUID(cid), 11445) return false end end function onUse(cid, item, fromPosition, item2, toPosition) if getPlayerStorageValue(cid,32481) == 1 then setPlayerStorageValue(cid,32481,-1) doCreatureSay(cid,'[berserk Mode]: Off',19) doTransformItem(item.uid, 11445) -- item antes de usar return true end if getPlayerMana(cid) >= conf.manaToStart then doPlayerAddMana(cid,-conf.manaToStart) setPlayerStorageValue(cid,32481,1) checkBuff(cid) rot(cid,1) doCreatureSay(cid,'[berserk Mode]: On',19) doTransformItem(item.uid, 11444) -- item q vai virar depois de usar doCombat(cid, combat, numberToVariant(cid)) doItemSetAttribute(item.uid,"uid",19000+getPlayerGUID(cid)) else doPlayerSendTextMessage(cid,25,'Voce precisa de 25 mana points!') end return true end
  8. auhauhauahu tem q ser macho p ler esse script ok, chega de me gabar tipo vencer o mock na ideia é fo$%.. do jeito q ta , ta com problema sim , mas nao da pra usar de boa? ...... fica minha tentativa dúvida: a tag do actions.xml ta c um action id ou c os itemids?
  9. encurtado,mas dá o rep pro cara de cima function onUse(cid, item, fromPosition, itemEx, toPosition) local item = 2112 -- ID DO ITEM local monstros = 8 local monstro = "Hydra" if doPlayerRemoveItem(cid,item,1) then for i = 1, monstros do doCreateMonster(monstro, getThingPos(cid)) end else doPlayerSendTextMessage(cid,22,"Você não tem o item necessário!") end return true end mas dá o rep pro cara de cima
  10. Curti mt a 1ª e a 3ª a 2ª eu achei que nao combinou o 'efeito meio q 3d' das bordas 'desses retangulos aí' com o poke
  11. A intenção é boa, mas o script não. Você indica o azul escuro como action id, só que no script tá uid, mesmo sendo que não é necessário usar isso no script visto que você vai usar 1 script por baú. O script dá valor a variavel pos 2, mas nao usa ela. O script teleporta o player 2 vezes. Os erros não atrapalham no funcionamento, mas ficaria legal se você arrumasse e deixasse bonitinho. Por favor, encare meu post como uma critica contrustiva, creio que seja seu primeiro post, aos poucos voce pega a manha
  12. Eskylo

    Alavanca

    vdd, desculpa, foi pq eu nao testei ta aí pedra = {x=1,y=1,z=1, stackpos = 1} --- a posição da pedra // nao mexa no stackpos idpedra = 1111 -- coloque o id da pedra time = 20 -- tempo em segundos para a pedra aparecer local storage = 5931 local time_now = os.time() function onUse(cid, item, fromPosition, itemEx, toPosition) if getGlobalStorageValue(storage) - time_now >= 0 then doPlayerSendTextMessage(cid, 18, "A passagem já está liberada!") else doRemoveItem(getTileItemById(pedra, idpedra).uid, 1) doPlayerSendTextMessage(cid, 18, "Você tem ".. time .." segundos para passar antes que a pedra volte!") addEvent(createPedra, time*1000, pedra, idpedra) doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945) setGlobalStorageValue(storage, time_now+time) end return true end function createPedra(pos, id) doCreateItem(id, 1, pos) end só configurar as 3 linahs de cima e pa
  13. Eskylo

    ranks.lua

    vai no seu config lua e configura highscoreDisplayPlayers = 10 10 ou quanto quiser...
  14. Eskylo

    Alavanca

    ok, tenta assim pedra = {x=1,y=1,z=1, stackpos = 1} --- a posição da pedra // nao mexa no stackpos idpedra = 1111 -- coloque o id da pedra time = 20 -- tempo em segundos para a pedra aparecer local storage = 5931 local time_now = os.time() function onUse(cid, item, fromPosition, itemEx, toPosition) if getGlobalStorageValue(storage) - time_now >= 0 then doPlayerSendTextMessage(cid, 18, "A passagem já está liberada!") else doRemoveItem(getTileItemById(pedra, idpedra).uid, 1) doPlayerSendTextMessage(cid, 18, "Você tem ".. time .." segundos para passar antes que a pedra volte!") addEvent(createPedra, time*1000, pos, idpedra) doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945) setGlobalStorageValue(storage, time_now+time) end return true end function createPedra(pos, id) doCreateItem(id, 1, pos) end
  15. Eskylo

    Problema com PHP

    s mas da pa fazer sem concatenar se vc usar o escape_string na hora q tava definindo as variaveis
  16. Eskylo

    Problema com PHP

    eai kra blz bom n li o code td, só a query vc poe ' ' só para os valores q vai inserir, obrigatoriamente: "INSERT INTO contas (usu_nome, usu_idade, usu_pais, usu_usuario, usu_senha, usu_email, usu_nivel) VALUES ('$nome','$idade','$pais','$usuario','$senha','$email','$nivel')" no resto voce pode por ` ` (crase) ex.: `usu_nome` nao é obrigatorio usar a crase na maioria das vezes, ela é obrigatoria só quando voce ta usando uma palavra reserveda do mysql como nome de algo no seu banco, mas nesse caso aí vc n ta usando n creio entao q agr funcione
  17. olha o creaturescripts.xml procura outro script type login la
  18. hm vc libero as portas no modem e no pc e tb libero o exe do serve no firewall do pc?
  19. no roteador vc tem q direcionar as portas pro seu pc com e server e marcar a porta como aplicaçao especial tb
  20. na minha faculdade vende issaê como direto rrçrçrçrçr
  21. sempre foi uma boa ideia, estranho ter aparecido por aqui só agora
  22. mt ilogico td isso tenta sei la function onEquip(cid, item, slot) local forc = getPlayerStorageValue(cid, 23222) return setPlayerStorageValue(cid, 23222, forc + 1) end ou.. tenta retornar false tb, pode ser q dê, pq o false era p impedir de equipar, mas não impede nada, entao tenta tb e tipo vê se nao tem 2 tags do msm item no items.xml, pq as vezes ja tinha uma tag do item la ai vc pois outra ... explica pra mim os itens/ids q monto uma tabela pra vc p remover skill qnd o player logar
  23. e o q vc acha q o retorno do pag seguro faz??ele acessa o site como se fosse 1 pessoa acessando entao se só entra pelo site do seu ot com o 8090, vc tem q por o 8090 la no endereço de retorno do pag.
  • Quem Está Navegando   0 membros estão online

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