| | | 
Forum Member
       
Group: Forum Members Last Login: 21-12-2007 18:52:20 Posts: 41, Visits: 179 |
| The plugin option seems a great feature for an app not being open source, but it is practically useless even for a programmer without some sort of manual of how the application's internal works.
If someone want's to add some real functionality, without screwing database's integrity, needs some internal engineering information; and to be honest, before having this information, would be necessary to have a database layout (although seems quite simple).
It would be very useful to know what functions to use in order to manipulate users (add, modify, delete), and what they do exactly, what other processes may trigger and at what extend..
It is very easy, let's say to delete a user/s records, but what else should also delete in order to maintain DB integrity?
What are the functions creating/deleting users directories?
What about using all the .ini variables that SL uses, in order to determine environment (i.e. ms access or mysql, pufs path, etc.)
Otherwise, without this information, very few/usefull plugins may be created.
And if plugin system is only here to add some custom reporting, I really don't think this is even worthing the trouble, since there are a lot of powerful tools out there that may do the job without having to write/compile a single line of code..
So is it possible to have some real info in order to develop some useful plugins? 
Thanks
Michael Vrettos
NetLandia Gaming Centers
Piraeus - Hellas |
| | | | Supreme Being
       
Group: Forum Members Last Login: 17-02-2008 01:28:08 Posts: 78, Visits: 131 |
| | Unfortunately, none of that functionality exists. Much of SmartLaunch's data is kept in memory until the application is closed, and if you simply update the database without restarting the application you won't achieve anything. Mapping the database is simple enough, I think most people can manage that. You can read the INI yourself, but there's no guarantee it hasn't been changed since the application was loaded. The direction they took for this is puzzling, the database has always been free to perform queries on, the only thing this accomplishes is putting the interface inside the SL app instead of seperately. I suppose they intend to add a bunch of API functions at some point, but until then I don't know what to use it for. |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 27-03-2008 00:10:26 Posts: 6, Visits: 67 |
| wait, all the information is saved in memory? what if the program crashes or the computer crashes? what happens to all that data? financial, used minutes, remaining minutes, new users, changes to user accounts/groups, all that information is theoretically lost when the program crashes? I really hope it writes periodically.
-Crash |
| | | | Junior Member
       
Group: Forum Members Last Login: 02-03-2008 20:55:05 Posts: 13, Visits: 12 |
| | It writes pretty frequently, but what he is talking about is that the information is only retrieved on startup, stored in memory and SL only writes to the SQL, not really thinking about the DB at all. So just going straight to the DB is a bad idea. I would love it if I could write APIs into the Smartlaunch. I know I would be making a bunch of Plug-Ins for Client and Admin alike. Imagine, an API for a Standalone Client where, if the user had a Credit Card, they could swipe, select and play. (drools) Cmon SL, make it so I can write some APIs! :p -Zac |
| | | | 
Supreme Being
       
Group: Forum Members Last Login: 26-07-2008 12:26:35 Posts: 324, Visits: 745 |
| Hi,
We will soon publish information about the upcoming major release of Smartlaunch.
One of the very interesting parts of this is the ability to develop nearly any kind of modules or plug-in, whereas SL 4.1 is current rather restricted to using current features and commands.
We should have a newsletter out about this initiative by the end of March.
(PS.: It will even allow you to build an iPhone or SmartPhone Administrator for instance )
Best Regards,
Michael Bodekær |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 11-03-2008 16:59:18 Posts: 6, Visits: 27 |
| | Hey I'm particularly interested in this feature. I posted somewhere else regarding power control for consoles in europe, and since I got no reply I guess no one has a clue. Probably I will have to write my own plugin. So when can we expect any news ? |
| | | | Supreme Being
       
Group: Forum Members Last Login: 31-12-2008 18:56:09 Posts: 225, Visits: 495 |
| Bring on VOIP billing |
| | | | Forum Guru
       
Group: Forum Members Last Login: 03-04-2008 07:27:29 Posts: 55, Visits: 154 |
| To reliably modify data in the database in a way that will not be affected by smarltaunch updates you should use the Plugin Command Functionality to execute commands directly with the SL server. This allows smartlaunch to handle all the database changes.
Editing the database directly behind the back of a running application is never really a good idea regardless of whether it stores data in ram or not.
I dont know anything about how to Plugin Command Functions work however I do know alot about the commands available both documented and undocumented. If you have any questions about the commands feel free to send me an email and I will do my best to answer your questions.
\stephen\@\pcbang\.\ca\
No Slashes Obviously
------------------------ Stephen McLaughlin Software Developer PCBang Kelowna |
| | | | 
Smartlaunch Developer

Group: Administrators Last Login: 25-11-2008 13:46:42 Posts: 66, Visits: 319 |
| There should be more info about this shortly. Thou I can say that we are exposing a lot of the methods that we are using internally so that they can be used in the plug-ins. We had a guest here who could program in .Net, and it didn't take him many hours to make a form of message plug-in for the clients.
Best Regards,
Daniel Jørgensen
smartlaunch.net |
| | | | |
|