| Author | Message | 
	
		| Guest 
 
 
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sat Mar 12, 2005 8:55 pm     Post subject: awarp.dll |  |   |  |  
				| 
 |  
				| hey some reason in my zone awarp.dll was working fine and it just stopped working for no reason, i tried to load a fersh new one and all and still dosnt work why? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.
 
  
 Age:38
 Gender:
  Joined: Feb 06 2004
 Posts: 2583
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sat Mar 12, 2005 9:25 pm     Post subject: |  |   |  |  
				| 
 |  
				| Giving at least some details about the problem would make it easier to find the cause of it, post some more details like settings, a link to the dll, error messages, whatever. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| CypherJF I gargle nitroglycerin
 
  
 Gender:
  Joined: Aug 14 2003
 Posts: 2582
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sat Mar 12, 2005 9:30 pm     Post subject: |  |   |  |  
				| 
 |  
				| Well along with this, I know both TT and I have had this issue; so it's not only I. But over time Merv stops yoinking antiwarp. I've talked to Catid about it - he hasn't found a solution becuase it doesn't always happen. The only way to fix it, is by resetting the machine.  ... Anyone else have this issue? 
 Like it'll work for a month or so of yoinking awarp, in both flag.dll, and awarp.dll - then one day just stop working.
 _________________
 Performance is often the art of cheating carefully. - James Gosling
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Smong Server Help Squatter
 
  
 Joined: 1043048991
 Posts: 0x91E
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 4:22 am     Post subject: |  |   |  |  
				| 
 |  
				| If it works for about a month it could be a timer problem. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cerium Server Help Squatter
 
  
 Age:43
 Gender:
  Joined: Mar 05 2005
 Posts: 807
 Location: I will stab you.
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 5:33 am     Post subject: |  |   |  |  
				| 
 |  
				| Doesnt getTickCount() start returning negative values once the machines been on for longer than 24 days? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Maverick 
 
  
 Age:41
 Gender:
  Joined: Feb 26 2005
 Posts: 1521
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 5:55 am     Post subject: |  |   |  |  
				| 
 |  
				| I have the same problem with my duel bot. It seems to idle after some time. (It stops warping people to the boxes) However, it can be easily restored by doing !help on the bot
   
 Cerium, you should test that theory
  _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.
 
  
 Age:38
 Gender:
  Joined: Feb 06 2004
 Posts: 2583
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 5:59 am     Post subject: |  |   |  |  
				| 
 |  
				| It probably does, I think Subgame became very slow after ~ a month because of a negative value returned by GetTickCount(). 
 Last edited by Solo Ace on Sun Mar 13, 2005 6:13 am, edited 1 time in total
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Maverick 
 
  
 Age:41
 Gender:
  Joined: Feb 26 2005
 Posts: 1521
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:07 am     Post subject: |  |   |  |  
				| 
 |  
				| isn't getTickCount() a mervbot feature? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.
 
  
 Age:38
 Gender:
  Joined: Feb 06 2004
 Posts: 2583
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:19 am     Post subject: |  |   |  |  
				| 
 |  
				| No. 
 Header:
 Declared in Winbase.h; include Windows.h.
 
 Library:
 Link to Kernel32.lib.
 
 DLL:
 Requires Kernel32.dll.
 
 
  	  | MSDN wrote: |  	  | Remarks The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days.
 | 
 
 
  	  | Subgame's WhatsNew.txt wrote: |  	  | ----------------------------- version 1.34.13a -------------------------------- Fixed extreme lagging bug when subgame was stated when GetTickCount() returned
 negative values (Windows has been running without rebooting 25 days)
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Maverick 
 
  
 Age:41
 Gender:
  Joined: Feb 26 2005
 Posts: 1521
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:22 am     Post subject: |  |   |  |  
				| 
 |  
				| once again ... crappy windows :/ |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cerium Server Help Squatter
 
  
 Age:43
 Gender:
  Joined: Mar 05 2005
 Posts: 807
 Location: I will stab you.
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 7:39 am     Post subject: |  |   |  |  
				| 
 |  
				| I <3 System.currentTimeMillis() 
 You guys should find/post/use the C equivilant =)
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| D1st0rt Miss Directed Wannabe
 
  
 Age:37
 Gender:
  Joined: Aug 31 2003
 Posts: 2247
 Location: Blacksburg, VA
 Offline
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| CypherJF I gargle nitroglycerin
 
  
 Gender:
  Joined: Aug 14 2003
 Posts: 2582
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 11:47 am     Post subject: |  |   |  |  
				| 
 |  
				| Hm, if they had to fix it from returning negative numbers; yet MSDN says it wouldn't... Which one do we believe  ... Anyone have a machine thats been running for more than 49.7 days? lol... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| D1st0rt Miss Directed Wannabe
 
  
 Age:37
 Gender:
  Joined: Aug 31 2003
 Posts: 2247
 Location: Blacksburg, VA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 11:54 am     Post subject: |  |   |  |  
				| 
 |  
				| Wait, aren't DWORD's unsigned? How could it be negative then? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cyan~Fire I'll count you!
 
  
 
 Age:37
 Gender:
  Joined: Jul 14 2003
 Posts: 4608
 Location: A Dream
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 12:09 pm     Post subject: |  |   |  |  
				| 
 |  
				| Shhhh d1s, you weren't supposed to notice that! 
 I dunno, probably some crappy subgame type casting problem.
 _________________
 This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
 Wise men STILL seek Him.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| CypherJF I gargle nitroglycerin
 
  
 Gender:
  Joined: Aug 14 2003
 Posts: 2582
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:01 pm     Post subject: |  |   |  |  
				| 
 |  
				| GetTickCount() is returning a negative value: 
 sendPrivate(p, (String)GetTickCount());
 
 returned:
 
 OF-Main-Bo> -1951598312
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.
 
  
 Age:38
 Gender:
  Joined: Feb 06 2004
 Posts: 2583
 Location: The Netherlands
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:05 pm     Post subject: |  |   |  |  
				| 
 |  
				| Oh! So your system's uptime is -5 days, -22 hours, -38 minutes and -32 seconds! |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Guest 
 
 
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:05 pm     Post subject: |  |   |  |  
				| 
 |  
				| Can anyone whip up a plugin or sumit that fixes? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| CypherJF I gargle nitroglycerin
 
  
 Gender:
  Joined: Aug 14 2003
 Posts: 2582
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 6:07 pm     Post subject: |  |   |  |  
				| 
 |  
				| Guess so! So, how do we come up w/ a fix, other than rebooting the machine. 
 edit: according to a microsoft tool, the uptime of the server has been 27 days.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| D1st0rt Miss Directed Wannabe
 
  
 Age:37
 Gender:
  Joined: Aug 31 2003
 Posts: 2247
 Location: Blacksburg, VA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 8:07 pm     Post subject: |  |   |  |  
				| 
 |  
				| how about just take the absolute value? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cyan~Fire I'll count you!
 
  
 
 Age:37
 Gender:
  Joined: Jul 14 2003
 Posts: 4608
 Location: A Dream
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 8:17 pm     Post subject: |  |   |  |  
				| 
 |  
				| That's a problem with String::String(Uint32). I'll talk to catid about it when I see him on IM next. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Cerium Server Help Squatter
 
  
 Age:43
 Gender:
  Joined: Mar 05 2005
 Posts: 807
 Location: I will stab you.
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 8:28 pm     Post subject: |  |   |  |  
				| 
 |  
				| Absolute value wouldnt work. Itd go up to ~25 days, then start coming back down to 0. 
 The real problem with this, is even when the problem is 'fixed', after 47 days the problem will resurface =(
 
 You should start making use of time(), only find an alternate that returns the current time in milliseconds.
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bak ?ls -s
 0 in
 
  
 Age:26
 Gender:
  Joined: Jun 11 2004
 Posts: 1826
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 9:08 pm     Post subject: |  |   |  |  
				| 
 |  
				| your variable is overflowing... 24.8551 days = 2^31 milliseconds 
 use an unsigned variable and you'll double that... store it as centiseconds and you get 10 times... deciseconds and you get 100 times...
 _________________
 SubSpace Discretion: A Third Generation SubSpace Client
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| CypherJF I gargle nitroglycerin
 
  
 Gender:
  Joined: Aug 14 2003
 Posts: 2582
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 10:33 pm     Post subject: |  |   |  |  
				| 
 |  
				| Well, why does this only affect awarp though? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Bak ?ls -s
 0 in
 
  
 Age:26
 Gender:
  Joined: Jun 11 2004
 Posts: 1826
 Location: USA
 Offline
 
 | 
			
			  | 
				
					|  Posted: Sun Mar 13, 2005 11:05 pm     Post subject: |  |   |  |  
				| 
 |  
				| it probably affects the cycling of the players when in spec... and therefore will prevent antiwarp from being detected properly |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |