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
Making bot wait for 10 seconds?
Goto page Previous  1, 2
 
Post new topic   Reply to topic Printable version
 View previous topic  IM looking for a certian bot plugin ca... Post :: Post Request  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: Tue Jan 25, 2005 3:56 pm    Post subject: Reply to topic Reply with quote

If I had time, I'd offer to continue development on MERV myself. But I don't.
_________________
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
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Jan 25, 2005 4:01 pm    Post subject: Reply to topic Reply with quote

I looked at adding Postgres support to PowerBot, but their file management is crap. Too many inter-dependencies. Trying to get it to build on my own (without using their make files) was a nightmare. I didn't want to take existing binaries because it wasn't clear what kind of compiler switches were used. This can be critical with single/multi-threading and various run-time switches.
_________________
4,691 irradiated haggis!
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: Tue Jan 25, 2005 5:05 pm    Post subject: Reply to topic Reply with quote

*topic split requested. tongue.gif*
_________________
Performance is often the art of cheating carefully. - James Gosling
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: Tue Jan 25, 2005 10:55 pm    Post subject: Reply to topic Reply with quote

How do you pronounce "Postgre"?
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Underlord
Novice


Gender:Gender:Male
Joined: Feb 17 2004
Posts: 55
Offline

PostPosted: Wed Jan 26, 2005 5:37 am    Post subject: Reply to topic Reply with quote

Quote:
50% Packetloss: "It also has mysql support; that alone pretty much blows merv out of the water."


here's a mysql ready template for mervbot: (not threaded)
http://www.dzleagues.com/bots/mysql
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: Wed Jan 26, 2005 1:20 pm    Post subject: Reply to topic Reply with quote

Was going to say, I used the backbone Underlord had on that site ^--- for a few of my projects. The only issue I had was when the bot got disconnected and attempted to re-connect; it'd stall merv and eat up memory. :/ I forget the exact details of why; and I don't think I ever fixed it lol... but that plugin is no longer in devel anywho... lol...

tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Wed Jan 26, 2005 6:06 pm    Post subject: Reply to topic Reply with quote

DB access needs to be built into the core AND run in a separate thread because:

- DB calls will not block bots
- DB connections can be shared
- modules do not have to know anything about DB implementation (ie include mysql.h)

The typical cavalier attitude that MERV coders tend to have is to embed mysql calls into all modules that need them, trigger off some event (eg game end), and do all DB access in-thread waiting for server responses. This is wrong in so many ways, and one of the reasons PowerBot coders secretly (or even openly) hate MERV coders. It's not really their fault mostly; they have all learned by taking code samples they didn't understand and tweaked them until they compiled and did approximately what was needed, regardless of how efficient.
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: Wed Jan 26, 2005 6:17 pm    Post subject: Reply to topic Reply with quote

Wow are there two completely different "coder" cultures in this "bot world" already?
That's uhm, pathetic? icon_smile.gif

Everyone has to start somewhere, and we all (well, there are exceptions) learn from our mistakes. sa_tongue.gif
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: Wed Jan 26, 2005 10:41 pm    Post subject: Reply to topic Reply with quote

What about coders who take code samples, learn them, and then apply?
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
Page 2 of 2

 
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: 351 page(s) served in previous 5 minutes.

phpBB Created this page in 0.464241 seconds : 33 queries executed (94.2%): GZIP compression disabled