How i can find which player which player killed

Join Discord

zedina

Mir3 Dev
Legendary
Dec 22, 2005
3,168
1
1,017
340
No that i ask that CrueDragon save in some databse or file which player kill.
 
Upvote 0

zedina

Mir3 Dev
Legendary
Dec 22, 2005
3,168
1
1,017
340
I maked so when some one die on Sabuk to save it

I writed this

/mud3/MapQuest.txt
3 [0] 0 [UserDie] * * [System\User_Die] [@Main]

/mud3/QuestDiary/System/User_Die.txt
[@Main]
#ACT
FormatStr "'%s','%s','SABUK'" %USERNAME %GUILDNAME
WriteValueSql "TBL_UserDie" "Hero='LASDFJop2i3MSLA'" "Hero,Guild,Location" %A9
EventMsg "3" "<$USERNAME> from <$GUILD> Guild died!"

my question is that i have some values like (%KILLNAME writed by m_clauss, and this one not work) by what get killed the person.
 
Upvote 0

zedina

Mir3 Dev
Legendary
Dec 22, 2005
3,168
1
1,017
340
Ok i find out at last.

You need to start this LogDataServer.exe program and this make addition log file wich have store this requored info

sample data from log file

1 0 0 19 D22021 110 102 player1 0 0 0 payer2 2006-09-03 22:51:34

player1 have be killed by player2

Line parameters
1, unknow
2, unknow
3, unknow
4,
0=>"Get",
1=>"Store",
4=>"Pickup",
5=>"Make",
6=>"Destroy",
7=>"Drop",
8=>"Trade with",
9=>"Buy At",
10=>"Pay or Sell",
15=>"Drop",
19=>"Killed by"
5, map
6, X-cords
7, Y-cords
8, Player
9, unknow
10, FLD_MAKEINDEX
11, if 9 param value 9999 then param 11 say gold value
12, Other Player name (killer or trade), NPC name
13, Timestamp

the rest i dont finded out today :)

GL
 
Upvote 0

Kaori

LOMCN MiR3 Queen!
VIP
Jun 3, 2004
3,584
38
285
Canada
you can find this in older server files (msrf 2.9 etc)

it would into the mir3server directory with dbsrv and loginsrv
 
Upvote 0