Smoke

Hercules Battlegrounds

244 posts in this topic

i got this error when compile on windows??

 

 

Edited by melv0

Share this post


Link to post
Share on other sites

Team Deathmatch doesn't give prize when the game is done. and the warp is not hidden

 

 Script 

Quote

// Battleground Respawn
// *********************************************************************

bat_b02,390,10,0    script    #guitd_respawn    HIDDEN_WARP_NPC,{
    end;

OnBGStart:
    initnpctimer;
    end;

OnBGStop:
    stopnpctimer;
    end;

OnTimer24000:
    specialeffect(EF_SANCTUARY);
    specialeffect(EF_BLESSING);
    specialeffect(EF_INCAGILITY);
    end;

OnTimer25000:
    areapercentheal "bat_b02",382,2,397,17,100,100;
    areawarp "bat_b02",382,2,397,17,"bat_b02",306,138,327,161;
    initnpctimer;
    end;
}

bat_b02,10,290,0    script    #crotd_respawn    HIDDEN_WARP_NPC,{
    end;

OnBGStart:
    initnpctimer;
    end;

OnBGStop:
    stopnpctimer;
    end;

OnTimer24000:
    specialeffect(EF_SANCTUARY);
    specialeffect(EF_BLESSING);
    specialeffect(EF_INCAGILITY);
    end;

OnTimer25000:
    areapercentheal "bat_b02",2,282,17,297,100,100;
    areawarp "bat_b02",2,282,17,297,"bat_b02",72,138,93,161;
    initnpctimer;
    end;
}
 

1.png

Edited by apexro

Share this post


Link to post
Share on other sites

you may check if you have this item in your item db

{
    Id: 7829
    AegisName: "BF_Badge2"
    Name: "Valor Badge"
    Type: 3
    Trade: {
        nodrop: true
        notrade: true
        nocart: true
        nogstorage: true
        nomail: true
        noauction: true
    }
},

Share this post


Link to post
Share on other sites
2 hours ago, astralprojection said:

you may check if you have this item in your item db

{
    Id: 7829
    AegisName: "BF_Badge2"
    Name: "Valor Badge"
    Type: 3
    Trade: {
        nodrop: true
        notrade: true
        nocart: true
        nogstorage: true
        nomail: true
        noauction: true
    }
},

Yes i have it on my DB still dont give prize

Share this post


Link to post
Share on other sites

Probably smoke is busy with new project BladeCP. I imagine he will come back to this after he is done or this project is dropped support.

Share this post


Link to post
Share on other sites
11 hours ago, caspe said:

@Smoke

any solution for this

29p2b7p.jpg

 

10 hours ago, Myriad said:

Probably smoke is busy with new project BladeCP. I imagine he will come back to this after he is done or this project is dropped support.

when i had that issue, player got freeze without warning on screen and eventually will crash.

@Smoke i loved to avail that BladeCP also.  Please take time sir on HBG. 

 

Share this post


Link to post
Share on other sites
On ‎26‎-‎09‎-‎2017 at 8:10 PM, caspe said:

@Smoke

any solution for this

29p2b7p.jpg

 

On ‎26‎-‎09‎-‎2017 at 9:09 PM, Myriad said:

Probably smoke is busy with new project BladeCP. I imagine he will come back to this after he is done or this project is dropped support.

I am busy with real life... part of the reason I made the plugin open-source was that I saw potential for it to have more contributors. As far as the errors for the plugin go, I'll leave it to someone to be generous and fill in the gaps until I find the time.

BladeCP is a side-project of mine (since a year) that I find more interesting, so yes I'm caught between the two and prefer to work on this one when I feel like doing anything RO-related. Sorry :/

Share this post


Link to post
Share on other sites

@Smoke

i have pushed pull request regarding this error

29p2b7p.jpg

setquest causing this error, i think it is related to emulator or setquest need to be updated.

Edited by caspe

Share this post


Link to post
Share on other sites

Also when player logout with Stone or flag they does not drop it

