PDA

View Full Version : [share] fix map you can go to any map!


ccline123
19.05.2006, 11:44
org:

004CE210 /$ 8B4424 04 MOV EAX,DWORD PTR SS:[ESP+4]
004CE214 |. 8B5424 08 MOV EDX,DWORD PTR SS:[ESP+8]
004CE218 |. 05 00000200 ADD EAX,20000
004CE21D |. 81C2 00800300 ADD EDX,38000
004CE223 |. C1F8 0B SAR EAX,0B
004CE226 |. C1FA 0B SAR EDX,0B
004CE229 |. 85C0 TEST EAX,EAX
004CE22B |. 7C 25 JL SHORT L2Server.004CE252
004CE22D |. 3D A0000000 CMP EAX,0A0
004CE232 |. 7D 1E JGE SHORT L2Server.004CE252
004CE234 |. 85D2 TEST EDX,EDX
004CE236 |. 7C 1A JL SHORT L2Server.004CE252
004CE238 |. 81FA F0000000 CMP EDX,0F0
004CE23E |. 7F 12 JG SHORT L2Server.004CE252
004CE240 |. 69C0 F0000000 IMUL EAX,EAX,0F0
004CE246 |. 03C2 ADD EAX,EDX
004CE248 |. 8D0480 LEA EAX,DWORD PTR DS:[EAX+EAX*4]
004CE24B |. 8D4481 24 LEA EAX,DWORD PTR DS:[ECX+EAX*4+24]
004CE24F |. C2 0800 RETN 8
004CE252 |> 33C0 XOR EAX,EAX
004CE254 \. C2 0800 RETN 8


fix:
004CE210 /$ 8B4424 04 MOV EAX,DWORD PTR SS:[ESP+4]
004CE214 |. 8B5424 08 MOV EDX,DWORD PTR SS:[ESP+8]
004CE218 |. 05 00000300 ADD EAX,30000
004CE21D |. 81C2 00000400 ADD EDX,40000
004CE223 |. C1F8 0C SAR EAX,0C
004CE226 |. C1FA 0C SAR EDX,0C
004CE229 |. 85C0 TEST EAX,EAX
004CE22B |. 7C 25 JL SHORT L2Server.004CE252
004CE22D |. 3D A0000000 CMP EAX,0A0
004CE232 |. 7D 1E JGE SHORT L2Server.004CE252
004CE234 |. 85D2 TEST EDX,EDX
004CE236 |. 7C 1A JL SHORT L2Server.004CE252
004CE238 |. 81FA F0000000 CMP EDX,0F0
004CE23E |. 7F 12 JG SHORT L2Server.004CE252
004CE240 |. 69C0 F0000000 IMUL EAX,EAX,0F0
004CE246 |. 03C2 ADD EAX,EDX
004CE248 |. 8D0480 LEA EAX,DWORD PTR DS:[EAX+EAX*4]
004CE24B |. 8D4481 24 LEA EAX,DWORD PTR DS:[ECX+EAX*4+24]
004CE24F |. C2 0800 RETN 8
004CE252 |> 33C0 XOR EAX,EAX
004CE254 \. C2 0800 RETN 8

BeTePok
19.05.2006, 11:51
Big thx.
But can you share in HEX code?

midnight
19.05.2006, 11:53
thanks ccline :)

Domzelan
19.05.2006, 12:08
BeTePok, i think SO :)

004CE218: 05 00 00 03 00
004CE21D: 81 C2 00 00 04 00
004CE223: C1 F8 0C
004CE226: C1 FA 0C

dknod
19.05.2006, 12:26
Thanks for the shares ;) keep up a good work...

HF
19.05.2006, 12:40
ccline123, dont know good share it or not. Tell me please, what do this fix?

hel
19.05.2006, 12:46
Yes, I don't understand too.
Explain a bit. :P

ccline123
19.05.2006, 12:53
to:HF
because C1SERVER
(x + 131072) / 2048 must > 0
(y + 229376) / 2048 must > 0

(x + 131072) / 2048 must < 160
(y + 229376) / 2048 must < 240

now fix:

(x + 196608) / 4096 must > 0
(y + 262144) / 4096 must > 0

(x + 196608) / 4096 must < 160
(y + 262144) / 4096 must < 240

OK?

sparcode
19.05.2006, 12:56
nice shares, ccline123
respect

HF
19.05.2006, 13:01
to:HF
...
OK?Understund, it is fix for GM location.
thanks. This code can do in 3 byte ;)

ccline123
19.05.2006, 13:07
4096->4096*2, 4096*4......
196608->196608+65536*N
262144->262144+65536*N
SO MAP RANGE CAN illimitable to add!

FidoW
19.05.2006, 13:18
to:HF
...
OK?Understund, it is fix for GM location.
thanks. This code can do in 3 byte ;)
With this fix u can go to Valakas Lair.. or GM Consultation... or... all Olimpiad Arenas... for more information see "Hidden zones" thread of Digital.

xarion
19.05.2006, 13:19
thnx man

zdark
19.05.2006, 13:27
thanks for share!

ccline123
19.05.2006, 13:34
无聊~嘎嘎!!

toolpunk
19.05.2006, 13:56
you're lucky to have some good stuff...
otherwise you would be banned by now for consequently disregarding the rules, lol. :D

hel
19.05.2006, 13:58
ccline123:
Please, write in english. :P

dknod
19.05.2006, 13:59
ccline123:
Please, write in english.

You won't like what he said :)

hel
19.05.2006, 14:09
ccline123:
Please, write in english.

You won't like what he said :)
I don't understand Chinese...

Larson
19.05.2006, 16:27
thanks, man!

seungmo
19.05.2006, 17:21
thank ^^

FidoW
19.05.2006, 18:53
It works good... i was testing "GM Consultation" and now can walk... :D

GMan
19.05.2006, 19:06
this is a very nice hex indeed thanks

Alien003
20.05.2006, 00:26
no one ever searchs

I posted this one before (long time ago)

https://postpacific.loc-online.com/forum/viewtopic.php?t=3150

CubAfull
20.05.2006, 00:49
Thank ccline123 good work.

no one ever searchs..............

PP Search sux :evil: . many times I used the search and I never found that fix.


peace.

top-gear
20.05.2006, 02:19
what does this fix do?thanks:)

tpuNIsher
20.05.2006, 04:17
read? >_>
this fixes the c1 l2 server defauly map restrictions. With this hex we can access 26_YY maps and maps <= 16_10.

ateh
20.05.2006, 07:21
Fix is great indeed :)
Anyway, I got problem with npcpos in there (GM consultation area 16_10)

L2NPC: cannot get zone (-115422, -229280) at file(Geodata.cpp), line 1201
and few more simmilar with x: -115xxx and x: -114xxx, always with same y.

the area is square, filling whole room, but all mobs got spawned in straight line from West to East in the middle of room -.-

Anyway, I'm working on it, but if anyone could share any ideas what's wrong i would appreciate :)

maybe L2NPC.exe needs hexing too?

Very weird thing is that y: -229280 is kinda far from this room and area i set :/

hamidouch
20.05.2006, 08:05
yep l2npc need hex, seems

ateh
20.05.2006, 08:07
Yeah I guess. I found simmilar code in l2npc.exe, uploading now to test :)

testdude
20.05.2006, 08:24
0046DB7C

0046DDB9

0046E390

0046E3A0

if anyone wants to test, those offsets are probably what needs hexing, i dont have a test server atm cos my 2nd pcs mobo went kaboom xD

ateh
20.05.2006, 08:36
Well, already found those offsets, but changing them doesn't fix this problem :(