Jump to content
Sephus

Hercules Battlegrounds

Recommended Posts

please help me! with this bug.

after i choose battleggroundmode using @bgmode commands all the battleground modes isgoiing to start  after i use @bgstart commands .

my problem is i cannot choose whch bgmodes i want to start..
@bgmode is not working. still all the modes ar going to start after i use @bgstart

i hope you guys understand what i mean.. sorry for my bad english

Share this post


Link to post
Share on other sites
Just now, noobzter003 said:

please help me! with this bug.

after i choose battleggroundmode using @bgmode commands all the battleground modes isgoiing to start  after i use @bgstart commands .

my problem is i cannot choose whch bgmodes i want to start..
@bgmode is not working. still all the modes ar going to start after i use @bgstart

i hope you guys understand what i mean.. sorry for my bad english

Example i use @bgmode  9 ( i choose Battleground RUSH mode )
but after i activate that mode using @bgstart all the modes are activating
should be Battleground Rush mode only

 

Share this post


Link to post
Share on other sites

Make sure battleground queue is running before using @bgmode. If you want to run only BG Rush mode.. check your script and just enable the BG Rush mode.

Share this post


Link to post
Share on other sites

Just a small advice if you are developer & know what ur doing then use this plugin. This plugin is not complete & does not suit for live server, if you are thinking of using it on live server & don't know about Source editing & other stuff, just don't go with this plugin.

If u just want to test it, then i should be fine.

Share this post


Link to post
Share on other sites
On 4/27/2018 at 11:22 AM, Rebel said:

Make sure battleground queue is running before using @bgmode. If you want to run only BG Rush mode.. check your script and just enable the BG Rush mode.

still the same i think this plugins cannot be done a lot of bugs btw thanks

Share this post


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

Just a small advice if you are developer & know what ur doing then use this plugin. This plugin is not complete & does not suit for live server, if you are thinking of using it on live server & don't know about Source editing & other stuff, just don't go with this plugin.

If u just want to test it, then i should be fine.

thanks for the advice this script alot of bugs ithink this plugins cannot be perfect.

Share this post


Link to post
Share on other sites

it can be done you just need full understanding of the source itself as well as knowing the scripts like the back of your hand.

Share this post


Link to post
Share on other sites
23 hours ago, noobzter003 said:

thanks for the advice this script alot of bugs ithink this plugins cannot be perfect.

Honestly @joinbg and @leavebg works just fine, also tested the Afk mode ( wherre if someones afk u can kick him) and tested 1 bg out and it works fine. The extra commands would need a closer look at if you want it to function perfectly. This is literally a free eamod version of BG with more user friendly commands for 2013-2017 + clients , just keep doing trial and error and you might just solve most of the problems.

Share this post


Link to post
Share on other sites
On 4/29/2018 at 9:31 PM, Myriad said:

it can be done you just need full understanding of the source itself as well as knowing the scripts like the back of your hand.

sorry im  just new in herc emulator i dont have any idea to fix this i hope u can help me.
i dont know how to read the script im just follow what i read in this tread i hope u can help me..

Share this post


Link to post
Share on other sites
On 4/30/2018 at 5:14 PM, Cabrera said:

Honestly @joinbg and @leavebg works just fine, also tested the Afk mode ( wherre if someones afk u can kick him) and tested 1 bg out and it works fine. The extra commands would need a closer look at if you want it to function perfectly. This is literally a free eamod version of BG with more user friendly commands for 2013-2017 + clients , just keep doing trial and error and you might just solve most of the problems.

yeah i admit that this plugins almost all commands are working. but i dont have any knawledge to fix my problem i hope somebody can help me about my problem.
please help me hhuhuhu

Share this post


Link to post
Share on other sites

It was too easy to get BADGE without actually spending time and waste lot of pots killing someone at BG.
How?
- ask a friend playing BG to pm you when session is about to end.  They see message  "1 min to end the bg" something like that.

- join BG and wait until finish.  You get reward.

HOW TO PREVENT THIS?

Edited by astralprojection

Share this post


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

It was too easy to get BADGE without actually spending time and waste lot of pots killing someone at BG.
How?
- ask a friend playing BG to pm you when session is about to end.  They see message  "1 min to end the bg" something like that.

- join BG and wait until finish.  You get reward.

HOW TO PREVENT THIS?

put timer when player can last join? easy enough just add timer or edit game mode scripts so they cant join past certain point.

Share this post


Link to post
Share on other sites

I am testing this plugin seens really great tho.
The only problem I am seeing is that changes the bg mode too quickly causing it to announce too many times.

Could`t find any config related to it, do you guys can help me out on that one? How to increase the time for this?

Share this post


Link to post
Share on other sites
15 hours ago, TheReturn said:

I am testing this plugin seens really great tho.
The only problem I am seeing is that changes the bg mode too quickly causing it to announce too many times.

Could`t find any config related to it, do you guys can help me out on that one? How to increase the time for this?

open bg_common.txt

find

// Rotate every n seconds.
OnTimer30000:

change 30000 = 30 seconds

Share this post


Link to post
Share on other sites

Someone please help.

How to solve these warnings.

hBG.c: In function ‘atcommand_reportafk’:
hBG.c:2040:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
  struct hBG_map_session_data *hBGsd = NULL;
                               ^
