![]() |
|
|
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Hi,
some of u know how to hex l2server.exe to get dawn, dusk and normal sky, so in "music" folder u have "ssq_dawn_01.ogg", "ssq_dusk_01.ogg" and "ssq_neutral_01.ogg", maybe u could add some hex lines to automatically play (for all players) one of these music using command //enable_client_event 1, 2 or 0 Regards
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
First i gotta find out how to save the changes for those who re-login, but i gotta say that music fits the client_events animations perfectly xD
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2005
Posts: 135
|
//enable_client_event 100 101 102 xD
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
?? thats just the fast switch of the skyes maximus. no music
|
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 34
|
Quote:
//enable_client_event 2 <-- dawn //enable_client_event 0 <-- normal this one is better it does a quick gradual change rather than "instant" 8)
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Feb 2005
Posts: 766
|
You guys are missing the point... oO
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
I agreee. Stay on topic please. And read carefully. :wink:
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
yes please stay in the topic, dont post if u have no idea about topic guys, tx
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
did u test it ?
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
livid //ride you sure it works ?
|
|
|
|
|
#11 | |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Quote:
so Livid i am totally n00b in hexing but i try to understand, can u please look at this and help me: Code:
------------------------------------------------------------------ address goto value ------------------------------------------------------------------ 004486D8 000486D8 68 00000000 PUSH 0 004486DD 000486DD 68 00000000 PUSH 0 004486DE 000486DE 68 00000000 PUSH 0 004486E3 000486E3 68 00000000 PUSH 0 004486E6 000486E6 68 00000000 PUSH 0 004486E7 000486E7 68 ???????? PUSH "ssq_dusk_01" 004486E8 000486E8 68 01000000 PUSH 1 004486EE 000486EE 68 98000000 PUSH 098 004486F3 000486F3 68 4C775E00 PUSH 5E774C 004486F8 000486F8 E8 63820A00 CALL 004F0960
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
PUSH "ssq_dusk_01" actually should look like:
PUSH xxxxxxxx and at the address xxxxxxxx we have UNICODE srting ssq_dusk_01 like: 73 00 73 00 71 00 5F 00 64 00 75 00 73 00 6B 00 5F 00 30 00 31 00 00 00 Last 0000 is a string terminator. String is VC++ 7.0 wChar type if you are interested. Oh, and one more. To save space use 6A 00 instead of 68 00000000 |
|
|
|
|
#13 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
well well well, i tried to understand more and i did something with what u wrote but, 1st, this string:
Code:
73 00 73 00 71 00 5F 00 64 00 75 00 73 00 6B 00 5F 00 30 00 31 00 00 00 and 2nd, L2Server crashes as soon as a player is connecting :? Here some beautifull screens Before ![]() Hexing ![]() Hexed ![]() Kind regards |
|
|
|
|
#14 |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
PUSH xxxxxxx
xxxxx is an address where the string is stored, use something not 'really' used in .exe. Example, at 2BBCE0 offset, write the string in unicode of the music (73 00 73 00 71 00 5F 00 64 00 75 00 73 00 6B 00 5F 00 30 00 31 00 00 00). (I havent tested it here.... if crash, then must be stored somewhere else). Then the PUSH point to the virtual address of the 2bbce0 offset. If my count is correct, it's 6BBCE0. Then you must have "PUSH 6BBCE0" (for my example) |
|
|
|
|
#15 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
point is to have whole string pushed.
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
:roll: i am lost, i dont understand because i try to type that code:
Code:
------------------------------------------------------------------ address goto value ------------------------------------------------------------------ 004486D8 000486D8 6A 00 PUSH 0 004486DD 000486DD 6A 00 PUSH 0 004486DE 000486DE 6A 00 PUSH 0 004486E3 000486E3 6A 00 PUSH 0 004486E6 000486E6 6A 00 PUSH 0 004486E7 000486E7 68 6BBCE000 PUSH "ssq_dusk_01" 004486E8 000486E8 68 01000000 PUSH 1 004486EE 000486EE 68 98000000 PUSH 098 004486F3 000486F3 68 4C775E00 PUSH 5E774C 004486F8 000486F8 E8 63820A00 CALL 004F0960 Regards |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
6A 00 PUSH 0
6A 00 PUSH 0 6A 00 PUSH 0 6A 00 PUSH 0 6A 00 PUSH 0 68 E0BC6B00 PUSH 6BBCE0 6A 01 PUSH 1 6A 98 PUSH 098 68 4C775E00 PUSH 5E774C E8 63820A00 CALL 004F0960 |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
Tnx Livid with you're help i finaly understood something from Hexing , plz give me more codes so to that i can help Krapno .
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
I did that but Server crashes when players connects :cry:
Hexing ![]() Hexed
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Sep 2005
Posts: 731
|
What prog do you use to Hex you're files ??
|
|
|
|
|
#21 | |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
Quote:
|
|
|
|
|
|
#22 |
|
Архивный участник
Join Date: Jun 2005
Posts: 364
|
/offtopic -- once I have hexed the server.exe to see dusk/dawn sky which works great , i can only see moon by looking straight up not from a distance. is it suppossed to be this way?
for example. if im on top of a hill, i have to look straight up to see it, or if Im in dian town. cant see from a distanct I have to look up. BIG NOOB Question!
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: May 2005
Posts: 368
|
it depend of server time...
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|