Jump to content
  • 0

How do you fix gepard have error with clif.c and script.c when recompile?


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Hello,

May I know how did you fixed script.c and clif.c in source error? I notice rathena have new source or edited it.. So it not same with the functor gave me the things to changed and resulted with error during compile.. I already contacted him 3 days ago but no reply.. So I thought maybe he on vacation or outstation.. 
 

Below is the error log I got from Visual Studio : 

 

1>------ Build started: Project: libconfig, Configuration: Debug Win32 ------
2>------ Build started: Project: mt19937ar, Configuration: Debug Win32 ------
3>------ Build started: Project: yaml-cpp, Configuration: Debug Win32 ------
4>------ Build started: Project: common-minicore, Configuration: Debug Win32 ------
2>  mt19937ar.c
1>  strbuf.c
1>  scanner.c
4>  utils.c
3>  tag.cpp
1>  scanctx.c
2>  mt19937ar.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\.vs\build\mt19937ar.lib
1>  libconfig.c
4>  strlib.c
4>  showmsg.c
1>  grammar.c
4>  random.c
1>  Generating Code...
4>  raconf.c
4>  nullpo.c
1>  libconfig.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\.vs\build\libconfig.lib
4>  msg_conf.c
4>  md5calc.c
4>  mapindex.c
4>  malloc.c
4>  grfio.c
4>  des.c
4>  conf.c
4>  cli.c
4>  Generating Code...
3>  stream.cpp
4>  core.cpp
3>  singledocparser.cpp
4>  common-minicore.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\.vs\build\common-minicore.lib
5>------ Build started: Project: map-cache, Configuration: Debug Win32 ------
5>  mapcache.c
3>  simplekey.cpp
3>  scantoken.cpp
3>  scantag.cpp
5>  map-cache.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\map-cache.exe
5>  map-cache.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\map-cache.pdb (Full PDB)
3>  scanscalar.cpp
3>  scanner.cpp
3>  regex_yaml.cpp
3>  parser.cpp
3>  parse.cpp
3>  ostream_wrapper.cpp
3>  null.cpp
3>  node_data.cpp
3>  nodeevents.cpp
3>  nodebuilder.cpp
3>  node.cpp
3>  memory.cpp
3>  exp.cpp
3>  exceptions.cpp
3>  Generating Code...
3>  Compiling...
3>  emitterutils.cpp
3>  emitterstate.cpp
3>  emitter.cpp
3>  emitfromevents.cpp
3>  emit.cpp
3>  directives.cpp
3>  convert.cpp
3>  graphbuilderadapter.cpp
3>  graphbuilder.cpp
3>  binary.cpp
3>  Generating Code...
3>  yaml-cpp.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\.vs\build\yaml-cpp.lib
6>------ Build started: Project: common, Configuration: Debug Win32 ------
6>  utils.c
6>  timer.c
6>  thread.c
6>  strlib.c
6>  sql.c
6>  socket.c
6>  showmsg.c
6>  random.c
6>  raconf.c
6>  nullpo.c
6>  mutex.c
6>  msg_conf.c
6>  mempool.c
6>  md5calc.c
6>  mapindex.c
6>  malloc.c
6>  grfio.c
6>  ers.c
6>  des.c
6>  db.c
6>  Generating Code...
6>  Compiling...
6>  conf.c
6>  cli.c
6>  Generating Code...
6>  yamlwrapper.cpp
6>  core.cpp
6>  Generating Code...
6>  common.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\.vs\build\common.lib
7>------ Build started: Project: login-server, Configuration: Debug Win32 ------
8>------ Build started: Project: char-server, Configuration: Debug Win32 ------
9>------ Build started: Project: map-server, Configuration: Debug Win32 ------
7>  loginlog.c
8>  char.cpp
9>  vending.c
7>  logincnslif.c
7>  loginclif.c
9>  unit.c
7>  loginchrif.c
9>  trade.c
8>  int_storage.c
7>  ipban.c
9>  storage.c
8>  int_quest.c
7>  account.c
9>  status.c
8>  int_pet.c
7>  Generating Code...
9>  skill.c
8>  int_party.c
7>  login.cpp
8>  int_mercenary.c
9>  searchstore.c
9>  script.c
8>  int_mail.c
8>  int_homun.c
8>  int_guild.c
9>c:\users\rakuzas\documents\github\xxServer\src\map\script.c(23509): warning C4133: 'function': incompatible types - from 'script_state **' to 'map_session_data **'
9>c:\users\rakuzas\documents\github\xxServer\src\map\script.c(23509): warning C4047: 'initializing': 'map_session_data *' differs in levels of indirection from 'bool'
9>  quest.c
8>  int_elemental.c
9>  pet.c
8>  int_clan.c
9>  pc_groups.c
8>  int_auction.c
9>  pc.c
8>  int_achievement.c
8>  inter.c
9>  path.c
9>  party.c
8>  char_mapif.c
7>  login-server.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\login-server.exe
7>  login-server.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\login-server.pdb (Full PDB)
9>  npc_chat.c
8>  char_logif.c
9>  npc.c
9>  mob.c
8>  char_cnslif.c
9>  mercenary.c
8>  char_clif.c
9>  mapreg.c
9>  mail.c
8>  Generating Code...
9>  Generating Code...
9>  Compiling...
9>  log.c
9>  itemdb.c
9>  intif.c
9>  instance.c
9>  homunculus.c
9>  guild.c
9>  elemental.c
9>  duel.c
9>  date.c
9>  clif.c
8>  char-server.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\char-server.exe
8>  char-server.vcxproj -> C:\Users\rakuzas\Documents\GitHub\xxServer\char-server.pdb (Full PDB)
9>c:\users\rakuzas\documents\github\xxServer\src\map\clif.c(10072): warning C4098: 'clif_parse_WantToConnection': 'void' function returning a value
9>c:\users\rakuzas\documents\github\xxServer\src\map\clif.c(20271): error C2039: 'packet_ver': is not a member of 'map_session_data'
9>c:\users\rakuzas\documents\github\xxServer\src\map\pc.h(204): note: see declaration of 'map_session_data'
9>c:\users\rakuzas\documents\github\xxServer\src\map\clif.c(20271): warning C4047: 'function': 'uint32' differs in levels of indirection from 'gepard_crypt_link *'
9>c:\users\rakuzas\documents\github\xxServer\src\map\clif.c(20271): warning C4024: 'gepard_process_packet': different types for formal and actual parameter 3
9>c:\users\rakuzas\documents\github\xxServer\src\map\clif.c(20271): error C2198: 'gepard_process_packet': too few arguments for call
9>  clan.c
9>  chrif.c
9>  chat.c
9>  channel.c
9>  cashshop.c
9>  buyingstore.c
9>  battleground.c
9>  battle.c
9>  atcommand.c
9>  achievement.c
9>  Generating Code...
========== Build: 8 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Severity	Code	Description	Project	File	Line	Suppression State
Warning	C4133	'function': incompatible types - from 'script_state **' to 'map_session_data **'	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\script.c	23509	
Warning	C4047	'initializing': 'map_session_data *' differs in levels of indirection from 'bool'	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\script.c	23509	
Warning	C4098	'clif_parse_WantToConnection': 'void' function returning a value	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\clif.c	10072	
Error	C2039	'packet_ver': is not a member of 'map_session_data'	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\clif.c	20271	
Warning	C4047	'function': 'uint32' differs in levels of indirection from 'gepard_crypt_link *'	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\clif.c	20271	
Warning	C4024	'gepard_process_packet': different types for formal and actual parameter 3	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\clif.c	20271	
Error	C2198	'gepard_process_packet': too few arguments for call	map-server	c:\users\rakuzas\documents\github\xxServer\src\map\clif.c	20271	


Hope someone can help me fix it.. /sob  Thank you in advance..

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  141
  • Reputation:   45
  • Joined:  08/14/12
  • Last Seen:  

You either need to wait for Functor to respond or revert the update.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

2 hours ago, Nitrous said:

You either need to wait for Functor to respond or revert the update.

yeah.. That the only way for now.. Hope he can reply soon.. So not just me having this issue? I'm glad.. Hahaha.. xD

My only options right now is using my outdated (2 months old) rathena till it fix.. /heh 

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