Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/05/18 in Posts

  1. 3 points
    luizragna

    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
  2. 3 points
    AnnieRuru

    Custom Unit HP Bar System

    Move to Script Release nice idea !! if combine this with World Boss system I can see a lot of potential in this
  3. 2 points
    4144

    @partybuff / @spb

    in ACMD(showbuff) in line 275 you show error message and p is NULL, and after call clif->party_info(p), this call your overloaded function clif_party_info_overload, and here it validate parameter for NULL and show error message.
  4. 2 points
    w0wZukuBg

    [w0w] Ein & Lhz Trains

    ein_tra01 & lhz_tra01 .•°'°•. File Name: ein_tra01 & lhz_tra01File Submitter: w0wZukuBgFile Submitted: 04 June 2018File Category: Maps & TexturesDownload Link: Click here to download
  5. 1 point
    AnnieRuru

    @partybuff / @spb

    0.4 http://upaste.me/75d049918e2088402 wow ~ thanks ... having an extra eye is different ... about turning the [BASF+] into player configured buff ... that will be done in another day ...
  6. 1 point
    bWolfie

    Custom Unit HP Bar System

    nice idea good work
  7. 1 point
    Habilis

    Custom Unit HP Bar System

    Combining, Thx for idea!
  8. 1 point
    luizragna

    Ajuda - mcache Files

    @happles abre o cmd e digita: cd C:/caminhoDaSuaPastaDoEmulador exemplo: cd C:\Users\Luiz Victor\Hercules Após isso, aperta enter e digita o comando: map-server --load-plugin mapcache --map NomeDoSeuMapa Aperta enter e aguarda, se mesmo assim você não conseguir, pode me add no discord que eu explico. DzG Nightmare#5780
  9. 1 point
    luizragna

    Ajuda - mcache Files

    Amigo, eu estava com o mesmo problema que você, e fiz o seguinte: Segue este tutorial: http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC Onde ele diz YourPlugin (ou movespeed como mostra nas imagens), você troca por mapcache. Basicamente você só vai trocando os sample por mapcache. Então depois de compilar (como mostra no tutorial), vai funcionar
×
×
  • Create New...

Important Information

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