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
MERVbot vs TWcore
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  :D I got an idea! Post :: Post TWBot Coding Help.  View next topic  
Author Message
Bak
?ls -s
0 in


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

PostPosted: Mon Mar 07, 2005 12:50 pm    Post subject: Reply to topic Reply with quote

Quote:
I never could have written the Area bots on Merv.


What are these "Area bots" you speak of?
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
EdTheInvincible
Bumper? on!


Age:25
Joined: Apr 29 2004
Posts: 119
Location: Over There
Offline

PostPosted: Mon Mar 07, 2005 12:56 pm    Post subject: Reply to topic Reply with quote

Area and AreaWarper, they were the bots that made HyperSpace work before ASSS.
_________________
Quidquid latine dictum sit, altum viditur.
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: Mon Mar 07, 2005 5:16 pm    Post subject: Reply to topic Reply with quote

Quote:
I never could have written the Area bots on Merv. Lots of people have tried, though. I've yet to see anyone succeed


In that case is this some poor attempt at sarcasm? TMBaw accomplishes this goal with rectangles defined in an INI file.
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: Mon Mar 07, 2005 7:33 pm    Post subject: Reply to topic Reply with quote

Uhhh... not quite
_________________

Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Mar 07, 2005 8:04 pm    Post subject: Reply to topic Reply with quote

Uhhh... not even close.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Cerium
Server Help Squatter


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

PostPosted: Mon Mar 07, 2005 8:14 pm    Post subject: Reply to topic Reply with quote

How so?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Mar 07, 2005 10:21 pm    Post subject: Reply to topic Reply with quote

To my knowlegde, AreaWarper was the most complex warping bot in subspace. Of course, no one sees the warper, they only see the money and item tracking of AreaBot, which, by the way, is also unsurpassed.

The warping stuff I've done on ASSS isn't even close to what I did under TWCore, because I'm not a fabulous C coder. It's harder for me to understand the C libraries and get them to do backflips like I can with the Java libs.

That was the point I was trying to make. With the Java API, the complex is easy to do.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Bak
?ls -s
0 in


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

PostPosted: Tue Mar 08, 2005 12:01 pm    Post subject: Reply to topic Reply with quote

What else did areawarper do that wasn't done in ASSS?
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Mar 08, 2005 12:37 pm    Post subject: Reply to topic Reply with quote

I only duplicated it's catapult system under ASSS. I implemented neither space folding nor hyperspatial transferring.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
liito-orava
Novice


Gender:Gender:Male
Joined: Sep 24 2003
Posts: 41
Offline

PostPosted: Tue Mar 08, 2005 12:53 pm    Post subject: Reply to topic Reply with quote

One odd thing is that TWCore seems to take bot op lists directly from moderate.txt/smod.txt/sysop.txt. Am I wrong in that you really can't use system like merv has (!addop !editop etc) without modifying the core?

That wouldn't be too difficult to do but I don't like the idea like that because you'd have to do changes always when you update the core too.
_________________
"Do you hear that? That is the sound of nobody giving a fuck!"
Wolfix> Lesbian transvestites trapped in man's bodies spanking their monkeys to freq 395
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Mar 08, 2005 1:23 pm    Post subject: Reply to topic Reply with quote

Why do you need a system like MERV has? I think TWCore's autostaff system is far superior to MERV's !addop.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
D1st0rt
Miss Directed Wannabe


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

PostPosted: Tue Mar 08, 2005 2:44 pm    Post subject: Reply to topic Reply with quote

We just added some new stuff to the operator list that allows two more levels. High Mod, which is between Mod and SMod, and Outsider which is between ZH and ER but has the ability to spawn bots. Outsider is used to put people in the access list without having them be staff in the respective zone.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
liito-orava
Novice


Gender:Gender:Male
Joined: Sep 24 2003
Posts: 41
Offline

PostPosted: Tue Mar 08, 2005 4:37 pm    Post subject: Reply to topic Reply with quote

Maverick wrote:
One of the few things I can say of TWCore is that it uses less connection recources

