搜索
 找回密码
 加入

[1.298] Fixing monthly loyalty reset time

Twisted 2011-10-16 18:29:56 1276
Hello,
Monthly loyalty points are getting reset every months 1st day as you know but it's reset time on 1299 ebenezer is 6:30 and thats so annoying for players.Some of our users asked me for it. How can we fix it?
Here is offsets to change its time
  1. 00435DD0  |. 837D F4 06  CMP DWORD PTR SS:[EBP-C],6 // compare systemtime's current hour with 6
  2. 00435DD4  |. 0F85 B9000000  JNZ ebenezer.00435E93
  3. 00435DDA  |. 837D F0 1E  CMP DWORD PTR SS:[EBP-10],1E // compare systemtime's current minute with 30
复制代码
So if we change it like this.
  1. 00435DD0  |. 837D F4 06  CMP DWORD PTR SS:[EBP-C],0 // compare systemtime's current hour with 0
  2. 00435DD4  |. 0F85 B9000000  JNZ ebenezer.00435E93
  3. 00435DDA  |. 837D F0 1E  CMP DWORD PTR SS:[EBP-10],0 // compare systemtime's current minute with 0
复制代码
Monthly loyalties reset time will 00:00 of 1st day of current month. :P
Have fun

0 回复

高级模式
游客