Empire Mir 3
Likes Likes:  2
Results 1 to 14 of 14

  Click here to go to the first staff post in this thread.   Thread: Quick question

  1. #1
    and I am a virgin IHaveALongName's Avatar
    Join Date
    Sep 2012
    Location
    Qatar, Bournemouth
    Posts
    1,147

    Quick question

    1. does assassins have crystalarmour(M) skin?
    2. and did mir USA had them?

    much thanks
    /Ihavealongname
    /Moha

  2. HispaRed
  3.   Click here to go to the next staff post in this thread.   #2
    LOMCN Legend IceMan's Avatar
    Join Date
    Apr 2003
    Location
    Michigan,Usa
    Posts
    7,512

    Re: Quick question

    Lib 16 in AArmour
    I'm not lazy,I'm energy efficient!

  4. #3
    Ex-αdministrator Wittin's Avatar
    Join Date
    May 2003
    Posts
    843

    Re: Quick question

    I actually wrote to far about this today, I'm just going to post it here incase the answer is swifter from elsewhere.

    I'm not sure if I'm going crazy or not, but with the default files the .lib images for CrystalArmour aren't correct for Assasins in the default files they should also be 12.lib in AARMOUR folder?

    Let me know your thoughts on this, I was under the impression you couldnt use the armour on Sins, but it seems currently it's just incorrectly set at 16.lib.

    (I would suggest swapping the names of 12.lib and 16.lib in AARMOUR folder) to fix
    ---------- Post Merged at 09:15 PM ---------- Previous Post was at 09:13 PM ----------

    Also, this post is actually specific to the Crystal Files / Client, just to be clear, and thanks Mr. LongName for also chasing up for me ;)
    retired administrator/super moderator @ lomcn.co.uk

  5.   Click here to go to the next staff post in this thread.   #4
    LOMCN Legend IceMan's Avatar
    Join Date
    Apr 2003
    Location
    Michigan,Usa
    Posts
    7,512

    Re: Quick question

    i posted a bug fix for this.

    ---------- Post Merged at 09:26 PM ---------- Previous Post was at 09:26 PM ----------

    http://www.lomcn.org/forum/showthrea...ur-fix-for-sin
    I'm not lazy,I'm energy efficient!

  6. #5
    Ex-αdministrator Wittin's Avatar
    Join Date
    May 2003
    Posts
    843

    Re: Quick question

    Quote Originally Posted by IceMan View Post
    i posted a bug fix for this.

    ---------- Post Merged at 09:26 PM ---------- Previous Post was at 09:26 PM ----------

    http://www.lomcn.org/forum/showthrea...ur-fix-for-sin
    Is that the right way to fix? My understanding was that if the lib numbers just needed to match the shape on a given armour, and at the moment crystal armour is incorrectly lib 16 when it should be 12 in AARMOUR? Wouldn't just swapping the file names would make more sense or am I missing something?
    retired administrator/super moderator @ lomcn.co.uk

  7.   Click here to go to the next staff post in this thread.   #6
    LOMCN Legend IceMan's Avatar
    Join Date
    Apr 2003
    Location
    Michigan,Usa
    Posts
    7,512

    Re: Quick question

    its not the libs. the switch count is off in the code. Sin armour use a switch/skip count.

    works fine using std c data.



    Last edited by IceMan; 03-04-2018 at 10:19 PM.
    I'm not lazy,I'm energy efficient!

  8. #7
    Ex-αdministrator Wittin's Avatar
    Join Date
    May 2003
    Posts
    843

    Re: Quick question

    No idea what that means, and I've actually got something different to both in there currently:

    case 9: //heaven
    case 10: //mir
    case 11: //oma
    case 12: //spirit
    BodyLibrary = Armour + 1 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour + 1] : Libraries.ARArmours[0];
    break;

    case 19:
    BodyLibrary = Armour - 5 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour - 5] : Libraries.ARArmours[0];
    break;

    case 29:
    case 30:
    BodyLibrary = Armour - 14 < Libraries.ARArmours.Length ? Libraries.ARArmours[Armour - 14] : Libraries.ARArmours[0];
    break;
    The armour works, it just loads the wrong lib on Sins...
    retired administrator/super moderator @ lomcn.co.uk

  9.   Click here to go to the next staff post in this thread.   #8
    LOMCN Legend IceMan's Avatar
    Join Date
    Apr 2003
    Location
    Michigan,Usa
    Posts
    7,512

    Re: Quick question

    Fix was added to svn code some time ago when i reported it.

    https://github.com/Suprcode/mir2/blo...layerObject.cs
    I'm not lazy,I'm energy efficient!

  10. #9
    Ex-αdministrator Wittin's Avatar
    Join Date
    May 2003
    Posts
    843

    Re: Quick question

    Fair enough, makes a bit more sense now - My current files aren't based of the suprcode which is why it's different. Which line actually needs changing there? I'll get theo to do it on ours.

    Case 11 and 12?
    retired administrator/super moderator @ lomcn.co.uk

  11.   Click here to go to the next staff post in this thread.   #10
    LOMCN Legend IceMan's Avatar
    Join Date
    Apr 2003
    Location
    Michigan,Usa
    Posts
    7,512

    Re: Quick question

    You post the switch for Archer, can you post yours for assasin?
    I'm not lazy,I'm energy efficient!

  12. #11
    Ex-αdministrator Wittin's Avatar
    Join Date
    May 2003
    Posts
    843

    Re: Quick question

    Well spotted:

    #region Assassin
    case MirClass.Assassin:

    #region WeaponType
    if (HasClassWeapon || Weapon < 0)
    {
    switch (CurrentAction)
    {
    case MirAction.Standing:
    case MirAction.Stance:
    case MirAction.Walking:
    case MirAction.Running:
    case MirAction.Die:
    case MirAction.Struck:
    case MirAction.Attack1:
    case MirAction.Attack2:
    case MirAction.Attack3:
    case MirAction.Attack4:
    case MirAction.Sneek:
    case MirAction.Spell:
    case MirAction.DashAttack:
    altAnim = true;
    break;
    }
    }
    #endregion

    #region Armours
    if (altAnim)
    {
    switch (Armour)
    {
    case 9: //heaven
    case 10: //mir
    case 11: //oma
    BodyLibrary = Armour + 3 < Libraries.AArmours.Length ? Libraries.AArmours[Armour + 3] : Libraries.AArmours[0];
    break;

    case 12: //spirit
    BodyLibrary = Armour + 4 < Libraries.AArmours.Length ? Libraries.AArmours[Armour + 4] : Libraries.AArmours[0];
    break;

    case 19:
    BodyLibrary = Armour - 3 < Libraries.AArmours.Length ? Libraries.AArmours[Armour - 3] : Libraries.AArmours[0];
    break;
    retired administrator/super moderator @ lomcn.co.uk

  13.   Click here to go to the next staff post in this thread.   #12
    LOMCN Legend IceMan's Avatar
    Join Date
    Apr 2003
    Location
    Michigan,Usa
    Posts
    7,512

    Re: Quick question

    yours matches mine and svn. msg me on skype bud
    I'm not lazy,I'm energy efficient!

  14.   This is the last staff post in this thread.   #13
    tsniffer Far's Avatar
    Join Date
    May 2003
    Posts
    16,624

    Re: Quick question

    Quote Originally Posted by Wittin View Post
    Is that the right way to fix? My understanding was that if the lib numbers just needed to match the shape on a given armour, and at the moment crystal armour is incorrectly lib 16 when it should be 12 in AARMOUR? Wouldn't just swapping the file names would make more sense or am I missing something?
    Yeah it's abit confusing, but the CArmour shapes don't need to match the AArmour numbers - the code designates their offset.

    CArmour is always the base, then for Assassin and Archer if they don't match the code provides the number to offset them by.

    It would have been more logical to just have them match on the numbers in both folders - but i think i just followed the existing pattern at the time. No sense redoing it now.

  15. #14
    Ex-αdministrator Wittin's Avatar
    Join Date
    May 2003
    Posts
    843

    Re: Quick question

    Makes perfect sense, thanks!
    retired administrator/super moderator @ lomcn.co.uk

Posting Permissions

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