• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

ADD Custom INI File in your GS [ADD your OWN .INI]

Newbie Spellweaver
Joined
Jan 9, 2007
Messages
19
Reaction score
0
Hi to all, I want to share with you the following tutorial of like adding your own .ini to anyone GameServer, I Make this tutorial in another forum and today I share it with you.

I hope is easy to them to understand... consider that this can apply it to any GameServer.

First that we must have, they are offset of each function that we wish to include in our .ini file. It will let next small offset research to them of GS 1.00.16 to use like example.

Monster ELF ORB's:
Monster -----|------ Offset

**********************
Gobling -------|------4B368C
- -
Stone -------|------4B369B
- -
Assasin -------|------4B36AA
- -
Elite Yetti -----|-----4B36B9
- -
Dark Knigth ----|----4B36C8
- -
Bary-----------|-----4B3248
- -
Soldier --------|-----4B327C

(Note: The Name of "Monster" Represent the original Monster of the ORB Summon Elfs.)

Monster of Transformation Rings:

Monster ---------|-------- Offset
***************************
Dragon--------|-------- 4B472E
- -
Giant-------------|-------- 4B4737
- -
Skeleton----------|-------- 4B4740
- -
Poison------------|-------- 4B4749
- -
Thunder Linch-----|-------- 4B4752
- -
Death Cown-------|-------- 4B497A

(Nota: The Name of the "Monster" Represent the original Monster of the rings.)

Minimum Memmbers for Guild Alliance

OFFSET : 45537D

Chaos Castle Minimum member entrance

OFFSET : 53BC33

ChaosMachine Items +10

OFFSET : 49136F

ChaosMachine Items +11

OFFSET : 49139A

ChaosMachine Items +12

OFFSET : 4913C5

ChaosMachine Items +13

OFFSET : 4913F0

Price: Jewel of Chaos

OFFSET : 508489

% Chaos Drops

OFFSET : 405E7E

Price: Jewel of Life

OFFSET : 5084AB

% Lifes Drops

OFFSET : 405EAD

Price: Jewel of Creations

OFFSET : 5084CC

% Creations Drops

OFFSET : 405EDC

Price: Jewel of Bless

OFFSET : 508467

% Bless Drops

OFFSET : 405E20

Price: Jewel of Soul

OFFSET : 508446

% Soul Drops

OFFSET : 405E4F

~ % Books of Wizard Drops

OFFSET : 405F29

~ % Exellent Items Drops

OFFSET : 41A493

Ok, with that was enough to explain to them briefly :juggle:

Having you already them Offset of the functions that wish to add on your .ini we has left to begin to work in it.

In order to work in this you need the OllyDBG:



Once downloaded the OllyDBG, we'll load our GameServer.exe in Olly:

MG-StaT  - ADD Custom INI File in your GS [ADD your OWN .INI] - RaGEZONE Forums


Now we needed to find free space on our GS to be able to inject our .ini

MG-StaT  - ADD Custom INI File in your GS [ADD your OWN .INI] - RaGEZONE Forums


Ok, now that already we have offset and the free space on the GameServer only we must inject ours code to add our own .ini

This is of the following Form:

PHP:
PUSH XXXXX                                                     ; ASCII "Custom.ini"
MOV ECX,AC57B58
CALL 402F31
PUSH EAX
PUSH 0
PUSH YYYYY                                                     ; |Key = "Assasin"
PUSH ZZZZZ                                                     ; |Section =" CommonOptions"
CALL DWORD PTR DS:[C65CF08]                           ; \GetPrivateProfileIntA
MOV DWORD PTR DS:[4B36AA],EAX

Explanation of exposed Editable Code:

PUSH XXXXX: XXXXX It represents a Offset with Free space where we wrote the Name of ours ini (In the example, Custom.ini)

PUSH YYYYY: YYYYY it represents a Offset with free space where we wrote the name of the function that we wished to add to ours .ini ( in the example I Add Assasin (Orb Elf))

MOV DWORD PTR DS:[4B36AA],EAX :
4B36AA = this is the offset to which we will move the value that we assign in ours INI, Remember that in my example we're adding the option to change the Monster "Assasin" of the Orb of the Elfs,therefore the offset that this position now is the one of the Assasin Orb. (Review the offset research)

Ready you already have added your first option to your own .ini file, Now you will have to repeat that step so many times As options want to add.

When you finish adding all the options that you want, you'll need to add 2 lines more to the code:

Code:
PUSH 69E598           ;  ASCII "commonserver.cfg"
JMP 521AD9

Your code when finalizing would have to be of the following way:

PHP:
PUSH XXXXX                                               ; ASCII "Custom.ini"
MOV ECX,AC57B58
CALL 402F31
PUSH EAX
PUSH 0
PUSH YYYYY                                               ; |Key = "Assasin"
PUSH ZZZZZ                                               ; |Section =" CommonOptions"
CALL DWORD PTR DS:[C65CF08]                      ; \GetPrivateProfileIntA
MOV DWORD PTR DS:[4B36AA],EAX
PUSH 69E598                                              ;  ASCII "commonserver.cfg"
JMP 521AD9

