Jump to content

  •  

Hit`

Member Since 21 Apr 2016
Offline Last Active May 28 2017 08:54 AM
-----

Posts I've Made

In Topic: R> Healer with Heal/Buff/Identify/Repair/Removes Status Ailments

16 May 2017 - 12:12 PM

Here is a script I am currently using that might help you.

 

// Healer
// Author: Lulupard
// Version: 1.0
// Compatible With: Hercules

-   script  Healer  FAKE_NPC,{

    // Check if heal delay has expired
    if ( healdelay <= gettimetick(2) ) {

        // Set heal delay, in seconds
        healdelay = gettimetick(2) + 30;

        // Remove negative status effects
        for ( .@i = 0; .@i < getarraysize( .debuffs ); ++.@i ) {
            sc_end .debuffs[ .@i ];
        }

        // Repair equipment
        while( getbrokenid(1) ) {
            repairall;
        }

        // Blessing
        specialeffect2 EF_BLESSING;
        sc_start SC_BLESSING, 240000, 10;

        // Increase agility
        specialeffect2 EF_INC_AGI;
        sc_start SC_INC_AGI, 240000, 10;

        // Kyrie Eleison
        specialeffect2 EF_KYRIE;
        sc_start SC_KYRIE, 120000, 0;

        // Impositio Manus
        specialeffect2 EF_IMPOSITIO;
        sc_start SC_IMPOSITIO, 60000, 0;

        // Gloria
        specialeffect2 EF_GLORIA;
        sc_start SC_GLORIA, 30000, 0;

        // Heal
        // Accounts for mana increase from Blessing
        specialeffect2 EF_HEAL2;
        percentheal 100, 100;
    }
    else {
        // Add cutin
        cutin "ra_gwoman", 2;

        mes "[Priestess of Freya]";
        mes "Patience, child.";
        mes "Visit me again in " + ( healdelay - gettimetick(2) ) + " seconds.";
              
        close2;
        cutin "", 255;
        end;
    }

    end;

    OnInit:
        // List of negative debuffs to be removed
        setarray .debuffs[0], SC_LEXAETERNA, SC_DEC_AGI, SC_POISON, SC_CURSE, SC_SILENCE, SC_BLIND, SC_VENOMBLEED, SC_DPOISON, SC_BURNING;

        end;
}


// Duplicates
//============================================================
alberta,25,240,6    duplicate(Healer)   Priestess of Freya#alb  4_F_MADAME
aldebaran,135,118,6 duplicate(Healer)   Priestess of Freya#alde 4_F_MADAME
amatsu,200,79,4 duplicate(Healer)   Priestess of Freya#ama  4_F_MADAME
ayothaya,207,169,6  duplicate(Healer)   Priestess of Freya#ayo  4_F_MADAME
brasilis,194,221,6  duplicate(Healer)   Priestess of Freya#bra  4_F_MADAME
comodo,184,158,6    duplicate(Healer)   Priestess of Freya#com  4_F_MADAME
dicastes01,201,194,4    duplicate(Healer)   Priestess of Freya#dic  4_F_MADAME
einbech,57,36,6 duplicate(Healer)   Priestess of Freya#einbe    4_F_MADAME
einbroch,57,202,6   duplicate(Healer)   Priestess of Freya#einbr    4_F_MADAME
geffen,115,72,6 duplicate(Healer)   Priestess of Freya#gef  4_F_MADAME
gonryun,156,122,6   duplicate(Healer)   Priestess of Freya#gon  4_F_MADAME
hugel,89,150,6  duplicate(Healer)   Priestess of Freya#hug  4_F_MADAME
izlude,125,118,6    duplicate(Healer)   Priestess of Freya#izl  4_F_MADAME
jawaii,250,139,4    duplicate(Healer)   Priestess of Freya#jaw  4_F_MADAME
lighthalzen,151,100,6   duplicate(Healer)   Priestess of Freya#lhz  4_F_MADAME
louyang,226,103,4   duplicate(Healer)   Priestess of Freya#lou  4_F_MADAME
manuk,272,144,6 duplicate(Healer)   Priestess of Freya#man  4_F_MADAME
mid_camp,203,288,6  duplicate(Healer)   Priestess of Freya#mid  4_F_MADAME
moc_ruins,72,164,4  duplicate(Healer)   Priestess of Freya#moc  4_F_MADAME
morocc,153,97,6 duplicate(Healer)   Priestess of Freya#mor  4_F_MADAME
moscovia,220,191,4  duplicate(Healer)   Priestess of Freya#mos  4_F_MADAME
niflheim,212,182,5  duplicate(Healer)   Priestess of Freya#nif  4_F_MADAME
payon,179,106,4 duplicate(Healer)   Priestess of Freya#pay  4_F_MADAME

prontera,152,191,6  duplicate(Healer)   Priestess of Freya#prtc 4_F_MADAME // Center
prontera,159,326,4  duplicate(Healer)   Priestess of Freya#prtn 4_F_MADAME // North
prontera,278,208,4  duplicate(Healer)   Priestess of Freya#prte 4_F_MADAME // East
prontera,146,93,6   duplicate(Healer)   Priestess of Freya#prts 4_F_MADAME // South
prontera,33,208,6   duplicate(Healer)   Priestess of Freya#prtw 4_F_MADAME // West

rachel,123,117,6    duplicate(Healer)   Priestess of Freya#rac  4_F_MADAME
splendide,201,153,4 duplicate(Healer)   Priestess of Freya#spl  4_F_MADAME
thor_camp,249,74,4  duplicate(Healer)   Priestess of Freya#thor 4_F_MADAME
umbala,105,148,3    duplicate(Healer)   Priestess of Freya#umb  4_F_MADAME
veins,217,121,4 duplicate(Healer)   Priestess of Freya#ve   4_F_MADAME
xmas,143,136,4  duplicate(Healer)   Priestess of Freya#xmas 4_F_MADAME
yuno,164,45,4   duplicate(Healer)   Priestess of Freya#yuno 4_F_MADAME

Sweet! But how do I remove ailments such as Stunned, Frozen, Stone Cursed? I've tried adding SC_STUN, SC_FREEZE and SC_STONE in the list but the NPC won't talk to me.


In Topic: Hercules Battlegrounds

14 May 2017 - 07:21 AM

Hello everyone. Can someone please take a look at these http://imgur.com/a/6s8Rz

 

Screenshot 1 and 2 is from 1st client opened ( SinX ) where I can both team's emblems and guild names.

 

Screenshot 3 and 4 is from 2nd client opened ( WS ) where I can only see Red team's emblem and guild name.

 

Screenshot 5, I made a change in bg_rush.txt to change ID 2107 which is E_FALLENBISHOP to the normal Emperium which is 1288. As seen where I can use skill to kill it. My question is, how do I make it behave like in WoE?

 

 

EDIT: I am using 2014-10-22b as my client.


In Topic: Hercules Battlegrounds

13 May 2017 - 03:32 PM

 

 
Thanks! Flavius TD and official BG is now fixed. What's causing this one here http://imgur.com/a/jqftO

 

hBGg_warp must be hBG_warp ^^

It's finally working, yay! Also thanks to everyone who helped! :D I'll post bugs if ever I encountered some. 


In Topic: Hercules Battlegrounds

13 May 2017 - 02:11 PM

Hit', about the bg_flavius_td.txt error :

 

 

For deathmatch it's about this :

set .@guillaume, hBG_get_data($@BG_Team1, 0);
set .@croix, hBG_get_data($@BG_Team2, 0);

i change to :

    
.@guillaume = hBG_get_data($@BG_Team1, 0);
.@croix = hBG_get_data($@BG_Team2, 0);

and no more spam in console ^^
 

i think there is an error in the pull request :

 

change this :

.@guillaume, hBG_get_data($@BG_Team1, 0);

.@croix, hBG_get_data($@BG_Team2, 0);
to:

.@guillaume = hBG_get_data($@BG_Team1, 0);

.@croix = hBG_get_data($@BG_Team2, 0);
 
For the first error, you have to disable official BG npc ^^

Thanks! Flavius TD and official BG is now fixed. What's causing this one here http://imgur.com/a/jqftO


In Topic: Hercules Battlegrounds

13 May 2017 - 01:32 PM

@hit, about this error :

[Warning]: mob_readdb_mobavail: Unknown mob id 2100.
[Error]: sv_readdb: Could not process contents of line 45 of "db/mob_avail.txt".

have you add this in your mob_db.conf ?


https://github.com/S...-re/mob_db.conf

Yes, I was able to finally got rid of that. Also thanks to Sir caspe for providing the fix I finally got to log back again on my server. Although there are still errors, here http://imgur.com/a/Lbp7k.