I don't understand this since catid says in merv's readme.txt it takes about 40% of bandwidth of an average Subspace session.

How can network resources be the bottle neck then?
Back to top
View users profile Send private message Add User to Ignore List
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 Mar 08, 2005 4:40 pm    Post subject: Reply to topic Reply with quote

And TWCore uses less than that.
_________________
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
Cerium
Server Help Squatter


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

PostPosted: Tue Mar 08, 2005 6:37 pm    Post subject: Reply to topic Reply with quote

2dragons wrote:

Program in reconnection support if you want or place inside a while true loop in a batch/bash script.

I've never had the hubbot die on me, there is no reason it should, and there has never been anything to suggest problems with the hubbot, besides it is a bot, so reprogram it if you'd like. =)

You can send messages as fast as you want, perhaps you used an old version of TWCore which dropped packets due to a clustering problem.


The current version of the TWCore would require a complete makeover to add reconnection support. As soon as a bot disconnects, the core destroys the threadgroup for that bot to get it gc'd asap. The entire core would need to be restructured just to add it (which is how Hybrid came to be, btw). Not only that, none of the bots are coded to handle a reconnect. Infact, the entire API is designed around the idea that disconnect == shutdown. botAction.die() just tells the connection to disconnect.

On top of all of that, there is a number of threads created by each bot that dont shutdown properly. The core waits for the bots connection to disconnect, then it starts a loop which endlessly calls Thread.interrupt() on any threads in the bots threadgroup. If any threads are created that dont ever listen for an InterruptedException (For example: the core SQL classes...), the cleanup step hangs.


The HubBot is indeed a bot, but its nested within the core itself. The only way to change it is to edit the HubBot class itself instead of just telling the core to load a different bot.

And no, I was using the 0.89 I downloaded from the site. When I was looking over it, it seems to be that the GamePacketGenerator class creates an anon. TimerTask object, then schedules it once. After that all the functions in botAction that are supposed to 'adjust' packet/message rates do nothing, since the task is never rescheduled (or otherwise referenced after the GPG constructor).


