Jump to content

Release: Battleground Extended 2020 ! With Bomberman/Poring Ball


Recommended Posts

Posted
9 hours ago, grenat50 said:

Hi,

I'm updating them right now as they aren't compatible anymore with the latest rAthena.

I'm creating a rotation mode as well which will automatically start a battleground.

It should be available in the next few days.

Thank u i appreciate very much

Im getting this error when compiling the last version
image.thumb.png.330622763d15fa2db804312c66d3177c.png
 

Posted
13 hours ago, grenat50 said:

Hi,

I'm updating them right now as they aren't compatible anymore with the latest rAthena.

I'm creating a rotation mode as well which will automatically start a battleground.

It should be available in the next few days.

@grenat50
 

Please,
can fix the 'Map Surface' (Grenat Poring Ball Map)?

The ball is not returning to the field after passing behind the goal lines.
She's trapped!

I tried to fix it in various ways using Olrox's 'Map Surface' base but to no avail in 'Grenat Map'.

Error:
tenor.gif
 

  • Upvote 1
Posted

Hi everybody,

The latest version is under review from rAthena mod.

This is the changelog:

1.0.5 Updates:
- Fix sometimes cursor wasn't attacking enemies
- Fix battleground flag above players
- Improvement guild emblem
- Rotation system every hour
- Happy hours changed
- GM command @startbg to launch a BG
- @joinbg which teleport directly in the current running battleground

Compatible version: rAthena 2022

Older versions are compatible with: rAthena 2020~2021

  • Upvote 1
  • Love 1
  • MVP 1
  • Like 1
Posted
On 5/11/2022 at 11:27 AM, grenat50 said:

Hi,

I'm updating them right now as they aren't compatible anymore with the latest rAthena.

I'm creating a rotation mode as well which will automatically start a battleground.

It should be available in the next few days.

With queue system?

Posted
On 5/12/2022 at 4:26 AM, grenat50 said:

- @joinbg which teleport directly in the current running battlegroun

 

39 minutes ago, Bringer said:

With queue system?

 

  • Love 1
Posted
On 5/14/2022 at 2:47 AM, thywdasot said:

Hi, can i ask, ¿this is compatible with webservice of vmstumpf?

I'm not sure if I updated the "read me" file before or after posting it but here is your answer:

/!\ If you have web service installed, research battle_config.emblem_transparency_limit in the diff file and replace by inter_config.emblem_transparency_limit

Posted (edited)
On 5/14/2022 at 11:53 AM, buraquera said:

Thanks for update,
It diff and compile perfectly

But when i first try play "double inferno" this error showsup
image.png.9eb62b93c3d2a7fc5a8686d9971441f7.png

This is due to lack of palettes in your data files.

You can configurate Red/Blue palette shown in db/battleground_db.yml

 

Color:     Palette clothes color ID. (6)



 

  - Id: 10
    Name: Double Inferno
    MinPlayers: 2
    MinLevel: 80
    Deserter: 60
    JobRestrictions:
      Novice: true
    Locations:
      - Map: region_8
        StartEvent: Tierra_TI::OnReady
        TeamA:
          RespawnX: 16
          RespawnY: 51
          QuitEvent: Tierra_TI::OnTeam1Quit
          ActiveEvent: Tierra_TI::OnTeam1Active
          DeathEvent: Tierra_TI::OnTeam1Die
          Variable: $@BG19_Team1
          TeamID: 0
          Color: 6
        TeamB:
          RespawnX: 83
          RespawnY: 51
          QuitEvent: Tierra_TI::OnTeam2Quit
          ActiveEvent: Tierra_TI::OnTeam2Active
          DeathEvent: Tierra_TI::OnTeam2Die
          Variable: $@BG19_Team2
          TeamID: 1
          Color: 22

 

Edited by grenat50
Posted

Hi @grenat50!

I have such problems:

image.png.8a570a6414323795a759380ac48d5bd2.png

And maybe will be more, i use ragexe 20200902.
But @joinbg with rotative mode you have only in latest 1.0.5 patch.

How can i solve it?

Thx a lot!

Posted

!Hi grenat!

Really thanks for this battleground we appreciate so much.

Can i ask. ¿How i remove some battlegrounds from rotation?

I tried remove like this. image.thumb.png.8267b1fa77d2ce41df6ac059051f4a37.png But get this error 

image.thumb.png.4fb1ee953f18730062918d68c69721ea.png

thanks for you help!

Posted

The game seems to work fine, however, it shows this error on the console:

[Error]script:run_script_main: infinity loop !
[Debug]: Source (NPC): BG_config (invisible/not on a map)
[Debug]: Source (NPC): BG_config is located in: npc/battleground/bg_common.txt

Capturar.png

The error usually appears after the char entry, when authorized to start the BG via '@startbg'.

Any solution for this error?
Thank you very much!

  • 2 weeks later...
Posted (edited)

in all that I enter I am disconnected and/or the permanent screen is locked, and no command works, after some time it is informed that I am AFK.

¹ I get the icon that I'm the leader but I'm not screened for the map in question, I'm still on the map I was on. After some time it is informed that I will be kicked for being AFK, and I'm still stuck and on the same screen. Nothing works before and after.