Edited by caspe

Share this post


Link to post
Share on other sites
1 hour ago, caspe said:

Also when player logout with Stone or flag they does not drop it, it is also related to setquest.

I don't think this is related to hBG, rather, some script commands have bad compatibility with characters logging out.

Share this post


Link to post
Share on other sites

I dont know why but the sd structure sometimes becomes trash, causing crashes (like in pc->setpos in e-recall, etc..)

Share this post


Link to post
Share on other sites

I got map-crash two times:
 

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000064a170 in hplugin_data_store_validate (type=HPDT_MSD,
    storeptr=0x7ffd28d2e148, initialize=<optimized out>) at HPM.c:239
239     }
(gdb) bt full
#0  0x000000000064a170 in hplugin_data_store_validate (type=HPDT_MSD,
    storeptr=0x7ffd28d2e148, initialize=<optimized out>) at HPM.c:239
No locals.
#1  0x00000000006484ee in hplugins_getFromHPData (type=HPDT_MSD, pluginID=2,
    store=0xfdfdfdfdfdfdfdfd, classid=1) at HPM.c:300
        i = <optimized out>
#2  0x00007fc6a29b2e36 in hBG_send_xy_timer_sub (key=...,
    data=<optimized out>, ap=<optimized out>) at hBG.c:1871
        sd = 0xb49cc00
        hBGsd = 0x0
        bgd = 0x3637edc
        hBGd = 0x93710f4
        output = "\006\000\a\006\006\006\006\006\066\026e\000\000\000\000\000;\3                                                                                                                                                             47\004\000\000\000\000\000\001Z\223\027\000\000\000\000\020\342\322(\375\177\000                                                                                                                                                             \000\061\357c\000\000\000\000\000\000\342\322(\375\177\000\000\251\325e\000\000\                                                                                                                                                             000\000\000\020\342\322(\375\177\000\000\371\321d\000\000\000\000\000`\342\322(\                                                                                                                                                             375\177\000\000\206\032R\000\000\000\000\000;\347\004\000\000\000\000\000\017\00                                                                                                                                                             0\000\000\a\000\000\000`\342\322(\375\177\000\000l?\246\t\000\000\000"
        i = <optimized out>
        m = 894
        idle_announce = 60
        idle_autokick = 120
        __func__ = "hBG_send_xy_timer_sub"
---Type <return> to continue, or q <return> to quit---return
#3  0x00000000006446e1 in db_obj_vforeach (self=0x40d9f08,
    func=0x7fc6a29b2d20 <hBG_send_xy_timer_sub>, args=0x7ffd28d2e2f8)
    at db.c:2070
        argscopy = {{gp_offset = 16, fp_offset = 48,
            overflow_arg_area = 0x7ffd28d2e3d0,
            reg_save_area = 0x7ffd28d2e310}}
        db = 0x40d9f08
        i = <optimized out>
        sum = 0
        node = 0xc0e8c18
        parent = <optimized out>
#4  0x000000000064372c in db_obj_foreach (self=<optimized out>,
    func=<optimized out>) at db.c:2117
        args = {{gp_offset = 16, fp_offset = 48,
            overflow_arg_area = 0x7ffd28d2e3d0,
            reg_save_area = 0x7ffd28d2e310}}
#5  0x00007fc6a29a9374 in hBG_send_xy_timer (tid=<optimized out>,
    tick=<optimized out>, id=<optimized out>, data=<optimized out>)
    at hBG.c:1913
No locals.
#6  0x0000000000652149 in do_timer (tick=<optimized out>) at timer.c:485
        tid = 6
        diff = 0
---Type <return> to continue, or q <return> to quit---return
        __func__ = "do_timer"
#7  0x000000000043a093 in main (argc=1, argv=0x7ffd28d2e548) at core.c:559
        next = <optimized out>
        retval = 0

 

Share this post


Link to post
Share on other sites

just want to know......

if i install this plugin, do i have disable original BG script???

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now