PDA

View Full Version : SignSky java? maybe and for off?


deathor
19.09.2005, 14:54
[php:1:ce7d97d88f]@@ -38,7 +38,12 @@
{
}

+ public SignsSky(int state)
+ {
+ _state = state;
+ }

+
final void runImpl()
{
// no long-running tasks
@@ -50,8 +55,8 @@

int compWinner = SevenSigns.getInstance().getCabalHighestScore();

- if (SevenSigns.getInstance().isSealValidationPeriod() )
- if (compWinner == SevenSigns.CABAL_DAWN)
+ if (SevenSigns.getInstance().isSealValidationPeriod() || _state > 0)
+ if (compWinner == SevenSigns.CABAL_DAWN && _state != 1)
writeH(258);
else
writeH(257);
@@ -66,5 +71,7 @@
{
return _S__F8_SignsSky;
}
+
+ private static int _state = 0;

}
[/php:1:ce7d97d88f]

deathor
19.09.2005, 16:40
ty a lot man

djvogans
19.09.2005, 17:34
don't understand .. what we need to change ?

hamidouch
19.09.2005, 18:03
hex l2server.

bwgreen
19.09.2005, 18:06
Now come on.. if he asked that kind of question, do you think that kind of answer is going to help him?

toolpunk
19.09.2005, 18:29
no^^
anyway 1st step is searchin l2server for the posted code i think.
if its in there we still dunno what 2 do.
if not we can search for a similar string and change it accordingly...
(plz correct me if im wrong)

djvogans
19.09.2005, 18:34
hami .... :) i know that i needed to hex .. but i had a small problem finding the offsets . finished now .. and ok . 10x Livid and Torune

Christoff
19.09.2005, 18:38
Any1 can hex that and post it?:p

toolpunk
19.09.2005, 18:56
@djvogans:
can u tell us what 2 hex?
i mean a bit more detailed.
just if u got time and dun mind 2 share ur knowledge.
thx in advance (if u share or not :D)

toolpunk
19.09.2005, 19:32
awesome!
thx for sharin this... :)

bwgreen
19.09.2005, 19:50
And I'm guessing that until it's complete, the crashing of L2Server would be normal when you hit the //enable_client_event 10x command :o :D

torune
19.09.2005, 19:56
the fix will NOT crash server for whatever reason.
so GO BACK and RECHECK all stuff livid posted.

deathor
19.09.2005, 20:02
:O nice work guys and torune do u want my small amount of cash in ur bank??? :P

bwgreen
19.09.2005, 20:03
I did exactly as he said. Replaced:

68BB 0000 0068 DCD5 5B00 51 with
68F8 0000 0090 E8EC 9E0C 00 at 00026A64.

and i used .. 101 -- if you wanna take this to pm instead of spamming the forum, feel free. Thanks in advance.

Christoff
19.09.2005, 20:26
same here

SoaPy
19.09.2005, 20:59
yes it does, i tryed with //enable_client_event 101 and crash XD, maybe livid miss something or not but replacing 68BB 0000 0068 DCD5 5B00 51 with 68F8 0000 0090 E8EC 9E0C 00 at 00026A64 didnt work.

Christoff
19.09.2005, 21:01
yep:(

top-gear
19.09.2005, 21:10
torune will come up with a solution :P torune youre my personal savior

Eliot
19.09.2005, 21:24
God, just google for some tutorial...
You have to Disassemble the file. Every good hex editor has that.
It works very good, but i wonder about animation.
It changes moons at instant, but it should change it slowly.
Is there a hex for that ?

SoaPy
19.09.2005, 21:55
this isnt right ?

http://www.rhinohost.net/images/skyhex.jpg

krapno
19.09.2005, 23:07
Same here :?

http://img357.imageshack.us/img357/983/edit3kv.jpg

and typing //enable_client_event 100/101/102 i get

http://img357.imageshack.us/img357/5585/error6cl.jpg

Regards

Kenster
19.09.2005, 23:18
Crash here also.

krapno
19.09.2005, 23:28
DONE ! :D

http://img162.imageshack.us/img162/8138/edit22hi.jpg

http://img345.imageshack.us/img345/6885/shot001535xt.th.jpg (http://img345.imageshack.us/my.php?image=shot001535xt.jpg) http://img345.imageshack.us/img345/170/shot001542jc.th.jpg (http://img345.imageshack.us/my.php?image=shot001542jc.jpg) http://img345.imageshack.us/img345/6899/shot001558xk.th.jpg (http://img345.imageshack.us/my.php?image=shot001558xk.jpg)

SoaPy
19.09.2005, 23:35
you are right, i didnt see the diferent 3 address ^^, tnx

krapno
19.09.2005, 23:40
you are right, i didnt see the diferent 3 address ^^, tnx

np :D i just cleaned my glasses :!:
Tx to Livid

Kenster
19.09.2005, 23:41
What program is that you are using?

SoaPy
19.09.2005, 23:42
What program is that you are using?

hiew611

Kenster
19.09.2005, 23:45
Thannnnk you :)

