Jump to content
  • 0

Item logs


Profile

Question


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   1
  • Joined:  04/15/17
  • Last Seen:  

Hi, recently some of my players had issues with item loss.

I have tried looking at the database logs in search for the items, but I can't seem to find them.

Here are the tables I have on the logs folder. Isn't there supposed to be a droplog, tradelog and others?

Also, how can I find how many of a specific item there are on the server?

This might be a simple question, but it's something I'm having difficulties with. Thanks!

haha.png.6a1251ff464df5a8572250a77c88bdad.png

Edited by Profile
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

On 04/09/2017 at 10:58 PM, Profile said:

So it's controlled with the "Type" column?

I guess "T" represents TRADE, is there anywhere I can see what each letter represents?

Thank you

sql-files/logs.sql#L142-L167

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

All trade, drop logs will be logged in picklog

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   1
  • Joined:  04/15/17
  • Last Seen:  

10 minutes ago, Cyro said:

All trade, drop logs will be logged in picklog

I see, so it is all stored in one place.

How do I find out how this item was obtained? if it was traded (and which who) or picked up etc...

hehe.png.455403d1eaa0e6b59ef3940c67734702.png

Thanks.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

You can search them.from query SQL or search 

Something like this

SELECT * FROM picklog WHERE `char_id` = '1' AND `type` = 'T' AND `nameid` = '512' AND `amount` = '-1'

 

 

-1 is represents item taken out from player

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   1
  • Joined:  04/15/17
  • Last Seen:  

So it's controlled with the "Type" column?

I guess "T" represents TRADE, is there anywhere I can see what each letter represents?

Thank you

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