Jump to content

CDER

Members
  • Content Count

    41
  • Joined

  • Last visited


Reputation Activity

  1. Like
    CDER got a reaction from JoJoSW in Change name class?   
    I would also like to know ...
  2. Like
    CDER reacted to JoJoSW in Change name class?   
    How can I change the name of the classes?
  3. Like
    CDER reacted to luizragna in NPC   
    Search the command *getmapxy in the doc/scripts_commands.txt
  4. Like
    CDER reacted to luizragna in NPC   
    Try add to get the same item when he is used. For example, Fly Wing
    add this line in the fly wing
    getitem Wing_Of_Fly, 1;  
    The full item + script:
     
    { Id: 601 AegisName: "Wing_Of_Fly" Name: "Fly Wing" Type: "IT_DELAYCONSUME" Buy: 60 Weight: 50 BuyingStore: true Script: <"itemskill AL_TELEPORT,1; getitem Wing_Of_Fly, 1; "> },  
  5. Like
    CDER reacted to luizragna in Custom Unit HP Bar System   
    Hello guys, i'm making a custom hp bar system for mob units.
    The command show the HP of the mob for all players in the map.
     
    I am using the cutin command, the problem is that I do not think so many files are necessary. In the case 1 image for each percentage of hp I would like your opnion and help to improve this system and make it lighter.
    Test yourselves :).
     
    HP Bar System:
    payon,147,229,4 script Test#HPbar 1_F_MARIA,{ if (.HP_Bar == 0) { .HP_Bar = 1; .mobGID = monster ("payon",148,226,"[T] HP Test",POPORING,1,strnpcinfo(0)+"::OnDie"); setunitdata .mobGID,UDT_MAXHP,4000; setunitdata .mobGID,UDT_HP,4000; .@count = getunits(BL_PC, .@units, false, "payon"); for (.@i = 0; .@i < .@count; .@i++) addtimer(0,strnpcinfo(0)+"::OnHPBar", .@units[.@i]); } end; OnDie: .HP_Bar = 0; end; OnHPBar: .U_MAXHP = getunitdata (.mobGID,UDT_MAXHP); while (.HP_Bar != 0) { .U_HP = getunitdata (.mobGID,UDT_HP); .P_HP = (.U_HP*100)/.U_MAXHP; cutin(""+.P_HP+"", 1); sleep2 100; } cutin("0", 1); sleep2 5000; //Delay to hide HP Bar cutin("", 255); end; }  







     
    Donwload of the data folder files: HP Bar System (2018-06-26).rar
  6. Upvote
    CDER reacted to thpereira in Monstro custom   
    @CDER da uma olhada nesse artigo da WIKI: https://github.com/HerculesWS/Hercules/wiki/Custom-Mobs 
    Nele explica passo a passo como adicionar um custom mob =)
  7. Upvote
    CDER reacted to thpereira in Check_NameGuild   
    @CDER você conseguiu resolver isso? Estou sem tempo agora, mas hoje a noite consigo fazer esse NPC pra ti, se ainda precisar... só me avisa =)
  8. Upvote
    CDER reacted to fourxhackd in Check_NameGuild   
    I see you want to learn how to script NPCs. On your Hercules server folder, check out the documentaton for scripting. This will start you off so that your "little knowledge in this area" becomes bigger. You'll eventually become a great scripter!
    The documentation for scripting is found in:
    doc/script_commands.txt I want to do X, where do I look for that?
    Specifically for the things you want to learn, look for the following sections in the document:
    Create an npc
    Script loading structure, Script file format
    which requires "xxx" zeny
    Variables, Zeny
    to register a "guild_name"
    Variables
    when the registration ends
    *initnpctimer
    if it was the guild name
    Operators, conditional operators
    teleport
    *warp
    the guild members
    Arrays
    Arrays may be a more difficult topic to learn on your own, but reading other people's scripts will help you understand how it works. You can ask questions.
    If you get started on scripting it, I can give you some feedback on your code when I'm free.
  9. Upvote
    CDER reacted to Zell in Check_NameGuild   
    Tudo que você precisa para fazer isso está no script_commands.txt
  10. Upvote
    CDER reacted to M4karov in Fogueira   
    Seria bom você procurar suporte ao emulador rathena, no próprio fórum deles.
  11. Upvote
    CDER reacted to M4karov in Sistema pk   
    A documentação sobre o comando está no arquivo que citei acima amigo. Tu ta começando agora certo? Então antes de você querer mudar o mundoRO com um enorme projeto, começa criando coisas simples, tira um tempinho e dá um lida no geral nesse arquivo que te falei, logo você vai ver quanta coisa você vai aprender só de ler ele.
    Boa sorte.
  12. Upvote
    CDER reacted to M4karov in Sistema pk   
    Cria as sprites e manipule via script a mudança das sprites no personagem.
    Comandos:
     *setlook(<look type>, <look value>)
    *changelook(<look type>, <look value>)
    saiba mais sobre comandos de script no arquivo 'script_commands.txt' ele fica dentro da pasta doc do emulador.
  13. Upvote
    CDER reacted to Caspian in map_cache   
    Cara, da uma pesquisada antes de fazer vários topicos, tem muita coisa no forum.
    https://github.com/HerculesWS/Hercules/wiki/Mapcache
    Dá uma olhada nisso daqui, vai te ajudar.
    O Herc, tem os mapas semparados na pasta Maps, voce tem que gerar um mapcache agora.
  14. Upvote
    CDER reacted to M4karov in failha ao conecta com game   
    Vai na sua DB, na tabela 'login' vê como está lá a sua senha, se estiver com um monte de número estranho no lugar da senha, deve estar ativado o MD5 no seu emulador.
  15. Upvote
    CDER reacted to Caspian in failha ao conecta com game   
    Apaga a database que voce criou, crie denovo a aba ragnarok e importe novamente main.sql e logs.sql dentro dela
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.