=(
Back to top
View users profile Send private message Add User to Ignore List AIM Address
liito-orava
Novice


Gender:Gender:Male
Joined: Sep 24 2003
Posts: 41
Offline

PostPosted: Wed Mar 09, 2005 3:47 am    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
And TWCore uses less than that.

I have no trouble running say three SS clients on one zone. Now assuming MERV only takes 40% of bandwidth when compared to SS session, wouldn't that mean I should be able to run at least 7 bot spawns?
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:38
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Mar 09, 2005 7:08 am    Post subject: Reply to topic Reply with quote

You can run at least 100% / 40% = 2.5 spawns!
Well, no, you people are comparing the wrong things to eachother, by just telling how much "% connection resources" the bots use how can you tell how many spawns it can handle?
You can't, there are different connection speeds, you know. icon_confused.gif

Just an off-topic question, but uhm, why did you name it Hybrid? I didn't check any website or other threads about it, but looking at the name is it using two different ways for something? icon_confused.gif
Back to top
View users profile Send private message Add User to Ignore List
liito-orava
Novice


Gender:Gender:Male
Joined: Sep 24 2003
Posts: 41
Offline

PostPosted: Wed Mar 09, 2005 7:28 am    Post subject: Reply to topic Reply with quote

liito-orava wrote:
[..]


I have no trouble running say three SS clients on one zone. Now assuming MERV only takes 40% of bandwidth when compared to SS session, wouldn't that mean I should be able to run at least 7 bot spawns?
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Wed Mar 09, 2005 9:01 am    Post subject: Reply to topic Reply with quote

Yes you could run 7 bots that do nothing on your connection. BUT, try to run a bot that actually does something....

And of course, we're all assuming that the 40% is accurate.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Cerium
Server Help Squatter


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

PostPosted: Wed Mar 09, 2005 9:07 am    Post subject: Reply to topic Reply with quote

From the site:
"The dictionary defines 'hybrid' as something of mixed origin or composition, which holds true here. Hybrid is a mix of all features I liked from MERVBot and TWCore, as well as some of my own twisted and/or worthless ideas."
Back to top
View users profile Send private message Add User to Ignore List AIM Address
BDwinsAlt
Agurus's Posse


Age:35
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Mon Jul 11, 2005 9:15 pm    Post subject: Reply to topic Reply with quote

Yeah im late on this topic. I even got this message "Please note that this topic is old. Replying to dead topics without introducing new material is frowned upon. Please only post if your topic is directly related with this thread."

But the TWCore Pros:
1.Runs on more than windows.
2.Very ez to make changes.
3.Noobs can use it.
4.Its very simple to understand while c++ is difficult.

TWCore Cons:
1.Not very ezily set up.

MervBot Pros:
1.Ez to configure and run everything.
2.Lots of plugins.

MervBot cons:
1.Does not run on linux.
2.It will only hold up to 9 or 10 plugins at a time. (why would you use more anyways?)
3.Java is so much funner sa_tongue.gif

I've used MervBot for maybe 2 years. I just rescently disconvers twcore and i will NEVER-EVER go back to mervbot. Because now i can create my own bots and modules for them.

I spent a long time trying to find a free compiler that would compile mervbot despit the error messages that the src code has.

With java you just type javac botname.java.

Java = <3
C++ = Expensive and over-rated.

Java for Life!

Now i wanna see a subgame written in java, ive seen billers icon_cool.gif
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


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

PostPosted: Mon Jul 11, 2005 9:58 pm    Post subject: Reply to topic Reply with quote

That "noobs can use it" is just bullshit, noobs shouldn't touch anything like this until they are less noobish.

How can C++ be hard to understand if Java is easy for you?
And seeing your other post, you don't understand much of Java either.

MERVBot does run on Linux, it's easier to do than getting the JRE for Linux.

Why is (what the hell do you base this number on?!) the plugin limitation of MERVBot listed under the -'s, if, as you say, you wouldn't use more.

Why is "Java is more fun than C++" a bad thing about Mervbot? Isn't it a bad thing of C++ then? Well, no, it isn't, you just suck at C++ which is why you like Java more.
And that's just your opinion, not a fact.

You can't seem to figure out how to make Java things work either, and you spent 2 years on looking for a compiler that would compile MERVBot?

There is a free compiler that will actually compile MERVBot without problems, you are just too stupid to work with it.

You just don't seem to know how things work, and you don't have a clue what you're doing.
Why are you dissing things then? C++ is too hard for you, so you choose Java, which makes you say C++ is "Expensive?!" (What is expensive?! The MS IDE!?) and "over-rated".
Java seems to be too hard for you too.

This is just another useless post of yours. Could you please register so I can ignore you?
Back to top
View users profile Send private message Add User to Ignore List
BDwinsAlt
Agurus's Posse


Age:35
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Mon Jul 11, 2005 10:51 pm    Post subject: Reply to topic Reply with quote

ROFL ur one of those MERV people.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Muslum
Guest


Offline

PostPosted: Mon Jul 11, 2005 10:56 pm    Post subject: Reply to topic Reply with quote

BDwinsAlt........ wrote:

2.It will only hold up to 9 or 10 plugins at a time. (why would you use more anyways?)


wrong...
Back to top
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


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

PostPosted: Tue Jul 12, 2005 12:40 am    Post subject: Reply to topic Reply with quote

I'm not "one of those MERV people", I don't use anything.

I do see advantages of using Java next to those of C++. It's just that you are dissing MERVBot and C++ without knowing anything about this subject.
Java is fine, C++ is fine, both bot cores are fine, but you are an idiot.

You're giving disadvantages of MERV and C++, which are wrong, and also some advantages of TWCore and Java, which are also wrong.
You don't know enough about them, so please, get it right before even judging and stop acting like an idiot.
Back to top
View users profile Send private message Add User to Ignore List
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  Next
Page 2 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: 32 page(s) served in previous 5 minutes.

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