Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.07.2005, 12:40   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Notes] LoginScreeen CharSelectInfo

thx to la2vlad

【共享】小研究 LoginScreeen CharSelectInfo

The small study LoginScreeen CharSelectInfo.

In C1 paket format:
Sdsddddddddddffddddddddddddddddddddddddddddddddddd dddddddddddffd

In C3 format was changed:
Sdsddddddddddffddddddddddddddddddddddddddddddddddd dddddddddddddffdddc

where:

S –Char_Name
D –Char_ID
S –Login_Name
D –Session_ID
D –Clan_ID
D –0x00
D –Sex
D –Race
D –Class_ID
D –0x01
D –x_location
D –y_location
D –z_location
F –Current_Hp
F –Current_Mp
D - Sp
D - Exp
D - Level
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - 0x00
D - ObjectID - Inventory.PAPERDOLL_UNDER
D - ObjectID - Inventory.PAPERDOLL_REAR
D - ObjectID - Inventory.PAPERDOLL_LEAR
D - ObjectID - Inventory.PAPERDOLL_NECK
D - ObjectID - Inventory.PAPERDOLL_RFINGER
D - ObjectID - Inventory.PAPERDOLL_LFINGER
D - ObjectID - Inventory.PAPERDOLL_HEAD
D - ObjectID - Inventory.PAPERDOLL_RHAND
D - ObjectID - Inventory.PAPERDOLL_LHAND
D - ObjectID - Inventory.PAPERDOLL_GLOVES
D - ObjectID - Inventory.PAPERDOLL_CHEST
D - ObjectID - Inventory.PAPERDOLL_LEGS
D - ObjectID - Inventory.PAPERDOLL_FEET
D - ObjectID - Inventory.PAPERDOLL_BACK
D - ObjectID - Inventory.PAPERDOLL_LRHAND
D - ObjectID - Inventory.PAPERDOLL_HAIR
D - ItemID - Inventory.PAPERDOLL_UNDER (NEW in C3)
D - ItemID - Inventory.PAPERDOLL_REAR
D - ItemID - Inventory.PAPERDOLL_LEAR
D - ItemID - Inventory.PAPERDOLL_NECK
D - ItemID - Inventory.PAPERDOLL_RFINGER
D - ItemID - Inventory.PAPERDOLL_LFINGER
D - ItemID - Inventory.PAPERDOLL_HEAD
D - ItemID - Inventory.PAPERDOLL_RHAND
D - ItemID - Inventory.PAPERDOLL_LHAND
D - ItemID - Inventory.PAPERDOLL_GLOVES
D - ItemID - Inventory.PAPERDOLL_CHEST
D - ItemID - Inventory.PAPERDOLL_LEGS
D - ItemID - Inventory.PAPERDOLL_FEET
D - ItemID - Inventory.PAPERDOLL_BACK
D - ItemID - Inventory.PAPERDOLL_LRHAND
D - ItemID - Inventory.PAPERDOLL_HAIR (NEW in C3)
D – Char_HairStyle
D – Char_HairColor
D – Char_Face
F – Char_MaxHp
F – Char_MaxMp
D – Char_DeleteTimer
D – Char_ClassID (NEW in C3)
D - 0x00 (NEW in C3)
C – Char_EnchantEffect (NEW in C3)

Solution:

Need make small changes in Cached.exe
here! -> .text:00458D50 sub_458D50 proc near ; CODE XREF: sub_45A5B0+B6

Need make small changes in MSSQL DB - Lin2word (StoredProcedures – [lin_GetUserDataByCharId])
Dont need memory process change.
Need small correction Stored Procedure [dbo.lin_GetUserDataByCharId].

Need make small changes in L2server.exe
here! -> .text:00465990 sub_465990 proc near ; DATA XREF: .data:006BAFA4

good luck
Digital is offline  
Old 08.07.2005, 12:43   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

unmodified view of GetUserDatabyCharId

--------------

/****** 개체: 저장 프로시저 dbo.lin_GetUserDataByCharId 스크립트 날짜: 2004-10-01 오전 12:44:35 ******/