Kenster
19.09.2005, 23:51
Can I make the changes in UE or it has to use this?

SoaPy
20.09.2005, 00:01
i think u can use UE too

pd: just be careful with addresses

SoaPy
20.09.2005, 00:10
mmm i was thinking in someting and i dont know much asm code but, there is a way to change the name of the command ?, for example to make more shortly, enable_client_event to set_sky for example

pd: and maybe hexing some stuff we can get something like a func_call to call to this function to apply to a seven signs code

something like this for example

push_const 101
func_call XXX // func[SetSky]

Kenster
20.09.2005, 00:16
**EDITED** found out how, it is below.

Kenster
20.09.2005, 04:03
Ok Here is a howto >

Download this : ftp://binboy.sphere.pl/./programming/other/editors/hex/hiew611.zip

Extract once, Then again, into a dir. Put your Server.exe into this DIR also. Run HIEW.exe then go down until you see your l2server.exe file. Hit enter. Hit Mode (F4), then Decode. Hit F5 (goto) type ".00426A64" without the quotes. You should see the first picture on this forum, where he didnt know what to do. Hit Edit (F3?, I forget) then just start on that first line, and edit to the 2nd picture where he got it work. Please note, you DONT have to worry about the lines on the left. Just make sure you start on the right line, they will change automatically, this is the part I did not get). Now Once you are done, it should fully like the last picture, hit F9 Which is Save, then Hit F10 which is exit, Run your L2Server.Exe and enjoy!

Christoff
20.09.2005, 05:07
yeah, it's work:) gj!:)

bwgreen
20.09.2005, 11:43
Thank you to everyone who's contributed here. Depending on your L2Server.exe, you may have slightly different data in there (like mine) - just keep hunting and you'll find exactly what you have to edit.

toolpunk
20.09.2005, 12:23
thx again.
good that i didnt hex it yesterday^^

deathor
20.09.2005, 12:56
anybody can explane me how can run HIEW611 program plz?

drzoom
20.09.2005, 13:16
Take your mouse in right patched hand and double click on HIEW611 icon:D

deathor
20.09.2005, 13:30
ty, I fix it. Now it is working properly

bwgreen
20.09.2005, 14:19
https://postpacific.loc-online.com/forum/viewtopic.php?p=16981#16981
Explains exactly how to do it! Open the archive, open the one inside and extract. Then double click on HIEW611.EXE.

toolpunk
20.09.2005, 14:48
i guess he has another prob with it. mb a missin dll or anything...
i dun believe there r ppl that dunno how 2 run a simple exe...

horyfilipe
20.09.2005, 16:08
enable_client_event 100, 101 and 102 does nothing, but just //enable_client_event freeze the server.. any idea?
http://www.horyu.com.br/img/uploads/1b8a933034.jpg (http://www.horyu.com.br/img/)

hr
20.09.2005, 16:26
according to screen - wrongly hexed. Reread instructions.

top-gear
20.09.2005, 16:44
Works perfect. Just wondering if I can make the sky change smoothly and not instantly

OnlyOne
20.09.2005, 17:16
Works perfect. Just wondering if I can make the sky change smoothly and not instantly

i think not.any ideas about dusk moon? :?

Livid
20.09.2005, 17:26
What ideas?

horyfilipe
20.09.2005, 17:28
ehehe weird, isnt my hex same as "DONE!!" post??

Livid
20.09.2005, 17:37
Nope. I've got moon in the frame =p

krapno
20.09.2005, 17:41
What ideas?

lol, is it u on the screens ? :shock:

