PDA

View Full Version : ChairSitPacket


torune
21.12.2005, 11:50
004D69ED ^\E9 3ABBF3FF JMP 0041252C
004D69F2 90 NOP
004D69F3 90 NOP
004D69F4 90 NOP
004D69F5 90 NOP


0041252C 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
00412536 74 64 JE SHORT 0041259C
00412538 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
00412542 74 58 JE SHORT 0041259C
00412544 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
0041254E 74 4C JE SHORT 0041259C
00412550 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
0041255A 74 40 JE SHORT 0041259C
0041255C 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
00412566 74 34 JE SHORT 0041259C
00412568 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
00412572 74 28 JE SHORT 0041259C
00412574 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id
0041257E 74 1C JE SHORT 0041259C
00412580 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;extra, for c5 or c6 -.-
0041258A 74 10 JE SHORT 0041259C
0041258C 6A 00 PUSH 0 ;if nothing matches, just do the normal open door action
0041258E 8BCE MOV ECX,ESI
00412590 E8 3B3B0600 CALL 004760D0
00412595 E9 5C440C00 JMP 004D69F6
0041259A 90 NOP
0041259B 90 NOP
0041259C 8B13 MOV EDX,DWORD PTR DS:[EBX]
0041259E 8BCB MOV ECX,EBX
004125A0 FF52 78 CALL DWORD PTR DS:[EDX+78]
004125A3 8B88 B8190000 MOV ECX,DWORD PTR DS:[EAX+19B8]
004125A9 FFB6 4C010000 PUSH DWORD PTR DS:[ESI+14C]
004125AF E8 06000000 CALL 004125BA ;call our chairsit function
004125B4 E9 67440C00 JMP 004D6A20
004125B9 90 NOP
004125BA 55 PUSH EBP ;Chair Sit Function
004125BB 8BEC MOV EBP,ESP
004125BD 6A FF PUSH -1
004125BF 68 20185A00 PUSH 005A1820
004125C4 64:A1 00000000 MOV EAX,DWORD PTR FS:[0]
004125CA 50 PUSH EAX
004125CB 64:8925 00000000 MOV DWORD PTR FS:[0],ESP
004125D2 83EC 0C SUB ESP,0C
004125D5 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004125D8 53 PUSH EBX
004125D9 56 PUSH ESI
004125DA 57 PUSH EDI
004125DB 8965 F0 MOV DWORD PTR SS:[EBP-10],ESP
004125DE 50 PUSH EAX ; StaticObjectID
004125DF FF73 18 PUSH DWORD PTR DS:[EBX+18] ; CharObjectID
004125E2 68 10010000 PUSH 110 ; 0xe1
004125E7 68 84645B00 PUSH 005B6484 ; ASCII "cdd"
004125EC 51 PUSH ECX
004125ED C745 FC 00000000 MOV DWORD PTR SS:[EBP-4],0
004125F4 E8 77D60C00 CALL 004DFC70
004125F9 8B4D F4 MOV ECX,DWORD PTR SS:[EBP-C]
004125FC 83C4 14 ADD ESP,14
004125FF 5F POP EDI
00412600 5E POP ESI
00412601 64:890D 00000000 MOV DWORD PTR FS:[0],ECX
00412608 5B POP EBX
00412609 8BE5 MOV ESP,EBP
0041260B 5D POP EBP
0041260C C2 0400 RETN 4


this is not a complete code
kinda of beta version, which i made about couple weeks ago.
in order to use the hex, you have to find a way to allow player click on throne. (use your imagination)
after they select the throne, cast unlock skill, they will be able to sit on the castle throne.

torune
21.12.2005, 14:03
hmmmm

http://img496.imageshack.us/my.php?image=shot000336xu.jpg

i guess i have to put out some tutorial just like livid, or maybe not

KTPSMF
21.12.2005, 14:08
thanx for greate share, try to hex today, also should be nice if you share beta testinh hex info for party mask slot

HF
21.12.2005, 14:14
hmmmm

http://img496.imageshack.us/my.php?image=shot000336xu.jpg

i guess i have to put out some tutorial just like livid, or maybe notEnough! Please stop, torune! I cant see on it more! We want it! Want all what you make! I want to be tester-guy on your server!
:lol:

Truffe
21.12.2005, 17:10
Tortune is MEAAAAAAAAAAAAAN :3

Flamestrike
21.12.2005, 20:42
Sweet, very sweet :D
Nothing like a Christmas stimulation from Torune

TheOrder
21.12.2005, 21:37
:lol: Tnx torune , you always amaze uss all !!! :wink:

KTPSMF
21.12.2005, 22:20
made hex, but cant find way to hex a place where are selecting the castle throne

DarkGoat
21.12.2005, 22:21
hex? doordata?

top-gear
21.12.2005, 22:32
I think is doordata :) Thnx torune. ;should be repalce with throne id --> Every throne has its own id or its a single id for all thrones?

DarkGoat
21.12.2005, 22:45
own id i assume because they are all in different locations...need there own id from doordata...but is it this "0170F525" that needs to be changed? what in that line gets changed?

midnight
21.12.2005, 23:56
woooo thanks torune

Co0L
22.12.2005, 10:33
Nice, but using "Unlock" skill not so comfortable...

torune
23.12.2005, 01:28
here are the some old screenshots of the effect
http://img481.imageshack.us/img481/7306/shot000261zv.th.jpg (http://img481.imageshack.us/my.php?image=shot000261zv.jpg)
http://img481.imageshack.us/img481/3532/shot000250ib.th.jpg (http://img481.imageshack.us/my.php?image=shot000250ib.jpg)
http://img481.imageshack.us/img481/1690/shot000242kw.th.jpg (http://img481.imageshack.us/my.php?image=shot000242kw.jpg)
http://img481.imageshack.us/img481/9429/shot000233yb.th.jpg (http://img481.imageshack.us/my.php?image=shot000233yb.jpg)
http://img481.imageshack.us/img481/2475/shot000225if.th.jpg (http://img481.imageshack.us/my.php?image=shot000225if.jpg)
http://img461.imageshack.us/img461/7932/shot000068qs.th.jpg (http://img461.imageshack.us/my.php?image=shot000068qs.jpg)
http://img461.imageshack.us/img461/5008/shot000097zy.th.jpg (http://img461.imageshack.us/my.php?image=shot000097zy.jpg)

kepler001
23.12.2005, 01:50
torune fine work
torune torune torune torune torune ra ra ra
;d

Dmytro
23.12.2005, 09:33
And GM must gave the unlock skill to leader, whose clan take the castle?

2Rain
23.12.2005, 10:16
Well, where we can see prepared binary code for hexing? ;)

KTPSMF
24.12.2005, 19:03
0041252C 81BE 4C010000 25F57001 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id

if my chair code is 12345678

then it is right is i write :

0041252C 81BE 4C010000 12345678 CMP DWORD PTR DS:[ESI+14C],0170F525 ;should be repalce with throne id

thanx for reply

filrip
25.12.2005, 00:37
hum, not exactly, if im right, it must be in hexa, not decimal

so 12345678 in hex = BC614E

DarkGoat
25.12.2005, 02:25
but are u sure that that is the part of the code that requires changes? think thats his question...unsure of what ";should be repalce with throne id" refers to

HF
14.01.2006, 14:01
No work. Questions:
- what i need have in doordata for thron's? open_by_skill ?
- my thron's no selected (attached)

I think what i have bad settings for thron's in my config. Or no? Maybe you share self doordata?