![https://i.imgur.com/aJ17bf7.gif](https://i.imgur.com/aJ17bf7.gif)
![](https://cyber-gamers.org/uploads/set_resources_21/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://cyber-gamers.org/uploads/set_resources_21/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
SINVAL o.O
-
Content Count
1,895 -
Joined
-
Last visited
-
Days Won
16
Posts posted by SINVAL o.O
-
-
-
-
-
kkk tudo que eu quero se ta postado 1 por dia né maladrinho, http://cyber-gamers.org/public/style_emoticons/default/451960.gif és grande parçeiro
-
há vo testar se funcionar edito pra tu fechares my gracias http://cyber-gamers.org/public/style_emoticons/default/451960.gif.Funciono pod fechar.
-
Uso cliente do rancoroso ontem um amigo meu fez as query dos itens pra min ai eu puis tal tava testando, mais a armadura quando uso n da pra andar tipo fico travado tento andar mais so levanto o pé do personagem alguem pod me ajudar a resolver isso mt importante :
-
Achei esse tópico muito bom, mais não consigo meter isso nas minhas files tentei de tudo ja, si alguem puder me ajudar além de dar http://cyber-gamers.org/public/style_emoticons/default/451960.gif fico mt grato.
http://cyber-gamers.org/index.php?/topic/3692-comandosiniciar-parar-limpar-e-reiniciar-maquina/
C.
Sinval
-
http://cyber-gamers.org/public/style_emoticons/default/451960.gif,#!/usr/local/bin/bashLIST_FILE='[b]locale_list[/b]'if [ -r $LIST_FILE ]; thenrm -rdf objectmkdir objectwhile read line;do./qc $linedone &--#60; $LIST_FILEelseecho $LIST_FILE' is missing'fi
done &--#60; $LIST_FILE
nesta linha tem "&--#60" isso msm? tem que por permisão 777 nos arquivos não?Mastema reacted to this -
Tentei por mais não conseguir algum menbro caridoso que conseguiu e pod me ajudaR?
-
Obrigado.Andava a procura disso a mesmo muito tempo, valeu! http://cyber-gamers.org/public/style_emoticons/default/451960.gif
inconveniente reacted to this -
Hj venho apresentar o Sistema de Conquista.
Sistema de Conquista, consiste em matar determinados mobs, pedras e com isso ganhar ponto, que apos ter o determinado tanto voçê troca seus pontos por itens, etc; (Tudo pod ser alterado o que ganhar, os mob que tem que matar pra ganhar os pontos).
1º- Prints de como ficara no final.
2º- É necessario fazer algumas editações no cliente, pro Sistema ficar certo, então fasa o donwload pra começar a por...
https://mega.co.nz/#!u9B3XSCT!RTmrvWvl3X1d-prNn2S37mROZAdg9VAzOaPjJKYHZa4
3º- Bem vamos la, 1º na parte do cliente.
Para começar No cliente editar os seguintes arquivos:
-Root: dentro dos arquivos e game.py uiachievement.py (isso, vamos colocar-nos).
-ETC: onde colocar os arquivos e achievement_small.dds achievement_small.sub
-Uiscript: aqui e vai colocar o arquivo warteschleife.py achievementboard.py
Primeiro começomos com o root,Descompacta seu root, e abra o arquivo e procurar game.py esta:def __ServerCommand_Build(self):
Depois de achar procura :# Achievement System START "achievement" : self.__AchievementTest, "achievementpoints" : self.__ShowAchievementPoints, # Achievement System END
Voçê vai em baixo do código assima e meta isso :
# Achievement System STARTdef __ShowAchievementPoints(self, points): import uiAchievement import uiTaskbar self.uiAchievement = uiAchievement.AchievementDialog() uiAchievement.AchievementPoints = int(points)def __AchievementTest(self, archivement): import uiAchievement self.uiAchievement = uiAchievement.AchievementDialog() self.uiAchievement.Show(1, str(archivement)) self.uiAchievement.SetTop()# Achievement System END
Ficando assim :4º- Entrar na pasta root e adiciona o arquivo "uiachievement.py" , depois adiciona a xml :
<File archivedPath="uiachievement.py" type="2"><![CDATA[Source\uiachievement.py]]></File>
5º- Decompilamos nosso etc, ir para o trabalho Ymir pasta / ui e colocamos os achievement_small.dds. Então vá para o
trabalho Ymir pasta / ui / público e introduzir o achievement_small.sub. Por fim, adicione as xml:<File archivedPath="d:/ymir work/ui/public/achievement_small.sub" type="0"><![CDATA[Source\ymir work\ui\public\achievement_small.sub]]></File><File archivedPath="d:/ymir work/ui/achievement_small.dds" type="0"><![CDATA[Source\ymir work\ui\achievement_small.dds]]></File>
6º- O último passo no cliente é o nosso descompilar uiscript e colocar o arquivo achievementboard.py warteschleife.py: na pasta.
depois adiciona a xml e compacta:
[/center]<File archivedPath="uiscript/achievementboard.py" type="2"><![CDATA[Source\uiscript\achievementboard.py]]></File><File archivedPath="uiscript/warteschleife.py" type="2"><![CDATA[Source\uiscript\warteschleife.py]]></File>[center]
E nós já temos cliente tudo pronto: D
Parte no servidor :
1º- Vá no diretorio do seu servidor é adiciona as quest :
quest logros_keko beginstate start begin --LOGIN when login begin local actual_achievement_points = pc.getqf("achievement_points") if pc.getqf("firstlogin") != 1 then local Reward = 1 pc.setqf("firstlogin", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Primer_login%".. actual_achievement_points + Reward .."") else cmdchat("achievementpoints ".. pc.getqf("achievement_points")) end end --BOSSE when 691.kill begin local Reward = 2 local Achievement = "Jefe_Orco" local killcount = pc.getqf("691") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("691", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 791.kill begin local Reward = 3 local Achievement = "Lider_esoterico" local killcount = pc.getqf("791") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("791", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2493.kill begin local Reward = 100 local Achievement = "Dragon_azul" local killcount = pc.getqf("2493") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2493", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2492.kill begin local Reward = 20 local Achievement = "Comandante_Setaou" local killcount = pc.getqf("2492") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2492", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1091.kill begin local Reward = 5 local Achievement = "Rey_demonio" local killcount = pc.getqf("1091") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1091", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2597.kill begin local Reward = 20 local Achievement = "Muerte" local killcount = pc.getqf("2597") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2597", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1192.kill begin local Reward = 12 local Achievement = "Bruja_de_hielo" local killcount = pc.getqf("1192") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1192", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1304.kill begin local Reward = 5 local Achievement = "Tigre_fantasma" local killcount = pc.getqf("1304") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1304", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1901.kill begin local Reward = 4 local Achievement = "9_colas" local killcount = pc.getqf("1901") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1901", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2091.kill begin local Reward = 3 local Achievement = "Reina_araña" local killcount = pc.getqf("2091") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2091", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2206.kill begin local Reward = 4 local Achievement = "Jefe_logros" local killcount = pc.getqf("2206") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2206", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2191.kill begin local Reward = 5 local Achievement = "Tortuga_del_desierto" local killcount = pc.getqf("2191") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2191", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 692.kill begin local Reward = 3 local Achievement = "Orco_elite" local killcount = pc.getqf("692") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("692", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 693.kill begin local Reward = 5 local Achievement = "Orco_renacido" local killcount = pc.getqf("693") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("693", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end --Item shop--- when 50129.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 200 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 200 ) say ( "Enorabuena tienes 200 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50129", 1 ) end end when 50130.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 100 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 100 ) say ( "Enorabuena tienes 100 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50130", 1 ) end end when 50131.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 50 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 50 ) say ( "Enorabuena tienes 50 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50131", 1 ) end end when 50132.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 25 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 25 ) say ( "Enorabuena tienes 25 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50132", 1 ) end end --CANJES-- when 50115.use begin say_title ( "Canjea tus puntos logro" )local actual_achievement_points = pc . getqf ( "achievement_points" )local p = select ( "Caballo armado - 5 puntos" , "Caballo militar - 30 puntos" , "Bonus mediohumanos +20% por 30min - 50 puntos" , "Bonus HP +5000 por 30min - 60 puntos" , "Armadura divina - 400 logros" , "Mascota de ataque - 30 puntos" , "Mas" )if p == 1 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Has recibido un caballo armado" )horse . set_level ( "11" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50052" , 1 )returnelseif p == 2 thenif pc . getqf ( "achievement_points" ) <= 29 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 30 )say ( "Has recibido un caballo militar" )horse . set_level ( "21" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50053" , 1 )returnelseif p == 3 thenif pc . getqf ( "achievement_points" ) <= 49 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 50 )say ( "Has recibido 20% fuerza contra mediohumanos por 30min" )affect . add_collect ( apply . ATTBONUS_HUMAN , 20 , 60 * 30 )returnelseif p == 4 thenif pc . getqf ( "achievement_points" ) <= 59 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 60 )say ( "Has recibido 5000hp por 30min" )affect . add_collect ( apply . MAX_HP , 5000 , 60 * 30 )returnelseif p == 5 thenif pc. getqf ( "achievement_points" ) <= 399 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 399 )local armor = select ( "Armd. divina (G)" , "Armd. divina (N)" , "Armd. divina (S)" , "Armd. divina (C)" )if armor == 1 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "42080" , 1 )returnelseif armor == 2 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "44080" , 1 )returnelseif armor == 3 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "46080" , 1 )returnelseif armor == 4 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "48080" , 1 )returnendelseif p == 6 thenif pc . getqf ( "achievement_points" ) <= 29 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 29 )say ( "Has recibido la mascota de ataque" )pc . give_item2 ( "30312" , 1 )returnelseif p == 7 thenlocal p2 = select ( "Leon Blanco - 40 puntos" , "Anillo experiencia - 5 puntos" , "Fuerza monstruo +20% 30min - 15 puntos" , "Velocidad movimiento +25% 30min - 10 puntos" , "Mascota de defensa - 25 puntos" , "Cuantos logros tengo?" , "Cerrar" )if p2 == 1 thenif pc . getqf ( "achievement_points" ) <= 39 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 40 )say ( "Has recibido un leon blanco disfrtualo, no se acaba" )pc . give_item2 ( "50110" , 1 )returnelseif p2 == 2 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Disfruta de un anillo de experiencia" )pc . give_item2 ( "71015" , 1 )returnelseif p2 == 3 thenif pc . getqf ( "achievement_points" ) <= 14 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 15 )say ( "Has recibido 20% fuerza monstruo por 30min" )affect . add_collect ( apply . ATTBONUS_MONSTER , 20 , 60 * 30 )returnelseif p2 == 4 thenif pc . getqf ( "achievement_points" ) <= 9 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 10 )say ( "Has recibido 25% velo.movimiento por 30min" )affect . add_collect ( apply . MOV_SPEED , 25 , 60 * 30 )returnelseif p2 == 5 thenif pc . getqf ( "achievement_points" ) <= 24 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 25 )say ( "Has recibido la mascota de defensa" )pc . give_item2 ( "71124" , 1 )returnelseif p2 == 6 thenlocal Reward = 0local Achievement = "Ver_tus_logros"local killcount = pc.getqf("logros")local actual_achievement_points = pc.getqf("achievement_points")pc.setqf("achievement_points", actual_achievement_points + Reward)cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."")elseif p2 == 7 thenreturnendendend --METINS when 8013.kill begin local Reward = 8 local Achievement = "Metin_muerte" local killcount = pc.getqf("8013") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8013", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8016.kill begin local Reward = 5 local Achievement = "Metin_demonio" local killcount = pc.getqf("8016") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8016", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8012.kill begin local Reward = 6 local Achievement = "Metin_caida" local killcount = pc.getqf("8012") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8012", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8015.kill begin local Reward = 5 local Achievement = "Metin_dureza" local killcount = pc.getqf("8015") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8015", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8026.kill begin local Reward = 2 local Achievement = "Metin_85" local killcount = pc.getqf("8026") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8026", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8027.kill begin local Reward = 3 local Achievement = "Metin_90" local killcount = pc.getqf("8027") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8027", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end --LEVELS when login or levelup with pc.get_level() >= 15 and pc.getqf("Level15") != 1 begin local Reward = 2 local Achievement = "Level_15" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level15", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 30 and pc.getqf("Level30") != 1 begin local Reward = 2 local Achievement = "Level_30" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level30", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 40 and pc.getqf("Level40") != 1 begin local Reward = 3 local Achievement = "Level_40" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level40", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 50 and pc.getqf("Level50") != 1 begin local Reward = 4 local Achievement = "Level_50" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level50", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 75 and pc.getqf("Level75") != 1 begin local Reward = 5 local Achievement = "Level_75" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level75", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 85 and pc.getqf("Level85") != 1 begin local Reward = 10 local Achievement = "Level_85" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level85", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 90 and pc.getqf("Level90") != 1 begin local Reward = 25 local Achievement = "Level_90" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level90", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 95 and pc.getqf("Level95") != 1 begin local Reward = 50 local Achievement = "Level_95" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level95", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 99 and pc.getqf("Level99") != 1 begin local Reward = 100 local Achievement = "Level_99" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level99", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end --CHECK EQUIP when login begin loop_timer("check_eq", 10) end when check_eq.timer begin local russi = pc.get_armor() local waffe = pc.get_weapon() local actual_achievement_points = pc.getqf("achievement_points") local Reward = 5 if russi==11299 and pc.getqf("achievement_ssp") != 1 then pc.setqf("achievement_ssp", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif russi==11499 and pc.getqf("achievement_swa") != 1 then pc.setqf("achievement_swa", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif russi==11699 and pc.getqf("achievement_mpp") != 1 then pc.setqf("achievement_mpp", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif russi==11899 and pc.getqf("achievement_sk") != 1 then pc.setqf("achievement_sk", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif waffe==189 and pc.getqf("achievement_gifti") != 1 then pc.setqf("achievement_gifti", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Giftschwert+9%".. actual_achievement_points + Reward .."") elseif waffe==199 and pc.getqf("achievement_lowenschw.") != 1 then pc.setqf("achievement_lowenschw.", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Löwenschwert+9%".. actual_achievement_points + Reward .."") elseif waffe==5129 and pc.getqf("achievement_orchiglocke") != 1 then pc.setqf("achievement_orchiglocke", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Orchideenglocke+9%".. actual_achievement_points + Reward .."") elseif waffe==2179 and pc.getqf("achievement_krahenstahl") != 1 then pc.setqf("achievement_krahenstahl", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Krähenstahlbogen+9%".. actual_achievement_points + Reward .."") elseif waffe==1139 and pc.getqf("achievement_teufelsflugenchak") != 1 then pc.setqf("achievement_teufelsflugenchak", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Teufelsflügel-Chakram+9%".. actual_achievement_points + Reward .."") elseif waffe==3169 and pc.getqf("achievement_Grolli") != 1 then pc.setqf("achievement_Grolli", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Grollschwert+9%".. actual_achievement_points + Reward .."") end endendendquest logros_keko beginstate start begin --LOGIN when login begin local actual_achievement_points = pc.getqf("achievement_points") if pc.getqf("firstlogin") != 1 then local Reward = 1 pc.setqf("firstlogin", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Primer_login%".. actual_achievement_points + Reward .."") else cmdchat("achievementpoints ".. pc.getqf("achievement_points")) end end --BOSSE when 691.kill begin local Reward = 2 local Achievement = "Jefe_Orco" local killcount = pc.getqf("691") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("691", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 791.kill begin local Reward = 3 local Achievement = "Lider_esoterico" local killcount = pc.getqf("791") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("791", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2493.kill begin local Reward = 100 local Achievement = "Dragon_azul" local killcount = pc.getqf("2493") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2493", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2492.kill begin local Reward = 20 local Achievement = "Comandante_Setaou" local killcount = pc.getqf("2492") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2492", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1091.kill begin local Reward = 5 local Achievement = "Rey_demonio" local killcount = pc.getqf("1091") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1091", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2597.kill begin local Reward = 20 local Achievement = "Muerte" local killcount = pc.getqf("2597") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2597", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1192.kill begin local Reward = 12 local Achievement = "Bruja_de_hielo" local killcount = pc.getqf("1192") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1192", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1304.kill begin local Reward = 5 local Achievement = "Tigre_fantasma" local killcount = pc.getqf("1304") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1304", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 1901.kill begin local Reward = 4 local Achievement = "9_colas" local killcount = pc.getqf("1901") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("1901", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2091.kill begin local Reward = 3 local Achievement = "Reina_araña" local killcount = pc.getqf("2091") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2091", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2206.kill begin local Reward = 4 local Achievement = "Jefe_logros" local killcount = pc.getqf("2206") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2206", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 2191.kill begin local Reward = 5 local Achievement = "Tortuga_del_desierto" local killcount = pc.getqf("2191") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("2191", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 692.kill begin local Reward = 3 local Achievement = "Orco_elite" local killcount = pc.getqf("692") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("692", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 693.kill begin local Reward = 5 local Achievement = "Orco_renacido" local killcount = pc.getqf("693") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("693", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end --Item shop--- when 50129.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 200 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 200 ) say ( "Enorabuena tienes 200 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50129", 1 ) end end when 50130.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 100 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 100 ) say ( "Enorabuena tienes 100 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50130", 1 ) end end when 50131.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 50 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 50 ) say ( "Enorabuena tienes 50 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50131", 1 ) end end when 50132.use begin say_title ( "Obten puntos logro") local actual_achievement_points = pc . getqf ( "achievement_points" ) local p = select ( "Obten 25 puntos logro" ) if p == 1 then local actual_achievement_points = pc . getqf ( "achievement_points" ) pc . setqf ( "achievement_points" , actual_achievement_points + 25 ) say ( "Enorabuena tienes 25 logros mas" ) say ( "Disfrutalos!" ) item.remove ( "50132", 1 ) end end --CANJES-- when 50115.use begin say_title ( "Canjea tus puntos logro" )local actual_achievement_points = pc . getqf ( "achievement_points" )local p = select ( "Caballo armado - 5 puntos" , "Caballo militar - 30 puntos" , "Bonus mediohumanos +20% por 30min - 50 puntos" , "Bonus HP +5000 por 30min - 60 puntos" , "Armadura divina - 400 logros" , "Mascota de ataque - 30 puntos" , "Mas" )if p == 1 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Has recibido un caballo armado" )horse . set_level ( "11" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50052" , 1 )returnelseif p == 2 thenif pc . getqf ( "achievement_points" ) <= 29 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 30 )say ( "Has recibido un caballo militar" )horse . set_level ( "21" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50053" , 1 )returnelseif p == 3 thenif pc . getqf ( "achievement_points" ) <= 49 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 50 )say ( "Has recibido 20% fuerza contra mediohumanos por 30min" )affect . add_collect ( apply . ATTBONUS_HUMAN , 20 , 60 * 30 )returnelseif p == 4 thenif pc . getqf ( "achievement_points" ) <= 59 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 60 )say ( "Has recibido 5000hp por 30min" )affect . add_collect ( apply . MAX_HP , 5000 , 60 * 30 )returnelseif p == 5 thenif pc. getqf ( "achievement_points" ) <= 399 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 399 )local armor = select ( "Armd. divina (G)" , "Armd. divina (N)" , "Armd. divina (S)" , "Armd. divina (C)" )if armor == 1 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "42080" , 1 )returnelseif armor == 2 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "44080" , 1 )returnelseif armor == 3 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "46080" , 1 )returnelseif armor == 4 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "48080" , 1 )returnendelseif p == 6 thenif pc . getqf ( "achievement_points" ) <= 29 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 29 )say ( "Has recibido la mascota de ataque" )pc . give_item2 ( "30312" , 1 )returnelseif p == 7 thenlocal p2 = select ( "Leon Blanco - 40 puntos" , "Anillo experiencia - 5 puntos" , "Fuerza monstruo +20% 30min - 15 puntos" , "Velocidad movimiento +25% 30min - 10 puntos" , "Mascota de defensa - 25 puntos" , "Cuantos logros tengo?" , "Cerrar" )if p2 == 1 thenif pc . getqf ( "achievement_points" ) <= 39 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 40 )say ( "Has recibido un leon blanco disfrtualo, no se acaba" )pc . give_item2 ( "50110" , 1 )returnelseif p2 == 2 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Disfruta de un anillo de experiencia" )pc . give_item2 ( "71015" , 1 )returnelseif p2 == 3 thenif pc . getqf ( "achievement_points" ) <= 14 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 15 )say ( "Has recibido 20% fuerza monstruo por 30min" )affect . add_collect ( apply . ATTBONUS_MONSTER , 20 , 60 * 30 )returnelseif p2 == 4 thenif pc . getqf ( "achievement_points" ) <= 9 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 10 )say ( "Has recibido 25% velo.movimiento por 30min" )affect . add_collect ( apply . MOV_SPEED , 25 , 60 * 30 )returnelseif p2 == 5 thenif pc . getqf ( "achievement_points" ) <= 24 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 25 )say ( "Has recibido la mascota de defensa" )pc . give_item2 ( "71124" , 1 )returnelseif p2 == 6 thenlocal Reward = 0local Achievement = "Ver_tus_logros"local killcount = pc.getqf("logros")local actual_achievement_points = pc.getqf("achievement_points")pc.setqf("achievement_points", actual_achievement_points + Reward)cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."")elseif p2 == 7 thenreturnendendend --METINS when 8013.kill begin local Reward = 8 local Achievement = "Metin_muerte" local killcount = pc.getqf("8013") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8013", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8016.kill begin local Reward = 5 local Achievement = "Metin_demonio" local killcount = pc.getqf("8016") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8016", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8012.kill begin local Reward = 6 local Achievement = "Metin_caida" local killcount = pc.getqf("8012") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8012", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8015.kill begin local Reward = 5 local Achievement = "Metin_dureza" local killcount = pc.getqf("8015") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8015", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8026.kill begin local Reward = 2 local Achievement = "Metin_85" local killcount = pc.getqf("8026") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8026", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end when 8027.kill begin local Reward = 3 local Achievement = "Metin_90" local killcount = pc.getqf("8027") local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("8027", killcount + 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_destruido#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") end --LEVELS when login or levelup with pc.get_level() >= 15 and pc.getqf("Level15") != 1 begin local Reward = 2 local Achievement = "Level_15" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level15", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 30 and pc.getqf("Level30") != 1 begin local Reward = 2 local Achievement = "Level_30" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level30", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 40 and pc.getqf("Level40") != 1 begin local Reward = 3 local Achievement = "Level_40" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level40", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 50 and pc.getqf("Level50") != 1 begin local Reward = 4 local Achievement = "Level_50" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level50", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 75 and pc.getqf("Level75") != 1 begin local Reward = 5 local Achievement = "Level_75" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level75", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 85 and pc.getqf("Level85") != 1 begin local Reward = 10 local Achievement = "Level_85" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level85", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 90 and pc.getqf("Level90") != 1 begin local Reward = 25 local Achievement = "Level_90" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level90", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 95 and pc.getqf("Level95") != 1 begin local Reward = 50 local Achievement = "Level_95" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level95", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end when login or levelup with pc.get_level() >= 99 and pc.getqf("Level99") != 1 begin local Reward = 100 local Achievement = "Level_99" local actual_achievement_points = pc.getqf("achievement_points") pc.setqf("Level99", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement ".. Achievement .."_alcanzado%".. actual_achievement_points + Reward .."") end --CHECK EQUIP when login begin loop_timer("check_eq", 10) end when check_eq.timer begin local russi = pc.get_armor() local waffe = pc.get_weapon() local actual_achievement_points = pc.getqf("achievement_points") local Reward = 5 if russi==11299 and pc.getqf("achievement_ssp") != 1 then pc.setqf("achievement_ssp", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif russi==11499 and pc.getqf("achievement_swa") != 1 then pc.setqf("achievement_swa", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif russi==11699 and pc.getqf("achievement_mpp") != 1 then pc.setqf("achievement_mpp", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif russi==11899 and pc.getqf("achievement_sk") != 1 then pc.setqf("achievement_sk", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Armadura negra+9%".. actual_achievement_points + Reward .."") elseif waffe==189 and pc.getqf("achievement_gifti") != 1 then pc.setqf("achievement_gifti", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Giftschwert+9%".. actual_achievement_points + Reward .."") elseif waffe==199 and pc.getqf("achievement_lowenschw.") != 1 then pc.setqf("achievement_lowenschw.", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Löwenschwert+9%".. actual_achievement_points + Reward .."") elseif waffe==5129 and pc.getqf("achievement_orchiglocke") != 1 then pc.setqf("achievement_orchiglocke", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Orchideenglocke+9%".. actual_achievement_points + Reward .."") elseif waffe==2179 and pc.getqf("achievement_krahenstahl") != 1 then pc.setqf("achievement_krahenstahl", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Krähenstahlbogen+9%".. actual_achievement_points + Reward .."") elseif waffe==1139 and pc.getqf("achievement_teufelsflugenchak") != 1 then pc.setqf("achievement_teufelsflugenchak", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Teufelsflügel-Chakram+9%".. actual_achievement_points + Reward .."") elseif waffe==3169 and pc.getqf("achievement_Grolli") != 1 then pc.setqf("achievement_Grolli", 1) pc.setqf("achievement_points", actual_achievement_points + Reward) cmdchat("achievement Grollschwert+9%".. actual_achievement_points + Reward .."") end endendend
E não é para voçê ficar simplesmente recebendo a quest vo ta a explicar como funciona:
1º- A realização mais importante é que, quando voçê chega a um (por exemplo, matar o chefe orc) voçê ganha pontos por pc.setqf:when 691.kill beginlocal Reward = 2pc.setqf("achievement_points", actual_achievement_points + Reward)
Como você vê o chefe orc aha (mob ID 691) atribuiu o valor de ponto com Recompensa Local = 2 e, em seguida, adicionar 2 pontos para o pc.setqf ("achievement_points" actual_achievement_points + recompensa (a recompensa, neste caso, seria um +2).
Então, se você quiser adicionar outro mobs à lista de realizações só tem que fazer o seguinte:when idmob.kill begin local Reward = puntos -- Poneis cuantos puntos quereis que os de local Achievement = "Nombre del mob que saldra en el cliente" local killcount = pc.getqf("idmob") -- Se usa para que el juego lleve la cuenta de cuantas veces lo mataste local actual_achievement_points = pc.getqf("achievement_points") -- Calcula cuantos puntos tenes pc.setqf("693", killcount + 1) -- Aqui os suma 1 al numero de ese mob que llevais pc.setqf("achievement_points", actual_achievement_points + Reward) -- aqui te suma tus puntos por matarlo cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."") -- Con esto te saldra la ventana en el cliente diciendo que lo mataste y cuantos puntos tenes end
Agora eu ensin como são swaps. No meu caso, as trocas são feitas por um item, mas voçê pode fazer o que quiser iditem.use simplement Ao alterar um npc.chat quando. "Troca de Conquistas" ou como eu gosto.
Eu vejo como eu tenho swaps:
when 50115.use begin say_title ( "Canjea tus puntos logro" )local actual_achievement_points = pc . getqf ( "achievement_points" )local p = select ( "Caballo armado - 5 puntos" , "Caballo militar - 30 puntos" , "Bonus mediohumanos +20% por 30min - 50 puntos" , "Bonus HP +5000 por 30min - 60 puntos" , "Armadura divina - 400 logros" , "Mascota de ataque - 30 puntos" , "Mas" )if p == 1 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Has recibido un caballo armado" )horse . set_level ( "11" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50052" , 1 )returnelseif p == 2 thenif pc . getqf ( "achievement_points" ) <= 29 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 30 )say ( "Has recibido un caballo militar" )horse . set_level ( "21" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50053" , 1 )returnelseif p == 3 thenif pc . getqf ( "achievement_points" ) <= 49 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 50 )say ( "Has recibido 20% fuerza contra mediohumanos por 30min" )affect . add_collect ( apply . ATTBONUS_HUMAN , 20 , 60 * 30 )returnelseif p == 4 thenif pc . getqf ( "achievement_points" ) <= 59 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 60 )say ( "Has recibido 5000hp por 30min" )affect . add_collect ( apply . MAX_HP , 5000 , 60 * 30 )returnelseif p == 5 thenif pc. getqf ( "achievement_points" ) <= 399 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 399 )local armor = select ( "Armd. divina (G)" , "Armd. divina (N)" , "Armd. divina (S)" , "Armd. divina (C)" )if armor == 1 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "42080" , 1 )returnelseif armor == 2 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "44080" , 1 )returnelseif armor == 3 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "46080" , 1 )returnelseif armor == 4 thensay ( "Has recibido la Armadura divina" )pc . give_item2 ( "48080" , 1 )returnendelseif p == 6 thenif pc . getqf ( "achievement_points" ) <= 29 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 29 )say ( "Has recibido la mascota de ataque" )pc . give_item2 ( "30312" , 1 )returnelseif p == 7 thenlocal p2 = select ( "Leon Blanco - 40 puntos" , "Anillo experiencia - 5 puntos" , "Fuerza monstruo +20% 30min - 15 puntos" , "Velocidad movimiento +25% 30min - 10 puntos" , "Mascota de defensa - 25 puntos" , "Cuantos logros tengo?" , "Cerrar" )if p2 == 1 thenif pc . getqf ( "achievement_points" ) <= 39 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 40 )say ( "Has recibido un leon blanco disfrtualo, no se acaba" )pc . give_item2 ( "50110" , 1 )returnelseif p2 == 2 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Disfruta de un anillo de experiencia" )pc . give_item2 ( "71015" , 1 )returnelseif p2 == 3 thenif pc . getqf ( "achievement_points" ) <= 14 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 15 )say ( "Has recibido 20% fuerza monstruo por 30min" )affect . add_collect ( apply . ATTBONUS_MONSTER , 20 , 60 * 30 )returnelseif p2 == 4 thenif pc . getqf ( "achievement_points" ) <= 9 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 10 )say ( "Has recibido 25% velo.movimiento por 30min" )affect . add_collect ( apply . MOV_SPEED , 25 , 60 * 30 )returnelseif p2 == 5 thenif pc . getqf ( "achievement_points" ) <= 24 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 25 )say ( "Has recibido la mascota de defensa" )pc . give_item2 ( "71124" , 1 )returnelseif p2 == 6 thenlocal Reward = 0local Achievement = "Ver_tus_logros"local killcount = pc.getqf("logros")local actual_achievement_points = pc.getqf("achievement_points")pc.setqf("achievement_points", actual_achievement_points + Reward)cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."")elseif p2 == 7 thenreturnendendend
* Se voçê olhar a última opção na loja troca permite que você veja suas realizações, pois fez uma realização que você adicionar 0 pontos, mas ensina-lhe como :
[/center]elseif p2 == 6 thenlocal Reward = 0local Achievement = "Ver_tus_logros"local killcount = pc.getqf("logros")local actual_achievement_points = pc.getqf("achievement_points")pc.setqf("achievement_points", actual_achievement_points + Reward)cmdchat("achievement ".. Achievement .."_derrotado#".. killcount + 1 .."%".. actual_achievement_points + Reward .."")[center]
Então, se voçê precisa fazer a sua escolha para ver realizações Eis ^ ^
Como swaps, que são tudo, se voçê quiser fazer seus próprios negócios Faço aqui um pequeno script ou trocar para explicar como seria:when 20095.chat."Canjear mis logros" beginsay_title("Canjear mis logros")say("")say("Hola jugador, si tienes logros")say("yo te los puedo cambiar por cositas.")say("")say("Si no tienes intenta conseguir alguno")say("porque merece la pena")say("")say_reward("Quieres canjear tus punots?")local canje = select ("Si" , "No")if canje == 1 thensay_title("Canjes de logros")say("")say("Elige lo que quieras")local elegir = select ("Quinto bonus - 3 logros" , "Añadir 6-7 bonus - 4 logros" , "Cambiar 6-7 bonus - 5 logros" , "Caballo armado - 6 logros" , "Caballo militar - 8 logros" , "Cerrar")if elegir == 1 thenif pc . getqf ( "achievement_points" ) <= 2 thenchat( "Lo siento necesitas mas puntos" )returnendpc.give_item2("70024", 1)local actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 3 )returnelseif elegir == 2 thenif pc . getqf ( "achievement_points" ) <= 3 thenchat( "Lo siento necesitas mas puntos" )returnendpc.give_item2("71051", 1)local actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 4 )returnelseif elegir == 3 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendpc.give_item2("71052", 1)local actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )returnelseif elegir == 4 thenif pc . getqf ( "achievement_points" ) <= 5 thenchat( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 6 )chat ( "Has recibido un caballo armado" )horse . set_level ( "11" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50052" , 1 )returnelseif elegir == 5 thenelseif p == 2 thenif pc . getqf ( "achievement_points" ) <= 7 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 8 )chat( "Has recibido un caballo militar" )horse . set_level ( "21" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50053" , 1 )returnelseif elegir == 6 thenreturnendelseif canje == 2 thenreturnendend
Este script é um pequeno presente para voçê , eu fiz por voçê agora pode usar outro se você não quer que ele tinha em êxtase.
* Para colocá-lo em sua busca, voçê pode armazenar os meus swaps e cole este se você quiser, ou fazê-lo como uma busca separada.
Finalmente eu explico como swaps de trabalhar com um exemplo:local p = select ( "Caballo armado - 5 logros")if p == 1 thenif pc . getqf ( "achievement_points" ) <= 4 thensay ( "Lo siento necesitas mas puntos" )returnendlocal actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 )say ( "Has recibido un caballo armado" )horse . set_level ( "11" )horse . unsummon ( )horse . summon ( )pc . give_item2 ( "50052" , 1 )return
Comece com uma = local selecionar para que você escolher a sua recompensa e eu aconselho a colocar muitas realizações, há duro como eu fiz.
Então eu coloquei uma restrição, de modo que se você tem menos pontos do que o item que pediu para não deixar de comprar:if pc . getqf ( "achievement_points" ) <= 2 thenchat( "Lo siento necesitas mas puntos" )returnend
Ele funciona da seguinte forma: onde diz <= 2 você tem que colocar um ponto a menos do que a pedir, porque diz que se você tem esses pontos ou menos não vai deixar de comprar.
Após o final de retorno e você só tem que colocar o comando para remover os pontos que você é esta:local actual_achievement_points = pc . getqf ( "achievement_points" )pc . setqf ( "achievement_points" , actual_achievement_points - 5 ) --Poneis ahi los que quereis que quite
E o que você quer que eu dea logo abaixo estas duas linhas:pc.give_item2("71052", 1) --- Ahi poned lo que quereis que dea
E isso é tudo cyberianos desfruem do sistema de conquista! : D
Créditos: Keko por fazer as quest, eu por traduzir e postar aki, o criador do sistema no tópico ond eu peguei não cita ele.
Não testei ainda, mais todos que testaram deu certo, desculpe si o português ta ruim mais foi o maximo que consegui pois tópico original era espanhol.
C. Se ajudei não seja egoista da http://cyber-gamers.org/public/style_emoticons/default/451960.gif ae. -
Certamente não vai funcionar pois é so a quest, falta o sistema.
http://cyber-gamers.org/public/style_emoticons/default/451960.gif.
-
não esta funfando.
Pq isso é so a quest tem o Sistem, essa quest é do Sistema De Conquista...
http://cyber-gamers.org/public/style_emoticons/default/451960.gif.
-
Bem Vindo a esta Familia ;)
Abraço
-
Essa 1ª mt gata ai eu com uma dessa...
-
e como ele ja disse, tipo na shot_item a vendedora tem o id de 3, ai so ir criar uma linha por o id 3, depois id do item que queres na loja, e por ultimo quantidade simples né...
保羅·蓋伊 reacted to this -
de 100 conseguir achar n.
-
-
-
-
VAI AI QUE TU APRENDE ALGUMAS COISAS SE AJUDEI http://cyber-gamers.org/public/style_emoticons/default/451960.gif.
Cochicho2000 reacted to this -
Obrigado.
-
ue como add mobs? do msm geito
-
As melhores por ai e do rancoroso que tem toda a tradução aki na cyber tb.
[V-Tut]Corrigindo As Barras De Status
in Tutoriais e Dicas
Posted
Não presiso mais quem sabe um dia posso presisar né http://cyber-gamers.org/public/style_emoticons/default/451960.gif por compartilhar.