Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Fri Nov 15, 2013 7:17 am   

Plugin
 
I'm trying to make a plugin with Visual Basic 2010. But zmud always tells me it's not a valid plugin.
What do I need to do to make it a valid plugin?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Nov 15, 2013 9:52 pm   
 
I assume you've seen the zmud com plugins article ( http://www.zuggsoft.com/page.php?file=zmud/complug.htm ), but essentially you need to implement the entire COM interface.
_________________
EDIT: I didn't like my old signature
Reply with quote
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Sat Nov 16, 2013 1:59 am   
 
I guess I'm also having trouble making an ActiveX DLL in visual basic 2010
Reply with quote
Scirkhan
Apprentice


Joined: 14 Sep 2007
Posts: 167
Location: aztx

PostPosted: Wed Nov 20, 2013 2:50 am   
 
Okay I went with Visual basic 6.0
Can anyone help me use the zmudAPI? I'm trying to use SendStr in my plugin.
Reply with quote
clk4suport
Newbie


Joined: 21 Nov 2013
Posts: 8
Location: NOida

PostPosted: Sat Nov 30, 2013 9:04 am   
 
HI there :)
Reply with quote
Tarn
GURU


Joined: 10 Oct 2000
Posts: 873
Location: USA

PostPosted: Tue Dec 03, 2013 2:26 am   
 
Scirkhan wrote:
Okay I went with Visual basic 6.0
Can anyone help me use the zmudAPI? I'm trying to use SendStr in my plugin.


You're trying to use calls on zMud-supplied objects or trying to implement a plugin interface?

How far did you get and what went wrong?
Reply with quote
russellwduncan
Newbie


Joined: 13 Mar 2012
Posts: 4
Location: United States

PostPosted: Mon Jan 20, 2014 12:07 am   
 
bump
Reply with quote
Tarn
GURU


Joined: 10 Oct 2000
Posts: 873
Location: USA

PostPosted: Sat Jan 25, 2014 6:47 pm   
 
russellwduncan wrote:
bump


Scirkhan seems to have move on to other things.

Were you trying to do something similar?

The steps for a plugin in VB are basically:

New project which is a DLL/class library
Add a reference to the zMud COM interface
Create a publicly creatable class, say CMyPlugin
This class should implement each of the calls you can see in the object browser for zMud's plugin interface (the one for the plugin, not the one for zMud itself)

By implement, I mean that the call should exist: most plugins probably don't need to use all of the calls. So, the function body of a particular call you don't need might be empty.

I belive that Zor posted a full tutorial in VB6 some time back.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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

© 2009 Zugg Software. Hosted by Wolfpaw.net