Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   SignSky java? maybe and for off? (https://postpacific.loc-online.com/showthread.php?t=1854)

deathor 19.09.2005 14:54

SignSky java? maybe and for off?
 
[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/6...01535xt.th.jpg http://img345.imageshack.us/img345/1...01542jc.th.jpg http://img345.imageshack.us/img345/6...01558xk.th.jpg

SoaPy 19.09.2005 23:35

you are right, i didnt see the diferent 3 address ^^, tnx

krapno 19.09.2005 23:40

Quote:

Originally Posted by SoaPy
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

Quote:

Originally Posted by Kenster
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...ex/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/f...?p=16981#16981
Explains exactly how to do it! Open the archive, open the one inside and extract. Then double click on HIEW611.EXE.


All times are GMT. The time now is 16:25.