Results 1 to 21 of 21

Thread: Leo - the one who lives in the graveyard.

  1. #1
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Wink Leo - the one who lives in the graveyard.

    Hey, after a while of inactivity I decided to help SRL with random solvers.
    Special thanks goes to Nauman, who gived me this idea
    It may seems not much but I rewrite Leo_AnalyzeCoffin() and Leo_AnalyzeGravestone(), they now works Or, I can sey that they works for me But the scar part must be fixed, or rewrited. I attached my work and I think that you guys (its for devs) will use this in the future updates.

    Cheers

    Iroki
    :P

  2. #2
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    These definitly work now?

    They didn't really work last time heh.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  3. #3
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    These definitly work now?

    They didn't really work last time heh.
    Great work Iroki, I never thought you would make it public. Great work man .

    @Nava2: Please be a bit more 'nice' towards him. He put in a lot of time into this. . Unless of course I mis-understood it, you did sound a bit hostile though :/

    EDIT: If you need any help on the SCAR side, providing no developer already starts it, I would be more than glad to help

  4. #4
    Join Date
    Nov 2007
    Location
    I live in Slovenia! :)
    Posts
    837
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow! I hope it works and will be added to SRL
    ~T2

  5. #5
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    (L)
    Did someone say GDK?

  6. #6
    Join Date
    Apr 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What a coincidence, I got an account stuck in the leo random today. If any admin wants to test out script on the account let me know.

  7. #7
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Iroki, thanks for sticking with SRL mate
    There have been some mean people, but a lot of the community respects you, regardless of the 'crimes' in the past
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  8. #8
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I'd just like to point out there was no intention at making fun or minimizing his work.

    I was merely stating that the other solver didnt work.

    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  9. #9
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    cheers Iroki

  10. #10
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    I see you use static points in analysing the gravestone, but are you sure the points are really static?

    For example:

    pascal Code:
    if (j = 158) and (i = 179) then
            if (Line[i].R < 86) and (Line[i].G < 86) then IsAxe := True;

  11. #11
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes, I'm sure.
    :P

  12. #12
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by nielsie95 View Post
    I see you use static points in analysing the gravestone, but are you sure the points are really static?

    For example:

    pascal Code:
    if (j = 158) and (i = 179) then
            if (Line[i].R < 86) and (Line[i].G < 86) then IsAxe := True;
    where did you get that code from? has to be the .dll, no? how can I open a .dll? I am curious as to how the coding looks wanna see if I can understand some of this random solver, seems interesting to me.

  13. #13
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Baked0420 View Post
    where did you get that code from? has to be the .dll, no? how can I open a .dll? I am curious as to how the coding looks wanna see if I can understand some of this random solver, seems interesting to me.
    LeoPlugin.dpr is where the source is found.
    If you don't have a Delphi compiler, check my signature.

  14. #14
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you download Leo.rar ?? there is source of this plugin
    :P

  15. #15
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by EvilChicken! View Post
    LeoPlugin.dpr is where the source is found.
    If you don't have a Delphi compiler, check my signature.
    thank you very much, I do not have a Delphi compiler, going to download now.

    Quote Originally Posted by Iroki View Post
    Do you download Leo.rar ?? there is source of this plugin
    I did not know that .dpr's were the source code, I saw it, but didn't know what it was. Now I know they are the source code, thanks

  16. #16
    Join Date
    Jul 2008
    Location
    England
    Posts
    763
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [off-topic]Lazarus is better imo :< [/off-topic]

    Excellent work Iroki! Gonna try and get one of my autoers in a leo nao.
    lol

  17. #17
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Baked0420 View Post
    thank you very much, I do not have a Delphi compiler, going to download now.



    I did not know that .dpr's were the source code, I saw it, but didn't know what it was. Now I know they are the source code, thanks
    DPR is the standard Delphi project outline file from about Delphi 7 and below. In much recent Delphi versions, it is DPROJ. If the source is provided, you do not need a Delphi compiler to view it (since the source isn't contained in the DPR or DPROJ files), simply open up any of the PAS (this is where the source is) files in Notepad, or if you want syntax highlighting, open them up with either SCAR or Notepad++

    So, if you don't want to learn and develop your Delphi skills, then I suggest not wasting your time downloading the complete thing
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  18. #18
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    meh, I don't mind, it looks very similar to Pascal, I'm sure I could learn it very easily and fast. I remember how hard it was to learn pascal, but since I understand programming in general now from learning it, it made learning C++ and Java in school a million times easier, and since Delphi looks so similar, I bet it'd be even easier to learn then C++ and Java (both very easy and fun).

    but this solver, I couldn't understand most of the important stuff haha. Like, I understand it, just don't know how he got some of his numbers. I just don't understand RGB, I know it's the amount of red green and blue used to make up colors, but I wouldn't know how to use it, and it looks like there's arrays of arrays in there or something? like "X[336][161]" I don't get that, but for the most part I can comprehend the code, but would've never been able to make this. Nice work Iroki.
    Last edited by Baked0420; 11-10-2009 at 12:56 PM.

  19. #19
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by Baked0420 View Post
    meh, I don't mind, it looks very similar to Pascal, I'm sure I could learn it very easily and fast. I remember how hard it was to learn pascal, but since I understand programming in general now from learning it, it made learning C++ and Java in school a million times easier, and since Delphi looks so similar, I bet it'd be even easier to learn then C++ and Java (both very easy and fun).

    but this solver, I couldn't understand most of the important stuff haha. Like, I understand it, just don't know how he got some of his numbers. I just don't understand RGB, I know it's the amount of red green and blue used to make up colors, but I wouldn't know how to use it, and it looks like there's arrays of arrays in there or something? like "X[336][161]" I don't get that, but for the most part I can comprehend the code, but would've never been able to make this. Nice work Iroki.
    Just realised that this was a DLL So, yer, no PAS files, and the DPR contains the source

    Also, it isn't really that hard to understand, if you know the basics of SCAR and OCR (Object Colour Recognition) You can also have multi-dimensional arrays in SCAR too (what do you think T2DPointArray is? )

    And you will be able to understand it, in time
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  20. #20
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    I understood most of it, but I never used T2DArrays in SCAR, and yea, it looks very similiar to pascal. It's not really the basics of SCAR, that's just the compiler I think you meant the basics of pascal.

    I'm gonna look for a tut on T2DArrays now, see how they're used and what for.

  21. #21
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by Baked0420 View Post
    I understood most of it, but I never used T2DArrays in SCAR, and yea, it looks very similiar to pascal. It's not really the basics of SCAR, that's just the compiler I think you meant the basics of pascal.

    I'm gonna look for a tut on T2DArrays now, see how they're used and what for.
    T2DArrays are arrays of arrays of data type:

    For example a T2DIntegerArray:

    SCAR Code:
    Var I : T2DIntArray;

    Begin
      I := [TIntegerArray([0, 1]), TIntegerArray([2, 3])];
      WriteLn(I[0][1]);
    End;

    Then you have more common uses such as the ATPA (T2DPointArray) .

    Hope that cleared up some stuff.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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