by Rob 'Devion' Janssen ()
Category: OLE/COM/DCOM/Active-X
Compatability: VB Script
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
VPS is a Plugin system; You write ActiveX plugins and VPS will execute them by a few standard functions you must have in your project.
Currently it has 2 plugins in it; A MUD server which isn't finished and a Backup system which is reasonably finished (delete the ini to get the config screen when starting VPS)
All source is included for each plugin and VPS itself, VPS is a console based application and you should use CAP to make it able to run inside a cmd.exe instead of it's own console window.
Inputs
No input is necessary.
Assumes
A bit about the plugins (you can find this text also in the plugins dir as a .txt file)
Plugin required functions...
DLL Name = VPS
Class name = Filename of DLL
fstrGetName (no args) return result should be a string giving the friendly name of the plugin
fstrGetFunction (no args) return result should be a string giving the function that initializes the plugin
fClose (no args) allows plugin to close itself before VPS terminates
registerparent (refObject) allows the plugin to be able to return calls.
Parent functions
Log(String) - logs to the log file and screen.
Logfile(String) - logs only to file
Logscreen(String) - logs only to screen
That should get you started :)
Code Returns
No output except screen and what the plugin does.
Side Effects
None so far.