Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 14.02.2006, 07:59   #7
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default

>Anyone got log parser that told me who (char_id) got which item (uniq id,
>item type) from who (char_id) and when

This is standart dupe transaction (for example):

02/03/2006 12:29:xx.xx6, 932,52095,13267,52095,13267,118394,-171034,-24,,,,4,1,53,1,53,1,0,1458,7054,1,12434512,bal,124 34512,bal,4576443

02/03/2006 12:29:xx.xx9, 931,52095,13267,52095,13267,118394,-171034,-24,,,,4,1,53,1,53,1,0,1458,-14108,1,12434512,bal,12434512,bal,4576443

code 931 = PrivateStoreSell
code 932 = PrivateStoreBuy

look how it seems on the la2admin:

2006-02-03 12:29:01 12434512 bal PrivateStoreBuy 118394 -171034 -24 Race=Dwarf Gender=Female Class=Dwarven Fighter Level=1 Target Character's Class=Dwarven Fighter Target Character's Level=1 Enchant=0 Item Type=Crystal: D Grade Change in Quantity=7054 Price=1 Unique ID=4576443 12434512 bal

2006-02-03 12:29:01 12434512 bal PrivateStoreSell 118394 -171034 -24 Race=Dwarf Gender=Female Class=Dwarven Fighter Level=1 Target Character's Class=Dwarven Fighter Target Character's Level=1 Enchant=0 Item Type=Crystal: D Grade Change in Quantity=-14108 Price=1 Unique ID=4576443 12434512 bal

as you can see, bal sell Crystal D to him self

so we can construct SQL request, whitch shows, who did the same
Code:
SELECT R1.STR_actor, R1.STR_actor_account
FROM (
	SELECT * FROM lin2log..L2006_02_13_log_data0_1 (nolock) WHERE log_id IN	(931) AND STR_actor = STR_target
  UNION ALL
	SELECT * FROM lin2log..L2005_02_13_log_data0_1 (nolock) WHERE log_id IN	(931) AND STR_actor = STR_target
)	AS R1 
GROUP By R1.STR_actor, R1.STR_actor_account, R1.actor, R1.actor_account
But this all only postfix, the right way to solve this problem, is block self selling.

>uh.... i think "Lineage" is one word, not "Line-Age"... therefore "La2" is...
>incorrect.

If that, we mast to use only full name - Lineage2, or small L2. Full name is too long for programmers forum where all understand each other right, small name tell nothing special. I think "la2" is the name which may have they place there Peoples english talk protocol (PETP) allows this
kembl is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:08.