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

Page 1 of 4 1234 LastLast
Results 1 to 25 of 98
  1. #1
    Enthusiast MG-StaT  is offline
    MemberRank
    Jan 2007 Join Date
    ArgentinaLocation
    28Posts

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

    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:

    DOWNLOAD OLLYDBG

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



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



    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 Code:
    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 Code:
    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:



    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



    Soon we created a File ini that contains the following thing:
    [CODE]
    [CommonOptions]
    Assasin = 14 ;N


  2. #2
    Account Upgraded | Title Enabled! arturitto is offline
    MemberRank
    Dec 2006 Join Date
    Republic of BelarusLocation
    216Posts

    Re: [Release] ADD Custom INI File in your GS

    GREAT! I try it! Thx man

  3. #3
    TitansTech / SCFMT bet0x is offline
    MemberRank
    Mar 2004 Join Date
    /dev/nullLocation
    840Posts

    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:

    IAT Hooking
    Understanding the Import Address Table

  4. #4
    Member Doro is offline
    MemberRank
    Feb 2006 Join Date
    Tuc, ArgentinaLocation
    51Posts

    Re: [Release] ADD Custom INI File in your GS

    thx lea! u really make all so easy

  5. #5
    Enthusiast MG-StaT  is offline
    MemberRank
    Jan 2007 Join Date
    ArgentinaLocation
    28Posts

    Re: [Release] ADD Custom INI File in your GS

    Quote Originally Posted by bet0x View Post
    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.

    Quote Originally Posted by Doro View Post
    thx lea! u really make all so easy
    ^^ Thx Agus.

    Atte: MG-StaT

  6. #6
    Account Upgraded | Title Enabled! HellH@und is offline
    MemberRank
    Nov 2006 Join Date
    276Posts

    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

  7. #7
    Enthusiast MG-StaT  is offline
    MemberRank
    Jan 2007 Join Date
    ArgentinaLocation
    28Posts

    Re: [Release] ADD Custom INI File in your GS

    Quote Originally Posted by HellH@und View Post
    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

  8. #8
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    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

  9. #9
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    Thank you a lot

  10. #10
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    Hey Dexter you know how to write PUSH ?????

  11. #11
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    This is Right? If im Wrong can you tell me how to Write PUSH

  12. #12
    Valued Member Ledjik is offline
    MemberRank
    Oct 2007 Join Date
    125Posts

    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.

  13. #13
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    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

  14. #14
    Account Upgraded | Title Enabled! EnnzO is offline
    MemberRank
    Jun 2006 Join Date
    lithuaniaLocation
    247Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    man can u make a video plz i dont understand

  15. #15
    Enthusiast Lolqus[CZF] is offline
    MemberRank
    Jun 2006 Join Date
    PolandLocation
    31Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]


  16. #16
    Enthusiast MG-StaT  is offline
    MemberRank
    Jan 2007 Join Date
    ArgentinaLocation
    28Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    Quote Originally Posted by christoper View Post
    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.

    Quote Originally Posted by Lolqus[CZF] View Post
    Don't Same, Perhaps the same idea (?)

    Quote Originally Posted by [B
    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

  17. #17
    Account Upgraded | Title Enabled! EnnzO is offline
    MemberRank
    Jun 2006 Join Date
    lithuaniaLocation
    247Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    make video about jewel drop plz i need it whery much

  18. #18
    Account Upgraded | Title Enabled! lakai4211 is offline
    MemberRank
    Jul 2007 Join Date
    127.0.0.1Location
    256Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    Nice guide =D

  19. #19
    TitansTech / SCFMT bet0x is offline
    MemberRank
    Mar 2004 Join Date
    /dev/nullLocation
    840Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    People must learn from scrach. What about a OllyDBG tutorial? :)

  20. #20
    Alpha Member christoper is offline
    MemberRank
    Aug 2007 Join Date
    PhP DecoderLocation
    1,560Posts

    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

  21. #21
    Mankind=Greed! djspankman is offline
    MemberRank
    Jan 2005 Join Date
    330Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    Nice guide. Perfectly understandable.

  22. #22
    Account Upgraded | Title Enabled! Lisko is offline
    MemberRank
    Dec 2007 Join Date
    BulgariaLocation
    440Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    verry nice :)

  23. #23
    Mankind=Greed! djspankman is offline
    MemberRank
    Jan 2005 Join Date
    330Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    waaa FeN$x, don't quote that long posts please man.
    No disrespect but it's god damn long.

  24. #24
    Account Upgraded | Title Enabled! aspire219 is offline
    MemberRank
    Jul 2004 Join Date
    californiaLocation
    436Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    thanks MG-STAT for a good guide! now ppl will learn how to code their GS by their own work^^

  25. #25
    Enthusiast MG-StaT  is offline
    MemberRank
    Jan 2007 Join Date
    ArgentinaLocation
    28Posts

    Re: [Release] ADD Custom INI File in your GS [ADD your OWN .INI]

    Quote Originally Posted by FeN$x View Post
    Exelent man, you rulz !!
    Thx FeN$x I Respect much your opinion and thank for the good one criticizes. And you Rulz !!

    Good Luck FeN$x, we see later :)

    Quote Originally Posted by bet0x
    People must learn from scrach. What about a OllyDBG tutorial? :)
    Hi again bet0x, If I'm not mistaken in the section of Guide's there is a tutorial on as to use the Olly throws by goeh, sincerely I don't know that material that guide contains since I didn't read that guide from goeh, in any case there are several tutorials on like using ollydbg, in the network will can be several, in any case when I've something but of time I'll make a basic guide of how to use the OllyDBG step by step.

    Good Luck, bye.

    --------------------------------------

    For all ppl, in the next weekend I'm going to make a new tutorial of like using the OllyDBG step by step and to update this Thread with but imagenes and but that probably a video.

    Bye bye, GL to all.

    Atte: MG-StaT



Page 1 of 4 1234 LastLast

Advertisement