Jump to content
Wanted

OSI 2 RS07 Ported with Optional SMART 7.2

Recommended Posts

https://github.com/OfficialSCARInclude/OSI2/commit/6addedb61e9658d0729a1c95bac912282910751c

 

https://github.com/OfficialSCARInclude/OSI2/commits/master

https://github.com/OfficialSCARInclude/OSI2/commit/0309ffd8861d71b9bfbb665290f8471cf0db7014

 

'Tis an epic day to be apart of this community when I see OSI 2 with SCAR successfully running old school runescape in a hypertech environment like SMART 7.2 before anyone else.

 

DTM searching in SMART and using Chr(13) is now fixed thanks to Freddy!

 

[sCAR]program New;

 

{$DEFINE RS07} // V - Bright Settings

{$DEFINE SMART} // Comment out to use normal browser

{$DEFINE OSI_RS07_Color_Anti_Randoms}

 

{$I OSI\OSI.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

end.[/sCAR]

 

[sCAR]{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

var SMART Related vars

Contributors: Wanted

Description: Handles all of SMART related info and variables.

Last Modified: September 18th, 2011. By Wanted. RS2 Build 666.

Last Modified: November 12th, 2012. By LordJashin. RS2 Build 735.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}

 

{$IFDEF SMART}

var

NonAutomaticSMART: Boolean;

SMART_Client: TSCARClient;

SMART_Server: Integer;

SMART_Path: string;

{$ENDIF}[/sCAR]

 

76401671.png

 

Running like a dream...

 

More good Map and other stuff to follow tonight.

 

More info about SMART and OSI:

 

http://blanddns.no-ip.org:81/index.php/SMART (outdated, but very informational)

https://github.com/BenLand100/SMART

 

https://github.com/FHannes/SMART (outdated)

https://github.com/FHannes/SMART-Remote-Wrapper

 

http://wiki.scar-divi.com/osi/index.php?title=Using_SMART_with_OSI (outdated)

 

 

http://forums.scar-divi.com/showthread.php?156-OSI-ported-with-optional-SMART&highlight= (outdated)

http://forums.scar-divi.com/showthread.php?223-SMART-OSI-and-the-new-runescape-update&highlight= (outdated)

http://forums.scar-divi.com/showthread.php?248-Smart-6-9&highlight= (outdated)

Link to comment
Share on other sites

OMFG! YES YES YES YES! :D I cannot tell you how happy I am!!! :D

Wanted, thank you so much!:)

Freddy, thank you so much!:)

 

 

EDIT:

Tell me why:

[sCAR]

program New;

 

{$DEFINE RS07} // V - Bright Settings

{$DEFINE SMART} // Comment out to use normal browser

{$DEFINE OSI_RS07_Color_Anti_Randoms}

 

{$I OSI\OSI.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

end.

[/sCAR]

 

does not open the SMART client?

Edited by BryceTheCoder
Link to comment
Share on other sites

OMFG! YES YES YES YES! :D I cannot tell you how happy I am!!! :D

Wanted, thank you so much!:)

Freddy, thank you so much!:)

 

 

EDIT:

Tell me why:

[sCAR]

program New;

 

{$DEFINE RS07} // V - Bright Settings

{$DEFINE SMART} // Comment out to use normal browser

{$DEFINE OSI_RS07_Color_Anti_Randoms}

 

{$I OSI\OSI.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

end.

[/sCAR]

 

does not open the SMART client?

 

Update your OSI...

Link to comment
Share on other sites

Sweet job Wanted and Freddy!

 

Updated support for SMART in next version of MSSL, it will be updated to Includes Manager in 4 hours.

MSSL itself doesn't load SMART, so you will be required to have OSI aswell. :)

 

Script Skeleton:

{$DEFINE SMART}
{$DEFINE RS07}
{$I OSI\OSI.scar}
{$I MSSL\MSSL.scar}

procedure ScriptTerminate;
begin
 MSSL_Unsetup;
 FreeOSI;
end;

begin
 SetUpOSI; 
 MSSL_Setup; 
end.

Edited by Janilabo
Link to comment
Share on other sites

Cmon' Wanted:P

 

Yes I'm dumb, but I'm not that dumb:P

 

What does your debug say? Even more accurate, check to see if you even have OSI\RS07\Misc\SMART\***

 

It's the only explanation I can think of. You know the includes manager won't allow you update very quickly after a posted update right?

Link to comment
Share on other sites

Great job man! I will be testing this out! :)

From what I undersand ver 8 isn't ready or does anything special that is used yet?

- I don't remember what's new in 8.0. Cant be anything to big'a deal.

