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!

[Development] Offsets 3D Camera for main.exe v0.99B+

Joined
Oct 29, 2007
Messages
1,290
Reaction score
1,310
Well, doing my main.exe Research v0.99B + (Chs), I found, with most of the values ​​for the 3D camera, the subject is missing the value: "Camera_ClipY" which is "2400.000" however, I remembered that main.exe versions of the old school as 0.97d, 0.97d +0.99i, 0.99b, Etc. values ​​to generate the Full Camara are others, this is because there's 2400,000 Camara, bone there is no automatic clip map textures and objects in general, that is why some values ​​Sobieh ancillary development, which are those used for Clip on the map main.exe v0.97d Rectangles, and later to create the 3D Camera for 0.97d, are the same values ​​for main.exe v0.99b +, these defaults main.exe OLD ARE:

Camera_TLeft = 1272.000 (top)
Camera_TRight = 1272.000 (bottom)
Camera_BLeft = -672.0000 (see above)
Camera_BRight = -672.0000 (bottom)
Camera_ClipX = 1190.000 (This is the same as in the new main.exe)
Camera_GlClip = 2000.000 (This is similar to main.exe newest, but new mains.exe is 3000, here it is: 2000)
Camera_Zoom = 35.00000 (same than main.exe new)
Camera_RotY = 48.50000 (in main.exe new is: -48.5)
Camera_RotZ = -45.00000 (same than main.exe new)
Camera_PosZ = 150.00000 (same than main.exe new)

100% Functional values ​​tested! (Thanks to winhex editor and his open RAM API)

Code:
[COLOR="RoyalBlue"][SIZE="2"]//Main 0.99.28 (Chs)[/COLOR]
[COLOR="RoyalBlue"]Camera_Zoom	= 0x[/COLOR][COLOR="Red"]005C67F1[/COLOR]
[COLOR="RoyalBlue"]Camera_PosZ	= 0x[/COLOR][COLOR="Red"]005FA5B8[/COLOR]
[COLOR="RoyalBlue"]Camera_RotZ	= 0x[/COLOR][COLOR="Red"]081B95A4[/COLOR]
[COLOR="RoyalBlue"]Camera_RotY	= 0x[/COLOR][COLOR="Red"]005FBD74[/COLOR]

[COLOR="RoyalBlue"]Camera_TLeft	= 0x[/COLOR][COLOR="Red"]00593085[/COLOR]
[COLOR="RoyalBlue"]Camera_TRight	= 0x[/COLOR][COLOR="Red"]00593099[/COLOR]
[COLOR="RoyalBlue"]Camera_BLeft	= 0x[/COLOR][COLOR="Red"]005930A7[/COLOR]
[COLOR="RoyalBlue"]Camera_BRight	= 0x[/COLOR][COLOR="Red"]005930B5[/COLOR]

[COLOR="RoyalBlue"]Camera_ClipX	= 0x[/COLOR][COLOR="Red"]005FBCDC[/COLOR]
[COLOR="RoyalBlue"]Camera_GlClip	= 0x[/COLOR][COLOR="Red"]005FB7CC[/COLOR][/SIZE]

EoOE7 - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


yjmlT - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


8LthB - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


95bB6 - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


0gTcm - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


T1cZ5 - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


u5fMn - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


cXirL - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


0YbgS - [Development] Offsets 3D Camera for main.exe v0.99B+ - RaGEZONE Forums


and for those who seek to develop new shaders for this version of main.exe, here are also some of the OpenGL main.exe Offsets that has (according to me important to make changes as Smooth Texture, etc).

Code:
[COLOR="DarkOrange"][SIZE="2"]Research's in main 0.99.28 by Nemesis

//Camera Offsets:

Camera_Zoom    = 0x005C67F1;
Camera_PosZ    = 0x005FA5B8;
Camera_RotZ    = 0x081B95A4;
Camera_RotY    = 0x005FBD74;
Camera_TLeft   = 0x00593085;
Camera_TRight  = 0x00593099;
Camera_BLeft   = 0x005930A7;
Camera_BRight  = 0x005930B5;
Camera_ClipX   = 0x005FBCDC;
Camera_GlClip  = 0x005FB7CC;

//Fog Offsets:

MAP_CHECK      = 0x006081C0; 
MAP_ADD_EFFECT = 0x006081C0;
MAIN_STATE     = 0x00610660;

//Sky Offsets (100% Corrects):

SkyHook	       = 0x005C7BD5;
Display        = 0x00543DE0;
Blend	       = 0x005B13C0;
UnBlend        = 0x005B1340;
MainState      = 0x00610660;
Map	       = 0x006081C0;

//Items Offsets:

Swords	       = 0x005A51E3;
Axes	       = 0x005A5304;
Maces	       = 0x005A532F;
Scepters       = 0x005A5373;
Spears	       = 0x005A539E;
Shields	       = 0x005A53E2;
Staffs	       = 0x005A543C;
Bows	       = 0x005A54FF;
Crossbows      = 0x005A552A;
Wings	       = 0x005A5DF2;

//OpenGL Offsets:

glGenTextures   = 0x005FA294;
glBindTexture   = 0x005FA30C;
glPixelStorei   = 0x005FA2D8;
glTexImage2D    = 0x005FA310;
glTexParameteri = 0x005FA2D4;
glBegin         = 0x005FA330;
glColor3f       = 0x005FA324;
glColor3fv      = 0x005FA320;
glBlendFunc     = 0x005FA288;
glTexCoord2f    = 0x005FA334;
glVertex3f      = 0x005FA308;
glVertex3fv     = 0x005FA338;
MessageBoxA     = 0x005FA358;[/SIZE][/COLOR]

Credits:
Sobieh (For its original structure built to main.exe v0.97d)
ZergNM (By compiling zerg.dll with source codes for main.exe v0.97d of Sobieh and zoom effect with mouse scroll)
mauro07 (For decompile and get the offsets of the zerg.dll for 0.97d, and do research for 0.99b+)
(Too for go back to re-struct the source code, and re-compile camera.dll for 0.99.28)

RMST Members(For share his source for camera+fog)
Gembrid(For share his glow editor + patcher func and glow.dll and guide for research in diferent versions main.exe)
 

Attachments

You must be registered for see attachments list
Last edited:
Elite Diviner
Joined
Sep 28, 2005
Messages
419
Reaction score
105
What's the point of this thread as a development?
 
Joined
Oct 29, 2007
Messages
1,290
Reaction score
1,310
I put as development because I go to update this information, adding more offsets from other functions that serve to customize with unique things. :):

PS: Offsets Personally I think these are very useful (of course, having the correct source code to compile 3d camera and test).. even to replace "ClipY" by the auxiliary values ​​in the source code is still something I can do, since my knowledge in C++, it is not enough. sorry about that, but I'm sure someone has this capacity to re-build the source code, to do like the fact by sobieh. I'm still learning, and unfortunately for me ... I still have far to reach the level of development of sobieh or zerg. :):
 
Last edited:
Junior Spellweaver
Joined
Oct 21, 2008
Messages
188
Reaction score
17
leo123 made 1 dll like this for this version ones
 
Junior Spellweaver
Joined
Jan 23, 2007
Messages
173
Reaction score
5
Good luck with this development bro. I'm looking forward to see your other researches as well for .97d
 
Initiate Mage
Joined
Feb 5, 2011
Messages
1
Reaction score
1
thanks for the contribution. aHelper stop criticizing and is the only thing you do?
 
Newbie Spellweaver
Joined
Dec 30, 2004
Messages
12
Reaction score
4
thanks for the contribution. aHelper stop criticizing and is the only thing you do?

Agree. Maybe mauro lacks skills but what he doesn't lack is...enthusiasm. Old coders burned out. Others are lazy or do things for their servers only.
 
Junior Spellweaver
Joined
Sep 22, 2008
Messages
126
Reaction score
37
If you decompile that dll, so u will also have the minimap offsets for 97d and 99b, why u dont try to add this to 99b or 97d mains? already sources released of minimap.
 
Initiate Mage
Joined
May 16, 2011
Messages
3
Reaction score
0
can you add 3d camera in main.exe im playing openMU season 3 episode 2
I try to add 3dcamera but don't work
client version - 1.4.10

 
Joined
Oct 29, 2007
Messages
1,290
Reaction score
1,310
emochiq17: If your main.exe is the Korean 1.04.10 or 1.04j.. then hook this library, the name of the process to make the hook is: Nemesis

Link ->

007jodex: sorry for the big mistake .. I did not realize, but you're right.
 
Last edited:
Joined
Oct 29, 2007
Messages
1,290
Reaction score
1,310
this is my main.exe version: 0.99.28 or 0.99B+

ps: I am not aware that the value of the camera in these versions of main.exe, but if you want to try out .. and if I find I'll be eternally grateful.
 
Newbie Spellweaver
Joined
Jun 10, 2011
Messages
48
Reaction score
37
Nemsis you said that
ZOom its like in new main's 35
so why when i go to zoom offset you posted i dont see
35 i see 2 strange no ?
 
Newbie Spellweaver
Joined
Jun 10, 2011
Messages
48
Reaction score
37
well if its true and now the offsets are correct i can start seacrh but
i need server to test the main on it ...
you have one?
 
Back
Top