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
Help with a bot
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic Printable version
 View previous topic  public bot commands Post :: Post Makin a .dll  View next topic  
Author Message
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 Aug 21, 2005 2:11 pm    Post subject: Reply to topic Reply with quote

So, basically, you want the 101ms just to get a position packet from each player as often as possible? If so, what is wrong with NoisySpectator?
_________________
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
Maverick
broken record


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

PostPosted: Sun Aug 21, 2005 3:52 pm    Post subject: Reply to topic Reply with quote

I want the bot to spec certain areas on a map over time, not too quick (so it must stay speccing the area longer then 100 ms.) to get every player in that area in a reliable way.

If I try to call a non-static function with the timer the compiler complains about calling a static function from a non-static funtions (or otherway around). Someone from another forum pointed out that when using settimer the called function must have code on its own to execute - if you want to have it call functions from other classes you have to fiddle around with threads etc.

Cyan, I want to try to avoid future problems with this bot if ever the plugin encounters high pop.
_________________
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
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 Aug 21, 2005 4:54 pm    Post subject: Reply to topic Reply with quote

Quote:
Someone from another forum pointed out that when using settimer the called function must have code on its own to execute - if you want to have it call functions from other classes you have to fiddle around with threads etc.

Indeed, which is what I said before, and also why I don't think this idea of yours will work without changing the way MERV operates.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Bot Questions All times are GMT - 5 Hours
Goto page Previous  1, 2, 3
Page 3 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: 67 page(s) served in previous 5 minutes.

phpBB Created this page in 0.549053 seconds : 27 queries executed (90.0%): GZIP compression disabled