SMART 8.1 (or was it 8.2...) allows for plugins to to connect directly with SMART, therefor allowing for D3D, and OGL hooking for the "real" runescape.

Edited by slacky
Link to comment
Share on other sites

What does your debug say? Even more accurate, check to see if you even have OSI\RS07\Misc\SMART\***

 

It's the only explanation I can think of. You know the includes manager won't allow you update very quickly after a posted update right?

 

I do have this directory: SI\RS07\Misc\SMART\***

And my Debug:

Successfully compiled (78.5429 ms)
OSI RS07 routines enabled.
OSI RS07 color random detection and solving enabled.
Loaded RS2 Fonts: UpChars, NPCChars, OptionChars, ScreenChars, SmallChars, StatChars, TradeChars (687 ms)
Freed RS2 Fonts
Freed OSI
Successfully executed (701.8386 ms)

Link to comment
Share on other sites

Sweet job Wanted and Freddy!

 

Updated support for SMART in next version of MSSL, it will be updated to Includes Manager in 4 hours.

MSSL itself doesn't load SMART, so you will be required to have OSI aswell. :)

 

Script Skeleton:

{$DEFINE SMART}
{$DEFINE RS07}
{$I OSI\OSI.scar}
{$I MSSL\MSSL.scar}

procedure ScriptTerminate;
begin
 MSSL_Unsetup;
 FreeOSI;
end;

begin
 SetUpOSI; 
 MSSL_Setup; 
end.

 

Nice

 

Great job man! I will be testing this out! :)

 

- I don't remember what's new in 8.0. Cant be anything to big'a deal.

SMART 8.1 (or was it 8.2...) allows for plugins to to connect directly with SMART, therefor allowing for D3D, and OGL hooking for the "real" runescape.

 

That's what I was thinking. What's the need for 8 especially right now when no one has any plugins afiak and we are using RS07 and Freddy isn't done with the remote. 7.2 is running great for me.

 

I do have this directory: SI\RS07\Misc\SMART\***

And my Debug:

Successfully compiled (78.5429 ms)
OSI RS07 routines enabled.
OSI RS07 color random detection and solving enabled.
Loaded RS2 Fonts: UpChars, NPCChars, OptionChars, ScreenChars, SmallChars, StatChars, TradeChars (687 ms)
Freed RS2 Fonts
Freed OSI
Successfully executed (701.8386 ms)

 

Check to see if you have all 5 files in that folder maybe your file wall removed them... but it's not possible if you have

 

{$DEFINE RS07}

{$DEFINE SMART}

{$I OSI\OSI.scar}

 

SetUpOSI; NonAutomaticSMART := False (false unless you set it true before SetUpOSI) and the latest OSI that it isn't at least attempting to set up SMART.

 

Are you using the includes manager? Are you using git and have some key files like OSI.scar or SMART.scar modified so it's not overwriting them?

 

Is OSI in Includes\OSI\OSI.scar ?

 

Seems to be working for everyone else.. if you have all those things sorted out above and it's still not working for you I don't know what to say other than uninstall your entire set up and redo because something is very wrong. =/

Link to comment
Share on other sites

NOTE for everyone: If you use OSI+MSSL combination (with SMART).. Remember to use SetUpOSI before MSSL_Setup in mainloop, because OSI loads SMART - you don't want to start MSSL things without the client (you'll get problems, script wont always run)!

 

Also, MSSL_Unsetup should be used before FreeOSI with ScriptTerminate.

 

-Jani

Link to comment
Share on other sites

You're not set up right if it's not even WriteLn' Initiating SMART..

 

How can this be then?

I am using your template for SMART in 07:

[sCAR]

program New;

 

{$DEFINE RS07} // V - Bright Settings

{$DEFINE SMART} // Comment out to use normal browser

{$DEFINE OSI_RS07_Color_Anti_Randoms}

 

{$I OSI\OSI.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

end.

[/sCAR]

Link to comment
Share on other sites

How can this be then?

I am using your template for SMART in 07:

[sCAR]

program New;

 

{$DEFINE RS07} // V - Bright Settings

{$DEFINE SMART} // Comment out to use normal browser

{$DEFINE OSI_RS07_Color_Anti_Randoms}

 

{$I OSI\OSI.scar}

 

procedure ScriptTerminate;

begin

FreeOSI;

end;

 

begin

SetUpOSI;

end.

[/sCAR]

 

Because your Copy of OSI or where it's placed is wrong and {$DEFINE SMART} is meaningless because the code isn't there because you've mucked something up either in your copy of OSI or how you have SCAR setup.

 

Have you tried deleting everything and starting with a fresh install?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...