Running List of Sources S2-S3

Page 2 of 2 FirstFirst 12
Results 26 to 48 of 48
  1. #26
    Member Decco Santos is offline
    MemberRank
    Dec 2006 Join Date
    88Posts

    Re: [Release]Running List of Sources S2-S3

    Why anybody here put the dlls, or what need here to download, cause there are many people here that don

  2. #27
    Valued Member zEsko is offline
    MemberRank
    Oct 2007 Join Date
    BulgariaLocation
    140Posts

    Re: [Release]Running List of Sources S2-S3

    10x verry nice :)

  3. #28
    Enthusiast YEvil is offline
    MemberRank
    Mar 2007 Join Date
    irc.ktu.lt:6667 #ZORline hotic3Location
    28Posts

    Re: [Release]Running List of Sources S2-S3

    noobish...

  4. #29
    Account Upgraded | Title Enabled! AdidasS is offline
    MemberRank
    Jun 2005 Join Date
    SumyLocation
    394Posts

    Re: [Release]Running List of Sources S2-S3

    pls somone who know how to add this features and fixes - pls create guide about or show on example.

  5. #30
    Enthusiast an12345 is offline
    MemberRank
    Mar 2007 Join Date
    31Posts

    Re: [Release]Running List of Sources S2-S3

    You don't need all there if you don't know how to do all that ;)
    This is only for people, who can use it.
    I think ;)
    Wait their releases :p

  6. #31
    Account Upgraded | Title Enabled! AdidasS is offline
    MemberRank
    Jun 2005 Join Date
    SumyLocation
    394Posts

    Re: [Release]Running List of Sources S2-S3

    i want know it basic, wann't learn asm in full..

  7. #32
    Enthusiast an12345 is offline
    MemberRank
    Mar 2007 Join Date
    31Posts

    Re: [Release]Running List of Sources S2-S3

    You must know not only basic ...
    Because you must:
    1) Find offsets.
    2) Make Dll Corretly with Your Offsets.
    3) Find offsets again.
    4) Hook Dll.
    If you know how to do it, you don't need manual.
    Else it is very hard to make it working as you need ;)

  8. #33
    Account Upgraded | Title Enabled! Di3Go_SM is offline
    MemberRank
    Oct 2006 Join Date
    577Posts

    Re: [Release]Running List of Sources S2-S3

    can someone make a gs with this options guys?

    i'm not a coder :(

  9. #34
    Account Upgraded | Title Enabled! BlackEye is offline
    MemberRank
    Sep 2007 Join Date
    Latvia-DobeleLocation
    733Posts

    Re: [Release]Running List of Sources S2-S3

    Big thanks man! Olways the best! Werry good thing! :)

  10. #35
    Account Upgraded | Title Enabled! magic15 is offline
    MemberRank
    Jan 2007 Join Date
    LatviaLocation
    225Posts

    Re: [Release]Running List of Sources S2-S3

    offtopic
    black ierubi skype vai msn :D

  11. #36
    Member UnKn is offline
    MemberRank
    Feb 2007 Join Date
    91Posts

    Re: [Release]Running List of Sources S2-S3

    uhuhuhu =) nice

  12. #37
    Member persektor is offline
    MemberRank
    Oct 2007 Join Date
    51Posts

    Re: [Release]Running List of Sources S2-S3

    How Can I use this?

    --->

    cl-c212
    Meet playerserver -> game client Num. of players
    len msg ID num
    c2 xxxx 12
    1 2 1 1
    + this block repeated number of players times:cl-c212-2
    PC ID Item levels(color)? player name, padded with 0x00
    ID X1 Y1 class pose LHand RHand helm armor pants gloves boots pet? wind? ?? name X2 Y2 ??

    2 1 1 4bit 4bit 1 1 4bit 4bit 4bit 4bit 4bit 4bit 4bit 6.5 10 1 1 6
    Field description:

    * X1,Y1 -> X2,Y2 - player moved. If x1y1 == x2y2 - player stand
    * class
    o 0 - Dark Wizard
    o 1 - MEGA Dark Wizard ?
    o 2 - Dark Knight
    o 3 - Night Blade
    o 4 - Elf
    o 5 - Muse Elf
    o 6 - Magic Gladiator
    * pose - stand style
    o 0 - stand
    o 1 - UNKNOWN
    o 2 - sit
    o 3 - at wall
    o 4 - "hanged" (in Noria)
    * LHand, RHand - itemID held in left and right hands
    * helm..boots - item type (lether, silk...)
    * pet - satan, angel, horn, maybe wings
    * wing - wings ?

    cl-c213
    Meet monsterserver -> game client Num. of NPCs
    len msg ID num
    c2 xxxx 13
    1 2 1 1
    + this block repeated number of NPCs times:cl-c213-2
    NPC ID
    ID (?) NPC description separator
    00
    2 8 1

    Sorry, but i don't understand, i need use this in C++ or Hexa? How can i do?
    Sorry for my bad inglesh! Brazilian man!!^^

  13. #38
    Account Upgraded | Title Enabled! Holy is offline
    MemberRank
    Jul 2007 Join Date
    Mov eax, 1Location
    551Posts

    Re: [Release]Running List of Sources S2-S3

    These are only olds Theorys of packets that in today are unusefull...

  14. #39
    Member persektor is offline
    MemberRank
    Oct 2007 Join Date
    51Posts

    Re: [Release]Running List of Sources S2-S3

    How can i correct this BUG?The funcion of my GS 1.0.0.16, not running correct if i use de 3 rd claas wings, whem I move, the wing changed for another wing!

    Sorry may Horrible Inglesh!!! Brazilian MAN!
    "Os americanos s

  15. #40
    Member Dev-Star is offline
    MemberRank
    Sep 2007 Join Date
    LorenciaLocation
    68Posts

    Re: [Release]Running List of Sources S2-S3

    What build of GameServer are you using?

  16. #41
    Member persektor is offline
    MemberRank
    Oct 2007 Join Date
    51Posts

    Re: [Release]Running List of Sources S2-S3

    ollydbg and hexa editor!

  17. #42
    Enthusiast an12345 is offline
    MemberRank
    Mar 2007 Join Date
    31Posts

    Re: [Release]Running List of Sources S2-S3

    [quote=persektor;2832456]How can i correct this BUG?The funcion of my GS 1.0.0.16, not running correct if i use de 3 rd claas wings, whem I move, the wing changed for another wing!

    Sorry may Horrible Inglesh!!! Brazilian MAN!
    "Os americanos s

  18. #43
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Release]Running List of Sources S2-S3

    pls who can explain me this shits :

    Code:
    This is the source code for Season 3 Mixes.
    
    Well...
    
    This is Protocol in DLL
    
    Code:
    bool ProtocolCore(DWORD aIndex, LPBYTE pBuffer, DWORD pSize) {
        BYTE Packet[100] = {0};
        switch(pBuffer[2])
        {
            //----------------------------------------------
            // ChaosBox Machine combination packets
            case PROTO_CHAOSCOMBINATION:
                if(pBuffer[1] == 0x04 && pBuffer[3] == 0x26)
                {
                    ChaosBoxCombineNewFeather(aIndex);
                    return true;
                }
    
                if(pBuffer[1] == 0x04 && pBuffer[3] == 0x27)
                {
                    ChaosBoxCombineNewWings(aIndex);
                    return true;
                }
            break;
        }
        return false;
    }
    This function return TRUE if know packet. When this function return TRUE, hook in GameServer ProtocolCore jump to end (STACK Footer/POP's). pBuffer[3] is mixID.
    
    This is an example of ProtocolCore hook in GameServer 1.00.16.
    Code:
    PUSH DWORD PTR SS:[EBP+10] ; Push Packet size
    PUSH DWORD PTR SS:[EBP+C] ; Push pointer to first byte of packet
    PUSH DWORD PTR SS:[EBP+14] ; Push aIndex/Player Id/gObjId
    CALL DWORD PTR DS:[0xB5F0010] ; Call ProtocolCore from DLL
    CMP EAX, 1 ; check what return our function and compare it
    JE GameServ.0042EEC8 ; jump to function Epilog if return TRUE(1)
    JMP GameServ.0042DF13 ; or jump to previous code if FALSE(0)
    Now you must add new items to ChaosBox allowed items list. When you do this, you can put items needs to new mixes (Bless package, soul package, etc). 1.03H++ Mains have implemented season 3 Chaos Combinations.
    
    To add new items to ChaosBox we use ASM and our DLL. We make function with naked parameter (more about it on http://msdn2.microsoft.com/en-us/lib...xs(VS.80).aspx).
    
    Code:
    void __declspec(naked) ChaosBoxCheckNewItems() {
        __asm {
            // Original
            cmp eax, 0x180F;
            je ItemAllowed;
    
            // Flame Of Condor
            cmp eax, 0x1A34;
            je ItemAllowed;
    
            // Feather of Condor
            cmp eax, 0x1A35;
            je ItemAllowed;
    
            // Package of 10 Blesses
            cmp eax, 0x181E;
            je ItemAllowed;
    
            // Package of 10 Souls
            cmp eax, 0x181F;
            je ItemAllowed;
    
            mov edi, 0x004E3DD4;
            jmp edi;
    
            ItemAllowed:
                mov edi, 0x004E3E0F;
                jmp edi;
        }
    }
    Code is very simply. ItemId = ItemSection * 512 + ItemIdInSection.
    
    Now we must make hook in GameServer 1.00.16.
    
    At 0x004E3DCD offset you have smth like this:
    
    Code:
    MOV EDX, DWORD PTR SS:[EBP-78] ; copy item pointer to EDX
    MOVSX EAX, WORD PTR DS:[EDX+6] ; copy 6th byte (itemId) from item pointer to EAX
    CMP EAX, 180F ; compare itemId with 0x180F const
    JE SHORT GameServ.004E3E0F ; if itemId is equal jump to Send PutPacket
    Change that code to :
    
    Code:
    MOV EDX, DWORD PTR SS:[EBP-78]
    MOVSX EAX, WORD PTR DS:[EDX+6]
    JMP DWORD PTR DS:[0xB5F0030] ; jump (because is naked) to our function from DLL
    NOP
    And Mixes Code :
    
    Code:
    void ChaosBoxCombineNewFeather(DWORD aIndex) {
        DWORD lpObj = (aIndex * gObj_SIZE + gObj_OFFSET);
        srand(static_cast<int>(time(NULL)));
    
        if((rand() % 100) <= 60)
            {
            ItemSerialCreateSend(aIndex, 0xFF, gObj_GetInt(aIndex, gObj_POSX), gObj_GetInt(aIndex, gObj_POSY), 0x1A35, 0, 255, 0, 0, 0, -1, 0, 0);
            gObj_Write(aIndex, gObj_MONEY, (gObj_GetInt(aIndex, gObj_MONEY) - 20000));
            GCMoneySend(aIndex, gObj_GetInt(aIndex, gObj_MONEY));
            Log(mInfo, "[%s][%s] ChaosBoxCombineNewFeather() - Combination success.", gObj_GetChar(aIndex, gObj_LOGIN), gObj_GetChar(aIndex, gObj_NICK));
        }
    
            else
        {
                    ChaosBoxInit(lpObj);
                    GCUserChaosBoxSend(lpObj, 0);
            BYTE Packet[10] = {0xC1, 0x0A, 0x86, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
            DataSend(aIndex, Packet, 10);
            Log(mInfo, "[%s][%s] ChaosBoxCombineNewFeather() - Combination fail.", gObj_GetChar(aIndex, gObj_LOGIN), gObj_GetChar(aIndex, gObj_NICK));
        }
    }
    
    void ChaosBoxCombineNewWings(DWORD aIndex) {
        DWORD lpObj = (aIndex * gObj_SIZE + gObj_OFFSET);
        srand(static_cast<int>(time(NULL)));
    
        if((rand() % 100) <= 60)
            {
            srand(static_cast<int>(time(NULL)));
            WORD WingsId = 0x1824 + (rand() % 5);
            ItemSerialCreateSend(aIndex, 0xFF, gObj_GetInt(aIndex, gObj_POSX), gObj_GetInt(aIndex, gObj_POSY), WingsId, 0, 255, 0, 0, 0, -1, 0, 0);
            gObj_Write(aIndex, gObj_MONEY, (gObj_GetInt(aIndex, gObj_MONEY) - 20000));
            GCMoneySend(aIndex, gObj_GetInt(aIndex, gObj_MONEY));
            Log(mInfo, "[%s][%s] ChaosBoxCombineNewWings() - Combination success with ItemId [0x%02X].", gObj_GetChar(aIndex, gObj_LOGIN), gObj_GetChar(aIndex, gObj_NICK), WingsId);
        }
    
            else
        {
                    ChaosBoxInit(lpObj);
                    GCUserChaosBoxSend(lpObj, 0);
            BYTE Packet[10] = {0xC1, 0x0A, 0x86, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
            DataSend(aIndex, Packet, 10);
            Log(mInfo, "[%s][%s] ChaosBoxCombineNewWings() - Combination fail.", gObj_GetChar(aIndex, gObj_LOGIN), gObj_GetChar(aIndex, gObj_NICK));
        }
    }
    If needed use that code too :
    
    Code:
    /* ProtocolCore.h - Created 2007-07-14 at 11:12
     * File is part of MUDLL Project.
     *
     * Coded by f1x
     */
    
    #ifndef MUDLL_PROTOCOLCORE_H
        #define MUDLL_PROTOCOLCORE_H
    
    #define PROTO_NPCCLICK 0x30
    #define PROTO_ENTERGAME 0x03
    #define PROTO_CHAOSCOMBINATION 0x86
    #define PROTO_PRIESTDEVIN 0xA2
    
    bool ProtocolCore(DWORD aIndex, LPBYTE pBuffer, DWORD pSize);
    
    #endif //~MUDLL_PROTOCOLCORE_H
    who can make it simple in a .dll or the code to compile it in a .dll file?and a dll hooking guide pls :34::34::34:

  19. #44
    Member Dev-Star is offline
    MemberRank
    Sep 2007 Join Date
    LorenciaLocation
    68Posts

    Re: [Release]Running List of Sources S2-S3

    That is season 3 wing mix, It is coded in C++ with hooks and code for ASm. It gives mini guide on how to hook into GameServer. If you want .dll with it already in it, wait for my updates please.

  20. #45
    Member Atraxion is offline
    MemberRank
    Aug 2004 Join Date
    PeruLocation
    70Posts

    Re: [Release]Running List of Sources S2-S3

    1.- Thank you
    2.- For those noobies: it's easy everything it's easy but you need to learn step by step then some day you gonna can make ur own operative system ;)

  21. #46
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: [Release]Running List of Sources S2-S3

    Quote Originally Posted by Dev-Star View Post
    That is season 3 wing mix, It is coded in C++ with hooks and code for ASm. It gives mini guide on how to hook into GameServer. If you want .dll with it already in it, wait for my updates please.
    i already try to compile it with visual basic c++ and he said incorrect syntax bad { and some stupids,i wait to make you mini guid with .dll files and how to hook it,hurry up and good luck,your a good coder :wavetowel

  22. #47
    Proficient Member Explor3r is offline
    MemberRank
    Jul 2007 Join Date
    I`m Your ShadowLocation
    185Posts

    Re: [Release]Running List of Sources S2-S3

    Where I Put This Codes????

  23. #48
    Proficient Member Explor3r is offline
    MemberRank
    Jul 2007 Join Date
    I`m Your ShadowLocation
    185Posts

    Re: [Release]Running List of Sources S2-S3

    Hi All Who Want Help Me ... I Nedd It Fast Please Dude!!!
    I Want Put This Code In My Main.exe & In My GameServer Please Much ... !!!
    This Is My GameServer
    GameServer [Here]
    This Is My Main
    Main [Here]
    This Is The Resource Code
    Resource Code [Here]



Page 2 of 2 FirstFirst 12

Advertisement