/********************************************
lin_GetUserDataByCharId

INPUT
@char_id INT
OUTPUT
ud.char_name, ud.account_name, ud.account_id, ud.pledge_id, ud.builder, ud.gender, ud.race, ud.class, ud.world, ud.xloc, ud.yloc, ud.zloc,
ud.HP, ud.MP, ud.SP, ud.Exp, ud.Lev, ud.align, ud.PK, ud.Str, ud.Dex, ud.Con, ud.Int, ud.Wit, ud.Men,
ud.ST_underware, ud.ST_right_ear, ud.ST_left_ear, ud.ST_neck, ud.ST_right_finger, ud.ST_left_finger, ud.ST_head, ud.ST_right_hand,
ud.ST_left_hand, ud.ST_gloves, ud.ST_chest, ud.ST_legs, ud.ST_feet, ud.ST_back, ud.ST_both_hand,
uas.s1, uas.l1, uas.d1, uas.s2, uas.l2, uas.d2, uas.s3, uas.l3, uas.d3, uas.s4, uas.l4, uas.d4, uas.s5, uas.l5, uas.d5, uas.s6, uas.l6, uas.d6, uas.s7, uas.l7, uas.d7, uas.s8, uas.l8, uas.d8, uas.s9, uas.l9, uas.d9, uas.s10, uas.l10, uas.d10,
uas.s11, uas.l11, uas.d11, uas.s12, uas.l12, uas.d12, uas.s13, uas.l13, uas.d13, uas.s14, uas.l14, uas.d14, uas.s15, uas.l15, uas.d15, uas.s16, uas.l16, uas.d16, uas.s17, uas.l17, uas.d17, uas.s18, uas.l18, uas.d18, uas.s19, uas.l19, uas.d19, uas.s20, ua
s.l20, uas.d20
return
made by
carrot
date
2002-03-29
change 2003-12-01 carrot
get last logout date
********************************************/
CREATE PROCEDURE [DBO].[lin_GetUserDataByCharId]
(
@char_id INT
)
AS
SET NOCOUNT ON

IF @char_id > 0
SELECT
RTRIM(ud.char_name), ud.char_id, RTRIM(ud.account_name), ud.account_id, ud.pledge_id, ud.builder, ud.gender, ud.race, ud.class,
ud.world, ud.xloc, ud.yloc, ud.zloc, ud.IsInVehicle, ud.HP, ud.MP, ud.Max_HP, ud.Max_MP, ud.SP, ud.Exp, ud.Lev, ud.align, ud.PK, ud.duel, ud.pkpardon,
ud.ST_underware, ud.ST_right_ear, ud.ST_left_ear, ud.ST_neck, ud.ST_right_finger, ud.ST_left_finger, ud.ST_head, ud.ST_right_hand, ud.ST_left_hand, ud.ST_gloves, ud.ST_chest, ud.ST_legs, ud.ST_feet, ud.ST_back, ud.ST_both_hand,
ISNULL(YEAR(temp_delete_date),0), ISNULL(MONTH(temp_delete_date),0), ISNULL(DAY(temp_delete_date),0),
-- Year(logout), Month(logout), Day(logout), DATEPART(HOUR, logout), DATEPART(mi, logout), DATEPART(s, logout),
ISNULL(uas.s1, 0), ISNULL(uas.l1, 0), ISNULL(uas.d1, 0), ISNULL(uas.c1, 0),
ISNULL(uas.s2, 0), ISNULL(uas.l2, 0), ISNULL(uas.d2, 0), ISNULL(uas.c2, 0),
ISNULL(uas.s3, 0), ISNULL(uas.l3, 0), ISNULL(uas.d3, 0), ISNULL(uas.c3, 0),
ISNULL(uas.s4, 0), ISNULL(uas.l4, 0), ISNULL(uas.d4, 0), ISNULL(uas.c4, 0),
ISNULL(uas.s5, 0), ISNULL(uas.l5, 0), ISNULL(uas.d5, 0), ISNULL(uas.c5, 0),
ISNULL(uas.s6, 0), ISNULL(uas.l6, 0), ISNULL(uas.d6, 0), ISNULL(uas.c6, 0),
ISNULL(uas.s7, 0), ISNULL(uas.l7, 0), ISNULL(uas.d7, 0), ISNULL(uas.c7, 0),
ISNULL(uas.s8, 0), ISNULL(uas.l8, 0), ISNULL(uas.d8, 0), ISNULL(uas.c8, 0),
ISNULL(uas.s9, 0), ISNULL(uas.l9, 0), ISNULL(uas.d9, 0), ISNULL(uas.c9, 0),
ISNULL(uas.s10, 0), ISNULL(uas.l10, 0), ISNULL(uas.d10, 0), ISNULL(uas.c10, 0),
ISNULL(uas.s11, 0), ISNULL(uas.l11, 0), ISNULL(uas.d11, 0), ISNULL(uas.c11, 0),
ISNULL(uas.s12, 0), ISNULL(uas.l12, 0), ISNULL(uas.d12, 0), ISNULL(uas.c12, 0),
ISNULL(uas.s13, 0), ISNULL(uas.l13, 0), ISNULL(uas.d13, 0), ISNULL(uas.c13, 0),
ISNULL(uas.s14, 0), ISNULL(uas.l14, 0), ISNULL(uas.d14, 0), ISNULL(uas.c14, 0),
ISNULL(uas.s15, 0), ISNULL(uas.l15, 0), ISNULL(uas.d15, 0), ISNULL(uas.c15, 0),
ISNULL(uas.s16, 0), ISNULL(uas.l16, 0), ISNULL(uas.d16, 0), ISNULL(uas.c16, 0),
ISNULL(uas.s17, 0), ISNULL(uas.l17, 0), ISNULL(uas.d17, 0), ISNULL(uas.c17, 0),
ISNULL(uas.s18, 0), ISNULL(uas.l18, 0), ISNULL(uas.d18, 0), ISNULL(uas.c18, 0),
ISNULL(uas.s19, 0), ISNULL(uas.l19, 0), ISNULL(uas.d19, 0), ISNULL(uas.c19, 0),
ISNULL(uas.s20, 0), ISNULL(uas.l20, 0), ISNULL(uas.d20, 0), ISNULL(uas.c20, 0),
ud.quest_flag, ud.face_index, ud.hair_shape_index, ud.hair_color_index,
ud.nickname, ud.power_flag, ud.pledge_dismiss_time, ud.pledge_ousted_time, ud.pledge_withdraw_time, ud.surrender_war_id, ud.use_time, ud.drop_exp
, ISNULL( ub.status, 0), ISNULL( ub.ban_end , 0)
FROM
(SELECT * FROM User_data (nolock) WHERE char_id = @char_id) AS ud
LEFT OUTER JOIN
(SELECT * FROM user_ActiveSkill (nolock) WHERE char_id = @char_id) as uas
ON ud.char_id = uas.char_id
left OUTER JOIN ( select * from user_ban (nolock) where char_id = @char_id ) as ub
on ud.char_id = ub.char_id






GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS OFF
GO
Digital is offline  
Old 08.07.2005, 14:59   #3
Adelaide
Архивный участник
 
Join Date: Jun 2005
Posts: 82
Default

Nice, I just need to understand what should I do and how.... mmmm


But I'm sure someone will be happy already
Adelaide is offline  
Old 08.07.2005, 15:22   #4
brshooterz
Архивный участник
 
Join Date: Apr 2005
Posts: 47
Default

lol, and some guys get this for $1000
lol
:laughing5: :tongue10:
brshooterz is offline  
Old 08.07.2005, 16:04   #5
la2vlad
Архивный участник
 
Join Date: Feb 2005
Posts: 83
Default

Quote:
Originally Posted by brshooterz
lol, and some guys get this for $1000
lol
:laughing5: :tongue10:
lol. really lol
==
the temporary solution.
Dont utilized cached.exe.
Dont change StoredProcedure.
Only l2server.exe.
restart works incorrectly = (

thx 2 digital .... for the xpelled me from the developers.
la2vlad is offline  
Old 08.07.2005, 16:12   #6
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Quote:
Originally Posted by brshooterz
lol, and some guys get this for $1000
lol
:laughing5: :tongue10:
+ /loc working
+ Glow working acording to enchant level

And other various fixes depending on where people got it from.
archy is offline  
Old 08.07.2005, 16:12   #7
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

mmmmm IDA Pro...Thank god for chinese warez sites lol

Nothing like disassembling a server executable :O

I'm impressed Digital...Who did the disassembling to come up with this solution?
HongK is offline  
Old 08.07.2005, 16:26   #8
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

it wasnt me.. it's was la2vlad lol..

@la2vlad O_o that is weird.. u still have the developer tag... but not the access? lol...
wait i'll check on it again and add u back if it's really missing

[edit] haha.. it's really gone.. that's odd, anyway i added ya back
p.s pm me on msn... i have something u might be interested in.
Digital is offline  
Old 08.07.2005, 16:27   #9
nnJIM
Архивный участник
 
Join Date: Apr 2005
Posts: 27
Default

Very Nice Digital and la2vlad i have Search for this Fix THX can you please Upload this file Because I do not understand so much of it and nothing wants to make wrong
nnJIM is offline  
Old 08.07.2005, 17:00   #10
nemeek
Архивный участник
 
Join Date: May 2005
Posts: 105
Default

LOL GREAT WORK
nemeek is offline  
Old 08.07.2005, 17:03   #11
brshooterz
Архивный участник
 
Join Date: Apr 2005
Posts: 47
Default

Quote:
Originally Posted by archy
Quote:
Originally Posted by brshooterz
lol, and some guys get this for $1000
lol
:laughing5: :tongue10:
+ /loc working
+ Glow working acording to enchant level

And other various fixes depending on where people got it from.

Soon la2vlad or other dev will share this fixes too =)
brshooterz is offline  
Old 08.07.2005, 17:23   #12
brshooterz
Архивный участник
 
