Server Help

ASSS Questions - Mervpot plugins with ASSS?

Bak - Thu Aug 12, 2004 4:18 pm
Post subject: Mervpot plugins with ASSS?
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
Smong - Thu Aug 12, 2004 4:59 pm
Post subject:
Catid has said this is possible ages ago.
k0zy - Thu Aug 12, 2004 5:00 pm
Post subject:
If I remember correctly, Catid said that he MIGHT code an ASSS-module to do that somtime in the future if it's necessary.
CypherJF - Thu Aug 12, 2004 7:14 pm
Post subject:
.shrug. at least Merv logs into ASSS. icon_smile.gif
Cyan~Fire - Thu Aug 12, 2004 8:33 pm
Post subject:
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.
Dr Brain - Thu Aug 12, 2004 9:03 pm
Post subject:
Well, like cypher said, MERV works, so who cares?
CypherJF - Thu Aug 12, 2004 9:15 pm
Post subject:
Although, this would allow porting of premade plugins to ASSS much easier, I'd imagine..
SuSE - Thu Aug 12, 2004 9:36 pm
Post subject:
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?
Solo Ace - Thu Aug 12, 2004 10:23 pm
Post subject:
I think I was smelling some sarcasm in Brain's post, not sure. icon_smile.gif
Mine GO BOOM - Thu Aug 12, 2004 10:56 pm
Post subject:
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.
Anonymous - Fri Aug 13, 2004 12:28 pm
Post subject:
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).
Deadly - Sat Aug 28, 2004 2:24 pm
Post subject:
was jus thinking.. merv plugins use ! and . and ASSS uses ? doesnt it? that could be a problem?
Cyan~Fire - Sat Aug 28, 2004 4:04 pm
Post subject:
Why is that a problem?
k0zy - Sun Aug 29, 2004 9:42 am
Post subject:
Merv can use ".","!" and "@", too.

Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
ExplodyThingy - Mon Aug 30, 2004 8:07 pm
Post subject:
the commands arent written into the plugins with the or . or @ in them. So theoretically you can prepend them with anything else.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group