Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
awarp.dll
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  Bot maker VampZ! Post :: Post Source to awarp.dll  View next topic  
Author Message
Guest



Offline

PostPosted: Sat Mar 12, 2005 8:55 pm    Post subject: awarp.dll Reply to topic Reply with quote

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:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sat Mar 12, 2005 9:25 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sat Mar 12, 2005 9:30 pm    Post subject: Reply to topic Reply with quote

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. icon_sad.gif ... 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
View users profile Send private message Add User to Ignore List
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Sun Mar 13, 2005 4:22 am    Post subject: Reply to topic Reply with quote

If it works for about a month it could be a timer problem.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sun Mar 13, 2005 5:33 am    Post subject: Reply to topic Reply with quote

Doesnt getTickCount() start returning negative values once the machines been on for longer than 24 days?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Mar 13, 2005 5:55 am    Post subject: Reply to topic Reply with quote

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 icon_smile.gif

Cerium, you should test that theory icon_wink.gif
_________________
Nickname: Maverick (I changed my name!)
TWCore developer | Subspace statistics
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Mar 13, 2005 5:59 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Mar 13, 2005 6:07 am    Post subject: Reply to topic Reply with quote

isn't getTickCount() a mervbot feature?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Mar 13, 2005 6:19 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Maverick
broken record


Age:40
Gender:Gender:Male
Joined: Feb 26 2005
Posts: 1521
Location: The Netherlands
Offline

PostPosted: Sun Mar 13, 2005 6:22 am    Post subject: Reply to topic Reply with quote

once again ... crappy windows :/
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sun Mar 13, 2005 7:39 am    Post subject: Reply to topic Reply with quote

I <3 System.currentTimeMillis()

You guys should find/post/use the C equivilant =)
Back to top
View users profile Send private message Add User to Ignore List AIM Address
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Mar 13, 2005 11:28 am    Post subject: Reply to topic Reply with quote

you mean time() from time.h?

http://cplusplus.com/ref/ctime/time.html
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Mar 13, 2005 11:47 am    Post subject: Reply to topic Reply with quote

Hm, if they had to fix it from returning negative numbers; yet MSDN says it wouldn't... Which one do we believe icon_wink.gif... Anyone have a machine thats been running for more than 49.7 days? lol...
Back to top
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Mar 13, 2005 11:54 am    Post subject: Reply to topic Reply with quote

Wait, aren't DWORD's unsigned? How could it be negative then?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Mar 13, 2005 12:09 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Mar 13, 2005 6:01 pm    Post subject: Reply to topic Reply with quote

GetTickCount() is returning a negative value:

sendPrivate(p, (String)GetTickCount());

returned:

OF-Main-Bo> -1951598312
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Sun Mar 13, 2005 6:05 pm    Post subject: Reply to topic Reply with quote

Oh! So your system's uptime is -5 days, -22 hours, -38 minutes and -32 seconds!
Back to top
View users profile Send private message Add User to Ignore List
Guest



Offline

PostPosted: Sun Mar 13, 2005 6:05 pm    Post subject: Reply to topic Reply with quote

Can anyone whip up a plugin or sumit that fixes?
Back to top
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Mar 13, 2005 6:07 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
D1st0rt
Miss Directed Wannabe


Age:37
Gender:Gender:Male
Joined: Aug 31 2003
Posts: 2247
Location: Blacksburg, VA
Offline

PostPosted: Sun Mar 13, 2005 8:07 pm    Post subject: Reply to topic Reply with quote

how about just take the absolute value?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Sun Mar 13, 2005 8:17 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Sun Mar 13, 2005 8:28 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Mar 13, 2005 9:08 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Sun Mar 13, 2005 10:33 pm    Post subject: Reply to topic Reply with quote

Well, why does this only affect awarp though?
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:26
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Mar 13, 2005 11:05 pm    Post subject: Reply to topic Reply with quote

it probably affects the cycling of the players when in spec... and therefore will prevent antiwarp from being detected properly
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 59 page(s) served in previous 5 minutes.

phpBB Created this page in 0.470791 seconds : 49 queries executed (91.8%): GZIP compression disabled