Jump to content

Haziel

Content Moderator
  • Posts

    639
  • Joined

  • Last visited

  • Days Won

    88

Posts posted by Haziel

  1. Just now, Azura Skyy said:

    I believe its an @command though. Unless for some reason OP needs it to be / and not @ ?

    
    @str <+/- amount>
    @agi <+/- amount>
    @vit <+/- amount>
    @int <+/- amount>
    @dex <+/- amount>
    @luk <+/- amount>


    Regards,
    ~Azura Skyy

    You're talking about server-side commands, the ones I've mentioned are official ones to distribute the points quickly using available Stat Points. :)

  2. That highly depends on the amount of maps you want to restrict and what they have in common.

    If it's just a few of them, you can do it like this:

    if (@m$ == "prontera" || @m$ == "morocc" || @m$ == "izlude"){

    If there's a huge list you better look into for and arrays.

  3. The simplest, to restrict for only one map, is this one:

    		getmapxy(@m$,@x,@y,0,rid2name(@aid[@menu]));
    		if (@m$ == "prontera"){
    			mes "I can't be teleport you to your friend's location!";
              		close;
           		}
    		warp @m$,@x,@y;

    Changing Prontera to whichever map you want to avoid teleporting the person to.

  4. To use that kind of command, you must understand that, countitem is a function, it means it gets a value and converts it based on it's parameters.

    The player who interacts with the NPC is the one countitem will count items from, so, if you want your npc to display how many red potions he has:

    mes "You have: " + countitem(501) + " Red Potions!";

    Where 501 is the Red Potion ID.

     

    • Upvote 1
  5. I don't know if you didn't follow your previous (duplicated) thread, but people have already linked you to a very complete guide that should introduce you properly into converting frames into working game files.

    Apart of that guide, you can also Google for DevilEvil's Spriting Academy for further instructions.

    Portuguese:

    Spoiler

    Não sei se seguira o teu tópico prévio (duplicado), porém, outras pessoas já repassaram a ti uma Thread bastante completa acerca do assunto.
    O guia acima deve ser suficiente para introduzí-lo ao método correto à converter frames em arquivos de jogo funcionais.

    Em complemento, Google por DevilEvil's Spriting Academy para mais detalhadas instruções.

     

    • MVP 1
  6. 12 minutes ago, iAmGnome said:

    Hi, anyone have a copy of old RK sprite with Halter Lead? Can someone share it? Thanks!

    The Lion mount was implemented way after the changing of sprites.
    Officially, that old sprite never got a Cash Mount, it doesn't exist unless someone made a custom of it.

×
×
  • Create New...