Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 16:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Database Questions (Maybe Log questions too)

Discussion on Database Questions (Maybe Log questions too) within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 35
Received Thanks: 5
Database Questions (Maybe Log questions too)

How can I find out what items exist and on what accounts theyre on?
How can I See which accounts have traded to others?
lolobama is offline  
Old 06/19/2013, 20:28   #2
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
  • Existing items - PS_GameData
    • CharItems - Inventory
    • UserStoredItems - Warehouse
    • MarketItems - Auction Board
    • GuildStoredItems - Guild House Warehouse
  • Transaction Logs - PS_GameLog
    • ActionLog
      • ActionType = 117
nubness is offline  
Thanks
1 User
Old 06/19/2013, 23:50   #3
 
IonutTheDawg's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 103
Received Thanks: 38
You can find out wich characters have a specific item by running this query and replacing the 'itemid' with the item's id that you're intrested in. ( 's are optional)
Quote:
USE PS_GameData SELECT CharID
FROM CharItems
WHERE ItemID= 'itemid'
IonutTheDawg is offline  
Thanks
2 Users
Old 06/20/2013, 04:23   #4
 
elite*gold: 0
Join Date: Jun 2010
Posts: 35
Received Thanks: 5
Thanks to both of you, is there a query that could be run to find specific user's trade logs?
lolobama is offline  
Old 06/20/2013, 08:10   #5
 
nubness's Avatar
 
elite*gold: 10
Join Date: Jan 2012
Posts: 1,698
Received Thanks: 5,451
  • By UserID:
    Code:
    SELECT * FROM PS_GameLog.dbo.ActionLog
    WHERE UserUID = (SELECT UserUID FROM PS_UserData.dbo.Users_Master
    WHERE UserID = '[B][U][I]USER ID HERE[/I][/U][/B]')
  • By CharName:
    Code:
    SELECT * FROM PS_GameLog.dbo.ActionLog
    WHERE CharID = (SELECT CharID FROM PS_GameData.dbo.Chars
    WHERE CharName = '[B][U][I]CHAR NAME HERE[/I][/U][/B]')
  • All chars on that account, by specifying one CharID:
    Code:
    SELECT * FROM PS_GameLog.dbo.ActionLog
    WHERE UserUID = (SELECT UserUID FROM PS_GameData.dbo.Chars
    WHERE CharName = '[B][U][I]CHAR NAME HERE[/I][/U][/B]')
nubness is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Question] Eudemon Questions/Database.
10/14/2015 - EO PServer Hosting - 9 Replies
I have 2 questions that I have for you(the community) that I need answered :). 1. How would I change a eudemon's star rank. I know it's in cq_eudemon in the database but when I change the star rank/level the eudemons get a 74455 star ranking, and I don't want that. I just want like a 500* or 1000* eudemon. what would I have to modify to get these stats right? 2. How would I change the rates of how monsters drop EP-Cards/gold/items. is it in the database or is it somewhere else?
Questions About Database
05/13/2012 - CO2 Private Server - 8 Replies
i Got Couple of Question ABout database :- 1 - im using navicat and i would like to set password on it when i open my database There ..Can i do that or it doesnt have that feature ? 2 - is There more professional Prog than navicat ? 3 - which is better to use mysql Or Ms Sql 4 - if i used Mysql what is the best way FOr saving / loading Database :- 1 - Nhibernate
[HELP]How to change a database :P?(I know many questions i have :P)
01/15/2012 - Shaiya Private Server - 9 Replies
Hi, How can i change a database? Tell me in this topic or add me on skype ^.^ : bronsie1 i need help :D Greetz, Luc



All times are GMT +2. The time now is 16:50.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.