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:
You must be registered to see links
You must be registered to see links- Web Tool to generate rgb color
You must be registered to see links
- Linear Smoothing
Screenshots:
You must be registered to see links
# 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:
You must be registered to see links
Credits: Brain aka Mr.Kernighan, SmallHabbit, Gembrid aka Hybrid, ZergNM.
Last edited: