Jump to content

GMH

Members
  • Posts

    17
  • Joined

  • Last visited

Posts posted by GMH

  1. 20 hours ago, behemothcze said:

    Change atcommand , dont use @reloadmobdb.

     

    Or You can check here https://rathena.org/board/topic/125470-automatic-happy-hour/

     

    Thanks for the reply. But the mob drop rates percentage doesn't change when I don't use @reloadmobdb on the script. I always checking the mobs drop item percentage using @mi command, e.g @mi <poporing>.

    Another option is to remove the drop rates  and @reloadmobdb and on happy hour script.

  2. Forgot to provide the bt full log.

    Spoiler
    
    #0  status_calc_bl_main (bl=bl@entry=0x7fffeb6eaccc,
        flag=flag@entry=1073741823) at status.cpp:5276
            b_status = 0x14c
            status = 0x7fffeb6eb668
            sd = 0x0
            temp = <optimized out>
    #1  0x000000000062a85b in status_calc_bl_ (bl=0x7fffeb6eaccc, flag=SCB_ALL,
        opt=<optimized out>) at status.cpp:5776
            b_status = {hp = 17442, sp = 1181, max_hp = 17442, max_sp = 1181,
              str = 101, agi = 100, vit = 100, int_ = 99, dex = 99, luk = 99,
              eatk = 0, batk = 239, matk_min = 295, matk_max = 460, speed = 20,
              amotion = 301, adelay = 602, dmotion = 400,
              mode = (MD_CANMOVE | MD_AGGRESSIVE | MD_ASSIST | MD_CASTSENSOR_IDLE | MD_NORANDOM_WALK | MD_NOCAST_SKILL | MD_CANATTACK | MD_CASTSENSOR_CHASE | MD_CHANGECHASE | MD_CHANGETARGET_MELEE | MD_CHANGETARGET_CHASE | MD_RANDOMTARGET | unknown: 256), hit = 198, flee = 199, cri = 340, flee2 = 109, def2 = 100,
              mdef2 = 149, aspd_rate = 950, def = 8 '\b', mdef = 5 '\005',
              def_ele = 0 '\000', ele_lv = 1 '\001', size = 1 '\001',
              race = 10 '\n', class_ = 0 '\000', rhw = {atk = 99, atk2 = 249,
                range = 3, ele = 6 '\006'}, lhw = {atk = 0, atk2 = 0, range = 1,
                ele = 0 '\000'}}
            status = 0x7fffeb6eb668
    #2  0x00000000004e9c52 in mob_reload_sub(mob_data *, typedef __va_list_tag __va_---Type <return> to continue, or q <return> to quit---


     

     

  3. 12 hours ago, Surefirer said:
    
    prontera,145,182,6	script	doubleExp	4W_F_KAFRA2,{
    
    	.@Price = 10000;	// Zeny required for heal
    	.@expeventBuffs = 0;	// Also buff players? (1: yes / 0: no)
    	.@Delay = 3600;	// Heal delay, in seconds
    	
    	if (@EB > gettimetick(2))
    		end;
    	if (.@Price) {
    		message strcharinfo(0), "Cost " + callfunc("F_InsertComma",.@Price) + " Zeny.";
    		if (Zeny < .@Price)
    			end;
    		if (select("^0055FFUes it^000000:^777777Cancel^000000") == 2)
    			end;
    		Zeny -= .@Price;
    	}
    	specialeffect2 EF_HEAL2;
    	percentheal 100,100;
    	if (.@expeventBuffs) {
    		sc_start SC_EXPBOOST,3600000,50;
    		sc_start SC_JEXPBOOST,3600000,50;
    	}
    	if (.@Delay)
    		@EB = gettimetick(2) + .@Delay;
    	end;
    	
    }

    try this one, don't use @reloadmobdb

    Thank for the reply Sir Surefirer. But it will cancel the item effect of Bubble Gum and Job Battle Manual on the player when I use the SC_EXPBOOST and SC_JEXPBOOST on NPC script.

  4. 9 hours ago, Surefirer said:

    I have this issue too, then I get ride of this script, I made an npc to give double exp stats to solve this problem. Haven't test double exp script on the lastest RA thought.

    I also have made an NPC happy hour script to give double exp but still the map server crash during @reloadmobdb run on the script even if I added sleep after and before @reloadmobdb. As of now, I temporary disabled the happy hour script and doesn't experiences map crashes. Hoping this issue will resolve as soon as possible so I can implement again the happy hour event.

  5. 17 hours ago, shatowolf said:

    you can check it at line 3031 at status.ccp.  

    Upon checking the line 3031 at status.ccp

     
     
     
    Spoiler

        // Check if we need custom base-status
        if (battle_config.mobs_level_up && md->level > md->db->lv)
            flag|=1;

    Pardon me, I have no idea how to fix. Can you help me Sir shatowolf to find in line 3031 that trigger to map server crash during happy hour event?

  6. Good day, I always got map crash issues during @reloadmobdb on my happy hour script. I tried to search but i cannot find the answer that related to this issue. Hoping that you guys could help me to figure out the map crash issue on happy hour or floating rates. 

    I have the screenshot of crash log from "gdb map-server map-server.core".

    By the way, i am using latest rAthena-rev62532.

    I also enabled the mobs_level_up: yes in conf/battle/monster.conf so the monster will level up each time a player is killed.

    This is the Happy Hour script i've been using:

    Spoiler

    -    script    HappyHourAuto    -1,{
     
    OnClock0200:
    OnClock0800:
    OnClock1400:
    OnClock2000:
        set $@brate,1000;
        set $@jrate,1000;
        set $@drate,500;
        setbattleflag("base_exp_rate",$@brate);
        setbattleflag("job_exp_rate",$@jrate);
        setbattleflag("item_rate_common",$@drate);
        setbattleflag("item_rate_heal",$@drate);
        setbattleflag("item_rate_use",$@drate);
        setbattleflag("item_rate_equip",$@drate);
        announce "Happy Hour Time!!!",bc_all,0xB6FF00;
        sleep 1500;
        announce "Happy Hour has started for 2 hour's and the new rates will be these: Base:"+($@brate/100)+"x, Job:"+($@jrate/100)+"x, Drop:"+($@drate/100)+"x, card not included.",bc_all,0xB6FF00;
        initnpctimer;
        set .HHAuto,1;
        sleep 1000;
        atcommand "@reloadmobdb";
        sleep 10000;
    end;

    OnTimer7200000:
        set .HHAuto,0;
        setbattleflag("base_exp_rate",$defaultbrate);
        setbattleflag("job_exp_rate",$defaultjrate);
        setbattleflag("item_rate_common",$defaultdrate);
        setbattleflag("item_rate_heal",$defaultdrate);
        setbattleflag("item_rate_use",$defaultdrate);
        setbattleflag("item_rate_equip",$defaultdrate);
        sleep 1000;
        atcommand "@reloadmobdb";
        sleep 10000;
        announce "Happy Hour Event has ended. Rates have returned to normal.",bc_all,0xB6FF00;
    end;

    OnPcLoginEvent:
        if (.HHAuto == 1) announce "Happy Hour Event currently active!",bc_self,0xB6FF00;
    end;

    OnInit:
        set $defaultbrate,700;
        set $defaultjrate,700;
        set $defaultdrate,300;
    end;
    }

    Thanks in advance and more power.

     

    map crash error.png

  7. Please edit this guild pack info below, I would hope when GM level 99 click the NPC he'll see just "Guild List" on menu and if when normal player click the npc he'll see just "I have a GM's Approval Card" and if normal player without GM's Approval Card on inventory, the npc say that "You don't have a GM's Approval Card to exchange" and "You must be in a guild to receive a guild package" if not in guild.

     

    Thanks guys!

     

    Just edit this script below:

    Guild_Pack_Info.txt

×
×
  • Create New...