Results 1 to 8 of 8

Thread: getblacktext fix

  1. #1
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default getblacktext fix

    the get black chat text function that is used in GetBlackChatMessage wasnt working so ive changed the coords and it works now,

    Zephy informed me i should have changed the text coords so this is the updated text coords.


    SCAR Code:
    {*******************************************************************************
    Function TextCoords(textn: Integer): TPoint;
    By: Wizzup? Updated by Waddo.
    Description: Returns x, y for text. (1 to 8)
    *******************************************************************************}

     
    Function TextCoords(textn: Integer): TPoint;
     
    Begin
      Result.X := 11;
      Result.Y := 346 + (14 * (textn - 1));
    End;
    Blank!

  2. #2
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yes you messed something up

    there is no such function/procedure

    there is

    function FindBlackChatMessage(ChatMsg: string): Boolean;
    begin
    Result := IsBlackText(ChatMsg, 8);
    end;

    thats why that needed updating.

    and np.

    I also noticed that i had 777 posts.

    Edit: Wow 2 rep on this thread i didnt eithen expect the rep =p puts me to 42 now tho cool almost half way too 2 green squares =p
    Blank!

  3. #3
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Posts
    3,926
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks for the fix but next time you should change TextCoords because that would fix all functions that get text from the chatbox.

  4. #4
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh kk ty I didnt know that would they be what the tp.x and tp.y are?


    SCAR Code:
    {*******************************************************************************
    Function TextCoords(textn: Integer): TPoint;
    By: Wizzup? Updated by Waddo.
    Description: Returns x, y for text. (1 to 8)
    *******************************************************************************}


    Function TextCoords(textn: Integer): TPoint;

    Begin
      Result.X := 11;
      Result.Y := 346 + (14 * (textn - 1));
    End;

    Im geussing you have already changed this but here it is anyway, and now i know what to change in future.=p
    Blank!

  5. #5
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Fixed it in the Dev SVN


  6. #6
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok when will it be released my scar looks messy eithen tho i have rev 20 it stail says update srl svn (19->20)
    Blank!

  7. #7
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you sure you have 20 then? I had to checkout SVN because i couldn't just click update 19-->20 because it kept saying that. Just checkout your SVN and it won't say that, and you will get rev 20 for sure.

  8. #8
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Nope ive updated abut 8 times including donwgrading and reuprading i have rev 20 it just says i havent it isnt a problem it just anoying
    Blank!

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
  •