![]() |
[Share] CacheD Tool
This dll will increase the time on WaitThread so you have more time to do database backups. This is for people who's CacheD crash's while trying to do database backups. Thanks to Abstract for presenting me with the correct offset. I will release the source if requested.
(Note: This dll does not come with a CacheD, you will need to learn how to attach it on your own. Use stud_pe ;) [In the config file the time is in seconds NOT milliseconds]) Edit: Scroll down for sources. Вложения из исходного сообщения (сами файлы в копии отсутствуют): CacheD[WaitThread].rar — 3573 байт |
Good Release, I love it :D
|
Hey! Good share, anyway I dont have such problem but looks interesting, maybe usefull someday, thanks!
|
i test :D .. now
|
Great! Thanks! Post sources, pleasae.
Btw, don't you research why NC set DB-Timeout to 60sec? Maybe some data from transaction's cache-buffer will be lost if set more? |
Don't do database backups when CacheD is runing. ;)
p.s. thx for share |
Here are the sources to the dll. Not really complicated but hopefully someone can learn something from them.
Вложения из исходного сообщения (сами файлы в копии отсутствуют): CacheD[WaitThread]-Source.rar — 9550 байт |
Very great idea! i don't have such a crash problem either but for a NPC restart this is very handy yea to prevent getting alot of error logs..
but since you shared the source i can help myself to create this for NPC! Thanks! |
run any hexeditor, go to offset 0x41229 and change there 4 bytes (there is 60 EA 00 00) (0xEA60==60000) to needed value... e.g. 0x1D4C0==120000, so put there C0 D4 01 00
more simple than attachin dll to cached using stud_pe? not? or at last use this script (it can be compiled to exe with https://postpacific.loc-online.com/f...d.php?t=8113): Code:
using System;Code:
D:\cached>ChangeDeadTime.exe |
| All times are GMT. The time now is 14:55. |