Jump to content
  • 0

Usable Items bug After Relog


Strand

Question


  • Group:  Members
  • Topic Count:  39
  • Topics Per Day:  0.01
  • Content Count:  102
  • Reputation:   2
  • Joined:  07/01/13
  • Last Seen:  

Hello guys.

 

I know this is a rAthena community and it has nothing to do with eAthena/eAmod buti was hoping that someone of you all would help me with this, if you had a small idea about how to resolve this problem.

 

Well, i'm using latest version of eAthena. When i grab and item from the floor or get it from a command, i can use the item with no problem, but, when i relog or restart the server, i cannot longer use that item (i'm talking about Consumables/Usables items only) The equipments work fine and also Misc. It's just the usable items.

 

The console doesn't show any errors, either the client. And it does exist the table Inventory on my SQL.

 

I've been investigating the whole yesterday and part of today and i have found no answers to this.

 

I was wondering if one of you would have a clue.

 

Thank you guys.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

Hello!

 

Open ../src/char_sql/char.c and in the function "mmo_char_fromsql" before:

  memset(p, 0, sizeof(struct mmo_charstatus));

add:

  memset(&tmp_item, 0, sizeof(tmp_item));

Save it and re-compile the server.

Edited by Functor
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  73
  • Reputation:   1
  • Joined:  07/18/13
  • Last Seen:  

On 1/18/2016 at 6:30 AM, Functor said:

Hello!

 

Open ../src/char_sql/char.c and in the function "mmo_char_fromsql" before:

  memset(p, 0, sizeof(struct mmo_charstatus));

add:

  memset(&tmp_item, 0, sizeof(tmp_item));

Save it and re-compile the server.

thank its working

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