where i find 6E8148(this) for eng main ?sleep for ur main = CALL DWORD PTR DS:[6E8148]
where i find 6E8148(this) for eng main ?sleep for ur main = CALL DWORD PTR DS:[6E8148]
sorry, for this simple question(for you), this most helped me, thx ))
50 cpu usage -> 34![]()
swap buffers allows u to set vsync state, opengl driver with vsync on will auto-sleep the fame to lock it in 60 fps max, so u dont have to use sleep.
vsync will try to reach 60 fps, it will cost 1%, 10%, 50% or 100% of main thread, depending on how many vertex/indexes the 60 render operations will need to draw (in one second).
First of all thanks for your guide. It really works! On my computer (CPU: Intel Dual Core 2.45GHz) before the change when I was running MU v0.97d in windows mode, it used 59% of CPU when the player was on idle mode and 73% when the player was killing a lot of mobs. Now that I followed your guide, when the player is on idle mode it uses only 17% of CPU and when he is killing mobs it uses 43%!!!![]()
Does 1.04.04 (S6Ep3) already include it? Because I can't find this issue.
my main
004DA391 . FF15 FC24D200 CALL DWORD PTR DS:[<&OPENGL32.glFlush>] ; OPENGL32.glFlush
004DA397 . 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004DA39A . 52 PUSH EDX ; /hDC
004DA39B . FF15 3421D200 CALL DWORD PTR DS:[<&GDI32.SwapBuffers>] ; \SwapBuffers
004DA3A1 > A1 30CBE800 MOV EAX,DWORD PTR DS:[E8CB30]
004DA3A6 . 2B45 8C SUB EAX,DWORD PTR SS:[EBP-74]
004DA3A9 . 8945 98 MOV DWORD PTR SS:[EBP-68],EAX
004DA3AC . 837D 98 28 CMP DWORD PTR SS:[EBP-68],28
004DA3B0 . 7D 32 JGE SHORT main.004DA3E4
004DA3B2 . B9 28000000 MOV ECX,28
004DA3B7 . 2B4D 98 SUB ECX,DWORD PTR SS:[EBP-68]
004DA3BA . 898D 74FEFFFF MOV DWORD PTR SS:[EBP-18C],ECX
004DA3C0 . 8B95 74FEFFFF MOV EDX,DWORD PTR SS:[EBP-18C]
004DA3C6 . 52 PUSH EDX ; /Timeout
004DA3C7 . FF15 0C22D200 CALL DWORD PTR DS:[<&KERNEL32.Sleep>] ; \Sleep
004DA3CD . A1 30CBE800 MOV EAX,DWORD PTR DS:[E8CB30]
004DA3D2 . 0385 74FEFFFF ADD EAX,DWORD PTR SS:[EBP-18C]
004DA3D8 . A3 30CBE800 MOV DWORD PTR DS:[E8CB30],EAX
004DA3DD . C745 98 280000>MOV DWORD PTR SS:[EBP-68],28
004DA3E4 > 8B8D 88FEFFFF MOV ECX,DWORD PTR SS:[EBP-178]
004DA3EA . 034D 98 ADD ECX,DWORD PTR SS:[EBP-68]
004DA3ED . 894D 94 MOV DWORD PTR SS:[EBP-6C],ECX
004DA3F0 . 0FB615 1FCBE80>MOVZX EDX,BYTE PTR DS:[E8CB1F]
004DA3F7 . 85D2 TEST EDX,EDX
004DA3F9 . 0F84 92000000 JE main.004DA491
004DA3FF . 833D E809E600 >CMP DWORD PTR DS:[E609E8],5
004DA406 . 0F85 85000000 JNZ main.004DA491
004DA40C . B9 50377908 MOV ECX,main.08793750
004DA411 . E8 9AFE1500 CALL main.0063A2B0
004DA416 . 83F8 FF CMP EAX,-1
004DA419 . 75 76 JNZ SHORT main.004DA491
004DA41B . 833D 70CBE800 >CMP DWORD PTR DS:[E8CB70],0
004DA422 . 75 6D JNZ SHORT main.004DA491
004DA424 . C705 70CBE800 >MOV DWORD PTR DS:[E8CB70],1
004DA42E . 68 8C7AD200 PUSH main.00D27A8C ; /Arg2 = 00D27A8C ASCII "> Connection closed. "
004DA433 . 68 D8C5E800 PUSH main.00E8C5D8 ; |Arg1 = 00E8C5D8
how fix???
Can you check my main?
And maybe fix either, its using 49-50% CPU All the time.
https://mega.co.nz/#!EA1BSbRD!YGd87g...ge1045le2JFAO4
Update screenshots please
someone check my main and fix it.
Link: Main_1.05D_Custom.rar
Thank you very much.
- - - Updated - - -
@4FUNer can you help me :(
Help please.
i'm using main 1.03.16, but I have not found anything like the screenshot.
in my main.exe
![]()
Thanks, but I did not understand what to do with these offsets.
Please explain in detail. Thanks in advance.
@cocs55
search for free offset on main and write
PUSH 1
CALL DWORD PTR DS:[00838A4A]
JMP 00603045
go to offset 00603052 and jmp to PUSH 1 offset
![]()
Hi dudes!
I NEED HELP, my machine is very low cpu!
The problem is no find lines in my main.exe
My main is : https://mega.co.nz/#!xh4FUBwD!4xfEII...KBVI2gtDV5JEno
thanks
just set your main.exe in low priority through task manager and affinity only to 1st CPU core.
someone tryed this in 1.04D GMO main?
Thanks man, I went from 50 to 17-18 on login and when idle with monsters around, this is so simple and cool, I`m also curious about when WebZen implemented this, before or after? xD
Hello, I have read all the topic and i must say i did not understand any thing
I downloaded ollydbg i searched for the SwapBuffers or glFlush
and then i lost track of what i have to do, i am having heavy problems with CPU, that results with Blue screen
please if some one can explain what i need to do in order to lower my CPU I would very much appreciate it!
Normally how much are you getting?
Main.exe can be reduce but still is just to a certain extend.
Ok, setting the mains into one CPU seems to be a bad idea, it puts allot of stress on that single CPU, which is never good
)
Still suffering from some lag spikes, would love to get some advise one how to set the options threw ollydbog (I have 0 EXP in programming)
Thanks for the help![]()
Please help me.
Link to My main 1.05.13 (SS8.3) : http://www.mediafire.com/download/1ss8ajydsfa8pt5/main.rar
Code:CPU DisasmAddress Hex dump Command Comments 004E1305 FF15 2C960101 CALL DWORD PTR DS:[<&opengl32.glFlush>] 004E130B FF75 08 PUSH DWORD PTR SS:[EBP+8] 004E130E FF15 5C910101 CALL DWORD PTR DS:[<&gdi32.SwapBuffers>] 004E1314 A1 D0691E01 MOV EAX,DWORD PTR DS:[main.11E69D0] 004E1319 2B45 8C SUB EAX,DWORD PTR SS:[EBP-74] 004E131C 8945 98 MOV DWORD PTR SS:[EBP-68],EAX 004E131F 837D 98 28 CMP DWORD PTR SS:[EBP-68],28 004E1323 7D 2F JGE SHORT main.004E1354 004E1325 6A 28 PUSH 28 004E1327 58 POP EAX 004E1328 2B45 98 SUB EAX,DWORD PTR SS:[EBP-68] 004E132B 8985 74FEFFFF MOV DWORD PTR SS:[EBP-18C],EAX 004E1331 FFB5 74FEFFFF PUSH DWORD PTR SS:[EBP-18C] 004E1337 FF15 44920101 CALL DWORD PTR DS:[<&kernel32.Sleep>] 004E133D A1 D0691E01 MOV EAX,DWORD PTR DS:[main.11E69D0] 004E1342 0385 74FEFFFF ADD EAX,DWORD PTR SS:[EBP-18C] 004E1348 A3 D0691E01 MOV DWORD PTR DS:[main.11E69D0],EAX 004E134D C745 98 2800000 MOV DWORD PTR SS:[EBP-68],28 004E1354 8B85 88FEFFFF MOV EAX,DWORD PTR SS:[EBP-178] 004E135A 0345 98 ADD EAX,DWORD PTR SS:[EBP-68] 004E135D 8945 94 MOV DWORD PTR SS:[EBP-6C],EAX 004E1360 0FB605 BF691E01 MOVZX EAX,BYTE PTR DS:[main.11E69BF] 004E1367 85C0 TEST EAX,EAX 004E1369 0F84 94000000 JE main.004E1403 004E136F 833D 18F31A01 0 CMP DWORD PTR DS:[main.11AF318],5 004E1376 0F85 87000000 JNE main.004E1403 004E137C B9 A87FB308 MOV ECX,main.08B37FA8 004E1381 E8 04201500 CALL main.0063338A 004E1386 83F8 FF CMP EAX,-1 004E1389 75 78 JNE SHORT main.004E1403 004E138B 833D 106A1E01 0 CMP DWORD PTR DS:[main.11E6A10],0 004E1392 75 6F JNE SHORT main.004E1403 004E1394 C705 106A1E01 0 MOV DWORD PTR DS:[main.11E6A10],1 004E139E 68 08EB0101 PUSH main.0101EB08 ; ASCII "> Connection closed. "