Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Client Addons Source v.1.0.0.2

Newbie Spellweaver
Joined
Jan 13, 2010
Messages
98
Reaction score
118
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

  • Linear fog
    Screenshots:



    - Web Tool to generate rgb color



  • Linear Smoothing
    Screenshots:



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

Credits: Brain aka Mr.Kernighan, SmallHabbit, Gembrid aka Hybrid, ZergNM.
 
Last edited:
Newbie Spellweaver
Joined
Jan 13, 2010
Messages
98
Reaction score
118
I forgot about FogDayNightRealTime. It's my experiments and this is not finished, you can remove it or try to finish are himself.
 
Experienced Elementalist
Joined
Oct 12, 2007
Messages
219
Reaction score
5
Give me it for Vis Studio 2008 please
 
Newbie Spellweaver
Joined
Jan 13, 2010
Messages
98
Reaction score
118
Create new project in MVS2008 and trasfer files. Can't convert from MVS2010 -> MVS2008.

First pot updated. Can see file configuration in code block.
 
Newbie Spellweaver
Joined
Jan 13, 2010
Messages
98
Reaction score
118
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
}
*/
 
Experienced Elementalist
Joined
Oct 12, 2007
Messages
219
Reaction score
5
Add all in BC and kalima
 
Junior Spellweaver
Joined
Aug 5, 2008
Messages
149
Reaction score
38
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)
 
Newbie Spellweaver
Joined
Jan 13, 2010
Messages
98
Reaction score
118
You can download "redistributable 2010" or put this dll in client folder.
Link to redistributable 2010:
 
Newbie Spellweaver
Joined
Aug 1, 2009
Messages
35
Reaction score
2
Someone can share me the Folder Main have Compile already . Sr i just newmem :D
 
Junior Spellweaver
Joined
Aug 5, 2008
Messages
149
Reaction score
38
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 ._.
 
Experienced Elementalist
Joined
Jun 3, 2006
Messages
203
Reaction score
33
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]
---------------

Brain - Client Addons Source v.1.0.0.2 - RaGEZONE Forums


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

Brain - Client Addons Source v.1.0.0.2 - RaGEZONE Forums


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

Brain - Client Addons Source v.1.0.0.2 - RaGEZONE Forums


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

Brain - Client Addons Source v.1.0.0.2 - RaGEZONE Forums



P.S. All 4 screens in Photo Album:
 
Back
Top