SRL Archive - Development

Integrate SMART?


mastaraymond

2009-11-28 14:01:38

Markus pointed me out that you can embed windows into your own window..
We could possibly embed SMART into Mufasa?

Proof of concept:
PS: Not sure if it will work on linux.

mixster

2009-11-28 14:12:02

Is there any real benefit to it? To me, I think it would just mean that you would have to have it set to a massive size to be able to show both Smart and the actual scripting area and the debug box. Also, how easy would it be to make a dynamic system that would only show the appropriate area when Smart is actually running or wouldn't crash if Smart wasn't installed?

YoHoJo

2009-11-28 14:13:45

Yo dog i heard you liked windows…

mastaraymond

2009-11-28 15:03:14

From: mixster
Is there any real benefit to it? To me, I think it would just mean that you would have to have it set to a massive size to be able to show both Smart and the actual scripting area and the debug box. Also, how easy would it be to make a dynamic system that would only show the appropriate area when Smart is actually running or wouldn't crash if Smart wasn't installed?

If we are going to want multiple scripts, you will have multiple smart windows open.. That's not really neat, more likely unorganized. If we integrate this in Mufasa it will be much neater + organized since a smart is actually bound to a certain script/tab. We could just make it so that you have either SMART or the Scripting interface. We could even make it optionally integrated with a simple button click.

Nava2

2009-11-28 16:10:53

@mixster, tabbed windows work nicely too.

Such as, Tab for SCRIPT. then subtab for Script, and Smart.

mixster

2009-11-28 17:47:29

I see your point Ray, but feel that would be a silly idea Nava2 - I don't know a single program that works like that and I'm pretty sure there's a reason. Having a button or the like to switch between the two would be fine, but I don't see subtab-like things looking at all nice nor am I sure how they would display.

Rather than switching between the two, making the scripting section as well as the Smart section collapsible could be nice. Of course, having a second form that could handle multiple Smarts would also work, but I foresee how it would be hard to make it obvious which one they relate too etc.

Wizzup?

2009-11-28 18:06:24

I really don't see it happening until we integrate the process per tab idea + make our own smart.

Nava2

2009-11-28 22:52:35

From: Wizzup?
I really don't see it happening until we integrate the process per tab idea + make our own smart.


or you gotto georgia and sex BenLand into GPLing it.

R0b0t1

2009-12-07 22:25:02

I wouldn't include it unless it is GPL'd. Read sig.

Nava2

2009-12-07 23:06:46

From: R0b0t1
I wouldn't include it unless it is GPL'd. Read sig.


I know this isn't a suuuper idea, but what about writing our own.. :o

R0b0t1

2009-12-07 23:49:07

Sure dude that works but i say we should avoid closed-source libraries as much as possible.

Widget

2009-12-08 03:26:37

Where's cogat when you need it :p

I think it's a good idea. Actually, I think we should have a "scripting mode" and a "botting mode" if we embed it into the client so it ends up inline, replacing the script editor. Perhaps we could port something from RSBot?

mastaraymond

2009-12-08 10:44:37

Before we make our own smart, someone needs to create a proper JNI lib for Lazarus/FPC.

We can use Freddies code and adapt it (it's licensed as GPL).

Nava2

2009-12-08 10:56:35

From: mastaraymond
Before we make our own smart, someone needs to create a proper JNI lib for Lazarus/FPC.

We can use Freddies code and adapt it (it's licensed as GPL).


Quite ironic, but why not though?

Nava2

2010-01-12 18:48:43

buuuump.

Harry

2010-01-12 20:36:05

SMART is GPL now.. maybe it could work?

Only problem being, I personally would prefer Simba to not be only a RS botting tool. Embedding SMART into it would be stupid I think. Now, if there was a button to "download SRL, Includes (etc)", and have SMART as an option of being automatic like that, yes, it would be nice.

Simtoon

2010-01-12 21:25:46

It would be cool if we could make it like nexus, run mutibots in one window.

Gu3st...

2010-01-13 03:29:03

I vote yes, but but don't make it too RS-related, but add it like a "feature" or something :)