Jump to content
  • 0

Extended BG error when compiling


Frost Diver

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

Hello!

I need help on how to fix this issue.

Im applying diff extended-bg by easycore and i got this error while recompiling (refer photo 1)

Then i've tried to change the int pc_last_update to void pc_last_update and got this error while recompiling (refer photo 2)

What should i do next? Im willing to pay if theres any charge to fix my issue.

Thanks in advance

1.PNG

2.PNG

Edited by Frost Diver
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

1 hour ago, Frost Diver said:

Hello!

I need help on how to fix this issue.

Im applying diff extended-bg by easycore and i got this error while recompiling (refer photo 1)

Then i've tried to change the int pc_last_update to void pc_last_update and got this error while recompiling (refer photo 2)

What should i do next? Im willing to pay if theres any charge to fix my issue.

Thanks in advance

1.PNG

2.PNG

because it was outdated. but it can still be fixed just like the BG 2.0. btw they also removing threads like this.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

10 minutes ago, Brynner said:

because it was outdated. but it can still be fixed just like the BG 2.0. btw they also removing threads like this.

Yea i noticed that since the author is missing and no response. I've tried your diff but same error happens when recompile. Can u help me brynner?

Edited by Frost Diver
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

as of now it would be a waste of time if someone release it because it will be deleted. but i think some of them can make it work but not for free maybe a paid service specially for the latest version of rathena.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  177
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

is it possible to combine this 2 functions into 1? i think i found the error since im using @afk diff currently. when i tried to remove 1 of the functions, recompiling is working without any errors

 

void pc_update_last_action(struct map_session_data *sd)
{
	nullpo_retv(sd);
	t_tick tick = gettick();

	sd->idletime = last_tick;

	if (sd->state.afk == 1)
	{
		sd->state.afk = 0;
		clif_changelook(&sd->bl, LOOK_HEAD_TOP, sd->status.head_top);
		clif_displaymessage(sd->fd, "Happy to see you again !");
	}
}


void pc_update_last_action(struct map_session_data *sd)
{
	struct battleground_data *bgd;
	int64 tick = gettick();

	sd->idletime = last_tick;

	if (sd->bg_id && sd->state.bg_afk && (bgd = bg_team_search(sd->bg_id)) != NULL && bgd->g)
	{ // Battleground AFK announce
		char output[128];
		sprintf(output, "%s : %s is no longer away...", bgd->g->name, sd->status.name);
		clif_bg_message(bgd, bgd->bg_id, bgd->g->name, output, strlen(output) + 1);
		sd->state.bg_afk = 0;
	}

	return 1;
}

 

Edited by Frost Diver
Link to comment
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
Answer this question...

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

×
×
  • Create New...