Menu

#2 On Screen Message Position

open-rejected
Other (1)
6
2010-11-13
2010-11-12
Anonymous
No

For a message, if an "on screen message" is set, and you want to remove it, you have to set position to 0, and with LineAge utils, it's impossible, it put it to 1.

I found how to modify it, but I didn't compile/test it
File : Classes\LA2DatFilesParsers.cs
Line : 1266
From : this.c3_attr_int[0] = (value > 8) ? 8 : (value < 1) ? 1 : value;
To : this.c3_attr_int[0] = (value > 8) ? 8 : (value < 0) ? 0 : value;

Discussion

  • Anonymous

    Anonymous - 2010-11-13
    • priority: 5 --> 6
    • assigned_to: nobody --> mexmer
     
  • Anonymous

    Anonymous - 2010-11-13

    I try today to compile it, and it seems to be OK.
    Tested with L2FileEdit, and the 0 is written into systemmsg-e.dat

     
  • Josef J. Micka

    Josef J. Micka - 2010-11-13

    you just need to delete text of message, that's all.
    position in LAU is limited intentionally, since it causes problems in C4 client, if there is OSM text present, and inccrrent position.
    if there is no OSM text, nothing is displayed, regardless position.

     
  • Josef J. Micka

    Josef J. Micka - 2010-11-13
    • status: open --> closed-rejected
     
  • Anonymous

    Anonymous - 2010-11-13

    you just need to delete text of message, that's all.

    => No, I just test it, with no text message and position 1 and duration 0, no message appear, but other bugs ;)
    For exemple, if you put 1 position for "you use $s1", with no on screen message, this one will interfer with other, and the other message will show up, only tenth of a second, and not for the duration set up

    Because by default, position is set to 0, mean that message no appear

     
  • Anonymous

    Anonymous - 2010-11-13
    • status: closed-rejected --> open-rejected
     

    Last edit: Anonymous 2014-05-26

Log in to post a comment.

MongoDB Logo MongoDB