Smoke

Hercules Battlegrounds

Recommended Posts

English:

I have a problem in this BG, all Bgs are working correctly the only problem is when using @joinbg, when you complete both teams and
warns you started, only the blue team is teletransporado in and red is out.
Would anyone have this solution? Someone would know why?
 
Português:
Estou com um problema nesta BG, todas as Bgs estão funcionando corretamente o único problema é na hora de utilizar o @joinbg,
quando completa os dois times e avisa que iniciou, apenas o time azul é teletransporado para dentro e o vermelho fica fora.
Alguem teria esta solução? alguem saberia o porque?

 

Easycore

 

Dastgir

 

Smoke 

Share this post


Link to post
Share on other sites

Well I'm starting to understand this bg error of moving only 1 team, when the battle starts only the blue team is sent to the room and the red team stays

in the city, then if one of the members of the blue team der @go 0 e Give @joinbg again everyone from the red team is moved, someone would know what this could be?

Share this post


Link to post
Share on other sites

Two errors.

 

(05/27/2017 22:33:01) [ Error ] : skill.c:16842: 'ud' in function `skill_clear_unitgroup'
(05/27/2017 22:33:01) [ Error ] : ./map-server(assert_report+0x80) [0x64fd90]
(05/27/2017 22:33:01) [ Error ] : ./map-server(skill_clear_unitgroup+0x77) [0x5dac47]
(05/27/2017 22:33:01) [ Error ] : ./map-server(pc_setpos+0x3d9) [0x54d8b9]
(05/27/2017 22:33:01) [ Error ] : plugins/hBG.so(skill_castend_nodamage_id_pre+0x608) [0x7f65543a12b8]
(05/27/2017 22:33:01) [ Error ] : plugins/HPMHooking_map.so(HP_skill_castend_nodamage_id+0xad) [0x7f65546a91dd]
(05/27/2017 22:33:01) [ Error ] : ./map-server(skill_castend_id+0x12b5) [0x5ca2f5]
(05/27/2017 22:33:01) [ Error ] : ./map-server(do_timer+0x1a9) [0x654959]
(05/27/2017 22:33:01) [ Error ] : ./map-server(main+0x193) [0x658b83]
(05/27/2017 22:33:01) [ Error ] : /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f6556c64d1d]
(05/27/2017 22:33:01) [ Error ] : ./map-server() [0x436ec9]
 
(05/27/2017 19:20:12) [ Error ] : skill.c:180: 'skill_lv > 0' in function `skill_get_sp'
(05/27/2017 19:20:12) [ Error ] : ./map-server(assert_report+0x80) [0x64fd90]
(05/27/2017 19:20:12) [ Error ] : ./map-server(skill_get_sp+0xcb) [0x5b96db]
(05/27/2017 19:20:12) [ Error ] : ./map-server(skill_castend_nodamage_id+0xe93) [0x5f4ea3]
(05/27/2017 19:20:12) [ Error ] : plugins/HPMHooking_map.so(HP_skill_castend_nodamage_id+0xeb) [0x7f65546a921b]
(05/27/2017 19:20:12) [ Error ] : ./map-server(skill_castend_id+0x12b5) [0x5ca2f5]
(05/27/2017 19:20:12) [ Error ] : ./map-server(unit_skilluse_id2+0xeac) [0x63e5ec]
(05/27/2017 19:20:12) [ Error ] : plugins/HPMHooking_map.so(HP_clif_pUseSkillToId+0x8e) [0x7f655463b4ae]
(05/27/2017 19:20:12) [ Error ] : ./map-server(clif_parse+0x1bd) [0x4b034d]
(05/27/2017 19:20:12) [ Error ] : ./map-server(do_sockets+0x25e) [0x65e4ce]
(05/27/2017 19:20:12) [ Error ] : ./map-server(main+0x1a2) [0x658b92]

Share this post


Link to post
Share on other sites

Well I'm starting to understand this bg error of moving only 1 team, when the battle starts only the blue team is sent to the room and the red team stays

in the city, then if one of the members of the blue team der @go 0 e Give @joinbg again everyone from the red team is moved, someone would know what this could be?

A temporary solution for this is replace:

hBG_queue2teams .BG_Queue,.BG_Players_Min[$BG_Index],.BG_Players_Max[$BG_Index],.TeamBuildingMode,[email protected]_Team1,[email protected]_Team2; 

For:

 

hBG_balance_teams .BG_Queue,.BG_Players_Max[$BG_Index],.TeamBuildingMode,[email protected]_Team1,[email protected]_Team2;
 

In hBG/bg_common.txt

Share this post


Link to post
Share on other sites
Easycore

 

Can you help with these 2 errors? They are crashing the map-server after the error sometimes appears.

 

(05/27/2017 22:33:01) [ Error ] : skill.c:16842: 'ud' in function `skill_clear_unitgroup'

(05/27/2017 22:33:01) [ Error ] : ./map-server(assert_report+0x80) [0x64fd90]
(05/27/2017 22:33:01) [ Error ] : ./map-server(skill_clear_unitgroup+0x77) [0x5dac47]
(05/27/2017 22:33:01) [ Error ] : ./map-server(pc_setpos+0x3d9) [0x54d8b9]
(05/27/2017 22:33:01) [ Error ] : plugins/hBG.so(skill_castend_nodamage_id_pre+0x608) [0x7f65543a12b8]
(05/27/2017 22:33:01) [ Error ] : plugins/HPMHooking_map.so(HP_skill_castend_nodamage_id+0xad) [0x7f65546a91dd]
(05/27/2017 22:33:01) [ Error ] : ./map-server(skill_castend_id+0x12b5) [0x5ca2f5]
(05/27/2017 22:33:01) [ Error ] : ./map-server(do_timer+0x1a9) [0x654959]
(05/27/2017 22:33:01) [ Error ] : ./map-server(main+0x193) [0x658b83]
(05/27/2017 22:33:01) [ Error ] : /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f6556c64d1d]
(05/27/2017 22:33:01) [ Error ] : ./map-server() [0x436ec9]
 
(05/27/2017 19:20:12) [ Error ] : skill.c:180: 'skill_lv > 0' in function `skill_get_sp'
(05/27/2017 19:20:12) [ Error ] : ./map-server(assert_report+0x80) [0x64fd90]
(05/27/2017 19:20:12) [ Error ] : ./map-server(skill_get_sp+0xcb) [0x5b96db]
(05/27/2017 19:20:12) [ Error ] : ./map-server(skill_castend_nodamage_id+0xe93) [0x5f4ea3]
(05/27/2017 19:20:12) [ Error ] : plugins/HPMHooking_map.so(HP_skill_castend_nodamage_id+0xeb) [0x7f65546a921b]
(05/27/2017 19:20:12) [ Error ] : ./map-server(skill_castend_id+0x12b5) [0x5ca2f5]
(05/27/2017 19:20:12) [ Error ] : ./map-server(unit_skilluse_id2+0xeac) [0x63e5ec]
(05/27/2017 19:20:12) [ Error ] : plugins/HPMHooking_map.so(HP_clif_pUseSkillToId+0x8e) [0x7f655463b4ae]
(05/27/2017 19:20:12) [ Error ] : ./map-server(clif_parse+0x1bd) [0x4b034d]
(05/27/2017 19:20:12) [ Error ] : ./map-server(do_sockets+0x25e) [0x65e4ce]
(05/27/2017 19:20:12) [ Error ] : ./map-server(main+0x1a2) [0x658b92]

Share this post


Link to post
Share on other sites

This errors look like related to some skill.

What exact skill need to use to get this errors?

Share this post


Link to post
Share on other sites

Hello, can u update specialeffect2 and misceffect.


Or maybe should i create single therapist and add duplicate then push pull request? it will be easy to manage BG healer


I have pushed some commits, sorry for open so many pull request, idk much about how github works.

Share this post


Link to post
Share on other sites

Errors:

1. When do char select while in running Battleground mode.

29p2b7p.jpg

2. Can u fix this reward calculation function

280o6e1.jpg

Code:

Spoiler

