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 + .NET
Goto page 1, 2  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  ctf plugin error Post :: Post Merver Freq register plugin request  View next topic  
Author Message
Maverick
broken record


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

PostPosted: Sun Apr 24, 2005 12:00 pm    Post subject: Mervbot + .NET Reply to topic Reply with quote

Bah what a crappy search feature!

Sorry to ask you this, but I knew there was a topic of .NET and .dll (Mervbot) coding and how to setup.
Does someone know the topic title so I can search for it? (Or post a link sa_tongue.gif )

Thanks
_________________
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 Apr 24, 2005 12:52 pm    Post subject: Reply to topic Reply with quote

What?! MERVBot and .NET?!
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 Apr 24, 2005 1:10 pm    Post subject: Reply to topic Reply with quote

I don't remember a thread about it but there are two ways you can go about using framework classes in merv. You can make it all managed c++ by compiling with /clr, or you can use the wrapper used in this code
_________________

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: Tue Apr 26, 2005 11:08 pm    Post subject: Reply to topic Reply with quote

Or you could just write modules how they're supposed to be written?
_________________
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
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 Apr 26, 2005 11:15 pm    Post subject: Reply to topic Reply with quote

Double post... sorry. I'm too tired.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Wed Apr 27, 2005 3:48 am    Post subject: Reply to topic Reply with quote

Are you asking for direction for setting up a new dll project with VC++ .net, mav? I can walk you through that if that is what you need.
_________________
Current Terror Alert Level
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Maverick
broken record


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

PostPosted: Wed Apr 27, 2005 5:07 am    Post subject: Reply to topic Reply with quote

yup, I was figuring how Visual Studio .NET might be so much better IDE to use. Also, I was wondering if you can make .dll plugins with the .NET architecture.
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: Wed Apr 27, 2005 8:34 am    Post subject: Reply to topic Reply with quote

Good one, Cyan.

Hey Mav, want to help me writing Python scripts in ASM? Or maybe C in VB?
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Wed Apr 27, 2005 12:47 pm    Post subject: Reply to topic Reply with quote

File->New->Project
Open the folder Visual C++ Projects and then the win32 folder. On the right side, click on win32 project, name it and press ok.
A new window will open. On the left, click on "Application Settings" and click the DLL radio button on the right. Then click the "Empty project" box and "finish."

I suppose you could probably use all the .net stuff in a dll, but I have never used it and don't plan on it, ever. The IDE is very nice but you don't need to use all the microsoft BS (like MFC and .net).
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Bak
?ls -s
0 in


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

PostPosted: Wed Apr 27, 2005 1:12 pm    Post subject: Reply to topic Reply with quote

or open the provided .sln files with the core or the template plugin
_________________
SubSpace Discretion: A Third Generation SubSpace Client
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: Wed Apr 27, 2005 2:12 pm    Post subject: Reply to topic Reply with quote

ty I will try that
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
2dragons
Novice


Joined: Feb 17 2004
Posts: 95
Offline

PostPosted: Wed Apr 27, 2005 5:08 pm    Post subject: Reply to topic Reply with quote

50% Packetloss wrote:
File->New->Project
Open the folder Visual C++ Projects and then the win32 folder. On the right side, click on win32 project, name it and press ok.
A new window will open. On the left, click on "Application Settings" and click the DLL radio button on the right. Then click the "Empty project" box and "finish."


That's a great start.

Next:

1. From Menu Select: Project
2. Then select: [Project Name] Properties, where [Project Name] is the name of your project
3. On left of new menu click the C/C++ folder
4. Select Precompiled Headers from the options within that folder
5. On the right set Create/Use Precompiled Headers to Not Using Precompiled Headers

And:

1. Change #include <fstream.h> -> #include <fstream>
2. Set your namespace, using namespace std; or specify the namespace where appropriate in your code.
3. This should work for most general cases.
Back to top
View users profile Send private message Add User to Ignore List
Dark Clouds+
Novice


Age:39
Gender:Gender:Male
Joined: Feb 16 2005
Posts: 35
Offline

PostPosted: Thu Apr 28, 2005 12:30 am    Post subject: Reply to topic Reply with quote