Livid
20.09.2005, 17:46
No, it's just a main developer of my server. rofl.
Well, this is going nowhere. If such course continues, I will lock the thread. Althrough I wanted to post some improements. Nvm.

hamidouch
20.09.2005, 18:47
main problem is how to display it for everyone ;p
and how to save it, <= this one gonna be harder
since someone alrdy fixed weather displaying for everyone and the slow changing

flakka
20.09.2005, 18:57
Livid, throw us a bone here. :P

If I could, I'd keep it with the moon in the sky all the time when I play because it's so ominous, lol. I'd like to know. :) Or if we want to keep the spam to a minimum, you could PM me.

someone alrdy fixed weather displaying for everyone and the slow changing

Where? Am I blind or was this posted somewhere else? Mine just changes in an instant. :shock:

scott
20.09.2005, 20:01
//enable_client_level 101 or 102 crashed client..
General protection fault!

History: ANSun::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop
why?

Kenster
20.09.2005, 20:04
It is possible to slow change the moon. Some one has done it already.

ftp://upload:[email protected]/ssq.rar

Enjoy.

SoaPy
20.09.2005, 20:10
//enable_client_level 101 or 102 crashed client..
General protection fault!

History: ANSun::Tick <- TickAllActors <- ULevel::Tick <- (NetMode=0) <- TickLevel <- UGameEngine::Tick <- UpdateWorld <- MainLoop
why?

if you have a crash of any time is because you did it wrong ;), check and try again.

scott
20.09.2005, 20:48
Here my hex. Where a mistake?

MoSs
20.09.2005, 21:02
cmon even I could hex the l2server.exe which is my first TIME! :D
its realy amazing!! i was staring at the sky for about 30 minutes :P

http://www.lineage2.gr/shots/Shot00007.jpghttp://www.lineage2.gr/shots/Shot00008.jpg

djvogans
20.09.2005, 21:59
c'mon ppl ..read what Livid posted on 1rst or second page ... and follow the code ....

DaRkShAdOw
20.09.2005, 21:59
tried do //enable_client_event and your will see crash server :)

lol

top-gear
20.09.2005, 22:01
open hex>find the address>F3(edit)>change all the keys at once (without hiting enter until you are done with all of them), and then hit enter and exit.done

bwgreen
20.09.2005, 22:08
Wow... 12 hours since I last visited this forum and this damn thread is still going. There are more than 1 complete sets of instructions in this thread (which all work) and WAY too many images of the sky.. If you have problems editing your file - don't do it. Ask nicely and someone may send you their server exe.

I suggest it's time to close it and remove some of the bandwidth eating images.

DaRkShAdOw
20.09.2005, 22:09
tries make //enable_client_event with out 100,101 or 102

krapno
20.09.2005, 23:16
:D

http://img366.imageshack.us/img366/1369/shot001601ve.th.jpg (http://img366.imageshack.us/my.php?image=shot001601ve.jpg) http://img366.imageshack.us/img366/3130/shot001615wi.th.jpg (http://img366.imageshack.us/my.php?image=shot001615wi.jpg) http://img366.imageshack.us/img366/5899/shot001623lr.th.jpg (http://img366.imageshack.us/my.php?image=shot001623lr.jpg)

//enable_client_event 10X change sky atmopshere for all connected players at same time anywhere in the map (tested in LAN), but it is not saved for logged off players... :)

Regards

PS: Some wallpapers for ur desktop :)

http://img177.imageshack.us/img177/3636/shot001691dx.th.jpg (http://img177.imageshack.us/my.php?image=shot001691dx.jpg) http://img177.imageshack.us/img177/4066/shot001709vt.th.jpg (http://img177.imageshack.us/my.php?image=shot001709vt.jpg)
http://img177.imageshack.us/img177/3964/shot001634of.th.jpg (http://img177.imageshack.us/my.php?image=shot001634of.jpg) http://img177.imageshack.us/img177/1677/shot001719gq.th.jpg (http://img177.imageshack.us/my.php?image=shot001719gq.jpg)
http://img177.imageshack.us/img177/3909/shot001579nj.th.jpg (http://img177.imageshack.us/my.php?image=shot001579nj.jpg)