hBG.c: In function ‘atcommand_leader’:
hBG.c:2084:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
  struct hBG_map_session_data *hBGsd = NULL;
                               ^
hBG.c: In function ‘status_get_guild_id_pre’:
hBG.c:3776:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
   && (bg_id = bg->team_get_id((struct block_list *)*bl)) > 0
                               ^
hBG.c: In function ‘status_get_emblem_id_pre’:
hBG.c:3797:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
   && (bg_id = bg->team_get_id((struct block_list *)(*bl))) > 0
                               ^
        PLUGIN  hBG

 

Edited by MikZ

Share this post


Link to post
Share on other sites

For the first two, you can just comment those lines since they aren't used (warning is self-explanatory, just follow it's directions).

Second 2 I have not figured out yet.

Anyway they are just warnings and don't affect the functionality.

Share this post


Link to post
Share on other sites
On 14/05/2018 at 9:00 PM, MikZ said:

Someone please help.

How to solve these warnings.


hBG.c: In function ‘atcommand_reportafk’:
hBG.c:2040:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
  struct hBG_map_session_data *hBGsd = NULL;
                               ^
hBG.c: In function ‘atcommand_leader’:
hBG.c:2084:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
  struct hBG_map_session_data *hBGsd = NULL;
                               ^
hBG.c: In function ‘status_get_guild_id_pre’:
hBG.c:3776:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
   && (bg_id = bg->team_get_id((struct block_list *)*bl)) > 0
                               ^
hBG.c: In function ‘status_get_emblem_id_pre’:
hBG.c:3797:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
   && (bg_id = bg->team_get_id((struct block_list *)(*bl))) > 0
                               ^
        PLUGIN  hBG

 

activate your plugins in plugins.conf

should be like this

plugins_list: [
  "example",
  "other",
  ]
  -----------------------------------------
  Please note that your scripts need to be saved
  in the .c (source code) extension and placed in the /src/plugin/ folder.
  -----------------------------------------
  */
  plugins_list: [
  /* Enable HPMHooking when plugins in use rely on Hooking */
  "HPMHooking",
  "hBG",
   
  ]

Share this post


Link to post
Share on other sites
On 14/05/2018 at 9:00 PM, MikZ said:

Someone please help.

How to solve these warnings.


hBG.c: In function ‘atcommand_reportafk’:
hBG.c:2040:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
  struct hBG_map_session_data *hBGsd = NULL;
                               ^
hBG.c: In function ‘atcommand_leader’:
hBG.c:2084:31: warning: unused variable ‘hBGsd’ [-Wunused-variable]
  struct hBG_map_session_data *hBGsd = NULL;
                               ^
hBG.c: In function ‘status_get_guild_id_pre’:
hBG.c:3776:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
   && (bg_id = bg->team_get_id((struct block_list *)*bl)) > 0
                               ^
hBG.c: In function ‘status_get_emblem_id_pre’:
hBG.c:3797:31: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
   && (bg_id = bg->team_get_id((struct block_list *)(*bl))) > 0
                               ^
        PLUGIN  hBG

 

Update ur hBG.c use this https://github.com/lucasljsb/HerculesBG/blob/50a1a3963fe2590a787aab27b27fa2faf9e1f277/src/plugins/hBG.c

Share this post


Link to post
Share on other sites

sometimes when the Emergency Call is used the server throw a map crash signal without any details, there is any wrong in this code?

 

case GD_EMERGENCYCALL:
		{
			int dx[9]={-1, 1, 0, 0,-1, 1,-1, 1, 0};
			int dy[9]={ 0, 0, 1,-1, 1,-1,-1, 1, 0};
			int i = 0, j = 0;
			struct guild *g;
			
			// i don't know if it actually summons in a circle, but oh well. ;P
			if (sd && (g = hBG_get_guild(sd->bg_id)) != NULL) {
				clif->skill_nodamage(*src, *bl, *skill_id, *skill_lv, 1);
				
				for (i = 0; i < g->max_member; i++, j++) {
					if (j>8) j=0;
					if ((dstsd = g->member[i].sd) != NULL && sd != dstsd && !dstsd->state.autotrade && !pc_isdead(dstsd)) {
						if (map->getcell((*src)->m, *src, (*src)->x + dx[j], (*src)->y + dy[j], CELL_CHKNOREACH))
							dx[j] = dy[j] = 0;
						pc->setpos(dstsd, map_id2index((*src)->m), (*src)->x+dx[j], (*src)->y+dy[j], CLR_RESPAWN);
					}
				}
				guild->block_skill(sd, skill->get_time2(*skill_id, *skill_lv));
			}
		}

 

Share this post


Link to post
Share on other sites

No offence to the creator Smoke, as he did a great effort putting this all together, but there are outstanding issues which make it not possible to use in a production server.

Being curious, just did some more testing with it, and the guild system (I believe that's what causes it) actually creates this issue where sometimes the sword cursor doesn't appear (need to refresh to get it to show, seems random chance it actually appears), meaning your players would need to have /ns activated all the time to play. 

So please, any future posters - unless you know how to edit the plugin (and therefore source code) itself, don't download it.

And nobody request support as nobody is going to help you.

Edited by Myriad

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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