Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [Notes] LoginScreeen CharSelectInfo (https://postpacific.mmorpg-game.online/showthread.php?t=1149)

Digital 08.07.2005 12:40

[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 08.07.2005 12:43

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

Adelaide 08.07.2005 14:59

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

But I'm sure someone will be happy already :D

brshooterz 08.07.2005 15:22

lol, and some guys get this for $1000
lol
:laughing5: :tongue10:

la2vlad 08.07.2005 16:04

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.

archy 08.07.2005 16:12

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.

HongK 08.07.2005 16:12

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?

Digital 08.07.2005 16:26

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 :p

[edit] haha.. it's really gone.. that's odd, anyway i added ya back :p
p.s pm me on msn... i have something u might be interested in.

nnJIM 08.07.2005 16:27

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

nemeek 08.07.2005 17:00

LOL GREAT WORK :)

brshooterz 08.07.2005 17:03

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 08.07.2005 17:23

What i need to modify in [dbo.lin_GetUserDataByCharId].
???

f1rsty 08.07.2005 17:24

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).

DaRkShAdOw 08.07.2005 18:29

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

iamrend 09.07.2005 00:14

i wanna to know the same :P

kepler001 09.07.2005 02:34

link foro download ida pleaeee

f1rsty 09.07.2005 06:46

Can host ...
http://cs.club-25.net/freeida43.exe

kepler001 09.07.2005 08:02

http://www.programmersheaven.com/sea...p?FileID=37637
=)

klemka 10.07.2005 12:28

can share l2serve.exe and Cached.exe?

cassianpry 10.07.2005 22:23

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

iamrend 10.07.2005 22:49

dunno :/

cassianpry 11.07.2005 02:44

----------

SoaPy 11.07.2005 02:46

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

http://rhinohost.net/images/Shot0010.jpg

cbain93 12.07.2005 00:45

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? :?:


caskachan 12.07.2005 04:21

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? ^_^?

Domzelan 12.07.2005 06:03

SoaPy or mb net? :))) give it to us :)

archy 12.07.2005 09:39

the file soapy is showing is from another thread, a trial version of chinese c3 server.. it has potential backdoor and expires around 31/7

Thalone 12.07.2005 17:43

im developer too and i cant access the forums... been like this for a long time now

Digital 13.07.2005 02:02

this is so weird :|

BuzyVuzy 15.07.2005 18:46

who can share this file?

anrysys 15.07.2005 21:48

Need to ... I can hosted this file if take him...

It's trully say that dissasembling had got a problem. Would you be so kind to help me with these files. I'll be pleased if i get them by next email - stasik2001@ukr.net or say what lines are needed to change in the HEX.

Mysta 18.07.2005 01:38

I found the string.. and edited it,.. so maybe i edited wrong thingr

s.o.c.k.e.t.,. .c.o.n.s.t. .u.n.s.i.g.n.e.d. .c.h.a.r. .*.p.a.c.k.e.t.).......s.t.a.t.i.c. .b.o.o.l. .R.e.p.l.y.L.o.a.d.A.g.i.t.B.i.d.(.C.D.B.S.o.c.k.e .t. .*.s.o.c.k.e.t.,. .c.o.n.s.t. .u.n.s.i.g.n.e.d. .c.h.a.r. .*.p.a.c.k.e.t.).........s.t.a.t.i.c. .b.o.o.l. .L.o.a.d.C.h.a.r.a.c.t.e.r.P.a.c.k.e.t.(.C.D.B.S.o .c.k.e.t. .*.s.o.c.k.e.t.,. .c.o.n.s.t. .u.n.s.i.g.n.e.d. .c.h.a.r. .*.p.a.c.k.e.t.)...N.u.l.l. .U.s.e.r.S.o.c.k.e.t...Sdsddddddddddffdddddddddddd ddddddddddddddddddddddddddddddddddddffdddc...l.a.s .t.,. .a.c.c.o.u.n.t. .i.d.[.%.d.].,. .w.e.e.k. .p.l.a.y. .t.i.m.e.,. .s.e.r.v.e.r.[.%.d.].,. .d.b.[.%.d.].........p.r.e.v.2.,. .a.c.c.o.u.n.t. .i.d.[.%.d.].,. .w.e.e.k. .p.l.a.y. .t.i.m.e.,. .s.e.r.v.e.r.[.%.d.].,. .d.b.[.%.d.].......p.r.e.v.,. .a.c.c.o.u.n.t. .i.d.[.%.d.].,. .w.e.e.k. .p.l.a.y. .t.i.m.e.,. .s.e.r.v.e.r.[.%.d.].,. .d.b.[.%.d.].....Too many Characters on 1 account!...[.%.S.].[.%.d.].p.U.s.e.r.

what is it that needs to be edited exactly if its not this?

serjr 18.07.2005 13:49

http://rapidshare.de/files/2979002/Char.Files.rar.html
file taken from ragezone, files fix was based on digital guide

toolpunk 18.07.2005 13:52

as far as i know u get a protocol error when u use those files...
cuz thats the same pack i sent 2 nemeek. lol.
or am i wrong with this?

serjr 18.07.2005 13:54

hmm my test server is working fine with this files...

toolpunk 18.07.2005 13:56

ok thx then i was propably wrong...
r striders n wyvern fixed as well in this?

serjr 18.07.2005 13:57

wyverns work
striders don't tested :)

toolpunk 18.07.2005 14:00

ok so they will work as well! :)
cool and thx a lot...
guess i will use this apck then ;)

nnJIM 18.07.2005 16:39

http://img315.imageshack.us/my.php?i...benannt9kv.jpg
Work Perfect

kepler001 18.07.2005 17:37

nnjim invalid protocol :/


All times are GMT. The time now is 23:21.