Jump to content

JulioCF

Int'l Portuguese Moderators
  • Content Count

    791
  • Joined

  • Days Won

    10

Reputation Activity

  1. Upvote
    JulioCF reacted to meko in Hacktoberfest 2018   
    Contribute to open source and get a free limited-edition T-shirt
     
    What's Hacktoberfest?
    Hacktoberfest — brought to you by DigitalOcean in partnership with GitHub and Twilio — is a month-long celebration of open source software. Maintainers are invited to guide would-be contributors towards issues that will help move the project forward, and contributors get the opportunity to give back to both projects they like, and ones they've just discovered. No contribution is too small—bug fixes and documentation updates are valid ways of participating.
     
    From October 1 to October 31, contribute to any open source project (Hercules included) on GitHub to get a free T-shirt!
    5 pull requests are required. (Pull requests do not have to be merged and accepted; as long as they've been opened between the very start of October 1 and the very end of October 31, they count towards a free T-shirt.)
    We will be marking easy-to-tackle issues with the Hacktoberfest tag so that first time contributors can more easily find them.
     
    >> Register on hacktoberfest.digitalocean.com

    Resources
    GitHub Learning Lab How to create a Pull Request on GitHub Understanding the GitHub Flow Open source 101 Hercules documentation Hercules wiki  
     
    FAQ
    It is free to participate? Yes!  
    Is shipping included? Yes. DigitalOcean offers free worldwide shipping.  
    What shirt sizes are available for Hacktoberfest 2018? DigitalOcean have not yet made public the size chart for 2018, but we know they at least offer S to 4XL sizes, for both male and female.  
    What's included in the package? A thank you letter. A T-Shirt. A bunch of cool stickers.  
    Do I need to register for Hacktoberfest before starting to open Pull Requests? No. You may register at any time during the month of October and DigitalOcean will count your pull requests retroactively from October 1 onwards.  
    Do all of my Pull Requests have to be sent to the same repository? No. You may send PRs to any number of repositories you like, and as long as they are public and have an OSI-approved license they will count towards the 5+ PRs objective.  
    Do I have to wait for the start of October to open Pull Requests? You may contribute all year long, but only PRs that are opened during the month of October will be counted.
  2. Upvote
    JulioCF reacted to Slicer in VOTOS POR PONTOS CERES   
    Não use caps se você é, não quer dizer que os demais usuários sejam cegos.
  3. Upvote
    JulioCF reacted to Kian in [RESOLVIDO]Arealoot   
    Como eu coloco por exemplo uma equipamento que ao ser usado habilite o arealoot?
  4. Upvote
    JulioCF 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
  5. Upvote
    JulioCF reacted to luizragna in item que toque um som quando atacar   
    Você também pode usar a label custom OnAttackMob:
    https://forum.cronus-emulator.com/files/file/1355-custom-label-onattackmob-3-variáveis-especiais/
    Ai usa os comandos playsound e o rand()
  6. Upvote
    JulioCF reacted to LordJasz in item que toque um som quando atacar   
    Você consegue editar no Act Editor.
    Primeiro você abre o Act Editor, joga o Act do item no programa (COM O ARQUIVO SPR NO MESMO LOCAL DO .ACT)
    Local Onde você seleciona a ação do personagem:

    Local onde seleciona em qual frame sairá o som.

    Local onde você seleciona qual som vai sair durante o frame.

    No caso de "Add New..." vai aparecer uma caixa de mensagem requisitando qual é o nome do arquivo.
    Ex.: bansheeATK.wav

  7. Upvote
    JulioCF got a reaction from Merekin in #5 - [Vídeo Aula] Seu servidor Offline/localhost   
  8. Upvote
    JulioCF got a reaction from Merekin in #1 - [Vídeo Aula] Baixando e Compilando   
  9. Upvote
    JulioCF reacted to Emistry in Campfire to regenerate HP/SP   
    Hi Habilis, this is my attempts..
    https://pastebin.com/fksPdpFQ

    Feel free to comment
    -- EDIT
    Updated the campfire:
    - slowly decrease the effectiveness of healing rate and area range every 10 seconds.
    - may use item like wooden block, tree root, to prolong the campfire duration, or increase healing rate and area range too.
    v1.1

     
     
  10. Upvote
    JulioCF reacted to Yazoo in Jogo desfigurado.   
    então isso acontece em algumas placas da nvidea em alguns modelos de hexed.
    existe essas formas de concertar
     
    Aparentemente é um problema comum em Nvidia 750. 
    Supondo que esse seja o seu caso também, parece que até o momento as melhores opções, segundo usuários do fórum da Nvidia, são:

    Abra o jogo;
    Force o CCU aparecer;
    Verifique se normalizou.

    Abra o jogo;
    Faça logoff no computador;
    Faça logon outra vez;
    Verifique se normalizou.

    Abra o jogo;
    Faça um CTRL+ALT+DEL e cancele;
    Verifique se normalizou.
    Tudo solução temporária, vai ter que fazer toda vez até a Nvidia se pronunciar sobre o caso.
    Mais facil
    Isso é por causa da placa de vídeo "moderna demais" pro ragnarok.
    Você usa uma gtx 960/970/980/980ti né?
    pra resovler é simples, na tela de seleção de char aperta Ctrl+Alt+Del e depois Esc.      <<<<<    o melhor jeito é esse 
  11. Upvote
    JulioCF reacted to meko in Deprecated Features   
    As of June 3rd, the specialeffect() command has been upgraded and it now allows to use effects on any kind of unit (player, npc, mob, homunculus, ...) and to show it to any player. This allowed us to deprecate specialeffect2() and misceffect() so now there is a single command for effects instead of 3 different ones, making things simpler for everyone. You can still use specialeffect2() and misceffect() but they will trigger a warning every time, since they will be removed in the future.
     
    Here's how the updated specialeffect() command works:
     
    specialeffect(effect number{, send target{, unit id{, account id ]}})
     
    effect number is the effect to use.
    see effect_list.txt for a list of all effects
     
    send target is to whom the effect should be sent. The most common values are:
    AREA will show the effect to every player in the area
    SELF will show the effect to one player only
    see constants.md for a list of possible send targets
     
    unit id is the unit on which the effect should be centered
    it can be a mob id, an account id, a npc id or the id of any other kind of unit
     
    account id is the player to which the effect should be sent if SELF was specified as send target
     
    To migrate from specialeffect2 to specialeffect:
     
    specialeffect2(effect) ➜ specialeffect(effect, AREA, playerattached())

    specialeffect2(effect, target, "player name") ➜ specialeffect(effect, target, getcharid(CHAR_ID_ACCOUNT, "player name"))
     
    To migrate from misceffect to specialeffect:
    Because the behaviour of this command varies depending on if the npc has a sprite or not, what you want is either one of the two:

    misceffect(effect) ➜ specialeffect(effect)

    misceffect(effect) ➜ specialeffect(effect, AREA, playerattached())
  12. Upvote
    JulioCF reacted to happles in Ajuda - mcache Files   
    Resolvido pessoal, podem fechar!
    Solução:
    Fora a falta do final do tutorial bem explicado que o @luizragna deu, o prompt não aceita o comando sendo feito se a pasta estiver em outro HD.
    É necessário utilizar primeiro o comando D: (ou qualquer letra da unidade que estiver o servidor) para que ele mude de diretório. As vezes depois eu faço um Guia em pt explicando melhor caso o povo tenha dificuldade Obrigado Luiz!
  13. Upvote
    JulioCF got a reaction from LipESprY in Decompilando .Lub para .Lua   
    Tutorial Decompilando .Lub para .Lua   Recentemente comecei a mexer com a janela de infinitas possibilidades que é a adição de custom itens e custom mobs e me deparei com a necessidade de realizar decompilação de arquivos .lub para .lua na atual pasta em uso para hexeds 2012+ que é a luafiles514. Este é um tutorial que ira de uma forma simples explicar como fazer este procedimento.   - Índice Programas Utilizados. Procedimentos. Agradecimentos. Requerimentos   - Luadec 0.6: http://files.luaforge.net/releases/luadec/luadec/0.6 - Wordpad ou qualquer editor de texto (recomendado Wordpad ^^)     Procedimentos   - Crie uma Nova Pasta (Onde quiser) - Baixe o Luadec 0.6 e extraia o Luadec.exe para a pasta criada. - Crie um arquivo de texto com o nome: batch.txt - Edite o batch.txt, selecione a opcao "Salvar como..", selecione "Todos os arquivos" e salve com o nome de batch.bat   Seu ambiente para decompilação dos .lub está agora pronto. Para decompilar um .lub (utilizaremos como exemplo o accessoryid.lub):   - Copie e cole o arquivo accessoryid.lub na pasta onde estao o luadec.exe e o batch.bat - Edite o arquivo batch.bat e escreva:     
    luadec accessoryid.lub > accessoryid.lua   
      - Salve e feche o editor de texto. - Em seguida execute o batch.bat e sera gerado o arquivo accessoryid.lua.    Para decompilar qualquer outro .lub siga os mesmos procedimentos seguidos no exemplo: - Copie o arquivo.lub para o ambiente de decompilação.   - Edite o batch.bat para o nome do arquivo de entrada e saída.    
    luadec entrada.lub > saida.lua   
      - Execute o batch.bat.     Agradecimentos   Ao usuário ivanyan do rathena que foi autor de um post onde eu conheci o luadec para decompilar o que eu precisava. Espero que seja útil. Abraços, Neko.   Dica retirada do brAthena neste post.
  14. Upvote
    JulioCF got a reaction from NiklPar in IPB Forum registration to Ragnarok   
    Thanks
     
    IPB 3.4.6 ?
  15. Upvote
    JulioCF reacted to OmarAcero in Como traudizir as habilidades?   
    You can try editing this file:  skillinfolist.lub  ( SkillName: " Name skill " )
     
  16. Upvote
    JulioCF reacted to OmarAcero in Como traudizir as habilidades?   
    to edit the skill description you have to open this folder:
    data\luafiles514\lua files\skillinfoz\
    and look for the file skilldescript.lub
  17. Upvote
    JulioCF got a reaction from luizragna in Jogo desfigurado.   
    A, isso acontece comigo também. É o jogo muito antigo com pc muito novo. Se não me engano usando /lightmap resolve isso, ou isso é no setup
    Inclusive acontece comigo nos oficiais.. pessoalmente nem ligo kk
  18. Upvote
    JulioCF reacted to luizragna in Jogo desfigurado.   
    Acredito que se o problema fosse dll, ele nem abriria.
  19. Upvote
    JulioCF reacted to BrOgBr in Área Desconhecida   
    É um bug do client jovem, clients mais novos estão assim, tente criar 4 chars ou mais, feche-o e abra novamente...
  20. Upvote
    JulioCF reacted to KirieZ in Hexeds Atualizados para Renewal   
    use o NEMO para modificá-los
  21. Upvote
    JulioCF reacted to 4144 in How create new maps and filds (Files.mcache)   
    build server
    build mapcache plugin
    make plugin.mapcache run command for help about command line parameters
    ./map-server --load-plugin mapcache --help See all commands about map cache and select what you want.
    For add map probably you want
    ./map-server --load-plugin mapcache --map youmapname  
  22. Upvote
    JulioCF reacted to KirieZ in getcharid ???   
    Acredito que não tenha um comando para o nome de usuário da conta, mas você pode fazer com uma query sql a partir do ID da conta.
    Algo como (não testei):
    query_sql("SELECT userid FROM login WHERE account_id = " + getcharid(CHAR_ID_ACCOUNT) + " LIMIT 0,1", .@logins$); .@login$ = .@logins$[0]; mes "Seu usuário é: " + .@login$;  
  23. Upvote
    JulioCF reacted to Rytech in r843 - Shield Sphere System / Shieldball Command / Millennium Shield And Gloomy Day Recode   
    =General
    *Added the "shieldball"command.
    +It allows you to summon Rune Knight's millennium shield's shield spheres and
    -set the amount of HP for them.
    *Millennium shield now manages its shields in its own unqie sphere system.
    +They are refered to as shieldball and are handled this way since this is how its
    -officially handled and allows better handling of its animation packets. Tho it
    -still needs a server side status ID to signal when its active.
    *Added the "millennium_shield_health" config to the skill config file.
     
    =Skills
    *RK_MILLENNIUMSHIELD
    +Recoded the skill.
    +Kyrie, Parry, and Auto Guard now take higher priority over the shields.
    *WM_GLOOMYDAY
    +Recoded the skill.
    +The FLEE/ASPD reductions now apply to all targets no matter what skills are learned.
    +Now has a small chance of giving the super gloomy status.
    -The super gloomy status reduces movement speed by 50% and dismounts the player
    -from its peco/gryphin/dragon. Does not dismount player's from warg or mado.
    +Now increase the damage of certain skills properly.
    -The formula for how much the damage is increased and how its applied is now official.
  24. Upvote
    JulioCF reacted to Beret in New fields in skill db   
    I was looking at Aegis and decided to create this suggestion to add more fields to the skill database. 
    The intent of this posting is to facilitate the use of modifications of the skills.
    That way we can only use one @reloadskilldb and all modifications come into operation.
     
    SkillHitPer is the accuracy by level
    SkillHitPer = [200,200,200,200,200,200,200,200,200,200]  
    SkillAtkPer is the attack value by level
    SkillAtkPer = [300,500,600,800,1000,1200,1300,1500,1600,1800]  
    SkillHandicap applies a chance for the player to receive the effect. The level of the status is according to the skill level
    OnSuccess: SkillHandicap = [SC_BLIND,50,100,150,200,250,300,350,400,450,500]  
    SkillResetHandicap allows you to remove an effect when you use the skill
    OnUse: SkillResetHandicap = [SC_SLEEP,SC_STUN]  
    SkillDrainHP allows absorbing the resulting damage dealt as HP.
    SkillDrainHP = [100,100,100,100,100,100,100,100,100,100]  
    SkillDrainSP Drains SP from all players around the user based on the amount of damage they would take from a normal attack.
    SkillDrainSP = [20,40,60,80,100,20,40,60,80,100]  
    SkillDataString allows input of a string used by teleport skills, or message when using some skill
    SkillDataString = ["dicastes01.gat"]  
    I think these implementations would help a lot to make modifications to the abilities without shutting down the server for the modifications to come into operation
  25. Upvote
    JulioCF reacted to Sephus in Hercules Battlegrounds   
    Hercules Battlegrounds
    A full conversion and enhancement of eAmod's Battlegrounds system into a easy-to-install Hercules plugin library.
    Version: 1.0a (alpha)
     

     
    Repository @ https://github.com/Smokexyz/HerculesBG

    Installation
    1) Place plugin files in plugin directory. (If you wish to re-compile the code, please do so the standard way.)
    2) Place all script files in the default directory provided in the repository (or your own).
    3) Place all database and config parts in their respective files.
    4) in conf/plugins.conf add "hBG".
     
    Instructions on installing Plugins - http://herc.ws/wiki/HPM#Building_a_plugin
     
    Battleground Modes
    Capture the Flag Eye of Storm Triple Inferno Team DeathMatch Bossnia Conquest Stone Control Domination Rush Free For All Why use it?
    1) Prevents conflicts when updating Hercules.
    2) Easy to install.
    3) Can be easily modified for more functions/features in the future.

    For contributors
    If you wish to add a free BG script to the list of available battleground modes, please contact me.
     
    Bug Reporting
    Please feel free to open an issue on the repository and I'll get to it as soon as I can.

    Donate to support the project and motivate updates.


×
×
  • Create New...

Important Information

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