Mir 3 DarkSide
Likes Likes:  6
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    LOMCN Veteran chaosdeath's Avatar
    Join Date
    Mar 2012
    Location
    Newport, UK
    Posts
    1,162

    Re: Give Skelly pet AOE attack?

    Word of advice try everything in your power once coded to make sure it does not cause a crash. There was an incident regarding the deathcrawler and itís poisoning that if a player died or teleported away as the death crawler died it crashed the server , due to its death poison... IE no one to poison in the area so the code caused a crash as it was looking for a player to poison.

    So although it may work think of all the variables that a player could potentially be in that may cause an issue code wise. Otherwise you will end up pulling your hair out looking for the reason the server crashed.

    NOT ALL ISSUE CAUSE SERVER CRASHES... check and make sure you do not have an error report due to the new skelly AI
    Last edited by chaosdeath; 13-10-2017 at 03:03 PM.

  2. HispaRed
  3.   This is the last staff post in this thread.   #17
    tsniffer Far's Avatar
    Join Date
    May 2003
    Posts
    15,479

    Re: Give Skelly pet AOE attack?

    Mir2 chat section, not Crystal Help section ^.

    Please use code tags [ code ] xyz [ /code ] when pasting code.

  4. #18
    Loyal Member Destroyer1987's Avatar
    Join Date
    Feb 2013
    Location
    In The Shadows
    Posts
    24

    Re: Give Skelly pet AOE attack?

    Added but wont allow skelly to use CHM attack, will look later what ive done wrong.

    Far sorry wasn't sure if code is different for Crystal Server, Will use that section from now on. Do not understand what you said tho about [code]
    When your about to level and no pots.. hopeing that last mob will die before you do ^.^

  5. #19
    Dedicated Member Violent's Avatar
    Join Date
    Oct 2008
    Location
    Chesterfield, UK
    Posts
    555

    Re: Give Skelly pet AOE attack?

    Quote Originally Posted by chaosdeath View Post
    Word of advice try everything in your power once coded to make sure it does not cause a crash. There was an incident regarding the deathcrawler and itís poisoning that if a player died or teleported away as the death crawler died it crashed the server , due to its death poison... IE no one to poison in the area so the code caused a crash as it was looking for a player to poison.

    So although it may work think of all the variables that a player could potentially be in that may cause an issue code wise. Otherwise you will end up pulling your hair out looking for the reason the server crashed.

    NOT ALL ISSUE CAUSE SERVER CRASHES... check and make sure you do not have an error report due to the new skelly AI
    That goes without saying. No code is perfect and the code i provided was a basic example of one of the ways it can be done. However there are null checks in the code and about 80% of server crashes are caused by null objects (From my experience anyway).

Page 2 of 2 FirstFirst 12

Posting Permissions

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