Jump to content
  • 0

Problem when compiling after installing hashield


guhx

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  04/03/14
  • Last Seen:  

The problem happens when I add the following lines :

 

 

src/char/char.c

 

+ =  added by me

char_set_charselect(sd->account_id);
+hashield_account_connected(sd->account_id);
  src/char/char_clif.c
cmd = RFIFOW(fd,0);
switch( cmd ) {
+case 0x4444: next=hashield_connect(fd); break;case 0x65: next=chclif_parse_reqtoconnect(fd,sd,ipl); break;
// char select
case 0x66: next=chclif_parse_charselect(fd,sd,ipl); break;
// createnewchar
case 0x970: next=chclif_parse_createnewchar(fd,sd,cmd); break;
case 0x67: next=chclif_parse_createnewchar(fd,sd,cmd); break;
// delete char
case 0x68: next=chclif_parse_delchar(fd,sd,cmd); break; //
case 0x1fb: next=chclif_parse_delchar(fd,sd,cmd); break; // 2004-04-19aSakexe+ langtype 12 char deletion packet
// client keep-alive packet (every 12 seconds)
case 0x187: next=chclif_parse_keepalive(fd); break;
// char rename
case 0x8fc: next=chclif_parse_reqrename(fd,sd,cmd); break; //request <date/version?>
case 0x28d: next=chclif_parse_reqrename(fd,sd,cmd); break; //request <date/version?>
case 0x28f: next=chclif_parse_ackrename(fd,sd); break; //Confirm change name.
// captcha
case 0x7e5: next=chclif_parse_reqcaptcha(fd); break; // captcha code request (not implemented)
case 0x7e7: next=chclif_parse_chkcaptcha(fd); break; // captcha code check (not implemented)
// deletion timer request
case 0x827: next=chclif_parse_char_delete2_req(fd, sd); break;
// deletion accept request
case 0x829: next=chclif_parse_char_delete2_accept(fd, sd); break;
// deletion cancel request
case 0x82b: next=chclif_parse_char_delete2_cancel(fd, sd); break;
// login as map-server
case 0x2af8: chclif_parse_maplogin(fd); return 0; // avoid processing of followup packets here
#if PACKETVER_SUPPORTS_PINCODE
//pincode
case 0x8b8: next=chclif_parse_pincode_check( fd, sd ); break; // checks the entered pin
case 0x8c5: next=chclif_parse_reqpincode_window(fd,sd); break; // request for PIN window
case 0x8be: next=chclif_parse_pincode_change( fd, sd ); break; // pincode change request
case 0x8ba: next=chclif_parse_pincode_setnew( fd, sd ); break; // activate PIN system and set first PIN
#endif
// character movement request
case 0x8d4: next=chclif_parse_moveCharSlot(fd,sd); break;
case 0x9a1: next=chclif_parse_req_charlist(fd,sd); break;
 
 
After adding these lines , of the following error:
 

 

 

1>Build started 01/02/2016 21:03:05.

2>Build started 01/02/2016 21:03:05.
2>_PrepareForClean:
2>  Deleting file "login-server\Debug\login-server.lastbuildstate".
1>_PrepareForClean:
1>  Deleting file "map-server\Debug\map-server.lastbuildstate".
4>Build started 01/02/2016 21:03:05.
3>Build started 01/02/2016 21:03:05.
3>_PrepareForClean:
3>  Deleting file "char-server\Debug\char-server.lastbuildstate".
4>_PrepareForClean:
4>  Deleting file "mapcache\Debug\mapcache.lastbuildstate".
3>InitializeBuildStatus:
3>  Touching "char-server\Debug\char-server.unsuccessfulbuild".
2>InitializeBuildStatus:
2>  Creating "login-server\Debug\login-server.unsuccessfulbuild" because "AlwaysCreate" was specified.
4>InitializeBuildStatus:
4>  Creating "mapcache\Debug\mapcache.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>InitializeBuildStatus:
1>  Creating "map-server\Debug\map-server.unsuccessfulbuild" because "AlwaysCreate" was specified.
3>ClCompile:
3>  grammar.c
3>  libconfig.c
3>  scanctx.c
3>  scanner.c
3>  strbuf.c
3>  mt19937ar.c
4>ClCompile:
4>  core.c
3>  conf.c
1>ClCompile:
1>  grammar.c
1>  libconfig.c
2>ClCompile:
2>  grammar.c
2>  libconfig.c
4>  des.c
4>  grfio.c
2>  scanctx.c
4>  malloc.c
1>  scanctx.c
2>  scanner.c
2>  strbuf.c
1>  scanner.c
3>  core.c
4>  showmsg.c
4>  strlib.c
2>  mt19937ar.c
1>  strbuf.c
2>  conf.c
4>  utils.c
3>  db.c
3>  ers.c
1>  mt19937ar.c
3>  malloc.c
1>  conf.c
1>  core.c
2>  mempool.c
1>  db.c
4>  mapcache.c
2>  mutex.c
1>  des.c
2>  raconf.c
3>  mapindex.c
3>  mempool.c
3>  mutex.c
3>  nullpo.c
1>  ers.c
1>  grfio.c
3>  raconf.c
2>  thread.c
3>  random.c
2>  core.c
2>  db.c
3>  showmsg.c
3>  socket.c
1>  malloc.c
2>  ers.c
1>  mapindex.c
1>  md5calc.c
1>  mempool.c
3>  sql.c
1>  mutex.c
1>  nullpo.c
2>  malloc.c
1>  raconf.c
3>  strlib.c
2>  md5calc.c
2>  nullpo.c
2>  random.c
1>  random.c
3>  thread.c
1>  showmsg.c
1>  socket.c
1>  sql.c
3>  timer.c
2>  showmsg.c
1>  strlib.c
2>  socket.c
3>  utils.c
2>  sql.c
2>  strlib.c
3>  msg_conf.c
2>  timer.c
1>  thread.c
2>  utils.c
3>  cli.c
2>  msg_conf.c
1>  timer.c
3>  char.c
3>  char_clif.c
1>  utils.c
1>  msg_conf.c
2>  cli.c
3>  char_cnslif.c
2>  account.c
2>  ipban.c
3>  char_logif.c
1>  cli.c
1>  atcommand.c
3>  char_mapif.c
3>  int_auction.c
3>  int_elemental.c
1>  battle.c
2>  login.c
3>  int_guild.c
2>  loginchrif.c
2>  loginclif.c
2>  logincnslif.c
1>  battleground.c
1>  buyingstore.c
2>  loginlog.c
1>  cashshop.c
1>  channel.c
3>c:\users\gustavo\desktop\rathena-master\src\char\char_clif.c(1211): warning C4013: 'hashield_connect' undefined; assuming extern returning int
1>  chat.c
1>  chrif.c
3>  int_homun.c
3>  int_mail.c
3>  int_mercenary.c
3>  int_party.c
3>  int_pet.c
3>  int_quest.c
1>  clif.c
3>  int_storage.c
3>  inter.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.c
1>  homunculus.c
1>  instance.c
1>  mercenary.c
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
4>Manifest:
4>  Deleting file "mapcache\Debug\mapcache.exe.embed.manifest".
1>  skill.c
1>  status.c
1>  storage.c
1>  trade.c
1>  unit.c
1>  vending.c
2>Manifest:
2>  Deleting file "login-server\Debug\login-server.exe.embed.manifest".
3>char_clif.obj : error LNK2019: unresolved external symbol _hashield_connect referenced in function _chclif_parse
3>..\char-server.exe : fatal error LNK1120: 1 unresolved externals
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:09.38
4>LinkEmbedManifest:
4>  mapcache.vcxproj -> C:\Users\Gustavo\Desktop\rathena-master\vcproj-10\..\mapcache.exe
4>FinalizeBuildStatus:
4>  Deleting file "mapcache\Debug\mapcache.unsuccessfulbuild".
4>  Touching "mapcache\Debug\mapcache.lastbuildstate".
4>
4>Build succeeded.
4>
4>Time Elapsed 00:00:11.08
1>Manifest:
1>  Deleting file "map-server\Debug\map-server.exe.embed.manifest".
2>LinkEmbedManifest:
2>  login-server.vcxproj -> C:\Users\Gustavo\Desktop\rathena-master\vcproj-10\..\login-server.exe
2>FinalizeBuildStatus:
2>  Deleting file "login-server\Debug\login-server.unsuccessfulbuild".
2>  Touching "login-server\Debug\login-server.lastbuildstate".
2>
2>Build succeeded.
2>
2>Time Elapsed 00:00:12.19
1>LinkEmbedManifest:
1>  map-server.vcxproj -> C:\Users\Gustavo\Desktop\rathena-master\vcproj-10\..\map-server.exe
1>FinalizeBuildStatus:
1>  Deleting file "map-server\Debug\map-server.unsuccessfulbuild".
1>  Touching "map-server\Debug\map-server.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:14.77
========== Rebuild All: 3 succeeded, 1 failed, 0 skipped ==========

 

 
 

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   17
  • Joined:  01/23/14
  • Last Seen:  

Okay, i modificated my hashield compilation, solved this compilation error;

 

 

char.c

 

GYVRYQG.png

 

 

 

and char_clif.c

 

Do0lyC9.png

 

 

and hashield_char.c

 

Am0FvlU.png

 

 

 

 

 

Finish! 

 

 

My serv work 100% (+150 ON players)

 

 

sorry my bad english  :-()

Edited by falkatrua
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  04/03/14
  • Last Seen:  

Okay, i modificated my hashield compilation, solved this compilation error;

 

 

char.c

 

GYVRYQG.png

 

 

 

and char_clif.c

 

Do0lyC9.png

 

 

and hashield_char.c

 

Am0FvlU.png

 

 

 

 

 

Finish! 

 

 

My serv work 100% (+150 ON players)

 

 

sorry my bad english  :-()

Muito obrigado!! Consegui compilar com sucesso. Agora o que está acontecendo é quando vou logar no jogo através do hashield, na área de login ele fala que a conta não está registrada, sendo que esta.

 

@English

Thank you!! I managed to successfully compile. Now what is happening is when I log into the game via hashield in the area of ​​login he says that the account is not registered , and this .

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1509
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

i think hashield stop development . Theres no reply from kamishi for a few months already

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  04/03/14
  • Last Seen:  

i think hashield stop development . Theres no reply from kamishi for a few months already

 
Yes I know , but I have a lifetime license. Only I'm having problems to solve this problem.
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   17
  • Joined:  01/23/14
  • Last Seen:  

@guhx 

 

passwords md5 format?

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