Jump to content

Hyroshima

Members
  • Posts

    163
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Hyroshima

  1. 26 minutes ago, cadz said:

    hi how to fix this for example my hat added description if you wear +9 weapon aspd +1?

          .@r = getrefine();
          if (.@r>=9) {
             bonus bAspd,1;
            }

     

     

    is it correct but not having an effect? Have you tried to increase the quantity?

  2. Caça Toupeiras / Whack-A-Mole


    [PT-BR]:

    O script funciona como instância, é um jogo onde o player pode iniciar uma partida sempre que quiser, quanto mais toupeiras ele acertar mais pontos ele acumula, a partida termina quando ele somar o máximo de erros que pode cometer (configurável), o player precisa acertar um mínimo de toupeiras por ciclo, conforme os ciclos aumentam os acertos mínimos também (limitando-se ao máximo de 3), acertar o cachorro contará como erro, os pontos não são acumulativos ou seja, o player entrará par ao rank com o primeiro char que ele fez a partida e será contado por conta, quando ele atingir um valor máximo de pontos na partida que supera o do seu rank anterior ele atualiza, o rank reseta todo o domingo as 12h e converte os pontos para usar na loja da toupeira.

    Cred: Tio Akima (criador do mapa) 
    Cred: Frost (guia add custom npc)

     

    [ENG]:

    The script works as an instance, it is a game where the player can start a game whenever he wants, the more moles he hits the more points he accumulates, the game ends when he adds up the maximum mistakes he can make (configurable), the player needs hitting a minimum of moles per cycle, as the cycles increase the minimum hits as well (limited to a maximum of 3), hitting the dog will count as an error, the points are not cumulative ie the player will enter the rank with the first char he made the match and will be counted on account, when he reaches a maximum point value in the match that exceeds that of his previous rank he updates, the rank resets every Sunday at 12pm and converts the points to use in the mole shop .

     

    NOTE:  Perhaps the translation was not the best, so you can send a suggestion that I will be correcting.

    Cred: Tio Akima (map creator)
    Cred: Frost (guide add custom npc)



     

     

     


     

    • Love 5
    • MVP 3
  3. 51 minutes ago, caos51 said:

    Then... try this?

    
    getmapxy(.@mapname$,.@mapx,.@mapy);
    clone .@mapname$,.@mapx,.@mapy,"OnMyCloneDies",getcharid(0),getcharid(0),137,1,0;

    wow, solved my situation, thank you very much, i had trying some combinations but it wasn’t working I found it a bit confusing or there must have been some conflict of combinations in the mode.

    ❤️❤️❤️

  4. hello guys, I was trying to use the clone script command to be similar to the @slaveclone command, however it is very confusing and does not work.

    *clone "<map name>",<x>,<y>,"<event>",<char id>{,<master_id>{,<mode>{,<flag>,<duration>}}}
    @slaveclone <player name/ID>
    
    Spawns a clone of the specified player.
    @slaveclone will spawn a supportive clone that follows the creator around.

    it would be possible?

    the clone follow who summoned it and attack who i attack?

  5. 3 hours ago, Glariston said:

    Boa noite, alguém poderia me ajudar a resolver esse problema, o flux não está lendo o id da conta logada no painel

    Segue em anexo um print do problema.

    Screenshot_11.jpg

    esse campo só não fica disponível para gm/adm ? tente logar uma conta com level 99

  6. would it be this?

          input .@zeny_to_gamble;
    
          if(!.@zeny_to_gamble){ mes "You can only put ^FF00005,000^000000 up to ^FF00005,000,000^000000 Zeny to proceed."; close; }
          if(.@zeny_to_gamble != 5000 && .@zeny_to_gamble != 5000000){ mes "You can only put ^FF00005,000^000000 up to ^FF00005,000,000^000000 Zeny to proceed."; close; }
          if(Zeny < .@zeny_to_gamble){ mes "^FF0000* Insufficient Zeny^000000"; close; }
    	
          Zeny -= .@zeny_to_gamble;
          .@r = rand(1,10000);
          //dispbottom ""+.@r+""; //debug
    	
          if(.@r <= (.@zeny_to_gamble == 5000 ? 500:1000))
          {
    		mes "Won with "+((.@zeny_to_gamble == 5000 ? 5:10))+"%!";
    		getitem 607,1;
          }
          else mes "You were not lucky.";
          close;

     

    • Upvote 1
  7. Try like this:

    35815,Auto_Attack_Floater,Auto Attack Floater,5,20,,150,,6,,1,0xFFFFFFFF,63,2,2048,,1,1,4249,{},{ set @CloseW,0; callfunc "autojump"; },{ set @CloseW,1; }
    function	script	autojump	{
    
    	freeloop(1);
    	while(!@CloseW)
    	{
    		warp strcharinfo(3),0,0;
    		sleep2 10000;
    	}
    	freeloop(0); 
    
    end;
    }

     

  8. Sim existe, o máximo que consigo te passar agora são os arquivos que precisa add as coisas, dai você pesquisa com base nisso, pelo menos já é uma luz pra ti kk
     

    mob_random_db
    item_randomopt_db
    item_randomopt_group

    da uma procurada, não é tão complicado quanto parece

  9. Um adendo amigo, Você deve usar o label OnInit: no final do código ou quando o script fizer o que você quer ali ele finalize com um end; caso contrário o script vai passar para a label OnNPCKillEvent: que no caso só seria ativado quando o player mata mob, então se o script do OnInit não for finalizado ali antes de começar a outra label vai acontecer esse erro justamente por quê não tem um player anexado ou seja não foi ativado por um player simplesmente o script seguiu em frente, só precisa adicionar um end; após definir os ids.

    • Upvote 1
  10. 5 minutos atrás, sacrox disse:
    
    
     

        arquivo de dados de localização? nome sprite Poring Coid id? ? ? ?  

    
    
     


     

    - < TAB > itemshop < TAB > NPC Name < TAB > sprite id , costitemid {: < discount >}, < itemid >: < price > {, < itemid >: < price > ...}
            
    < map name >, < x >, < y >, < cara > < TAB >itemshop <TAB > Nome NPC < TAB > id do sprite , < costitemid > {: < desconto >}, < itemid >: < pre ç o > {, < itemid >: < pre ç o > ...}  

     

×
×
  • Create New...