|
You last visited: Today at 16:17
Advertisement
[Release] Unique Logger (Source included)
Discussion on [Release] Unique Logger (Source included) within the SRO PServer Guides & Releases forum part of the SRO Private Server category.
04/03/2012, 20:19
|
#1
|
elite*gold: 11
Join Date: May 2009
Posts: 617
Received Thanks: 587
|
[Release] Unique Logger (Source included)
how it works ?
-it reads daily logs and updates uniques who killed, spawn time etc. like old rev6
how to setup ?
1-run this query on shard db
PHP Code:
/****** Object: Table [dbo].[UniqueStatus] Script Date: 04/03/2012 21:12:43 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[UniqueStatus]( [ID] [int] IDENTITY(1,1) NOT NULL, [Unique] [varchar](250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [SpawnTime] [varchar](250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Killer] [varchar](250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [KilledTime] [varchar](250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, CONSTRAINT [PK_UniqueStatus] PRIMARY KEY CLUSTERED ( [ID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO SET IDENTITY_INSERT [dbo].[UniqueStatus] ON INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (1, N'Tiger Girl', N'03.04.2012 16:40:13', N'Saturn_End', N'03.04.2012 16:42:33') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (2, N'Cerberus', N'03.04.2012 21:10:13', N'*alive', N'*alive') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (3, N'Captan Ivy', N'03.04.2012 17:20:48', N'aLone__DeviL', N'03.04.2012 17:21:51') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (4, N'Uruchi', N'03.04.2012 15:39:56', N'solmaz46', N'03.04.2012 15:41:44') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (5, N'Isyutaru', N'03.04.2012 17:34:16', N'Turk_PoWeR_', N'03.04.2012 17:48:57') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (6, N'Lord Yarkan', N'03.04.2012 13:50:09', N'ByMaX', N'03.04.2012 13:54:26') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (7, N'Demon Shaitan', N'03.04.2012 18:09:48', N'aLone__DeviL', N'03.04.2012 18:11:54') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (8, N'The Earth', N'03.04.2012 16:55:11', N'Saturn_End', N'03.04.2012 16:56:14') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (9, N'Yuno', N'03.04.2012 16:29:13', N'UniqeKiLLeR_', N'03.04.2012 16:32:01') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (10, N'Jupiter', N'03.04.2012 16:34:51', N'Saturn_End', N'03.04.2012 16:37:04') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (11, N'Babilion', N'03.04.2012 17:49:52', N'THE_DAGGER', N'03.04.2012 17:57:10') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (12, N'Baal', N'03.04.2012 15:39:52', N'NoN_RoFLoLPk', N'03.04.2012 15:44:58') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (13, N'Zielkiaxe', N'03.04.2012 20:48:53', N'Vvarlack', N'03.04.2012 20:54:44') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (14, N'Cyclops', N'03.04.2012 11:03:22', N'CRaZy_qirL', N'03.04.2012 11:15:53') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (15, N'Battle Golem', N'03.04.2012 17:37:47', N'Tueur', N'03.04.2012 17:42:35') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (16, N'Rage Cloud', N'03.04.2012 15:53:08', N'UniqeKiLLeR_', N'03.04.2012 15:55:39') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (17, N'Taishan Monster', N'03.04.2012 18:38:06', N'LizzieLavey', N'03.04.2012 18:39:58') INSERT [dbo].[UniqueStatus] ([ID], [Unique], [SpawnTime], [Killer], [KilledTime]) VALUES (18, N'Black Cloud', N'03.04.2012 19:48:49', N'BaLRogg', N'03.04.2012 19:53:30') SET IDENTITY_INSERT [dbo].[UniqueStatus] OFF
2-extract uniquelogger.exe to your server files folder (gameserver's folder)
3-edit config.ini with your db settings
4-run & enjoy !
download :
simple php script for reading logs from db :
PHP Code:
<? $host = "db_server"; $user = "db_id"; $pass = "db_pw"; $db = "db_name"; $sConn = odbc_connect("Driver={SQL Server};Server={".$host."}; Database={".$db."}", "".$user."", "".$pass."") or die("<center><b style=\"border:1px dashed #FF0000;\">".str_replace("[Microsoft][ODBC SQL Server Driver][SQL Server]", "", odbc_errormsg())."</b></center>"); $query = odbc_exec($sConn,"SELECT * FROM UniqueStatus ORDER BY ID"); echo '<table border=1> <tr> <th>Unique</th> <th>Spawned Time</th> <th>Killer</th> <th>Killed Time</th> </tr>'; while($row = odbc_fetch_array($query)) { echo ' <tr> <td>'.$row['Unique'].'</td> <td>'.$row['SpawnTime'].'</td> <td>'.$row['Killer'].'</td> <td>'.$row['KilledTime'].'</td> </tr> '; } echo '</table>'; ?>
|
|
|
06/01/2012, 06:47
|
#2
|
elite*gold: 0
Join Date: Jun 2012
Posts: 1
Received Thanks: 0
|
Anti Money Laundering
Its a good info with a great job. really in a web site for more need to a best data base function, I used these all query for my data base. thanks you again.
|
|
|
06/02/2012, 14:52
|
#3
|
elite*gold: 11
Join Date: May 2009
Posts: 617
Received Thanks: 587
|
up
|
|
|
06/02/2012, 20:48
|
#4
|
elite*gold: 0
Join Date: Apr 2011
Posts: 590
Received Thanks: 774
|
thanks
|
|
|
06/02/2012, 20:49
|
#5
|
elite*gold: 0
Join Date: Jan 2011
Posts: 233
Received Thanks: 23
|
Thanks dude nice job
|
|
|
06/03/2012, 20:59
|
#6
|
elite*gold: 0
Join Date: Mar 2012
Posts: 14
Received Thanks: 0
|
i get this error
while i run uniquelogger.exe
|
|
|
06/09/2012, 13:14
|
#7
|
elite*gold: 5
Join Date: May 2012
Posts: 217
Received Thanks: 113
|
Works fine Thanks
|
|
|
06/11/2012, 08:50
|
#8
|
elite*gold: 0
Join Date: May 2012
Posts: 190
Received Thanks: 66
|
useful thanks i will use it later
|
|
|
06/11/2012, 11:37
|
#9
|
elite*gold: 0
Join Date: Dec 2011
Posts: 651
Received Thanks: 266
|
great working !
|
|
|
06/11/2012, 12:13
|
#10
|
elite*gold: 0
Join Date: May 2012
Posts: 190
Received Thanks: 66
|
tested and working good thank you ..
|
|
|
06/12/2012, 01:26
|
#11
|
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,654
|
Personally I would do this via PHP
PHP Code:
$fullpath = 'path to gameserver.exe' . "\\" . 'file name of fatallog.txt. You have to choose the latest one.'; // Be careful using slashes $fileArray = file($fullpath); foreach($fileArray as $key => $value) { if(stristr($value, "UNIQUE MONSTER KILLED") !== FALSE) { $explodearray = explode("\t", $value); $time = $explodearray[0] . " " . $explodearray[1]; $alltext = str_replace("Unique Monster Killed! UNIQUE[", "", $explodearray[3]); $exploded = explode("] by [", $alltext); $uniquename = $exploded[0]; $killername11 = str_replace("]", "", $exploded[1]); $killername = trim($killername11); writetodb($uniquename, $killername, $time); // your own function to write into database } }
|
|
|
06/28/2012, 00:13
|
#12
|
elite*gold: 0
Join Date: Jun 2011
Posts: 49
Received Thanks: 0
|
I really don't know where is that DB and i don't know where to put It plz answer me
|
|
|
08/14/2012, 15:38
|
#13
|
elite*gold: 0
Join Date: Jul 2012
Posts: 116
Received Thanks: 6
|
hay i get an error when i run uniquequeloger.exe ...
Line 3235(File "C......"):
Error: Array variable has incorrct number of subscripts or subscript dimension range exeeded
what i must do?
|
|
|
09/01/2012, 21:06
|
#14
|
elite*gold: 0
Join Date: Dec 2007
Posts: 241
Received Thanks: 16
|
Quote:
Originally Posted by noenergy
hay i get an error when i run uniquequeloger.exe ...
Line 3235(File "C......"):
Error: Array variable has incorrct number of subscripts or subscript dimension range exeeded
what i must do?
|
Some Error Here .. So can make this without execute uniquelogger.exe ?
|
|
|
08/29/2015, 15:13
|
#15
|
elite*gold: 0
Join Date: Dec 2014
Posts: 26
Received Thanks: 0
|
SAME
|
|
|
|
|
Similar Threads
|
[Release] Blowfish getter for all new sro version [source code included]
03/21/2017 - SRO Private Server - 19 Replies
Hello,today i'll release my blowfish key getter,it uses silkroad.exe,not sro_client
I included source code
Download
credits for vitalka for FindPattern functions
this won't work with the very old clients
H.f
|
Auto Enter v1 [Source included]
02/06/2012 - SRO Hacks, Bots, Cheats & Exploits - 90 Replies
Silkroad Auto Enter + Source - Updated 6/6/09 - v1.5.2
by SpInKsTaR :]
http://img199.imageshack.us/img199/3496/autoenter .jpg
Hai guys, I know theres like 1,000,000 of these key pressers around, but heres myn anyway ;P
Dont really need to explain much, its all self explanatory
Feel free to modify to code anyway you like
|
[C++ Source Code]Position Logger.
11/05/2010 - WarRock - 11 Replies
Hallo Community,
ich Release hier den Source Code meines Position Loggers den ich in C++ Programmiert habe
Wenn man damit ingame Numpad 0 drückt speichert er die Aktuelle Position ( X , Y , Z ) in einer Datei Namens 'Positions.txt'
Sehr nützlich für z.B. Tele. to Ammo / Tele. to Health / Tele. to Bomb etc.
Brain.cpp:
#include <windows.h>
#include <stdio.h>
#include "Log.h"
|
Unique spawn logger?
04/14/2010 - Silkroad Online - 3 Replies
Hey all, is there any program that logs the time of unique spawn? Im on rsro atm, an iBot doesnt do this... (i dont suppose version of game matters so i post here because more likely for answer ^^)
Thanks for any help
cocobro
|
Injects Updater (source included)
01/05/2009 - SRO Hacks, Bots, Cheats & Exploits - 7 Replies
What does it do?
This program replaces old injects in AgBot scripts with the most recent ones
Why did I make it?
We had to update the injects in AgDev, and in stead of having to go through every file, I made a function to easily "update" the injects. I thought it was kinda handy, so I made this little program
Why did I include the source code?
This program is really too easy to make, so I thought "why don't I just release the source code?".
This can also be handy for ppl who are...
|
All times are GMT +2. The time now is 16:17.
|
|