NOTE: Remember that the last 2 lines must add them AFTER adding all the options that you want !!!

Pic Example:

MG-StaT  - ADD Custom INI File in your GS [ADD your OWN .INI] - RaGEZONE Forums


Ok, Now single we must save the changes. (Right Click --> Copy to Executable --> All Modifications (Click in Copy ALL) --> Soon They give right Click on the screen that will appear to them and click in Save File.

Once saved the changes, We pressed keys CTRL+F2 and we went to the Offset where we added our .INI there we'll see as left has our work :p

MG-StaT  - ADD Custom INI File in your GS [ADD your OWN .INI] - RaGEZONE Forums


Soon we created a File ini that contains the following thing:
Code:
[CommonOptions]
Assasin = 14         ;N
 
Newbie Spellweaver
Joined
Dec 18, 2006
Messages
84
Reaction score
0
Re: [Release] ADD Custom INI File in your GS

GREAT! I try it! Thx man
 
TitansTech / SCFMT
Joined
Mar 23, 2004
Messages
129
Reaction score
388
Re: [Release] ADD Custom INI File in your GS

Also you can try LordPE to hook and DLL, just for save time :)

Also read this:


 
Newbie Spellweaver
Joined
Jan 9, 2007
Messages
19
Reaction score
0
Re: [Release] ADD Custom INI File in your GS

Also you can try LordPE to hook and DLL, just for save time :)

Hi bet0x, yes as you say, Hooking a DLL is saved but valuable time but here several guides published and sources of like doing it with a DLL, and I believe that it's good also for knowing other methods as it's this.

Good Luck.

thx lea! u really make all so easy

^^ Thx Agus.

Atte: MG-StaT
 
Newbie Spellweaver
Joined
Nov 11, 2006
Messages
58
Reaction score
0
Re: [Release] ADD Custom INI File in your GS

Usefull... Maybe now some ppl will try make something by themself :)..

P.S. Mate . What about source code of ItemDrop ? Did u have it or explain
 
Newbie Spellweaver
Joined
Jan 9, 2007
Messages
19
Reaction score
0
Re: [Release] ADD Custom INI File in your GS

Usefull... Maybe now some ppl will try make something by themself :)..

P.S. Mate . What about source code of ItemDrop ? Did u have it or explain


Hi HellH@und, how are you ? Ok, about like make a ItemDropRate file and inyect on a GameServer i Can make one guide, I'm enough sleepy :p but as soon as I've a free time I'll to make a guide of like doing it :)

Cyaz.

Atte: MG-StaT
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

Thanks can i ask what code for drop option Example Excitemdrop 1 - 6 = 100
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

Hey Dexter you know how to write PUSH ?????
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

MG-StaT  - ADD Custom INI File in your GS [ADD your OWN .INI] - RaGEZONE Forums
This is Right? If im Wrong can you tell me how to Write PUSH
 
Newbie Spellweaver
Joined
Oct 18, 2007
Messages
67
Reaction score
0
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

if u mean to edit a line and then write PUSH, just double click in the middle of that line where u want to write PUSH.
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

if u mean to edit a line and then write PUSH, just double click in the middle of that line where u want to write PUSH.
Yep I know now but I need to edit on 005DECF1?

Or i can edit in other free space
 
Junior Spellweaver
Joined
Jun 30, 2006
Messages
158
Reaction score
13
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

man can u make a video plz i dont understand
 
Newbie Spellweaver
Joined
Jan 9, 2007
Messages
19
Reaction score
0
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

Yep I know now but I need to edit on 005DECF1?

Or i can edit in other free space

Hi, yes you can inyect your code in any free space.


Don't Same, Perhaps the same idea (?)

[B said:
EnnzO[/B]]man can u make a video plz i dont understand
Hi EnnzO, one video for this :juggle: ? Ok to my to seem isn't necessary, But if you think that with a video serious but simple to understand, as soon as I've free time without problems I make one.

Atte: MG-StaT
 
Junior Spellweaver
Joined
Jun 30, 2006
Messages
158
Reaction score
13
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

make video about jewel drop plz i need it whery much
 
Newbie Spellweaver
Joined
Jul 27, 2007
Messages
94
Reaction score
0
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

Nice guide =D
 
TitansTech / SCFMT
Joined
Mar 23, 2004
Messages
129
Reaction score
388
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

People must learn from scrach. What about a OllyDBG tutorial? :)
 
Divine Celestial
Loyal Member
Joined
Aug 24, 2007
Messages
890
Reaction score
5
Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

Yes Make A Video or Make a Pic Step By Step co'z it been Short Cut T_T its been hard to understand to noob Add more SS Plz
 
Back
Top