Jump to content
  • 1

Question about compiling error


BlazingSpear

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   9
  • Joined:  11/27/16
  • Last Seen:  

1>------ Rebuild All started: Project: map-server_sql, Configuration: Release Win32 ------
1>  grammar.c
1>  libconfig.c
1>  scanctx.c
1>  scanner.c
1>  strbuf.c
1>  mt19937ar.c
1>  conf.c
1>  core.c
1>  db.c
1>  des.c
1>  ers.c
1>  grfio.c
1>  malloc.c
1>  mapindex.c
1>  md5calc.c
1>  mempool.c
1>  mutex.c
1>  nullpo.c
1>  raconf.c
1>  random.c
1>  showmsg.c
1>  socket.c
1>  sql.c
1>  strlib.c
1>  thread.c
1>  timer.c
1>  utils.c
1>  msg_conf.c
1>  cli.c
1>  atcommand.c
1>  battle.c
1>  battleground.c
1>  buyingstore.c
1>  cashshop.c
1>  channel.c
1>  chat.c
1>..\src\map\atcommand.c(5340): warning C4013: 'clif_charnameupdate' undefined; assuming extern returning int
1>  chrif.c
1>  clan.c
1>  clif.c
1>  date.c
1>  duel.c
1>  elemental.c
1>  guild.c
1>  intif.c
1>  itemdb.c
1>  log.c
1>  mail.c
1>  map.c
1>  mapreg_sql.c
1>  homunculus.c
1>  instance.c
1>  mercenary.c
1>..\src\map\map.c(1879): error C2198: 'map_addflooritem' : too few arguments for call
1>  mob.c
1>  npc.c
1>  npc_chat.c
1>  party.c
1>  path.c
1>  pc.c
1>  pc_groups.c
1>  pet.c
1>  quest.c
1>  script.c
1>  searchstore.c
1>  skill.c
1>  status.c
1>  storage.c
1>  trade.c
1>  unit.c
1>  vending.c
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
int map_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount)
{
	struct item item_tmp;
	int count, range, i;
	short mx, my;

	memset(&item_tmp, 0, sizeof(item_tmp));
	item_tmp.nameid = nameid;
	item_tmp.identify = 1;

	if( bl != NULL ) m = bl->m;

	count = 0;
	range = (int)sqrt(amount) +2;
	for( i = 0; i < amount; i++ )
	{
		if( bl != NULL )
			map_search_freecell(bl, 0, &mx, &my, range, range, 0);
		else
		{
			mx = x; my = y;
			map_search_freecell(NULL, m, &mx, &my, range, range, 1);
		}

		count += (map_addflooritem(&item_tmp, 1, m, mx, my, 0, 0, 0, 4, 0, 0) != 0) ? 1 : 0;
	}

	return count;
}

i have trouble in applying eamod battleground and i have 1 warning and 1 error i dont know how to fix this, kindly help i provide other detail if you need it

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • -1

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

We don't provide support for eA/rAMod users. Ask the person you "purchased" it from.

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