![]() |
Hexing - 7Signs Sky and OGG
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 :) |
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
|
//enable_client_event 100 101 102 xD
|
?? thats just the fast switch of the skyes maximus. no music
|
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) |
You guys are missing the point... oO
|
I agreee. Stay on topic please. And read carefully. :wink:
|
yes please stay in the topic, dont post if u have no idea about topic guys, tx
|
did u test it ?
|
livid //ride you sure it works ?
|
Quote:
so Livid i am totally n00b in hexing but i try to understand, can u please look at this and help me: Code:
------------------------------------------------------------------ |
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 |
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 00and 2nd, L2Server crashes as soon as a player is connecting :? Here some beautifull screens :D Before http://img190.imageshack.us/img190/5384/ogg19uc.jpg Hexing http://img190.imageshack.us/img190/6168/ogg24gw.jpg Hexed http://img190.imageshack.us/img190/2458/ogg34jw.jpg Kind regards |
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) |
point is to have whole string pushed.
|
:roll: i am lost, i dont understand because i try to type that code:
Code:
------------------------------------------------------------------Regards |
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 |
Tnx Livid with you're help i finaly understood something from Hexing , plz give me more codes so to that i can help Krapno .
|
I did that but Server crashes when players connects :cry:
Hexing http://img209.imageshack.us/img209/5417/ogg21tw.jpg Hexed http://img209.imageshack.us/img209/3236/ogg38rj.jpg |
What prog do you use to Hex you're files ??
|
Quote:
|
off topic
/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! :( |
it depend of server time...
|
| All times are GMT. The time now is 16:03. |