http://img225.imageshack.us/img225/8771/shot000076lt.th.jpg (http://img225.imageshack.us/my.php?image=shot000076lt.jpg) http://img225.imageshack.us/img225/7483/shot000134hu.th.jpg (http://img225.imageshack.us/my.php?image=shot000134hu.jpg)
http://img225.imageshack.us/img225/5181/shot000117ng.th.jpg (http://img225.imageshack.us/my.php?image=shot000117ng.jpg) http://img225.imageshack.us/img225/5052/shot000147jx.th.jpg (http://img225.imageshack.us/my.php?image=shot000147jx.jpg)

Metalmurphy
20.09.2005, 23:19
Great this is turning into a show off thread :S

bwgreen
20.09.2005, 23:41
Metalmurphy - glad someone else agrees.

Please close this thread... the solution to adding the change in has been posted many time and it's getting old.

P.S. Wanna see a screenie of an elpy? (/sarcasm)

Metalmurphy
20.09.2005, 23:43
Im just wondering how that guy made the sky change with announce with all the pretty animations :o Looks stunning

SoaPy
20.09.2005, 23:50
Im just wondering how that guy made the sky change with announce with all the pretty animations :o Looks stunning

ask to kenster ^^, he has this working and maybe he want to share or not.

Kenster
20.09.2005, 23:58
Whoa whoa whoa, I would love to have the props, AND the ability to make this, I found this from a friend I was talking to on ICQ. He showed it to me, so I put it on there. He is working on it, but if I get it, and he allows me to share it, I am a 100% share freak. Adios

scott
20.09.2005, 23:59
Some errors because of the bad client

SoaPy
21.09.2005, 00:01
Whoa whoa whoa, I would love to have the props, AND the ability to make this, I found this from a friend I was talking to on ICQ. He showed it to me, so I put it on there. He is working on it, but if I get it, and he allows me to share it, I am a 100% share freak. Adios

hahhaha :P, all people was thinking that you have this and know how to do that XD, no problem ^^

You said "Adios" :P ??

bob1122
21.09.2005, 00:14
Haha Wanna see something cool :)

Try