else if ([email protected] == 0) { // All Croix Players quit
        set [email protected], 99 - .croix_score;
        hBG_reward [email protected]_Team1,7829,30 * [email protected] / 99,0,0,"BG_TDM",1,4,0;

or maybe just give 30 badge for winning team.

3. That debug massage just keep spamming console while Rush mode running

317jpxh.jpg

This errors still exist.

4. Players able to use healing items such as Berry, white pot, speed potion and skills while carrying stone, flags in modes like Stone Control CTF.

 

Some Suggestions:

1. Player able to party with other team member but, he can attack him.

party with other players should be disable

2. There is no announcement after Emergency Call ready. 

Edited by caspe

Share this post


Link to post
Share on other sites
On 6/13/2017 at 2:25 PM, caspe said:

Errors:

1. When do char select while in running Battleground mode.

29p2b7p.jpg

2. Can u fix this reward calculation function

280o6e1.jpg

Code:

  Reveal hidden contents

else if ([email protected] == 0) { // All Croix Players quit
        set [email protected], 99 - .croix_score;
        hBG_reward [email protected]_Team1,7829,30 * [email protected] / 99,0,0,"BG_TDM",1,4,0;

or maybe just give 30 badge for winning team.

3. That debug massage just keep spamming console while Rush mode running

317jpxh.jpg

This errors still exist.

4. Players able to use healing items such as Berry, white pot, speed potion and skills while carrying stone, flags in modes like Stone Control CTF.

 

Some Suggestions:

1. Player able to party with other team member but, he can attack him.

party with other players should be disable

2. There is no announcement after Emergency Call ready. 

Any news on this?

Share this post


Link to post
Share on other sites

Fixes some compile errors and broken code from the recent PRs (ones I didn't check thoroughly before)

https://github.com/Smokexyz/HerculesBG/commit/b5eb2e6b04e99a462beb3d816e12351c11549759

On 2017-6-20 at 9:10 PM, caspe said:

Any news on this?

1) Check this again using the latest revision of the hBG repo.

2) This too.

3) If someone can look into the script for this... I don't have the time or patience.

4) Someone can probably push a pr for this too.

 

On a side note, do you guys want the eAmod faction system as a plugin?

Share this post


Link to post
Share on other sites
10 minutes ago, Myriad said:

no to faction system. keep working hard at this. just my opinion. :)

Reason I ask is I've already made it, it's just lying around... but ok :) 

Hercules BG is at a good place right now, if anyone wants to add more things they're free to add a PR. I don't have the time to update it much lately.

Share this post


Link to post
Share on other sites
57 minutes ago, Smoke said:

4) Someone can probably push a pr for this too.

Thanks, i can push pr for this but does there is any way to disable all item at once? or i have to add healing items one bye one?

This will be annoying to add item id one by one.

 

Share this post


Link to post
Share on other sites
3 hours ago, Smoke said:

Fixes some compile errors and broken code from the recent PRs (ones I didn't check thoroughly before)

https://github.com/Smokexyz/HerculesBG/commit/b5eb2e6b04e99a462beb3d816e12351c11549759

1) Check this again using the latest revision of the hBG repo.

2) This too.

3) If someone can look into the script for this... I don't have the time or patience.

4) Someone can probably push a pr for this too.

 

On a side note, do you guys want the eAmod faction system as a plugin?

non of the errors are fixed :astonished:

More errors :

1. There is no leader command no error massage nothing. (Does it require to keep enable @leader command?)

2. Must give priority to Stalker and Assassin Cross as a team leader than first member who register.

 

Share this post


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

non of the errors are fixed :astonished:

More errors :

1. There is no leader command no error massage nothing. (Does it require to keep enable @leader command?)

2. Must give priority to Stalker and Assassin Cross as a team leader than first member who register.

 

I can't produce your first problem. Guide me through the steps of re-creating it (which i believe is just one - log out from bg). 

The second problem.... is script related, should be a very easy fix.

Share this post


Link to post
Share on other sites

@Smoke

I want to create a command called @hidebgmsg to hide announces from BG I did this modifications:
On line 90 I add this:
 

		bindatcmd "esconderbc","BG_Queue_Handler::OnDoHideMsg",0,99;


On line 165 I add this:

OnDoHideMsg:
	if(hideBcMsg == 1){
		set hideBcMsg,0;
		dispbottom "[As mensagens da batalha campal foram ativadas!]";
	}
	else{
		set hideBcMsg,1;
		dispbottom "[As mensagens da batalha campal foram desativadas!]";
	}
	end;

And on line 274 I put a if like this:
 

			if(hideBcMsg != 1){
				announce [email protected]$,0,.BG_Color$[$BG_Index],0x190,12,100,100;
			}

When I start the server and check the logs i get this msg:
[Warning]: script_get_val: cannot access player variable 'hideBcMsg', defaulting to 0

 

What am I missing here? could you help me? =)

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.   Paste as plain text instead

  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...