Jump to content

Fou-lu

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by Fou-lu

  1. In this example the red potion will only take effect within the prontera map.

    - Id: 501
      AegisName: Red_Potion
      Name: Red Potion
      Type: Healing
      Buy: 50
      Weight: 70
      Script: |
      if( strcharinfo(3) == "prontera" ){ itemheal rand(45,65),0; }

     

    Please, as soon as you can, try to answer my question that I posted in your other topic. Thanks.

     

  2.  

    Did not work. =/

     

    I'm using hercules emulator...

     

    What amazes me is that I have an old emulator that works, just put the value "1000" in the monster's ChaseRange.

  3. Please someone could point me to what part of the source can I modify it so that the monster can chase a player all over the map and not only when it is on the screen?

     

     

    Even though putting the value "1000" on the monster's ChaseRange on mob_db.conf it still does not chase the player away.

  4.  

    I'm creating a system that involves creating NPC and modifying the source. I intend to market the system, but my question is about how it is possible to avoid re-marketing my system by third parties or even that it is passed freely to other users. Is there any method to avoid this, it is only necessary to count on the good character of the first clients?

    • Upvote 1
  5. 5 minutes ago, Tokei said:

    As it says in the instructions, you cannot rename the executable file name once you encrypt it.

     

    The player said he never renamed the executable. It runs the game directly from the executable.

  6. Caso a solução que te dei acima não funcione para você eu posso criar um comando na source que conseguirá pegar a quantidade de tal monstro no tal mapa. Este comando de script não existe e terei eu que cria-lo e implementa-lo para você.

    Faço trabalhos pagos de desenvolvimento para emuladores, então se te interessar me envie uma PM para mais informações.

  7. Você está usando o mobcount errado.

    No segundo parâmetro é para você colocar o label do monstro e não ID dele. Monstros criados por respanw não possuem Label, apenas os criados por script através do comando "monster" que possuem.

    - script Invocador_MVP -1,{
    
    OnInit:
    	monster "prontera",0,0,"Bafomé",1039,1,"Invocador_MVP::OnBafomeDead";
    	end;
    
    OnBafomeDead:
    	sleep 3600000; //Tempo em milisegundos para reviver
    	monster "prontera",0,0,"Bafomé",1039,1,"Invocador_MVP::OnBafomeDead";
    	end;
    
    }

    Após ter este npc em teu servidor ele vai criar um Bafomé em Prontera e toda vez que ele morrer será revivido em 1 hora.

    Para usar o mobcount e saber quantos bafomé tem vivo em Prontera você usará desta forma:

    mobcount("prontera","Invocador_MVP::OnBafomeDead")
    

    Entendeu agora como que funciona o mobcount? Não tem como vc contar os monstros que não possuem rótulos que no caso é o Event Label. E monstros que possuem isto só podem ser criados por script.

  8. My player is having this error while playing the game and when he visits some map that is encrypted the game closes.

    Quote

    GRF Encryption - File not found: The client executable is invalid. Encryption feature will be disabled. Error code: 0x02.

    I use GRF encrypted by GRF Editor, with me and with most of my players it works normally, but with this particular player this error occurs.

    Information I got about the player

    1- Uses Windows XP
    2- Does not use Anti-Virus
    3- You have already reinstalled the Patch
    4- All files are correct in Patch
    5- Have already run as administrator
    6- Have already used the compatibility mode

    Nothing solved his problem yet.

  9.  

    The problem is that the effect of Hallucination is leaving the wavy screen and what I really want is to change this wavy effect the effect of leaving the screen upside down , something I've seen on some servers , but do not know how to apply .

     

    The goal is to continue to have an effect, but without that swell causing lag in some players.

×
×
  • Create New...