[//enable_client_event 1]
[//enable_client_event 2]
[//enable_client_event 3]
[//enable_client_event 4]
[//enable_client_event 100]
[//enable_client_event 101]
[//enable_client_event 102]

Those are all i've tested so far. [//enable_client_event 103] Crashed for me.
And sorry, but this DOES work. Thats my official stamp of apporval :P

Metalmurphy
21.09.2005, 00:35
Hum my server has ppl in it right now and i dont have a test server. What does 1 2 3 4 do exactly?

Metalmurphy
21.09.2005, 01:00
:o LOL its the animation. So damn cool. And it broadcasts to all users
Many thanks for the info bob1122

event 3 and 4 doesnt seem to work here. Or am i missing something?

*edit* just a thought, that movie was probably a fake xD some other gm was doing these events probably huh?

Dave
21.09.2005, 01:25
could somone pls post working server.exe with this?

bob1122
21.09.2005, 01:28
[//enable_client_event 1] - |
[//enable_client_event 2] - | 1 - 4 Just Slowly Change Sky,
[//enable_client_event 3] - | ex from Dusk to Dawn :)
[//enable_client_event 4] - |
[//enable_client_event 100] - Normal
[//enable_client_event 101] - Evil Eye ( I think its called Dask)
[//enable_client_event 102] - Blue Eye thing (Probably Dawn)


Dave, please use google, you've been VERY dependent on us to help you out. I am trying to respect that you cannot understand some things.

Metalmurphy
21.09.2005, 01:34
Hum i dont think thats it bob1122.

Heres the conclusions i got

//enable_client_event 0 -> If a sky AND moon is Dusk or Dawn it changes slowly to a normal sky/moon
//enable_client_event 1 -> If a sky AND moon is Normal or Dusk it changes slowly to a Dawn sky/moon
//enable_client_event 2 -> If a sky AND moon is Normal or Dawn it changes slowly to a Dust sky/moon

//enable_client_event 3 -> Does't seem to do anything, i tried using this with all the skys and nothing happened
//enable_client_event 4 -> Same as above

..._event 100 - Changes sky and moon to normal instantly
..._event 101 - Changes sky and moon to dawn instantly
..._event 102 - Changes sky and moon to dusk instantly

SoaPy
21.09.2005, 01:37
[//enable_client_event 1] - |
[//enable_client_event 2] - | 1 - 4 Just Slowly Change Sky,
[//enable_client_event 3] - | ex from Dusk to Dawn :)
[//enable_client_event 4] - |
[//enable_client_event 100] - Normal
[//enable_client_event 101] - Evil Eye ( I think its called Dask)
[//enable_client_event 102] - Blue Eye thing (Probably Dawn)


Dave, please use google, you've been VERY dependent on us to help you out. I am trying to respect that you cannot understand some things.

tnx bob ^^

And agree with bob, you have to learn a little more Dave, you cant always just asking for the exe, read more careful and try to do by yourself.

bob1122
21.09.2005, 01:38
I was able to get 1-4 Working Havnt Tried 0, But its weird, some sort of combination, like use 1 after 3 to get 2... Odd... The 'DONE!!!' Picture is as much of a hint i needed, and im not a hex genious.

hamidouch
21.09.2005, 01:44
now how come we doesnt have synkro time on servers?
look at ur map, watch clock
ask someone near you he doesnt have the same
also we can speed up weather cycle in env.int wtf
thats just curious
how does it work on off since they got time based skills
like more accurracy at night for dark elves

Metalmurphy
21.09.2005, 01:57
hamidouch if you change the time manually in the server console ppl only update if you reboot the client. so its normal if some ppl have diferent times.

bob1122
21.09.2005, 02:01
now how come we doesnt have synkro time on servers?
look at ur map, watch clock
ask someone near you he doesnt have the same
also we can speed up weather cycle in env.int wtf
thats just curious
how does it work on off since they got time based skills
like more accurracy at night for dark elves

Has anyone been able to get those dark elf skills working, i dont know if i have them, but they sound realllllly cool. :P

Offtopic a bit but, How can you make it rain and such ? Ill investigate.

flakka
21.09.2005, 02:53
OK gang.

I don't mind the screenshots if they're thumbnailed or don't mess with the alignment of the boards, but please do try to keep them to a minimum. We know you'd like to show us that you can do it. :)

If you're not willing to help out and post constructively, then at least keep the shots out of the thread unless you're explaining something.

Thanks. :D

Oh, and since the whole Dark Elf ability thing pertains to this "event" I don't see how it would go off-topic since it relates to this. But if it does get out of hand, then maybe we could start another thread on it so we can keep the info there. :)

P.S. This was my first time hexing, and it wasn't all that bad. It was a learning experience. Thanks to everyone that helped out! :D

bwgreen
21.09.2005, 07:41
hamidouch if you change the time manually in the server console ppl only update if you reboot the client. so its normal if some ppl have diferent times.

Sorry to wander off topic, but this isn't exactly true. It's just tempermental. Sometimes it's updated it immediately and other times it doesn't update at all.. sometimes it's 2 hours out.. and I could go on. I have no idea what's wrong with it; maybe it's just been missed in all of the hexing sessions our developers have been through. The number of users on the server seems to effect it too.. my test box is more likely to change the time instantly than my live box.

BiGBoY
21.09.2005, 09:01
bwgreen
the time shown on client is exact as it shown on server console. the time change is not affected once server is already accepting clients.

Metalmurphy
21.09.2005, 10:53
hamidouch if you change the time manually in the server console ppl only update if you reboot the client. so its normal if some ppl have diferent times.
... my test box is more likely to change the time instantly than my live box.

No im pretty sure the time changes instantly, only the clients dont update right away, but if u reboot the client it updates right away wich means the server changed the time. and i mean reboot the client, re-login wont work.

Dave
21.09.2005, 13:51
I understand,
and I appreciate this forums help in getting my servers up and stable and im trying to accomplish this stuff myself and have achieved alot by myself..
Any way i hexed the .exe and can do the //enable commands. I get sky color changes but I dont see the dawn/dusk eye. any tricks on this?

deathor
21.09.2005, 13:56
just wait the night ^^ hehe or change time from server

flakka
21.09.2005, 16:07
You can use the time pulldown menu in L2Server.exe to change it to night (military time). The moons show up only when it's night time. :)

And thanks bob1122 for letting us know about the gradual moon change. :)

Livid
21.09.2005, 16:27
You know? I'll lock it 'till I'll get some improvements. It became spam thread REALLY fast.

krapno
22.09.2005, 20:06
hi, i hexed and i tested with different accounts using "Re-Login" fonction and it works fine ... but ... if i "Exit" from client and relaunch it, the sky is normal. Tx a lot for this code, do u accept friendly kisses :?:

i dont find my error (if i have one), then here there are what i did:

http://img8.imageshack.us/img8/705/hex18ll.jpg
http://img8.imageshack.us/img8/2002/hex21ne.jpg
http://img8.imageshack.us/img8/8610/hex37sm.jpg

Kind Regards

bwgreen
22.09.2005, 20:07
What a gem.

Metalmurphy
22.09.2005, 21:10
Well re-loging allways kept the changes even with the first hex. So u did something wrong krapno, or what Livid posted doesnt work. Im gonna test in mine in a while

krapno
22.09.2005, 21:54
Well re-loging allways kept the changes even with the first hex.

it is what i said, re-login keeps dawn/dust sky, but if u fully leave L2 (Exit/Alt+F4/Kill l2.exe process) and u relaunch it then sky is back to normal ...

Metalmurphy
22.09.2005, 23:32
Yeah just tested that hex too Livid. It aint working. You sure you exited the client when tested or did u just re-log?

torune
23.09.2005, 12:50
it will work, ppl check carefully with his asm code.

krapno
23.09.2005, 13:14
I exited. Just forgot one small thing to post.

006BBBEA F8


gg it works, u are the best :thumbleft:

Sauron
23.09.2005, 13:36
u re the man dude

iamrend
23.09.2005, 14:34
these changes dont have problems or ppl dont know it at the moment?

MoSs
23.09.2005, 15:26
I hexed my server accorting to these posts and it works just fine!
I did not noticed any problem!
//enable_client_event 1

Quited L2 client completely, relogged in and sky was still there :D

Thank you livid :D :D :D :D

hamidouch
23.09.2005, 16:21
yea ty livid

V2NEK
23.09.2005, 17:05
Great work! TY

flakka
23.09.2005, 22:42
Wow, works great! Thanks a bunch Livid! :D

Maytord
23.09.2005, 23:21
This is the enchanted save up to lvl 80 too and the Dusk funtion :D

[highlight=red:337ad4421b]Edited by flakka:[/highlight:337ad4421b] Hey Maytord, I really appreciate the sharing of the hexed server, but please let people do this themselves. The posts couldn't get any clearer about how to do it and all of the tools are here in this topic. Try not to hand everything to everyone without letting them try for themselves first. If you keep doing this, then they'll grow too dependant on you for everything. Thanks. :D

Kenster
23.09.2005, 23:50
Amazing, Ive been here for around a month, were you hidden in the darkness, you have been the best sharier ever for hex'in! If you want some money (real money) I would love to get some more fixes from you!

GOOD JOB!

Krapno - Just to avoid more questions, can you post the edit your post with your pictures and add the last edit. This will avoid a lot of more questions. Thanks :D

Maytord
24.09.2005, 03:00
ok sorry i just want to help because sometimes people get stuck doing them self. btw you right :oops:

Livid
07.10.2005, 14:42
Ehehe... I won't repeat first one <_<
Bug found, I think it would not be wise to hex it.
*EDIT: removed the bugged one.

Livid
07.10.2005, 16:00
Now I got what's wrong with this code.
You should rather relocate it somewhere and restore original contents. Nothing too bad, but you won't get abnormal effects working with it.
Well, most of you don't have them anyway, eh?
Posting original code so that you won't get any big trouble later.

.00426A66: EB 0F jmps 00426A77
---
.004486C0: 55 push ebp
.004486C1: 8BEC mov ebp,esp
.004486C3: 6AFF push 0FF
.004486C5: 68C0455A00 push 0005A45C0 ---↓ (1)
.004486CA: 64A100000000 mov eax,fs:[00000000]
.004486D0: 50 push eax
.004486D1: 64892500000000 mov fs:[00000000],esp
.004486D8: 83EC20 sub esp,020 ;" "
.004486DB: 53 push ebx
.004486DC: 56 push esi
.004486DD: 57 push edi
.004486DE: 8BF1 mov esi,ecx
.004486E0: 8B86B00A0000 mov eax,[esi][00000AB0]
.004486E6: 8D4DE0 lea ecx,[ebp][-20]
.004486E9: 8965F0 mov [ebp][-10],esp
.004486EC: 33FF xor edi,edi
.004486EE: 51 push ecx
.004486EF: 897DFC mov [ebp][-04],edi
.004486F2: 8945DC mov [ebp][-24],eax
.004486F5: 897DE0 mov [ebp][-20],edi
.004486F8: C645EF00 mov b,[ebp][-11],000
.004486FC: E85F0E0F00 call .000539560 ---↓ (2)
.00448701: 83C404 add esp,004 ;"♦"
---
.004FDEC7: E8F4A7F4FF call .0004486C0 ---↑ (4)


*EDIT*
Revision:
006B8F0B 60 PUSHAD
006B8F0C 8B8E B8190000 MOV ECX,DWORD PTR DS:[ESI+19B8]
006B8F12 A1 F08F6B00 MOV EAX,DWORD PTR DS:[6B8FF0]
006B8F17 05 00010000 ADD EAX,100
006B8F1C 50 PUSH EAX
006B8F1D 68 F8000000 PUSH 0F8
006B8F22 68 DCD55B00 PUSH L2server.005BD5DC ; ASCII "cd"
006B8F27 51 PUSH ECX
006B8F28 E8 436DE2FF CALL 004DFC70
006B8F2D 83C4 10 ADD ESP,10
006B8F30 61 POPAD
006B8F31 C3 RETN
006B8F32 FF35 F08F6B00 PUSH DWORD PTR DS:[6B8FF0]
006B8F38 68 F8000000 PUSH 0F8
006B8F3D 68 DCD55B00 PUSH L2server.005BD5DC ; ASCII "cd"
006B8F42 E8 197AE3FF CALL 004F0960
006B8F47 - E9 28DBD6FF JMP L2server.00426A74
00426A63 83F8 02 CMP EAX,2
00426A66 7F 0F JG SHORT L2server.00426A77
00426A68 A3 F08F6B00 MOV DWORD PTR DS:[6B8FF0],EAX
00426A6D - E9 C0242900 JMP L2server.006B8F32
00426A72 90 NOP
00426A73 90 NOP

004FDDA3 E8 63B11B00 CALL L2server.006B8F0B
004FDDA8 . EB 0B JMP SHORT L2server.004FDDB5
006BBBEA F8

flakka
07.10.2005, 20:48
Woohoo! Gogogogogo! :D

Thanks Livid. :)

Eliot
08.10.2005, 04:54
Your exe is probably different than mine, and this code causes server crash upon user entry. The problem might be that my exe is havily modified with lots of features not orginally intended for c1 server added.

Livid
08.10.2005, 14:05
You did not forget to restore server to previous state?

Eliot
08.10.2005, 19:40
i did restered it to previous state, i even used a clean one. And same thing occured.

Sdw
08.10.2005, 22:41
Hello,

To start, thanks for your hard work.
Let say that I am a "newbie" in hex (I made two years at the school, but seems like it was a useless.)
I encounter a problem with the first line :
006B8F0B 60 PUSHAD

Best is to see that in image :
If I don't write 006B8F0B then it's seems like remainder one is OK.
http://img46.imageshack.us/img46/5111/15oz.jpg

But if I write it, it's kinda messed up
http://img46.imageshack.us/img46/562/20ds.jpg

I've restored the file before doing anything on it. If it's a idiotic problem, just say it and I will try to see what's going on one more time. If not, I will appreciate all helps. Thank you in advance

Kind regard.

*Is sorry for is bad english*

Livid
09.10.2005, 08:06
If you really want it, you can place 90 instead of 00.
But according to eliot hex is kinda messed up, so i think i'll look for error.
If you could attach error log that would be helpful.

Sdw
09.10.2005, 09:43
Thanks for your answers.

I've have already try to replace 006B8F0A with a nop. I don't crash but it don't seem to work. Then, I've checked all adress and it don't seem to have any problem (It's just like you write).

wton
25.10.2005, 21:42
excuse, but somebody says to me as that direction between these two can be put

.00426A66: EB 0F jmps 00426A77

http://img12.imageshack.us/img12/1624/help010wo.jpg

I cannot place the direction .00426A66: EB 0F between .00426A65 and .00426A67, somebody helps me please, thanks..