Jump to content

nelax

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by nelax


  1. Could someone help me with an npc?
    It would work as follows.
    Guild leader 1 talks to the npc.
    the npc checks the guild name and asks if the leader wants to open a guild vault
    The leader confirming that he wants to open it, a table is generated for this guild
    This table would have 3 fields: Zeny, Black Fragment (ID 45000) and Metal Reforged (ID 45001).
    When a member or even the leader of that guild 1 spoke to the npc, it would show 2 options: Donate Material and Total Material donated
    In the option to donate players from this guild, 1 could donate a maximum of a certain amount of each material mentioned above (Zeny, Black Fragment and Reforged Metal)
    In the Total Materials option, the name of the members and the total amount of material donated by each one would appear.

  2. 1 minute ago, AceofSpades said:

    just add your geitemid in your menu script and put the item id number....

    Could you help me? I have this script from an Emistry topic.

     

    .@count = countitem(6150);
    if( .@count ){
    	if( select( getitemname( 6150 )+" X "+.@count,"close" ) == 1 ){
    		mes "Done ??";
    	}
    }else{
    	mes "You dont have any.";
    }
    close;
    }

    Topic Emistry

  3. 3 minutes ago, hendra814 said:

    teleport using item (consume the item to teleport like butterfly wing) or the NPC will teleport the char and delete the items?

    Teleport using item. They are a kind of key that will stay in the etc. When I click on my Tower Portal item, the teleport location will appear according to the keys in the inventory.

     

    something similar to that. However, instead of appearing only one option in the window, the other keys also appeared.

    1231.png

  4. Hey guys! I would like to ask for help from an npc.
    when clicking on the item would call a callfunc which would run the following script.

    would open a window checking if the player has the following items in inventory. 60000, 60001, 60002.
    if it has one of the mentioned ids, the player would click on the item and be teleported to a map.

  5. Good afternoon folks! I'm using a script that creates instances for PT. Would you like to know how to make the npc summon mobs when talking to him?

    prontera,150,150,0	script	Dark Emissary	100,{
    
    . @ mdName $ = "Kingdom of Darkness";
        
    mes "[Emissary of Darkness]";
    mes "The city is completely destroyed!";
    mes "Few people will survive the attack of the dreaded The Dark!";
    next;
    mes "Help me eliminate everyone in the Kingdom of Darkness";
    mes "That I will grant you great rewards!";
    next;
    switch (select ("Open Kingdom: Enter Kingdom: Leave Kingdom")) {
            
    next;
    case 1:
    if (countitem (7227) <1) {
    mes "[Emissary of Darkness]";
    mes "Bring me the Key of Darkness and I will open the gates to the Kingdom of Darkness";
    mes "Requirement:";
    mes "1x" + getitemname (7227);
    close;
    }
                if (instance_create (. @ mdName $) <0) {
                    mes "^ 0000ff" +. @ mdName $ + "^ 000000 cannot be opened now.";
                    close;
                }
                mes "[Emissary of Darkness]";
                mes "The gate for ^ 0000ff" +. @ mdName $ + "^ 000000 has been opened.";
                mes "I wish you luck !.";
                close;
                
            case 2:
                if (instance_enter (. @ mdName $)) {
                    mes "[Emissary of Darkness]";
                    mes "There was a problem entering the instance.";
                    close;
                }
                end;
                
            case 3:
                instance_destroy ();
                mes "[Emissary of Darkness]";
                mes "The instance has been destroyed.";
                close;
        }
    }
    nov_grnds,218,71,1	script	Dark Emissary	100,{
    
    mes "Hello" + StrCharInfo (0) + ", Do you want to start Solo mode?";
    next;
    if (select ("Yes, come on: No, thanks") == 2) {close; }
    mes "Okay, good luck!";
    close;
    }

     

  6. Boa tarde galera! Estou utilizando um script que cria instancias para PT. Gostaria de saber como fazer o npc invocar os mobs ao falar com ele?

    
        prontera,150,150,0	script	Emissário das Trevas	100,{
    
        .@mdName$ = "Reino das Trevas";
        
        mes "[Emissário das Trevas]";
        mes "A cidade esta toda destruída!";
    	mes "Poucas pessoas sobreviverão ao ataque do tão temido The Dark!";
    	next;
    	mes "Me ajude a eliminar todos no Reino das Trevas";
    	mes "Que lhe concederei grandiosas recompensas!";
    	next;
        switch(select("Abrir Reino:Entrar no Reino:Abandonar Reino")) {
            
            next;
            case 1:
    	if(countitem(7227) < 1) {
    	mes "[Emissário das Trevas]";
    	mes "Traga-me a Chave da Escuridão que abrirei os portões para o Reino das Trevas";
    	mes "Requerimento:";
    	mes "1x "+getitemname(7227);
    	close;
    	}
                if (instance_create(.@mdName$) < 0) {
                    mes "^0000ff" + .@mdName$ + "^000000 não pode ser aberto agora.";
                    close;
                }
                mes "[Emissário das Trevas]";
                mes "O portão para o ^0000ff" + .@mdName$ + "^000000 foi aberto.";
                mes "Te desejo boa sorte!.";
                close;
                
            case 2:
                if (instance_enter(.@mdName$)) {
                    mes "[Emissário das Trevas]";
                    mes "Ocorreu um problema ao entrar na instância.";
                    close;
                }
                end;
                
            case 3:
                instance_destroy();
                mes "[Emissário das Trevas]";
                mes "A instância foi destruída.";
                close;
        }
    }
    nov_grnds,218,71,1	script	Emissário das Trevas	100,{
    
    mes "Olá "+StrCharInfo(0)+", Deseja iniciar o modo Solo?";
    next;
    if(select("Sim, vamos lá:Não, obrigado") == 2 ) { close; }
    mes "Ok, boa sorte!";
    close;
    }
            
                
                

     

  7. Galera vi um sistema em alguns servidores de ragnarok que funciona da seguinte forma.

    Vc dropa um equipamento e ele vem com atributos aleatórios. isso funciona no Rathena atual ou outro emulador?

    Se sim, como faço para aplicar em custons ?

     

    Faz tempo que não mexo com emuladores e gostaria de saber sobre isso

  8. I would modify the ability of the Spirit of Soul Linker wizard, priest and teacher.
    What will give with this modification?
    When the Soul Linker link these classes all magic reflected by Maya Card never damages Cost of a certain item.

  9. I need a crazy refine that do the following

     If the player refine the equipment without proper item for refining would be difficult to reach the 10 sample success rate


    +1 = 100%

    +2 = 90%

    +3 = 80%

    +4 = 70%

    +5 = 40%

    +6 = 20%

    +7 = 5%

    +8 = 3%

    +9 = 2%

    1 = +10%

     If you have a special item for refining the chance would be 100% of 1-10 would be necessary to put 10 Refining Stone to achieve +10

     

    @Edit

     

    The idea is that, if I do not have the stone refining the chance to fail there as I mentioned, but if the guy has the stone refining is 100% chance to refine the item and npc honed 1 on 1

  10. prontera,156,184,5	script	Quota	100,{
    	mes "[Quota System]";
    	mes "£ 200.00";
    	close;
    }
    tell us more about this "Quota" system that you are talking about x.x

     

     

     

     

    Have no means of making connection using the database does not? For whenever entering a new value to modify the npc I would have to give reloadscript the database would no longer be necessary to reload this.

    It goes something like WHAT I need.

    Will have an NPC in prontera that you'll be inform how much we have in this month of $ cash and how much we need and will be bound to a table in the DB as well No need to reloadscript whenever I modify this table.

     

    EX:

     

    Hello John Doe! Our goal for this month is $ 150.00 and already have £ 120.00, helps the server!

×
×
  • Create New...