|
Talisman Newbie
Joined: 18 Sep 2006 Posts: 4
|
Posted: Mon Sep 18, 2006 5:36 am
Plugin Development Issue |
I started work on a plugin for zMud to allow it to interface with the LCD display on the Logitech G15 keyboard. I'm writing it in C++ using Visual Studio. When I declare a CaptureOutput function, even if theres nothing in it, zMud slows to a crawl whenever it recieves text. I am basing this on code from a plugin I wrote a long time ago. It worked then, I can only assume this is a problem with later versions of zMud. Is this a known issue, and if so is their a workaround? Thanks in advance.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Tue Sep 19, 2006 11:07 am |
I wish I could help you, but I will thank you in advance for getting G15 functionality.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Talisman Newbie
Joined: 18 Sep 2006 Posts: 4
|
Posted: Wed Sep 20, 2006 4:59 am |
Well, I thought I would at least get code working so that you could send lines of text to the LCD with a command. Sadly it seems that if you have any spaces in the text after a plugin command zmud just crashes. I would really like to get this working, but the plugin interface seems pretty broken. Is anyone out there writing plugins for zMud? I may just be overlooking something.
|
|
|
|
Serentus Apprentice
Joined: 28 Sep 2001 Posts: 103 Location: USA
|
Posted: Wed Sep 20, 2006 10:31 am |
Talisman,
There are some people working on plugins. You may want to ask this in the developers forum, you may to apply for that forum, but it shouldn't be a problem as plugin developer. Once in there say what language you are using and if you are using the COM or the API interface.
-Serentus |
|
_________________ -Serentus- |
|
|
|
Talisman Newbie
Joined: 18 Sep 2006 Posts: 4
|
Posted: Wed Sep 20, 2006 1:43 pm |
Thanks for the advice, good to hear. If anyone is curious I have it working to an extent. You can use the #G15 command to send lines of text to the display. Here is an example:
#TRIGGER{(*) tells you '(*)'} {#G15 "%1: %2"}
With this trigger if you recieved something like this:
Bob tells you 'Hi there'
Then the LCD would display:
Bob: Hi there
and keep a backlog of all your tells that you can read even if you're in a different window or playing a fullscreen game. Other ideas are keeping a detailed prompt there or if you are in imm you can display messages when players break the rules so that you can catch them at work or when you are just browsing the web.
At this point it is fairly simple, but I plan on fleshing it out in the next couple of days. I would like to distribute this (for free of course), but I don't have a plugin development license. The documentation says I can use it for free for personal use. I assume this means that only I can use it, although I suppose it could mean I just can't make a profit off of it. If anyone could confirm one way or the other I would appreciate it. |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Wed Sep 20, 2006 4:41 pm |
You'll need to buy a licence in order to distribute it to other people even if you don't plan to gain from said distribution.
|
|
_________________ Taz :) |
|
|
|
Talisman Newbie
Joined: 18 Sep 2006 Posts: 4
|
Posted: Thu Sep 21, 2006 1:40 pm |
Thanks for the clarification. Too bad though.
|
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Sep 21, 2006 11:43 pm |
Umm, sort of, Taz. In practice, you can distribute your plugin regardless of whether you paid for the toolkit or not. In theory, however, you would follow the spirit if not the letter of the license agreement and pay up so that 1)Zugg can continue working on/maybe see value in development of plugin capability and 2)you don't have to embarass yourself by distributing software that screams "I did not pay for this and am willfully breaking the terms of agreement with Zugg".
Basically, we're on the honor system. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Fri Sep 22, 2006 9:06 am |
From http://www.zuggsoft.com/devkit/devkitinfo.htm
Quote: |
While you can download the DevKit for free and look at it, plugins will not load into zMUD unless the DevKit is registered. Also, the user must have a registered version of zMUD in order to use plugins. |
Which is why I said what I said. Perhaps we could use the official line from the big man himself. |
|
_________________ Taz :) |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Fri Sep 22, 2006 11:31 pm |
Or you could go looking for his post yourself. Or Kjata's, maybe. Both of them have said what I did, with Zugg adding in the details of his moral/ethical rant about freeloaders and crackers (in short, he expects you to honor the terms of the license simply because it's part of the license but he acknowledges that ZMud's code does not force you to comply).
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|