The announces are on purpose, you can change the timing in the bg_common.txt script.Are these normal?
Spams announcement?
![]()
rush_casXX map? I did recache mapcache.dat
![]()
at which part?The announces are on purpose, you can change the timing in the bg_common.txt script.Are these normal?
Spams announcement?
![]()
rush_casXX map? I did recache mapcache.dat
![]()
bg_common.txt line 151at which part?The announces are on purpose, you can change the timing in the bg_common.txt script.Are these normal?
Spams announcement?
![]()
rush_casXX map? I did recache mapcache.dat
![]()
I see, haha I thought there were some kind of a config or something.... thanks for pointing that out for mebg_common.txt line 151at which part?The announces are on purpose, you can change the timing in the bg_common.txt script.Are these normal?
Spams announcement?
![]()
rush_casXX map? I did recache mapcache.dat
![]()
// Rotate every n seconds.
OnTimer5000:
Being 5000 the miliseconds of rotation and announces
For console error, yes it's "easy" to fix it, maybe i can give you the line that i've add ?Can you maybe extract it again and try?I mean latest commit of the hBG repository.
This is a separate function. Maybe another plugin could incorporate this. I'd like to keep hBG as free of unrelated things as possible.>I find another think, when you take a Flag or a Stone, i see that you can use skill and normaly it's not possible. I find this :
http://herc.ws/board/topic/11020-add-pcblockattack-pcblockskill-pcblockchat-pcimmune-script-commands/
i don't know if you can add this in your plugin.
i've add this in my emulator and it work nicely !
These look like simple script issues, maybe someone could push a PR with fixes (if they are so generous). Or if in the future I find the time for it I will add it in.Nice work, no more map crash.
I have some other issue .
-Rush: If a team break the Emperium, the other team may be warp to the therapist, no ?
I think it's about this ^^
-Bossnia: MvP are not immune when the center flag is neutral.
Error in console is :
![]()
And the MvP name is not the same as MvP Sprite. For this it's just in mob_avail.txt
-Guild Skill have no ACD
I compiled in MSVS 2015 and It finally works.I mean latest commit of the hBG repository.
Try to make a Pull Request.Hi ! for the After cast delay of guild skill i've fix it :
Flag is ok, monster have state.immunity, but this state doesn't do anything.but for the hBg_monster_immunity flag, i've tryed somethings but it result nothing ^^'
I made a command for switch BG Modes.Suggestion:
1. There is no announcement for recruiting players for battle ground only once when some one apply, after that no announcement.
2. There should be command for change battleground mode, like CTF to Deathmatch or just command for switch battleground mode.
Thanks...
// Battleground @bgrotate colors.
setarray .BG_Color2[0], 0x2F9F2D, 0xAA00FF, 0xFF0033, 0x33FF99, 0x3399FF, 0xFFA500, 0x9ACD32, 0x4169E1, 0xDDA0DD;
Usage: @bgmode <1-10>
#1 - Random Mode
#2 - Capture the Flag
#3 - Eye of Storm
#4 - Triple Inferno
#5 - Team DeathMatch
#6 - Bossnia
#7 - Conquest
#8 - Stone Control
#9 - Domination
#10 - Rush
BUILDIN(hBG_monster_immunity)
{
struct mob_data *md;
struct block_list *mbl;
struct hBG_mob_data *hBGmd;
int id = script_getnum(st, 2),
flag = script_getnum(st, 3);
if (id == 0 || (mbl = map->id2bl(id)) == NULL || mbl->type != BL_MOB) {
script_pushint(st, 0);
return false;
}
md = (TBL_MOB *)mbl;
if (!(hBGmd = getFromMOBDATA(md, 0))) {
CREATE(hBGmd, struct hBG_mob_data, 1);
addToMOBDATA(md, hBGmd, 0, true);
}
hBGmd->state.immunity = flag;
return true;
}
int battle_check_target_post(int retVal, struct block_list *src, struct block_list *target, int flag) {
if (retVal == 1 && target->type == BL_MOB) {
struct hBG_mob_data *hBGmd;
if ((hBGmd = getFromMOBDATA((TBL_MOB*)target, 0)))
if (hBGmd && (hBGmd->state.immunity > 0)) {
return -1;
}
}
return retVal;
}
I fixed this error and made a PR.3) (no prints): @stopbg - after stopping it will not start again and throws this error.
The same occurs if all players leave a bg (everyone logouts)
[Error]: Memory manager: freed-data is changed. (freed in \$PATH\server\src\common\hpm.c line 342)
[Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '0'.
[Info]: buildin_setbattleflag: battle_config flag 'battle_configuration/hBG_enabled' is now set to '1'.
I got the same error, It was solved by compiling with MSVS 2015.I've got this errors i don't know what to do, help me !!
Compiled with vs2012 express..
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(1071): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2058): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2059): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2533): warning C4018: '>=' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2591): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2597): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2603): error C2143: syntax error : missing ';' before 'type'
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2604): error C2065: 'i' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2605): error C2065: 'i' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2624): error C2143: syntax error : missing ';' before 'type'
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2625): error C2143: syntax error : missing ';' before 'type'
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2627): error C2065: 'i' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2628): error C2065: 'i' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'pos' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2631): error C2065: 'i' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'qm' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2065: 'pos' : undeclared identifier
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '=' : 'int' differs in levels of indirection from 'hBG_queue_member *'
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): warning C4047: '==' : 'int' differs in levels of indirection from 'void *'
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2633): error C2223: left of '->sd' must point to struct/union
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(2727): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3732): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3734): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\murillo\desktop\hercules-masterpri\src\plugins\hbg.c(3872): warning C4018: '<' : signed/unsigned mismatch
I solved this, see this PR.1: RUSH: when one team conquers the emperium the other is not teleported to the door.
We use essential cookies to make this site work, and optional cookies to enhance your experience.