Join Date: Apr 2005
Posts: 47
Default

What i need to modify in [dbo.lin_GetUserDataByCharId].
???
brshooterz is offline  
Old 08.07.2005, 17:24   #13
f1rsty
Архивный участник
 
Join Date: Jun 2005
Posts: 24
Default

I understand that we need 2 create a function near z 00465990, but how can i excactly add DATA XREF (take 16x code from 006BAFA4).
f1rsty is offline  
Old 08.07.2005, 18:29   #14
DaRkShAdOw
Архивный участник
 
Join Date: May 2005
Posts: 89
Default

Quote:
Originally Posted by Digital
Need make small changes in Cached.exe
here! -> .text:00458D50 sub_458D50 proc near ; CODE XREF: sub_45A5B0+B6

Need make small changes in MSSQL DB - Lin2word (StoredProcedures – [lin_GetUserDataByCharId])
Dont need memory process change.
Need small correction Stored Procedure [dbo.lin_GetUserDataByCharId].

Need make small changes in L2server.exe
here! -> .text:00465990 sub_465990 proc near ; DATA XREF: .data:006BAFA4
What change need do? o_O
DaRkShAdOw is offline  
Old 09.07.2005, 00:14   #15
iamrend
Архивный участник
 
Join Date: May 2005
Posts: 315
Default

i wanna to know the same :P
iamrend is offline  
Old 09.07.2005, 02:34   #16
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

link foro download ida pleaeee
kepler001 is offline  
Old 09.07.2005, 06:46   #17
f1rsty
Архивный участник
 
Join Date: Jun 2005
Posts: 24
Default

Can host ...
http://cs.club-25.net/freeida43.exe
f1rsty is offline  
Old 09.07.2005, 08:02   #18
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

http://www.programmersheaven.com/sea...p?FileID=37637
=)
kepler001 is offline  
Old 10.07.2005, 12:28   #19
klemka
Архивный участник
 
Join Date: May 2005
Posts: 59
Default

can share l2serve.exe and Cached.exe?
klemka is offline  
Old 10.07.2005, 22:23   #20
cassianpry
Архивный участник
 
Join Date: Jul 2005
Posts: 63
Default

Wha the hell i need to change in this 2 adresses??????????????????

Need make small changes(What CHanges?????) in Cached.exe
here! -> .text:00458D50 sub_458D50 proc near ; CODE XREF: sub_45A5B0+B6

Need make small changes (What CHanges?????) in L2server.exe
here! -> .text:00465990 sub_465990 proc near ; DATA XREF: .data:006BAFA4
cassianpry is offline  
Old 10.07.2005, 22:49   #21
iamrend
Архивный участник
 
Join Date: May 2005
Posts: 315
Default

dunno :/
iamrend is offline  
Old 11.07.2005, 02:44   #22
cassianpry
Архивный участник
 
Join Date: Jul 2005
Posts: 63
Default

----------
cassianpry is offline  
Old 11.07.2005, 02:46   #23
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

but ths file is a trial version ^^... or mb not

SoaPy is offline  
Old 12.07.2005, 00:45   #24
cbain93
Архивный участник
 
Join Date: Jul 2005
Posts: 7
Default

Quote:
Originally Posted by cassianpry
Wha the hell i need to change in this 2 adresses??????????????????

Need make small changes(What CHanges?????) in Cached.exe
here! -> .text:00458D50 sub_458D50 proc near ; CODE XREF: sub_45A5B0+B6

Need make small changes (What CHanges?????) in L2server.exe
here! -> .text:00465990 sub_465990 proc near ; DATA XREF: .data:006BAFA4
Quote:
Originally Posted by Titan
Now I don't even have this game, but I know assembly. It looks like Digital just copy-and-pasted from IDA what was at those addresses, but provides no solution. Maybe if you're a modder of this game you're supposed to know? :?:
cbain93 is offline  
Old 12.07.2005, 04:21   #25
caskachan
Архивный участник
 
Join Date: Jul 2005
Posts: 9
Default

I assume this works great on ProjectC2Beta3 , the only problem beeing not able to go back to C2 client right?,

asides from that, woudl it be safe ot continue using c3 client? ^_^?
caskachan is offline  
 


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 15:53.