Client Addons Source v.1.0.0.2

Page 1 of 3 123 LastLast
Results 1 to 25 of 63
  1. #1
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Client Addons Source v.1.0.0.2

    Little Description


    At present, the source does not provide for me any interest, so I decided to share for you. I hope people like mauro will not put someone else's work as for herself and will respect all people that I put in credits.
    Source code adapted for main 1.03K Japan and contain next things: 3D Camera, Fog for any version of main, Smoothing, the same way, Chat separation, New jewels (Support only RMST Server), low of cpu usage.
    Compilation process

    1. Download Microsoft Visual Studio 2010
    2. Compile them
    3. CMain.dll hook in main process with exported function
    4. opengl32.dll put only in directory with main.exe
    DLL Hook method

    Push DllName ; Example CMain.dll
    CALL LoadLibraryA ; Load dll handle, "HMODULE"
    Or Eax, Eax ; After calling func LoadLibraryA EAX get a value and compare if EAX equal 0, if it true go to exit process
    JE ExitProcess ; Jump if equal
    Push ExportedFunc ; Your exported function, like extern "C" __declspec(dllexport) void MyExport()
    Push Eax ; push dll handle in stack
    CALL GetProcAddress ; Retrieves the address of an exported function or variable from the specified dynamic-link library
    Or Eax, Eax ; After calling func GetProcAddress, EAX get a value and compare if EAX equal 0, if true go to exit process
    JE ExitProcess ; Jump if equal
    CALL Eax ; Call address of function
    JMP EntryPoint ; Jump to entry point

    A Little More Description


    Main Addons

    Developed by Mr.Kernighan

    # First version: 1.0.0.1



    # Update to version: 1.0.0.2

    • Increased the limit load the textures of objects and weapons.
    • Increased the slots of added items and weapons. (Max. 127 for each category)
    • Problems with the closing of the client on different operating systems of Windows. Fixed
    • The problem with the braking when using Skill Bird character DarkLord. Fixed
    • Low cpu usage (Thanks for giving Hybrid source). Fixed
    • Support for new stones used RMST server. (Thanks for giving SmallHabit source code). Added
    • Separation of system messages from the game chat (Thanks for giving Hybrid source). Added


    Configuration file
    Code:
    ; #########################
    ; 3D Camera settings   
    ; #########################
    
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [3D]
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    IsActive  = 1 ; 
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    Sensivity = 8 ; 
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    
    ; #########################
    ; Linear smoothing settings
    ; #########################
    
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Smoothing]
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    IsEnabled = 1     
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    ; #########################
    ; Linear fog settings
    ; #########################
    
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Fog]
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    IsEnabled = 1     
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    Start = 1600.0    
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    End = 2100.0      
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    ; #########################
    
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Default]
    red = 0.0
    green = 0.0
    blue = 0.0
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Lorencia]
    red = 0.83
    green = 0.8025
    blue = 0.2805
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Dungeon]
    red = 0.83
    green = 0.7581
    blue = 0.6142
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Devias]
    red = 0.6643
    green = 0.8158
    blue = 0.91
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Noria]
    red = 0.3689
    green = 0.58
    blue = 0.2552
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [LostTower]
    red = 0.0
    green = 0.0
    blue = 0.0
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Stadium]
    red = 0.56
    green = 0.4424
    blue = 0.308
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Atlans]
    red = 0.451
    green = 0.6478
    blue = 0.82
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Tarkan]
    red = 0.83
    green = 0.667
    blue = 0.3154
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Icarus]
    red = 0.077
    green = 0.1318
    blue = 0.22
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Kalima]
    red = 0.1736
    green = 0.3475
    blue = 0.56
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [ValeyOfLoren]
    red = 0.85
    green = 0.3156
    blue = 0.1872
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [LandOfTrial]
    red = 0.0
    green = 0.0
    blue = 0.0
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Aida]
    red = 0.3403
    green = 0.47
    blue = 0.3008
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [CryWolf]
    red = 0.39
    green = 0.3156
    blue = 0.1872
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Kanturu]
    red = 0.18
    green = 0.1708
    blue = 0.1494
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [BalgasBarrack]
    red = 0.47
    green = 0.1363
    blue = 0.1363
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Elbeland]
    red = 0.76
    green = 0.76
    blue = 0.76
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [Raklion]
    red = 0.6643
    green = 0.8158
    blue = 0.91
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    [SantaTown]
    red = 0.6643
    green = 0.8158
    blue = 0.91
    ; ~~~~~~~~~~~~~~~~~~~~~~~~~
    Link: MEGAUPLOAD - The leading online storage and file delivery service

    Credits: Brain aka Mr.Kernighan, SmallHabbit, Gembrid aka Hybrid, ZergNM.
    Last edited by Brain; 16-11-11 at 10:25 PM.


  2. #2
    Account Upgraded | Title Enabled! Gierek is offline
    MemberRank
    Sep 2008 Join Date
    225Posts

    Re: Client Addons Source v.1.0.0.2

    wow... trying and testing, thanks for share :)

  3. #3
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Re: Client Addons Source v.1.0.0.2

    I forgot about FogDayNightRealTime. It's my experiments and this is not finished, you can remove it or try to finish are himself.

  4. #4
    Apprentice Isterika is offline
    MemberRank
    Oct 2011 Join Date
    5Posts

    Re: Client Addons Source v.1.0.0.2

    Good job.
    I am testing)

  5. #5
    Proficient Member [KeysS] is offline
    MemberRank
    Aug 2008 Join Date
    PeruLocation
    159Posts

    Re: Client Addons Source v.1.0.0.2

    Thanks for the source :) i hope now my client not close :)

  6. #6
    Account Upgraded | Title Enabled! boncha is offline
    MemberRank
    Oct 2008 Join Date
    254Posts

    Re: Client Addons Source v.1.0.0.2

    use for what main ?

  7. #7
    Fusionā„¢ |ARIES| is offline
    MemberRank
    Feb 2008 Join Date
    ARGENTINALocation
    410Posts

    Re: Client Addons Source v.1.0.0.2

    Quote Originally Posted by boncha View Post
    use for what main ?
    1.03K if i'm not wrong.

  8. #8
    Account Upgraded | Title Enabled! 1313 is offline
    MemberRank
    Oct 2007 Join Date
    IsraelLocation
    378Posts

    Re: Client Addons Source v.1.0.0.2

    Give me it for Vis Studio 2008 please

  9. #9
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Re: Client Addons Source v.1.0.0.2

    Create new project in MVS2008 and trasfer files. Can't convert from MVS2010 -> MVS2008.

    First pot updated. Can see file configuration in code block.

  10. #10
    Apprentice 16bitBAZUKA is offline
    MemberRank
    Oct 2011 Join Date
    22Posts

    Re: Client Addons Source v.1.0.0.2

    good job, a good source, thanks man 10\10

  11. #11
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Re: Client Addons Source v.1.0.0.2

    Who have problem with compilation, open file DLLExport.cpp and delete next code.

    Code:
    /*
    SetTimer(FindWindow(TEXT("MU"), NULL), 2, 60000, (TIMERPROC)FogDayNightTimer);
    */
    In func glClearColor, glEnable

    Code:
    /*
    if (FogDayNightRealTime() == NIGHT) {
     r = 0.0; g = 0.0; b = 0.0;
    }
    else
    {
     // Delete only block "else" everything within that block not remove
    }
    */

  12. #12
    Account Upgraded | Title Enabled! 1313 is offline
    MemberRank
    Oct 2007 Join Date
    IsraelLocation
    378Posts

    Re: Client Addons Source v.1.0.0.2

    Add all in BC and kalima

  13. #13
    Proficient Member [KeysS] is offline
    MemberRank
    Aug 2008 Join Date
    PeruLocation
    159Posts

    thumbs up Re: Client Addons Source v.1.0.0.2

    Quote Originally Posted by Brain View Post
    Who have problem with compilation, open file DLLExport.cpp and delete next code.

    Code:
    /*
    SetTimer(FindWindow(TEXT("MU"), NULL), 2, 60000, (TIMERPROC)FogDayNightTimer);
    */
    In func glClearColor, glEnable

    Code:
    /*
    if (FogDayNightRealTime() == NIGHT) {
     r = 0.0; g = 0.0; b = 0.0;
    }
    else
    {
     // Delete only block "else" everything within that block not remove
    }
    */
    I think you can complete your source code taking the source of vcorp :) i will try to do it :) thanks (Y)

  14. #14
    Account Upgraded | Title Enabled! Gierek is offline
    MemberRank
    Sep 2008 Join Date
    225Posts

    Re: Client Addons Source v.1.0.0.2

    I have got MSVCR100.DLL error when running main. Any idea?

  15. #15
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Re: Client Addons Source v.1.0.0.2

    You can download "redistributable 2010" or put this dll in client folder.
    Link to redistributable 2010: http://www.microsoft.com/download/en...s.aspx?id=5555

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

    Re: Client Addons Source v.1.0.0.2

    can i hook this to season 6 versions 1.07V

  17. #17
    Enthusiast knight230495 is offline
    MemberRank
    Aug 2009 Join Date
    35Posts

    Re: Client Addons Source v.1.0.0.2

    Someone can share me the Folder Main have Compile already . Sr i just newmem :D

  18. #18
    Proficient Member [KeysS] is offline
    MemberRank
    Aug 2008 Join Date
    PeruLocation
    159Posts

    Re: Client Addons Source v.1.0.0.2

    Guys try to search on the forum, i thinks is a great share just for give u the source for make this and now u need "jewels, make for 1.07v, folder and others?" try to search if you don't know about c++ =/ well u can't do nothing ._.

  19. #19
    Account Upgraded | Title Enabled! Gierek is offline
    MemberRank
    Sep 2008 Join Date
    225Posts

    Re: Client Addons Source v.1.0.0.2

    I've compiled source but after hooking DLL is not working. Please help me.
    Last edited by Gierek; 18-11-11 at 06:27 PM.

  20. #20
    Account Upgraded | Title Enabled! palco is offline
    MemberRank
    Jun 2006 Join Date
    240Posts

    Re: Client Addons Source v.1.0.0.2

    For me this DLL didn't work properly. Especially Fog option. 3D works. For Fog option - I use your old DLL with 3D, Fog and MiniMap and I'm pleased from the results, I have only 1 problem that apears last 2-3 days after I change server files - sometimes the game disconnects me in Arena at coord. 35,13. So I decide to test this DLL. Fog option didn't work without opengl32.dll (SEE SCREENSHOTS [1]). No problems, I expected that maybe it will not work. So... the fog appears when I copy opengl32.dll in the game folder (but the result is very bad... SEE SCREENSHOTS [2]), no matter if in Settings.ini fog option is disabled. With your old DLL and with opengl32.dll in the game folder the result is exactly same like your new DLL - bad result (SEE SCREENSHOTS [3]). But if I remove opengl32.dll and use your old DLL everything is OK - SEE SCREENSHOTS [4]. The only one problem is that in last 2-3 days I test another server files and use your old DLL but sometimes it disconnects me in Arena around at coordinates 35,13.

    SCREEN [1]
    ---------------



    SCREEN [2]
    ---------------



    SCREEN [3]
    ---------------



    SCREEN [4]
    ---------------




    P.S. All 4 screens in Photo Album: HERE

  21. #21
    el gordito tetas caidas GM-Andromeda is offline
    MemberRank
    Jun 2006 Join Date
    Complex plane.Location
    202Posts

    Re: Client Addons Source v.1.0.0.2

    nice trick btw.

  22. #22
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Re: Client Addons Source v.1.0.0.2

    For me this DLL didn't work properly. Especially Fog option. 3D works. For Fog option - I use your old DLL with 3D, Fog and MiniMap and I'm pleased from the results, I have only 1 problem that apears last 2-3 days after I change server files - sometimes the game disconnects me in Arena at coord. 35,13. So I decide to test this DLL. Fog option didn't work without opengl32.dll (SEE SCREENSHOTS [1]). No problems, I expected that maybe it will not work. So... the fog appears when I copy opengl32.dll in the game folder (but the result is very bad... SEE SCREENSHOTS [2]), no matter if in Settings.ini fog option is disabled. With your old DLL and with opengl32.dll in the game folder the result is exactly same like your new DLL - bad result (SEE SCREENSHOTS [3]). But if I remove opengl32.dll and use your old DLL everything is OK - SEE SCREENSHOTS [4]. The only one problem is that in last 2-3 days I test another server files and use your old DLL but sometimes it disconnects me in Arena around at coordinates 35,13.
    What main u use?

  23. #23
    Account Upgraded | Title Enabled! 1313 is offline
    MemberRank
    Oct 2007 Join Date
    IsraelLocation
    378Posts

    Re: Client Addons Source v.1.0.0.2

    For what textures using smotthing? Only 2d Grass and etc or Skin on Object too? Source Not have skybox.

  24. #24
    Member Brain is offline
    MemberRank
    Jan 2010 Join Date
    MoldovaLocation
    99Posts

    Re: Client Addons Source v.1.0.0.2

    For what textures using smotthing? Only 2d Grass and etc or Skin on Object too? Source Not have skybox.
    All textures have smoothing.
    Sky? Add it ;)

  25. #25
    Account Upgraded | Title Enabled! palco is offline
    MemberRank
    Jun 2006 Join Date
    240Posts

    Re: Client Addons Source v.1.0.0.2

    Quote Originally Posted by Brain View Post
    What main u use?
    1.03.11 from RMST Client (with and wihout hook).



Page 1 of 3 123 LastLast

Advertisement