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
Mervpot plugins with ASSS?

 
Post new topic   Reply to topic Printable version
 View previous topic  Asss 1.2.0 Post :: Post TCP Billing Protocol  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: Thu Aug 12, 2004 4:18 pm    Post subject: Mervpot plugins with ASSS? Reply to topic Reply with quote

I'm thinking it could be possible, as mervbot makes a .dll which an asss module could comunicate with.

so like set up all the necessary callbacks for all of merbot's events and just send the dll what the core would normally send it. Then when the plugin's talking to the core, listen and change those to the appropriate server actions.

So like when a plugin does sendPublic("*arena hello!");

it's actually doing

tell(makeSay(MSG_Public, snd, 0, "*arena hello!"));

makeSay creates a BotEvent struct, which is sent to the core

couldn't ASSS receive this struct, decode it and translate it into a chat message... relize it starts with *arena and make it

chat->SendArenaMessage(arena,"hello!");

if something like this was made then asss could use all the mervbot plugins that have been around for years
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Smong
Server Help Squatter


Joined: 1043048991
Posts: 0x91E
Offline

PostPosted: Thu Aug 12, 2004 4:59 pm    Post subject: Reply to topic Reply with quote

Catid has said this is possible ages ago.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website MSN Messenger
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Thu Aug 12, 2004 5:00 pm    Post subject: Reply to topic Reply with quote

If I remember correctly, Catid said that he MIGHT code an ASSS-module to do that somtime in the future if it's necessary.
_________________
It's a shark! Oh my god! Unbelievable!
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: Thu Aug 12, 2004 7:14 pm    Post subject: Reply to topic Reply with quote

.shrug. at least Merv logs into ASSS. icon_smile.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
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: Thu Aug 12, 2004 8:33 pm    Post subject: Reply to topic Reply with quote

Making ASSS manipulate the DLLs, since they are built object-oriented, might be a little painful. Then again, I've never tried accessing an OO DLL with C.
_________________
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
Dr Brain
Flip-flopping like a wind surfer


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

PostPosted: Thu Aug 12, 2004 9:03 pm    Post subject: Reply to topic Reply with quote

Well, like cypher said, MERV works, so who cares?
_________________
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
CypherJF
I gargle nitroglycerin


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

PostPosted: Thu Aug 12, 2004 9:15 pm    Post subject: Reply to topic Reply with quote

Although, this would allow porting of premade plugins to ASSS much easier, I'd imagine..
Back to top
View users profile Send private message Add User to Ignore List
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Thu Aug 12, 2004 9:36 pm    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
Well, like cypher said, MERV works, so who cares?

Is it not nicer to have everything server side in one cute package?
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
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: Thu Aug 12, 2004 10:23 pm    Post subject: Reply to topic Reply with quote

I think I was smelling some sarcasm in Brain's post, not sure. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:42
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Thu Aug 12, 2004 10:56 pm    Post subject: Reply to topic Reply with quote

Cyan~Fire wrote:
Then again, I've never tried accessing an OO DLL with C.

It doesn't matter what the DLL was written in, just you need to understand which of the two calling conventions it uses, C or Pascal. The difference between a C and a C++ dll is just that by default, MSVC's C++ dlls are mangled a bit, though that can easily be accepted into the calling code.
Back to top
View users profile Send private message Add User to Ignore List Send email
-Smong-
Guest


Offline

PostPosted: Fri Aug 13, 2004 12:28 pm    Post subject: Reply to topic Reply with quote

CypherJF wrote:
Although, this would allow porting of premade plugins to ASSS much easier, I'd imagine..
Don't talk smack, that's how things like nazis and microsoft happen.

I think it's best to hang onto mervbot as if it crashes it won't take the whole server with it, or totally spam the log files with errors (like pymod does).
Back to top
Deadly
Seasoned Helper


Age:35
Gender:Gender:Male
Joined: Oct 15 2003
Posts: 148
Location: Ontario Canada
Offline

PostPosted: Sat Aug 28, 2004 2:24 pm    Post subject: Reply to topic Reply with quote

was jus thinking.. merv plugins use ! and . and ASSS uses ? doesnt it? that could be a problem?
_________________
Known as DeadlySoldier!! in-game..

http://deadly.sscentral.com -- My Bots
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address MSN Messenger
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: Sat Aug 28, 2004 4:04 pm    Post subject: Reply to topic Reply with quote

Why is that a problem?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
k0zy
Server Help Squatter


Gender:Gender:Male
Joined: Jan 11 2003
Posts: 571
Location: Germany
Offline

PostPosted: Sun Aug 29, 2004 9:42 am    Post subject: Reply to topic Reply with quote

Merv can use ".","!" and "@", too.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Back to top
View users profile Send private message Add User to Ignore List
ExplodyThingy
Server Help Squatter


Age:38
Gender:Gender:Male
Joined: Dec 15 2002
Posts: 528
Location: Washington DC
Offline

PostPosted: Mon Aug 30, 2004 8:07 pm    Post subject: Reply to topic Reply with quote

the commands arent written into the plugins with the or . or @ in them. So theoretically you can prepend them with anything else.
_________________
There are no stupid question, but there are many inquisitive idiots.
Loot

Dr Brain> I hate clean air and clean water. I'm a member of Evil Conservitive Industries
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 -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

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

phpBB Created this page in 0.428049 seconds : 39 queries executed (93.1%): GZIP compression disabled