Page 2 of 2 FirstFirst 12
Results 26 to 42 of 42

Thread: Creating your own font set for Simba

  1. #26
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    no, each one would have to be a different FontSet

    ~shut
    What you think is the best way i can read text from capchas im trying to write a sleeper not for runescape

  2. #27
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  3. #28
    Join Date
    Jan 2008
    Location
    C:\
    Posts
    1,483
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Wow, thanks for reminding me that I have a skiller named Mr Mola Mola!

    /100% offtopic

  4. #29
    Join Date
    May 2011
    Posts
    24
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I've gathered uptext charracters from one private server, the question is which charset should i replace in the fonts folder?

  5. #30
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  6. #31
    Join Date
    Apr 2012
    Posts
    127
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks for the tut ,
    is there some sort of database that has all the previous font sets? that way i can just grab and use those for a rsps using an outdated version of rs?

    thanks, if not probably just end up doing it manually
    Feel free to add me on msn: h4x_new@hotmail.co.uk
    Delete my old msn that got hacked (h4x_@hotmail.co.uk)

  7. #32
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Hey, I need to make a font for runescape, for the grand exchange small letters.
    Can I make it just like this? Or will this only work for private servers?
    iF it does work, i will start making it


    Thanks for this tut



    ^ i've made that! Can I use it? I don't understand how
    Last edited by Master BAW; 06-20-2012 at 04:37 AM.

  8. #33
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by MasterCrimez View Post


    ^ i've made that! Can I use it? I don't understand how
    Make a new folder called GESmallFont

    Now separate that little box with your numbers so that you have 10 different boxes with each number in it. (Remember to leave a pixel to the right)

    Remove that useless comma.

    Save the numbers in the following way:

    0: 48.bmp
    1: 49.bmp
    2: 50.bmp
    3: 51.bmp
    4: 52.bmp
    5: 53.bmp
    6: 54.bmp
    7: 55.bmp
    8: 56.bmp
    9: 57.bmp
    Last edited by Abu; 06-20-2012 at 05:15 AM.

  9. #34
    Join Date
    Jun 2012
    Location
    THE Students-City of Holland
    Posts
    332
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Make a new folder called GESmallFont

    Now separate that little box with your numbers so that you have 10 different boxes with each number in it. (Remember to leave a pixel to the right)

    Remove that useless comma.

    Save the numbers in the following way:

    0: 48.bmp
    1: 49.bmp
    2: 50.bmp
    3: 51.bmp
    4: 52.bmp
    5: 53.bmp
    6: 54.bmp
    7: 55.bmp
    8: 56.bmp
    9: 57.bmp
    Hey, I already did that, forgot to post it here. But what then? Can I just call the font in the function, or do I have to intall it first?

  10. #35
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by MasterCrimez View Post
    Hey, I already did that, forgot to post it here. But what then? Can I just call the font in the function, or do I have to intall it first?
    If it's in the folder, you just call it as you do any other font I guess.

  11. #36
    Join Date
    Jun 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hi, I'm new to SRL Forums. I have a few questions about this whole font creating procedure. I want to create an OCR for a different game (not runescape), but the fonts in that game are not unicolor. Is this a problem? Another question is, how do I actually load the fonts. I understand that you name each character by their acsii decimal value. So you would place all of the same fontset in one folder and LoadFont(that folder name)? If possible could someone provide some example code. Thanks.

  12. #37
    Join Date
    Jun 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Also, what if each character is completely different colors throughout the character? Like the the horizontal line of '7' is blue but the slanted line is red. How would I go about setting tolerance?

  13. #38
    Join Date
    Sep 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    I created my own font set for a private server, but I am not really sure how to use it. Do I just have to call it using LoadFont, or will it already search though it when looking for uptext?

  14. #39
    Join Date
    Aug 2009
    Location
    Nova Scotia, Canada
    Posts
    604
    Mentioned
    0 Post(s)
    Quoted
    56 Post(s)

    Default

    Using the OpenGL method listed in this thread produces chars that are all evenly lined up along the tops, but that is now how they appear on screen. Is there a way to figure out the vertical spacing of the chars?
    Never ever approach a computer saying or even thinking "I will just do this quickly".

  15. #40
    Join Date
    Nov 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Unhappy

    Ok, currently I'm experimenting with Simba and working towards making a mining bot for an rsps. This thread caught my eye so I gave it a shot in a hope to create the correct UpTexts for the rsps ingame.

    My aim was to help Simba recognise the UpText Font when the mouse hovers over an iron ore rock: The UpText would be 'Mine Rocks / 3 more options'.

    I created a new folder named 'RspsUpChars' and placed it in the directory: 'C:\Simba\Fonts'. Within this folder I have the individual .bmp files for the letters: M, i, n, e, R, o, c, k, s. I didn't feel the need to have every letter in the alphabet since I just want this to work for a mining bot.

    Now, I'm assuming if I restart Simba that the fonts will load and be implemented into Simba.. so to test if my rsps UpText works I made this script:

    Code:
    program CheckFont;
    {$i SRL\SRL.simba}
    
    function CheckText:boolean;
    var
      X, Y: Integer;
    begin
      if FindObj(X, Y, 'ine', 1186611, 20) then //Only using the UpText 'ine' in 'Mine' to test this
      begin
        Mouse(X, Y, 5, 5, false); //Right clicks the rock
        Mouse(X, Y+25, 5, 5, true); //Left clicks option 'Mine Rocks' (Later hope to use Option or WaitOption functions
     if I can get a hang of creating fonts..)
      end;
    end;
    
    begin
    CheckText;
    end.
    When I ran the script the mouse would search for the object and jump from rock to rock but never recognising the UpText.

    At this point I took a look at the UpChars folder (in directory 'C:\Simba\Fonts') and noticed that the images had a red fill for the shadows of the letters. So I created a new set of bmp files for the letters 'M, i, n, e, R, o, c, k, s', this time including the shadows in a red fill (code = 255).

    After running the script again, it's the same as before: the mouse will jump between rocks but never identifying the UpTexts and so never right clicking and left clicking the option to mine the rocks

    I'd really appreciate if someone nudged me in the right direction, I'm new to Simba and scripting so for any help offered I give my thanks in advance

    Oh and this is what my Bmps look like:

  16. #41
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    This tutorial is awesome ... but the image links are broken.
    Found: https://web.archive.org/web/20130929...ad.php?t=60451
    which has some of the images.

    Is there another similar tutorial around? or someone with images from this tutorial?

    Thanks

  17. #42
    Join Date
    Aug 2019
    Posts
    29
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Great guide thanks, very helpful.

Page 2 of 2 FirstFirst 12

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
  •