Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [hex]Permanently save your Seven Sign Sky Config (https://postpacific.loc-online.com/showthread.php?t=2933)

torune 04.01.2006 00:49

[hex]Permanently save your Seven Sign Sky Config
 
Big thx goes to Livid:
https://postpacific.loc-online.com/f...1983&start=105

this is not a tutorial, which means i dont give out everything

put this in your l2server.ini
Code:

[SevenSign]
SignSky=0

find some place before server loads everything, or maybe a jump after it loads some values from l2server.ini
Quote:

; /IniFileName = ".\l2server.ini"
; |Default = 0
; |Key = "SignSky"
; |Section = "SevenSign"
; \GetPrivateProfileIntW
PUSH 005D9554
PUSH 0
PUSH AddressOfKeyName
PUSH AddressOfSectionName
CALL DWORD PTR DS:[<&KERNEL32.GetPrivateProfileIntW>
MOV DWORD PTR DS:[6B8FF0],EAX
use this to load the value

and when you go to this step
MOV DWORD PTR DS:[6B8FF0],EAX
extends
Quote:

PUSH 005D9554
PUSH 6B8FF0
PUSH AddressOfKeyName
PUSH AddressOfSectionName
CALL DWORD PTR DS:[<&KERNEL32.WritePrivateProfileStringW>]
BOOL WritePrivateProfileString(
LPCTSTR lpAppName,
LPCTSTR lpKeyName,
LPCTSTR lpString,
LPCTSTR lpFileName
);
WritePrivateProfileStringW (Unicode)

UINT GetPrivateProfileInt(
LPCTSTR lpAppName,
LPCTSTR lpKeyName,
INT nDefault,
LPCTSTR lpFileName
);
GetPrivateProfileIntW (Unicode)

reference:
http://msdn.microsoft.com/library/de...profileint.asp
http://msdn.microsoft.com/library/de...filestring.asp

just a small additional info:
you might need add eax,30
hex: 30 -> 0
hex: 31 -> 1
hex: 32 -> 2

TheOrder 04.01.2006 00:55

WoW tnx for the Share Torune , i love what you are doing to the community !!! Tnx again so overwhelmed !!!

toolpunk 04.01.2006 11:48

seems very nice...
unfortunately i dont know how to add it :cry:
you know im a bit retarded when it comes to so called low-level programming like asm and hex :pale:
so i ask all of you:
are there any tutorials or good sites about this?
im not talking about sth like "learn asm within 5 seconds"...
i know that this is not possible.
i seriouly search for a place to learn it.
i mean our hex masters (torune, livid and so on) must have learned it somwhere too...

Melvyn 04.01.2006 15:20

Torune, I need to know what you eat in the breakfast....:-D

I do not understand very well how to modify l2server.exe in hex, the only thing that is that your brain definitively is much more great that the rest of the mortals:-P

tnx so much for sharing!

PD: sorry 4 my bad english

Decaz 04.01.2006 20:08

Torune big thx for information! One question: except for strings
Code:

[SevenSign]
SignSky=0

other strings are for hexing?
(soory my bad eng)

Maytord 05.01.2006 04:36

i think if you dont going to share everything better dont share anything lol i'm sick of this comunity.

torune 05.01.2006 06:35

you really do piss me off, bye now

TheOrder 05.01.2006 06:43

lol :D :)
Iff he hated the community so much wtf does he stays in it :) freak better go to L2j and have a wonderfull community but crapy Server :P

flakka 05.01.2006 21:20

Sweet! Thanks torune and Livid! :D

And btw, Maytord = Maytard.
Don't pay any attention to him guys. After all, it's not often we get 31 year-olds acting like this as an example for us all. :roll:

Kenster 12.01.2006 02:51

Good share, but I don't full understand. Maybe some one else can post some information on this HEX?

Flakka_ 15.01.2006 19:02

Poor lol
 
Quote:

Originally Posted by flakka
Sweet! Thanks torune and Livid! :D

And btw, Maytord = Maytard.
Don't pay any attention to him guys. After all, it's not often we get 31 year-olds acting like this as an example for us all. :roll:

the only thing that you know is talk shit and ban peaple look in the mirro first before you said anything you mother fucker

http://img453.imageshack.us/img453/8838/lol0dx.th.jpg

toolpunk 15.01.2006 19:54

=_=
now shut the fuck up and go away...
thx for leaving us :)

TheOrder 15.01.2006 21:42

I think this guy deserves an IP Ban . Someone do something about him !!!

bwgreen 15.01.2006 21:58

I think he's funny.. wasting so much of his own time to screenshot the profile and change it to "asshole" then to bother making a new post and come back to insult people.

Kenster 19.01.2006 06:04

Quote:

Originally Posted by bwgreen
I think he's funny.. wasting so much of his own time to screenshot the profile and change it to "asshole" then to bother making a new post and come back to insult people.

lol amen

Kenster 20.01.2006 06:53

Tourne,

Here is a question, can you make it load a specific NPCPOS and NPCDATA if say 1 is chosen? That would complete the whole Seven signs aspect.

johnsmith2 20.01.2006 10:13

you already completed seven signs why bother to do that, since you wrote Seven Signs - 100% in your sigs.
in order to do that we need a new npc.exe dll hook

oh wait, nvm, l2server hook should be good enough
creates 3 npcpos.txt, replace file upon your setting

Kenster 20.01.2006 14:37

My SS is complete, only problem is I have to MANUALLY update it, which is kinda of lame. It will get automated in due time, starting to learn AI Also.

Zil 20.01.2006 18:48

I wanna too seven signs. But I don'd understand how to do it working :(

Altharis 20.01.2006 21:04

I tried to test that... But it seems i am too stupid for that?
Any sugestions(not help) would pe apreciated...
But if you don't want... Whatever :(((


All times are GMT. The time now is 15:27.