There are no errors in the log.

² I used @goto to see if the locked character went to the event map, and yes he did, but he is not there visibly, he literally disappears visually.

³ rAthena downloaded this month.

jTN3zws.png 

Edited by Mahiro
  • 2 months later...
Posted

I'm trying to use the modifications in a clean version and it's giving me this error in the console:image.thumb.png.cac248b90f07a483fb8323e13f59eed0.png

 

Added via git apply command, except pcc.hpp file which returned error, so manually added.

 

 

  • 5 weeks later...
Posted
On 5/11/2022 at 11:27 AM, grenat50 said:

dating them right now as they aren't compatible anymore with the latest rAthena.

Hello can you help me about this problem? i'm using old version of rAthena item_db.txt etc.

 

image.thumb.png.d2d69966512306b2f672bf112554a996.png

  • 2 weeks later...
Posted
On 5/12/2022 at 4:26 AM, grenat50 said:

Hi everybody,

The latest version is under review from rAthena mod.

This is the changelog:

1.0.5 Updates:
- Fix sometimes cursor wasn't attacking enemies
- Fix battleground flag above players
- Improvement guild emblem
- Rotation system every hour
- Happy hours changed
- GM command @startbg to launch a BG
- @joinbg which teleport directly in the current running battleground

Compatible version: rAthena 2022

Older versions are compatible with: rAthena 2020~2021

How do I solve this error friend, only this one appears.

Imagem

Posted
On 10/6/2022 at 9:37 AM, Zarchiel said:

How do I solve this error friend, only this one appears.

Imagem

in src/map/battleground.cpp
 

@@ -1146,12 +1146,14 @@ void bg_team_getitem(int bg_id, int nameid, int amount)
{
	std::shared_ptr<s_battleground_data> bg;
	struct map_session_data *sd;
-	struct item_data *id;
	struct item it;
	int get_amount, j, flag;

	std::shared_ptr<s_battleground_data> bgd = util::umap_find(bg_team_db, bg_id);
-	if (amount < 1 || bgd == NULL || (id = itemdb_exists(nameid)) == NULL)
+	
+	std::shared_ptr<item_data> id = item_db.find(nameid);
+	
+	if (amount < 1 || bgd == NULL || id == nullptr )
		return;
	if( battle_config.bg_reward_rates != 100 )
		amount = amount * battle_config.bg_reward_rates / 100;
@ -1199,12 +1201,13 @@ bg_result (0 Won | 1 Tie | 2 Lost)
void bg_team_rewards(int bg_id, int nameid, int amount, int kafrapoints, int quest_id, const char *var, int add_value, int bg_arena, int bg_result)
{
	struct map_session_data *sd;
-	struct item_data *id;
	struct item it;
	int j, flag, get_amount;

	std::shared_ptr<s_battleground_data> bgd = util::umap_find(bg_team_db, bg_id);
-	if (amount < 1 || bgd == NULL || (id = itemdb_exists(nameid)) == NULL)
+	std::shared_ptr<item_data> id = item_db.find(nameid);
+	
+	if (amount < 1 || bgd == NULL || id == nullptr)
		return;

	if( battle_config.bg_reward_rates != 100 )

 

in src/map/script.cpp

@@ -21458,7 +21458,7 @@ BUILDIN_FUNC(bg_logincount)
enum e_result_validate_emblem {	// Used as Result for clif_validate_emblem
	EMBVALIDATE_SUCCESS = 0,
	EMBVALIDATE_ERR_RAW_FILEFORMAT,	// Invalid File Format (Error in zlib/decompression or malformed BMP header)
-	EMBVALIDATE_ERR_TRANSPARENCY	// uploaded emblem does not met the requirements of battle_config.emblem_transparency_limit
+	EMBVALIDATE_ERR_TRANSPARENCY	// uploaded emblem does not met the requirements of inter_config.emblem_transparency_limit
};
static enum e_result_validate_emblem clif_validate_emblem(const uint8* emblem, unsigned long emblem_len)
{
@ -21473,7 +21473,7 @@ static enum e_result_validate_emblem clif_validate_emblem(const uint8* emblem, u
		))
		return EMBVALIDATE_ERR_RAW_FILEFORMAT;
	*/
-	if (battle_config.emblem_transparency_limit != 100) {
+	if (inter_config.emblem_transparency_limit != 100) {
		int i, transcount = 1, tmp[3];
		for (i = offset; i < buf_len - 1; i++) {
			int j = i % 3;
@ -21481,7 +21481,7 @@ static enum e_result_validate_emblem clif_validate_emblem(const uint8* emblem, u
			if (j == 2 && (tmp[0] == 0xFFFF00FF) && (tmp[1] == 0xFFFF00) && (tmp[2] == 0xFF00FFFF)) //if pixel is transparent
				transcount++;
		}
-		if (((transcount * 300) / (buf_len - offset)) > battle_config.emblem_transparency_limit) //convert in % to chk
+		if (((transcount * 300) / (buf_len - offset)) > inter_config.emblem_transparency_limit) //convert in % to chk
			return EMBVALIDATE_ERR_TRANSPARENCY;
	}

 

  • 2 weeks later...

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...