Results 1 to 10 of 10

Thread: How to use paint with Reflection

  1. #1
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default How to use paint with Reflection

    Hello, so I've recently switched to Lape reflection for my scripting as It has a lot more to offer than SRL-5. I've been trying for about an hour now to get paint to work. I found Graphics.Simba in my includes but I can't get any of the functions to work...

    Can anyone help me use paint with reflection?

  2. #2
    Join Date
    Dec 2013
    Location
    Pitcairn Island
    Posts
    288
    Mentioned
    20 Post(s)
    Quoted
    166 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    Hello, so I've recently switched to Lape reflection for my scripting as It has a lot more to offer than SRL-5. I've been trying for about an hour now to get paint to work. I found Graphics.Simba in my includes but I can't get any of the functions to work...

    Can anyone help me use paint with reflection?
    If I recall correctly, you should call drawing methods through Reflect.Smart.Graphics.xxx

  3. #3
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    if this is for a rsps use MufasaLayer

  4. #4
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by jstemper View Post
    if this is for a rsps use MufasaLayer
    Does reflection even work for RSPS?

    Quote Originally Posted by TSN View Post
    If I recall correctly, you should call drawing methods through Reflect.Smart.Graphics.xxx
    And Yeah so far I have these;
    Simba Code:
    Reflect.Smart.Graphics.Drawbox(5,282,250,336, True);
      Reflect.Smart.Graphics.DrawClippedText(TimeRun, 'SmallChars07', Point(7, 290), 8421376);
      Reflect.Smart.Graphics.DrawClippedText(Hello, 'SmallChars07', Point(7, 310), 8421376);
    But I don't know how to make the text larger, input graphics, any of that. So if someone could point me in the right direction that'd be great

  5. #5
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    Does reflection even work for RSPS?


    And Yeah so far I have these;
    Simba Code:
    Reflect.Smart.Graphics.Drawbox(5,282,250,336, True);
      Reflect.Smart.Graphics.DrawClippedText(TimeRun, 'SmallChars07', Point(7, 290), 8421376);
      Reflect.Smart.Graphics.DrawClippedText(Hello, 'SmallChars07', Point(7, 310), 8421376);
    But I don't know how to make the text larger, input graphics, any of that. So if someone could point me in the right direction that'd be great
    Theoretically it could work if you could load the rsps in smart... then i think it is just a matter of grabbing the right hooks

  6. #6
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by jstemper View Post
    Theoretically it could work if you could load the rsps in smart... then i think it is just a matter of grabbing the right hooks
    So reflection works on hooks not colors?

  7. #7
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    So reflection works on hooks not colors?
    Honestly i'm not too sure, ask a reflection dev lol

  8. #8
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by jstemper View Post
    Honestly i'm not too sure, ask a reflection dev lol
    Idk why I'm asking, I could just go test it out, one sec xD

  9. #9
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Spotify View Post
    So reflection works on hooks not colors?
    Quote Originally Posted by jstemper View Post
    Honestly i'm not too sure, ask a reflection dev lol
    reflection "reads" the gamecode (which is obfuscated, thats why you have hooks), it does not check for colors.

  10. #10
    Join Date
    Jun 2014
    Posts
    144
    Mentioned
    0 Post(s)
    Quoted
    61 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    reflection "reads" the gamecode (which is obfuscated, thats why you have hooks), it does not check for colors.
    Yeah I figured that, thanks for the definite answer though.

    BUT I still have the question open as to how I make my paint pretty xD

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •