Author Topic: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
Gar_HG 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
Hi,
I am trying to repair a couple of my old pluggins (there all in VB 6) to work under decal alpha 6 and I was wondering if anyone had one converted already to decal alpha 6 that they be willing to share the source code to.
I would prefer a VB 6 example, but I could use a C# one in a pinch.

 

-----signature-----
Link to this post
Maddy_ACEDL 
Posts: 12,311
Registered: Feb 23, '00
Extended Info (if available)
Real Post Cnt: 11,836
User ID: 12,026
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
I posted some information on what needs to be changed in regards to Imp Filter, and some ACHooks changes. You can find it here: http://www.buwahaha.com/ACWiki/

 

-----signature-----
Link to this post
Digero 
Posts: 7,435
Registered: Oct 21, '02
Extended Info (if available)
Real Post Cnt: 7,359
User ID: 729,875
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
The source for my VB6 plugins (Quest Timer, Target Info, and Media Control) is available on my site: http://decal.acasylum.com . You can also look at the source of the pre-ToD versions to see the changes I made. I'd recommend comparing v1.1.0.0 and v1.0.0.0 of Media Control, as that is the simplest VB6 plugin I have.

The structure of a VB6 plugin is pretty different from that of a C# plugin that uses the .NET Adapter. I don't think seeing the source of a C# plugin would help you very much.

 

-----signature-----
[LotRO] Digero (Guardian), Digrim (Burglar), Dignite (LM), Azrea (Hunter) - Landroval
[AC] Digero, Lyera, Draxxe - Leafcull (Retired)
[CoH] Devil's Zealot, Scinta, Izzard - Guardian (Retired)
Digero's AC Decal Plugins: http://decal.acasylum.com
Link to this post
Gar_HG 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
Thanks, those examples are exactly what I was looking for.

 

-----signature-----
Link to this post
_P_H_ 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
hey digero, are you plugins vb6.net or just vb6?

also if you did, did you update them from vb6 to vb6.net?

Also where can you get vb6.net for free if anyone knows, wanna start making plugins.

Thanks.

 

-----signature-----
Link to this post
Digero 
Posts: 7,435
Registered: Oct 21, '02
Extended Info (if available)
Real Post Cnt: 7,359
User ID: 729,875
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
There is no such thing as "vb6.net." VB .NET is the .NET version of visual basic, which is different from VB6. I've written plugins in both VB6 and C# .NET, which is similar to VB .NET, but has a C-style syntax.

I'm not sure whether or not you know how to program, but let me warn you that Decal is NOT a good platform for learning how to program. You should learn good programming practices before writing decal plugins.

In any case, you can download a free version of the Visual Studio 2005 Express IDE for VB .NET here: http://msdn.microsoft.com/vstudio/express/

 

-----signature-----
[LotRO] Digero (Guardian), Digrim (Burglar), Dignite (LM), Azrea (Hunter) - Landroval
[AC] Digero, Lyera, Draxxe - Leafcull (Retired)
[CoH] Devil's Zealot, Scinta, Izzard - Guardian (Retired)
Digero's AC Decal Plugins: http://decal.acasylum.com
Link to this post
Gar_HG 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
I also wanted tho thank you Maddy_ACEDL for that cross reference guide, I have found it very useful as well.

 

-----signature-----
Link to this post
_P_H_ 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
digero what do you recomend me do before working on decal plugins.

I never coded before other then old school dos stuff and some actool. I used to make macro programs in actool back in 02, mainly drain macros and etc in the frost stone dungeon.


Thanks

 

-----signature-----
Link to this post
Drakier 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
I think he recommends (and I agree) that you should properly learn the language and how to code applications or other things in the language... learn the syntax of the language by itself without attempting to throw the Decal stuff into the mix... Decal adds a level of complexity that can be bad for non-proficient programmers. Many programmers have enough of a struggle dealign with the syntax of the language itself, let alone anything extra.

Pick a language you feel you want to program in. My personal favorite is C#, but that's because I like the Java/C like syntax while not having to worry about the stupidity of C++. Some programmers feel that VB.NET is better, and it all completely based on personal opinion. There really isn't much of a different between what C# and VB.NET DO under the surface.. it's all just syntax preference.

Either way.. pick a language.. learn how to use it.. attempt to make small applications that utilize logic and can give you a good understanding of the language and syntax... read online articles about it, books, etc.

Once you are comfortable with the syntax of the language, then look at the Decal plugin code in the language you want to program in, and try to figure out HOW it works.. don't just copy/paste things, and DON'T, by any means, use a Framework or pre-built template plugin when you're writing your first plugin.

Disecting the plugins can give you an understanding of WHY things are done a certain way.. not just relying on faith that "they are". Frameworks are the same thing, and for the same reason should be avoided.. They do WAY too much of the initial work for you, and until you understand WHAT the Framework/Template does and WHY it does it, I do not recommend using them.

As I've said in other threads.. unless you could create the Framework yourself, then you probably shouldn't be using one. The Framework is there to save proficient developers time in creating the redundant parts of the plugin.. the programmers using them SHOULD know how the framework does it's thing, and be able to re-create it if needed.

Does that all make sense?

 

-----signature-----
Link to this post
_P_H_ 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Anyone willing to share the source for a working Decal Alpha 6 VB Pluggin
I totally understand, and is much appreciated.

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP