Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 22:03

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

Advertisement



[HOWTO] Logging ALL Queries on a MSSQL Database?

Discussion on [HOWTO] Logging ALL Queries on a MSSQL Database? within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
[HOWTO] Logging ALL Queries on a MSSQL Database?

Hi,

after ALLOT of googling in found a very sweet function in mssql
If you have "Profiler" install here is how you can track almost everything that is going on in the DB

after creating the topic and result from
ive found out that it will take months (YES! months) to analyze all the data that is send from dekaronserver.exe
so here is how you can trace it:

Open SQL Server Profiler or Profiler

* File->New Trace
* The "General" Tab is displayed.
* Here you can choose "Save to file:" so its logged to a file.
* View the "Event Selection" Tab
* Select the items you want to log.
* TSQL->SQL:BatchStarting will get you sql selects
* Stored Procedures->RPC:Completed will get you Stored Procedures.

now all the data from dekaronserver is called by SP's or better called as "Stored Procedures"

there are actually about 500 gueries that the server run while its starting up

In the "Event Selection" you can add almost every action in the db, so you only need SQL->SQL:BatchStarting and Stored Procedures->RPC:Completed to view the db data

I know its allot of info but sadly i cant do that all by myself so ...
now you know how you can log queries

More info can be found on:

PS: DO NOT pm me about "mssql profiler" related questions, i dont know allot about it so ... use google ffs

MSSQL 2000 + 2005 + 2008 comes with Profiler, if you dont have it, re-install it


janvier123 is offline  
Thanks
6 Users
Old 12/22/2010, 10:16   #2
 
pieter's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 568
Received Thanks: 176
profiler is a wonderfull tool to find out which event ingame, triggers what SP

thats how i've learned how dekaron communicates with the DB
pieter is offline  
Thanks
1 User
Old 12/22/2010, 10:47   #3
 
Decima's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
****.

im speechless

ur a gentleman and a scholar









and a fking genius
hats off to you, ur the man.
Decima is offline  
Thanks
1 User
Old 12/22/2010, 12:41   #4
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
sadly i dont know much about SP's
but there are very powerful and easy to use, IF you know how
janvier123 is offline  
Old 12/22/2010, 14:00   #5



 
MMOPerfectionİ's Avatar
 
elite*gold: 964
Join Date: Mar 2008
Posts: 1,550
Received Thanks: 310
**** bro, I must say, your doing a very outstanding job with the releases yo
keep it the F*** up!
MMOPerfectionİ is offline  
Thanks
1 User
Old 12/22/2010, 21:45   #6
 
gedimazs's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 863
Received Thanks: 197
have checked it out, and I can say WOW lots of info you can see there, how is everything working.
gedimazs is offline  
Old 12/22/2010, 23:21   #7
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
Exactly, iam gonna try to make a tutorial about PHP queries
all queries from php send to the DB,
its easy to track all incoming scripts so ..
janvier123 is offline  
Old 12/25/2010, 23:34   #8
 
elite*gold: 0
Join Date: Sep 2009
Posts: 5
Received Thanks: 2
Thx for this janvier123
Sunnysky is offline  
Thanks
1 User
Old 12/25/2010, 23:35   #9
 
janvier123's Avatar
 
elite*gold: 20
Join Date: Nov 2007
Posts: 2,854
Received Thanks: 1,891
Recored at 1920 x 1080
Watch in full screen + 1080p



janvier123 is offline  
Reply


Similar Threads Similar Threads
[Release]CLEAN database + MSSQL cleaning script
11/02/2020 - Dekaron Private Server - 31 Replies
My 666th post! Ok, so I know everyone is expecting the IPbanV2/3 from me as my next release, but I decided I will do this first, because it took me a lot less time. LINK (megaupload) ALL info is deleted, except what is required to run the server with all functions like in the silkbotter's database. Tested by myself, and working. NOTE: Siege is not added, but you can add it easily with the script. I didn't add siege, because I thought that you will want to set the start time like you...
Rumata Loader + Agbot Queries
09/22/2009 - Silkroad Online - 5 Replies
Rumata Loader v7.3, the latest version, does not work with SRO v1.213 is there any way to solve it? I've tried this method: http://www.elitepvpers.com/forum/sro-guides-templa tes/325912-guide-how-use-rumata-loader-v1-212-a.ht ml But it gets error with weird words when i use the redirect and NuConnector can't detect the client. I moved the entire Agbot package including NuConnector and the redirect worked. But after login in, i can't see any characters and it hangs when i try to create a...
[ePic-ReLeAsE] Mob Queries ( 359 )
08/14/2009 - CO2 PServer Guides & Releases - 9 Replies
i aint releasing anything anymore,



All times are GMT +1. The time now is 22:03.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.