^ What he said. ac_withstupid.gif
_________________
SSCC Halo CTF System Operator

SSCC Halo CTF Forums
http://s4.invisionfree.com/Halo_CTF/
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Thu Apr 28, 2005 2:50 am    Post subject: Reply to topic Reply with quote

Precompiled headers? It shouldn't matter.
Don't use fstream, always use stdio.h, it is sexier.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
D1st0rt
Miss Directed Wannabe


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

PostPosted: Thu Apr 28, 2005 7:39 pm    Post subject: Reply to topic Reply with quote

Ekted will declare a jihad on anyone who uses iostream in his presence >.<
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: Fri Apr 29, 2005 12:11 pm    Post subject: Reply to topic Reply with quote

Yeah, probably MERV would be faster than TWCore if he used <stdio.h> icon_razz.gif
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: Fri Apr 29, 2005 12:56 pm    Post subject: Reply to topic Reply with quote

*PMs ekted #include <iostream>*

mWah!


So cyan, you've got a summer job; to fix up merv. icon_wink.gif


*still waiting for catid to put in that patch you suggested*
_________________
Performance is often the art of cheating carefully. - James Gosling


Last edited by CypherJF on Fri Apr 29, 2005 1:00 pm, edited 1 time in total
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: Fri Apr 29, 2005 12:57 pm    Post subject: Reply to topic Reply with quote

Haha, now that'd be some bad summer job.
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: Fri Apr 29, 2005 2:31 pm    Post subject: Reply to topic Reply with quote

CypherJF wrote:
*still waiting for catid to put in that patch you suggested*

catid.ssihosting.com wrote:
This latest release includes a tiny fix for the encryption thanks to Cyan~Fire, but no new features.

That patch you mean? icon_smile.gif
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: Fri Apr 29, 2005 2:58 pm    Post subject: Reply to topic Reply with quote

No. I mean the negative time issue that causes awarp detection to fail after 27+ days.
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: Fri Apr 29, 2005 11:06 pm    Post subject: Reply to topic Reply with quote

I also emailed a code-oriented fix (I don't think it would have had any effect on runtime) to him a while ago (I mean, way before the encryption thing), but no response. :-/

I've actually seriously considered fixing up MERV, not just in iostream but in a lot of the ways it does things, but 1) yes, it would suck; and 2) I'm not sure catid would even accept it.
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: Sat Apr 30, 2005 7:57 am    Post subject: Reply to topic Reply with quote

you would help alot of people that are using mervbot. Mervbot is still lacking on some things. Fixing those would make it a very good bot.
If you'd ask him for permission first I think he would gladly agree since he doesn't develop on it himself anymore.

I am still hoping someone can fix mervbot such a way so you can remotely host more then the theoratical 3 bots without having alot of ploss.
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: Sat Apr 30, 2005 11:28 am    Post subject: Reply to topic Reply with quote

Aye, he'd probably allow it...
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: Sun May 01, 2005 4:47 am    Post subject: Reply to topic Reply with quote

Maverick wrote:
I am still hoping someone can fix mervbot such a way so you can remotely host more then the theoratical 3 bots without having alot of ploss.

Is it a problem that only exists in mervbot? I thought the reason might be that the server refuses to send more than x bytes/s to one ip and thus having 3 clients would increase the traffic over the limit x B/s.

And in new subgame you can define botip and the limit does not apply on that ip.

I haven't tried it myself so I don't know if it could be solved with that or not.
_________________
"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
Maverick
broken record


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

PostPosted: Sun May 01, 2005 9:01 am    Post subject: Reply to topic Reply with quote

hmmm I should try that one time
EDIT: Thanks alot for that tip, liito-orava! I just hosted 9 bots without a single sign of ploss biggrin.gif icon_biggrin.gif $$$

Do you, or anyone else, know if you can specify more then one IP at that server.ini setting? (I assume comma seperated if its possible)

Another suggestion for mervbot would be to have each plugin in a seperate thread. So if one plugin takes up some recources, it doesn't lock up all bot(s).
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 1, 2  Next
Page 1 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: 136 page(s) served in previous 5 minutes.

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