Thread: just a stupid question :P

Results 1 to 9 of 9
  1. #1 just a stupid question :P 
    Registered Member
    Join Date
    Nov 2008
    Posts
    316
    Thanks given
    0
    Thanks received
    6
    Rep Power
    35
    hey when i add corp beast and models etc. to my client

    this code:

    -------------------------------------------------------
    if (i == 72) {
    entityDef.actions = new String[5];
    entityDef.actions[1] = "Attack";
    entityDef.models = new int[1];
    entityDef.models[0] = 40959;
    entityDef.standAnim = 10056;
    entityDef.walkAnim = 10055;
    entityDef.aByte68 = 4;
    entityDef.combatLevel = 785;
    entityDef.name = "Corporeal beast";
    entityDef.description = "A vision of supernatural horror.".getBytes();
    }
    ------------------------------------------------------------
    and i spawn it on my server compiled etc. works all fine but when i spawn it
    my client crash gives a error about the standanim 10056.
    any 1 know how to fix that ?

    repp++
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Dec 2010
    Posts
    536
    Thanks given
    61
    Thanks received
    25
    Rep Power
    4
    It's possible that the animations only go up to 10000, therefor your client will crash.
    Set it "< 11000"
    I think.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2008
    Posts
    316
    Thanks given
    0
    Thanks received
    6
    Rep Power
    35
    where is that located in the same file ? u think or ??
    btw the 10055 dont crash so i dont think its that maybe it is im gona try thansk for help
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2010
    Posts
    536
    Thanks given
    61
    Thanks received
    25
    Rep Power
    4
    Maybe because the 10056 is firstly coded, altough it compiles everything.
    Perhaps that animation is not added?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2008
    Posts
    316
    Thanks given
    0
    Thanks received
    6
    Rep Power
    35
    ye i guess that is it but where do we have to code the animation.
    if i watch in animation.java it are some animations but none of the serevrs added the corp beast to the animation folder, renamed.
    =S
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2010
    Posts
    536
    Thanks given
    61
    Thanks received
    25
    Rep Power
    4
    Try giving it another stand anim, or just comment it out, so it does not move while standing.
    If it then still crashes, look at the error and post it here .
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Nov 2008
    Posts
    316
    Thanks given
    0
    Thanks received
    6
    Rep Power
    35
    i know the error but its just the stand id not the model etc
    so where does it say it wont load modesl from < 10000 or something like that or 8000 or something ? i searched in animation.java etc but didnt found anyything
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Dec 2010
    Posts
    536
    Thanks given
    61
    Thanks received
    25
    Rep Power
    4
    Just rename the animations to a random one thats not used.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Nov 2008
    Posts
    316
    Thanks given
    0
    Thanks received
    6
    Rep Power
    35
    thats exalcty wat im thinking but im not sure if this will work. i try it.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. [PI] Stupid question..
    By Alexander in forum Help
    Replies: 3
    Last Post: 08-29-2010, 01:21 AM
  2. Stupid Question
    By JohnK in forum Help
    Replies: 7
    Last Post: 12-25-2009, 04:50 AM
  3. Stupid question..
    By Logisti-X in forum Help
    Replies: 5
    Last Post: 12-14-2009, 09:06 PM
  4. Stupid Question
    By p00n3z in forum Help
    Replies: 4
    Last Post: 07-31-2009, 04:16 PM
  5. Just some stupid question...
    By Annie in forum Help
    Replies: 2
    Last Post: 07-04-2009, 08:08 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •