With some Research's... yes
Printable View
With some Research's... yes
Ok I will wait for the research ^ ^
"Esto de hablar en ingles me esta volviendo loco jaja"
Algo que me molesta demasiado de la camara 3D, es que los numeros de hit de los monsters se ven descolocados. Algo bueno que podes intentar de ver si se puede arreglar :P
Español:
No hay problema, despues agrego eso tambien, Gembrid dejo un codigo con los offsets para main.exe 1.04j aca en Rz y yo lo tengo, solo es cuestion de ponerme a hacer algunos Research's, los creditos en ese caso serian para: Gembrid, yo solo hago el Research y agrego al codigo de customs.
English:
No problem, then add that too, Gembrid left with a code for main.exe 1.04j offsets here in Rz and I have it, just a matter of me doing some Research's, the credits in this case would be to: Gembrid, I only do added to the Research and customs code.
Mauro u r a good coder the credits in this case must be Gembrid, mauro07 ;)
1.03O have head movement bug?
In 0.99B+ Offsets for Rotate Damage Mob Fix:
const int CharRotFix1_Offset = 0x53441D;
const int CharRotFix2_Offset = 0x53460C;
const int DamgRotPatch_Offset = 0x5B2211;
const int DamgRotCall_Offset = 0x5B221C;
const float rad = 0.01745329;
float zRot = *Camera_RotZ;
but not work in this version... main closed :(
Please, post someone Rotate Damage Mob Fix source
Offsets ill find)
Thx )
All From 1.03O+ GMO
Obviously: Credits to Gembrid ;)
Code:__declspec(naked) void CharRotFix1(){
__asm {
ADD EAX, 0x168
ADD EAX, Camera_PosZ
RETN
}
}
__declspec(naked) void CharRotFix2(){
__asm {
MOV ECX, 0x168
SUB ECX, Camera_PosZ
RETN
}
}
const float Rad = 0.01745329;
void RotateDmg(float& X, float& Y, float D){
float sinTh = sin(Rad * (*Camera_RotZ));
float cosTh = cos(Rad * (*Camera_RotZ));
X += D / 0.7071067 * cosTh / 2;
Y -= D / 0.7071067 * sinTh / 2;
}
void Fix_RotateDmg(){
const int CharRotFix1_Offset = 0x0057C2AA; //0x58E282;
const int CharRotFix2_Offset = 0x0057C506; //0x58E51F;
const int DamgRotPatch_Offset = 0x005F5E81; //0x64298F;
const int DamgRotCall_Offset = 0x005F5E8C;
//Fix Rotation
WriteCall(CharRotFix1_Offset, (DWORD)CharRotFix1);
WriteCall(CharRotFix2_Offset, (DWORD)CharRotFix2);
//Call to RotateDmg
char Hook[] = { 0x8D,0x45,0xF8,0x8D,0x4D,0xF4,0xFF,0x75,0x18,0x50,0x51,0xE8,0x6F,0xA1,0xA0,0xFF,0x83,0xC4,0x0C,0xE9,0x07,0xFF,0xFF,0xFF };
memcpy((LPVOID)DamgRotPatch_Offset,Hook,sizeof(Hook));
WriteCall(DamgRotCall_Offset, (DWORD)&RotateDmg);
}
Fog Bug
http://img31.imageshack.us/img31/9595/fogbug.jpg
How to solve this Fog Bug????
Thanks
detour is bad... only a small bug with map textures... I already started with a job to fix this and others small bugs.
Thread has been cleaned a little in order to keep the main reason of this thread: free development and not commercial ad.
I wait on PM or here the answer from mauro07 about this development: Will you continue to develop the source codes present in this thread for public? If no this thread will be moved to the release section and possible closed.
Well, it's true... I guess I should contribute something... Here I leave some debugging data OllyDbg to main.exe Version: 1.00L (Kor), to solve the problem of the black squares on the floor of the map, THIS IS NOT FOR PEOPLE WHO DO NOT KNOW OF ASM.
Here I leave you too full source code for versions of the series: 1.00 + arrange for the problem with "black box" (with 3 new clips for camera, for fix!!! and FLOAT VALUES FOR MADE RESEARCH'S)Code:CPU Disasm
Address Hex dump Command Comments
005D0830 /$ 55 PUSH EBP
005D0831 |. 8BEC MOV EBP,ESP
005D0833 |. 81EC A4000000 SUB ESP,0A4
005D0839 |. A1 8C196700 MOV EAX,DWORD PTR DS:[67198C]
005D083E |. 53 PUSH EBX
005D083F |. 56 PUSH ESI
005D0840 |. BE 06000000 MOV ESI,6
005D0845 |. 3BC6 CMP EAX,ESI
005D0847 |. 57 PUSH EDI
005D0848 |. 75 7F JNE SHORT 005D08C9
005D084A |. A1 EC813C07 MOV EAX,DWORD PTR DS:[73C81EC]
005D084F |. 6A 00 PUSH 0 ; /Arg3 = 0
005D0851 |. 05 C9010000 ADD EAX,1C9 ; |
005D0856 |. 68 0CE46600 PUSH OFFSET 0066E40C ; |Arg2 = ASCII "webzen"
005D085B |. 50 PUSH EAX ; |Arg1
005D085C |. E8 6F38F8FF CALL 005540D0 ; \Main.005540D0
005D0861 |. 83C4 0C ADD ESP,0C
005D0864 |. 84C0 TEST AL,AL
005D0866 |. 75 20 JNE SHORT 005D0888
005D0868 |. 8B0D EC813C07 MOV ECX,DWORD PTR DS:[73C81EC]
005D086E |. 6A 00 PUSH 0 ; /Arg3 = 0
005D0870 |. 81C1 C9010000 ADD ECX,1C9 ; |
005D0876 |. 68 60196700 PUSH OFFSET 00671960 ; |Arg2 = ASCII "webzen2"
005D087B |. 51 PUSH ECX ; |Arg1
005D087C |. E8 4F38F8FF CALL 005540D0 ; \Main.005540D0
005D0881 |. 83C4 0C ADD ESP,0C
005D0884 |. 84C0 TEST AL,AL
005D0886 |. 74 41 JE SHORT 005D08C9
005D0888 |> E8 133FFCFF CALL 005947A0 ; [Main.005947A0
005D088D |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D0890 |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D0893 |. C745 F8 00D00 MOV DWORD PTR SS:[LOCAL.2],4604D000
005D089A |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D08A0 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D08A3 |. D905 84356600 FLD DWORD PTR DS:[663584] ; FLOAT 425.0000
005D08A9 |. D905 80356600 FLD DWORD PTR DS:[663580] ; FLOAT 3995.000
005D08AF |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D08B2 |. D80D CC1A6600 FMUL DWORD PTR DS:[661ACC] ; FLOAT 3000.000
005D08B8 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D08BB |. D80D B42E6600 FMUL DWORD PTR DS:[662EB4] ; FLOAT 540.0000
005D08C1 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D08C4 |. E9 77020000 JMP 005D0B40
005D08C9 |> 833D 8C196700 CMP DWORD PTR DS:[67198C],1E
005D08D0 |. 0F85 D4000000 JNE 005D09AA
005D08D6 |. E8 C53EFCFF CALL 005947A0 ; [Main.005947A0
005D08DB |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D08DE |. 8B0D EC813C07 MOV ECX,DWORD PTR DS:[73C81EC]
005D08E4 |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D08E7 |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D08ED |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D08F0 |. D941 10 FLD DWORD PTR DS:[ECX+10]
005D08F3 |. D81D 7C356600 FCOMP DWORD PTR DS:[66357C] ; FLOAT 16100.00
005D08F9 |. DFE0 FSTSW AX
005D08FB |. F6C4 01 TEST AH,01
005D08FE |. 75 7D JNE SHORT 005D097D
005D0900 |. D941 10 FLD DWORD PTR DS:[ECX+10]
005D0903 |. D81D 78356600 FCOMP DWORD PTR DS:[663578] ; FLOAT 19000.00
005D0909 |. DFE0 FSTSW AX
005D090B |. F6C4 41 TEST AH,41
005D090E |. 74 6D JE SHORT 005D097D
005D0910 |. D941 14 FLD DWORD PTR DS:[ECX+14]
005D0913 |. D81D 74356600 FCOMP DWORD PTR DS:[663574] ; FLOAT 18900.00
005D0919 |. DFE0 FSTSW AX
005D091B |. F6C4 01 TEST AH,01
005D091E |. 75 5D JNE SHORT 005D097D
005D0920 |. D941 14 FLD DWORD PTR DS:[ECX+14]
005D0923 |. D81D 70356600 FCOMP DWORD PTR DS:[663570] ; FLOAT 21700.00
005D0929 |. DFE0 FSTSW AX
005D092B |. F6C4 41 TEST AH,41
005D092E |. 74 4D JE SHORT 005D097D
005D0930 |. D941 10 FLD DWORD PTR DS:[ECX+10]
005D0933 |. D81D 6C356600 FCOMP DWORD PTR DS:[66356C] ; FLOAT 17100.00
005D0939 |. DFE0 FSTSW AX
005D093B |. F6C4 01 TEST AH,01
005D093E |. 75 10 JNE SHORT 005D0950
005D0940 |. D941 10 FLD DWORD PTR DS:[ECX+10]
005D0943 |. D81D 68356600 FCOMP DWORD PTR DS:[663568] ; FLOAT 18300.00
005D0949 |. DFE0 FSTSW AX
005D094B |. F6C4 41 TEST AH,41
005D094E |. 75 2D JNE SHORT 005D097D
005D0950 |> D905 64356600 FLD DWORD PTR DS:[663564] ; FLOAT 969.0000
005D0956 |. D905 60356600 FLD DWORD PTR DS:[663560] ; FLOAT 2397.000
005D095C |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D095F |. D80D 5C356600 FMUL DWORD PTR DS:[66355C] ; FLOAT 2250.000
005D0965 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0968 |. D80D B42E6600 FMUL DWORD PTR DS:[662EB4] ; FLOAT 540.0000
005D096E |. C745 F8 00609 MOV DWORD PTR SS:[LOCAL.2],459F6000
005D0975 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0978 |. E9 C3010000 JMP 005D0B40
005D097D |> D905 58356600 FLD DWORD PTR DS:[663558] ; FLOAT 627.0000
005D0983 |. D905 54356600 FLD DWORD PTR DS:[663554] ; FLOAT 1551.000
005D0989 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D098C |. D80D 50356600 FMUL DWORD PTR DS:[663550] ; FLOAT 1300.000
005D0992 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0995 |. D80D 4C356600 FMUL DWORD PTR DS:[66354C] ; FLOAT 580.0000
005D099B |. C745 F8 00404 MOV DWORD PTR SS:[LOCAL.2],454E4000
005D09A2 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D09A5 |. E9 96010000 JMP 005D0B40
005D09AA |> D905 B4AD6700 FLD DWORD PTR DS:[67ADB4] ; FLOAT 1000.000
005D09B0 |. D81D A810CC07 FCOMP DWORD PTR DS:[7CC10A8] ; FLOAT 0.0
005D09B6 |. DFE0 FSTSW AX
005D09B8 |. F6C4 01 TEST AH,01
005D09BB |. 75 0E JNE SHORT 005D09CB
005D09BD |. 0FBF05 D045CC MOVSX EAX,WORD PTR DS:[7CC45D0]
005D09C4 |. A3 B875AD07 MOV DWORD PTR DS:[7AD75B8],EAX
005D09C9 |. EB 05 JMP SHORT 005D09D0
005D09CB |> A1 B875AD07 MOV EAX,DWORD PTR DS:[7AD75B8]
005D09D0 |> 83F8 04 CMP EAX,4 ; Switch (cases 0..4, 6 exits)
005D09D3 |. 0F87 5E010000 JA 005D0B37
005D09D9 |. FF2485 8C0C5D JMP DWORD PTR DS:[EAX*4+5D0C8C]
005D09E0 |> E8 BB3DFCFF CALL 005947A0 ; [Main.005947A0, case 0 of switch Main.5D09D0
005D09E5 |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D09E8 |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D09EB |. C745 F8 00001 MOV DWORD PTR SS:[LOCAL.2],45160000
005D09F2 |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D09F8 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D09FB |. D905 48356600 FLD DWORD PTR DS:[663548] ; FLOAT 456.0000
005D0A01 |. D905 44356600 FLD DWORD PTR DS:[663544] ; FLOAT 1128.000
005D0A07 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0A0A |. D80D 40356600 FMUL DWORD PTR DS:[663540] ; FLOAT 1190.000 ---> Camera_ClipX Section
005D0A10 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0A13 |. D80D B42E6600 FMUL DWORD PTR DS:[662EB4] ; FLOAT 540.0000
005D0A19 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0A1C |. E9 1F010000 JMP 005D0B40
005D0A21 |> E8 7A3DFCFF CALL 005947A0 ; [Main.005947A0, case 1 of switch Main.5D09D0
005D0A26 |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D0A29 |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D0A2C |. C745 F8 00C02 MOV DWORD PTR SS:[LOCAL.2],4528C000
005D0A33 |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D0A39 |. D805 BC166600 FADD DWORD PTR DS:[6616BC] ; FLOAT 0.1000000
005D0A3F |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0A42 |. D905 3C356600 FLD DWORD PTR DS:[66353C] ; FLOAT 513.0000
005D0A48 |. D905 38356600 FLD DWORD PTR DS:[663538] ; FLOAT 1269.000
005D0A4E |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0A51 |. D80D 4C306600 FMUL DWORD PTR DS:[66304C] ; FLOAT 1200.000
005D0A57 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0A5A |. D80D B42E6600 FMUL DWORD PTR DS:[662EB4] ; FLOAT 540.0000
005D0A60 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0A63 |. E9 D8000000 JMP 005D0B40
005D0A68 |> E8 333DFCFF CALL 005947A0 ; [Main.005947A0, case 2 of switch Main.5D09D0
005D0A6D |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D0A70 |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D0A73 |. C745 F8 00803 MOV DWORD PTR SS:[LOCAL.2],453B8000
005D0A7A |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D0A80 |. D805 BC166600 FADD DWORD PTR DS:[6616BC] ; FLOAT 0.1000000
005D0A86 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0A89 |. D905 34356600 FLD DWORD PTR DS:[663534] ; FLOAT 570.0000
005D0A8F |. D905 30356600 FLD DWORD PTR DS:[663530] ; FLOAT 1410.000
005D0A95 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0A98 |. D80D 50356600 FMUL DWORD PTR DS:[663550] ; FLOAT 1300.000
005D0A9E |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0AA1 |. D80D B42E6600 FMUL DWORD PTR DS:[662EB4] ; FLOAT 540.0000
005D0AA7 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0AAA |. E9 91000000 JMP 005D0B40
005D0AAF |> E8 EC3CFCFF CALL 005947A0 ; [Main.005947A0, case 3 of switch Main.5D09D0
005D0AB4 |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D0AB7 |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D0ABA |. C745 F8 00404 MOV DWORD PTR SS:[LOCAL.2],454E4000
005D0AC1 |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D0AC7 |. D805 BC166600 FADD DWORD PTR DS:[6616BC] ; FLOAT 0.1000000
005D0ACD |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0AD0 |. D905 58356600 FLD DWORD PTR DS:[663558] ; FLOAT 627.0000
005D0AD6 |. D905 54356600 FLD DWORD PTR DS:[663554] ; FLOAT 1551.000
005D0ADC |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0ADF |. D80D C41A6600 FMUL DWORD PTR DS:[661AC4] ; FLOAT 1500.000
DEFAULT MAIN 1.00L CASES OF CAMERA FULL DEBUG INFO
005D0AE5 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0AE8 |. D80D 4C356600 FMUL DWORD PTR DS:[66354C] ; FLOAT 580.0000
005D0AEE |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0AF1 |. EB 4D JMP SHORT 005D0B40
005D0AF3 |> E8 A83CFCFF CALL 005947A0 ; [Main.005947A0, case 4 of switch Main.5D09D0
005D0AF8 |. 8945 F8 MOV DWORD PTR SS:[LOCAL.2],EAX
005D0AFB |. DB45 F8 FILD DWORD PTR SS:[LOCAL.2]
005D0AFE |. C745 F8 00805 MOV DWORD PTR SS:[LOCAL.2],45548000
005D0B05 |. D80D 242F6600 FMUL DWORD PTR DS:[662F24] ; FLOAT 0.001562500
005D0B0B |. D805 BC166600 FADD DWORD PTR DS:[6616BC] ; FLOAT 0.1000000
005D0B11 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0B14 |. D905 2C356600 FLD DWORD PTR DS:[66352C] ; FLOAT 646.0000
005D0B1A |. D905 28356600 FLD DWORD PTR DS:[663528] ; FLOAT 1598.000
005D0B20 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0B23 |. D80D 24356600 FMUL DWORD PTR DS:[663524] ; FLOAT 1600.000
005D0B29 |. D945 FC FLD DWORD PTR SS:[LOCAL.1]
005D0B2C |. D80D 20356600 FMUL DWORD PTR DS:[663520] ; FLOAT 660.0000
005D0B32 |. D95D FC FSTP DWORD PTR SS:[LOCAL.1]
005D0B35 |. EB 09 JMP SHORT 005D0B40
005D0B37 |> D945 08 FLD DWORD PTR SS:[ARG.1] ; Default case of switch Main.5D09D0
ClipAUX1
ClipAUX2
and ClipAUX3
LINK: Customs Source for 1.00l (Kor)
Credits for this: Nemesis (Only for me, It's one of my privates debug works).
PS: It also serves to take as a base for research on how to solve a similar problem in the new series: 1.03 of GMO (SEASON 6 EPISODE 1) they must made any Research's, with which no doubt many have problems today.
Why I have it bag in cube? Give normal y_cam parametrs.
mauro07 make mini map for 1.00L ..... it will be cool
1313: The normal parameters for y_cam and x_cam is: 3000 (Depends of your: Camera_GlClip float value in your main.exe) if your Camera_GlClip is: 2000 then you must use it this parameters: 1900 for x_cam and y_cam or increase range view of cam, then you can put more than: 1900 or 3000 for the sky.
PS: In some versions of main.exe Camera_GlClip float value is: 2000 (as for example in the version: 0.99B+), but others such as: 1.02c (Eng), this value is: 3000, is according to the main.exe (not all mains are equal).
-------------------------------------------------------------------------------------
boncha: For versions: 1.00 Series, there is no need to use my code for the Minimap, because you can take to: LorenDeep, and with some simple modifications in the code common to Minimap, you can easily apply it to the 1.00 version you want.
PS 2: Note that if you use a source code for Minimap, for a series main.exe: 1.04 (Kor) S3 or 1.05 (Kor) S4, being you doing Research's necessary to adapt the code, you probably also need to know code to remove some newsrooms, as a main.exe version: 1.00, is primitive, so it is more than likely find some offsets and other sections within main.exe higher than inside 1.00 of these series do not exist.
But the cube is not symmetric and very close to the wall is not pretty. The image is stretched the sky.
How to add filtr in all texture? Are you can add blur, bloom?
I can add too bloom and blur effects, but is more difficult.. but not imposible.. required more study.. and decompile some sections of main with ida xD
Add blom bloor and anisotrpic and linear filter in all textures of client
wich visual is needed to open the sources, ... i mean VC++, VC#, VBasic i want to start but i dont what of those
ill open ur files wuth visual studio 2010 but how to compile its a dll files or what some help plz
Have you tryed on 1.07V+ Main? Because don't work for me, when I select character and enter into the game, main close automatically, offsets research for extras:
float *Camera_ClipAUX1 = (float*) 0x90C2AC; //FLOAT: 456.0000
float *Camera_ClipAUX2 = (float*) 0x90C2BC; //FLOAT: 1128.000
float *Camera_ClipAUX3 = (float*) 0x90B7A8; //FLOAT: 540.0000
EDIT: Of Course, I research in base of 1.00L because main 1.07V don't have thats floats. (at least don't have 456.0000)
This could happen if you didn't made the sections of the main writable.Code:Because don't work for me, when I select character and enter into the game, main close automatically