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
seveianrex
Newbie


Joined: 26 Dec 2005
Posts: 5

PostPosted: Mon Dec 26, 2005 8:18 pm   

Confusion regarding developer kit and plugin development
 
Hello,

I apologize if this post is in the wrong forum. I subscribed to the developer forum but am awaiting approval to be able to view or post there.

I am looking into programming some plugins for my own personal use. I have managed to get a DLL to compile by creating a class that implements IzMUDPlugin using C#.NET

I could not get the plugin loaded but I suspect after reading some information here that it has to do with not having a correct plugin development registration code.

The developer's kit says it's free for personal use, yet the only way I see to receive a code from ZuggSoft is through the Order forms (Paypal, etc.)

Am I missing something here? As it stands, I have only purchased zMUD, nothing more. Am I able to obtain a registration code for no cost, assuming my plugins are for personal use only?

Thanks in advance!
Reply with quote
seveianrex
Newbie


Joined: 26 Dec 2005
Posts: 5

PostPosted: Mon Dec 26, 2005 8:45 pm   
 
Quote:
Just return an empty string, or a string of garbage. If the registration code returned by the initialize routine isn't valid, the plugin will still get loaded, but it will get listed as "Unregistered" on the user's zMUD Plugin screen. But it will still work just fine.


Ok.. just found that in an old post by Zugg in response to a question similar to mine.

However, I am still having a problem. I tried returning garbage, or nothing, and it still won't load.

Is this potentially due to me attempting to use C#.NET, then?
Reply with quote
seveianrex
Newbie


Joined: 26 Dec 2005
Posts: 5

PostPosted: Mon Dec 26, 2005 9:03 pm   
 
I'm back again.... it's getting more and more confusing by the minute Rolling Eyes

It seems that using C#.NET is going to be a problem because it's memory managed, while COM objects/types are not. Their solution is "COM interop" which is looking HIGHLY confusing.

Has anyone else potentially been able to get this to work or should I stop trying? Laughing
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Mon Dec 26, 2005 10:59 pm   
 
I believe there are .NET plugin examples for VB and C# in the Developers forum.

Zugg is "On Vacation" so his response time is just a little bit longer. When you do get access here is the full link to the C# Tutorial

http://forums.zuggsoft.com/phpbb/viewtopic.php?t=11003

1) Select the project in the "Soltution Explorer" pane
2) Select "Properties" from the "Project" menu
3) Click on the "Configuration Properties" section
4) In the "Outputs" section of the "Build" section change the "Register for COM interop" setting to true and click OK
_________________
Zmud Support Library
Zmud Knowledge Base
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