SRL Archive - News and General

Experimenting with Java code... (SIM)


satkan

2012-09-12 16:29:13

STATUS : MYSTERIUM.



Hi, Everybody.

I think it's getting time I'm making myself usefull around here.

Currently I'm working on a java project that can be integrated into SIMBA.


The name of this project is SIM (Satkan's Integrated Module),
and would serve as a cosmetic addition perk to SIMBA.
SIM is a program in the JAVA language.
Further info is yet to be revealed. (But it will be!)




The idea is a simple program that reads ints from SIM supportive scripts, and does something with them.

Though i fear this plan will be ridiculed, or even stolen,… i will post it here anyways.

It will take ints from a SIMBA (pascal) script just like you would read a proggie.

Scripters will need to assign a small procedure under the proggie one, and parse some values into integers.




ARE YOU A SCRIPTER? ——————-

Would you be willing to add 3 ints and 1 string to your scripts if i launch this program?

The ints are :

- Minutes
- Items
- XP

The String is your Script's Name + Your Name.



It's pretty simple, just like in a proggie
-You would need to assign the number of minutes the script is running,
to a Minutes integer.

-The number of items made while the script is running,
to a Items integer.

-And the same goes for the XP gained while the script was running.
—————————————————-


Current plans :

V0.1 : Currently working on the simple version, which would be like a proggie.

V0.2 : Future version should have a small knowledge base, which compares the speed of used scripts.


It would much look like :


Skill : Firemaking. - Top 99 scripts (After 6 HOURS of running) :

Rank 01 - "Randomguy's POH Bonfire 1337", MAGICS, 165K/H. - LINK
Rank 02 - "RandomguySucks's AIO BONfire", MAGICS, 162K/H. - LINK
Rank 03 - "Crybaby's SUPERBONFIRE PRO ", MAPLE, 135K/H. - LINK
…
Rank 99 - "Rookienoob900's first firemaker", WILLOW, 25K/H. - LINK



PLEASE LET ME KNOW IF THIS IDEA IS ANY GOOD,
IF NOT I'll STOP WORKING ON IT AND FIND SOMETHING BETTER.

tristen8878

2012-09-12 16:40:29

I find pascal code easier for some strange reason but like when it comes to items java a lot simpler because you just use id's

satkan

2012-09-12 16:44:53

From: tristen8878
I find pascal code easier for some strange reason but like when it comes to items java a lot simpler because you just use id's


Well, I can't help it but I find java a whole lot more enjoyable to read.

And I'm used to it composition, so I'd see no point in abandoning it. ^^

[XoL]

2012-09-12 16:54:30

What would be the purpose of this (Serious question, I am intrigued)

NKN

2012-09-12 17:12:47

I'm confused. You want to convert Pascal Integers to Java… why?

satkan

2012-09-12 17:18:43

From: NKN
I'm confused. You want to convert Pascal Integers to Java… why?


Becourse the addon I'm working on is a Java program, and not Pascal,…
But it would read Scripts (Sort of speak).


From: R4nd0m
What would be the purpose of this (Serious question, I am intrigued)


The Prime purpose is of this being a non runescape affecting addon to simba, which makes looking at proggies a bit more fun.

Though this would be a cosmetic perk, you could compare scripts with each other to see which is most efficient, among things.

(This would make Scripting more competitive for scripters, like the hiscores in Runescape itself.)
Competition is a performance-enhancer, so on overall… you would push programming skills even further.




EDIT : I made the OP more revealing, and clearer.

P1ng

2012-09-13 01:40:11

A. I'd probably looking at using lazarus if you are trying to implement this with Simba, given that's what Simba is written with I would assume that would be easier to integrate.

B. I don't really get the purpose of this, is it like a generic on-screen proggy or something for all compatible scripts?

satkan

2012-09-13 04:44:52

From: P1ng
A. I'd probably looking at using lazarus if you are trying to implement this with Simba, given that's what Simba is written with I would assume that would be easier to integrate.

B. I don't really get the purpose of this, is it like a generic on-screen proggy or something for all compatible scripts?


It's a standalone GUI. (Like SMART)

As i previously said, it would be a cosmetic addon.

Currently working on the simple version, which would be like a proggie indeed.

Future version should have a small knowledge base, which compares the speed of used scripts.


It would much look like :

Rank 01 - "Randomguy's POH Bonfire 1337", MAGICS, 165K/H. - LINK
Rank 02 - "RandomguySucks's AIO BONfire", MAGICS, 162K/H. - LINK
Rank 03 - "Crybaby's SUPERBONFIRE PRO ", MAPLE, 135K/H. - LINK
…
Rank 99 - "Rookienoob900's first firemaker", WILLOW, 25K/H. - LINK


EDIT: Added this info in the OP + added an important question at the bottom of the OP.

P1ng

2012-09-13 06:32:34

Okay, well I'm interested to see how this pans out. If/When it gets to the stage that you need a script to test it with I would be happy to make a couple of mine compatible.

satkan

2012-09-13 06:47:05

Good to hear that P1ng, I'll be needing compatible scripts!

V0.1 will be very basic, and won't be much of an attention drawer (Ugly too.), but once i get that going expanding the program will be easy.

I'm still figuring out a way to tranfer the Vars,
Can you write certain "logs" to a .txt using Pascal and SIMBA?
That would make things fairly easy!

NKN

2012-09-13 06:55:08

You mean like this: http://stats.villavu.com

P1ng

2012-09-13 06:56:52

It's very possible to write things to a .txt file using a Simba script

satkan

2012-09-13 08:18:03

From: NKN
You mean like this: http://stats.villavu.com


Ah, goddamn!

Kinda like it yes.

It would of course be easier if there is an average xp/h integrated in that. -.-')

Anyways, it would be kinda like that, but a bit different.

More personal.