Thread: 317 [pi] Masamune Custom Error (HELP)

Results 1 to 4 of 4
  1. #1 317 [pi] Masamune Custom Error (HELP) 
    Registered Member
    Join Date
    Aug 2014
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I have the standard custom pack that everyone has that contains the Masamune custom. I tried adding the 520 .dat file into my raw folder. It makes me invisible when I wield the masamune. I added the 521 .dat along with it and I still get the same results besides the inventory and drop icons are correct. So, I removed the 520 .dat file from my raw folder for now to get what you see in the screenshot. Everything is fine, but I'm holding a retarded iron mace. I added the file to my itemdef_2.java file which looks like this:
    case 15500:
    localItemDef.itemActions = new String[5];
    localItemDef.itemActions[1] = "Wield";
    localItemDef.modelID = 521;
    localItemDef.modelZoom = 3000;
    localItemDef.modelRotationY = 489;
    localItemDef.modelRotationX = 484;
    localItemDef.modelOffset1 = -1;
    localItemDef.modelOffset2 = -1;
    localItemDef.anInt165 = 520;
    localItemDef.anInt200 = 521;
    localItemDef.name = "Masamune";
    localItemDef.description = "Remember Frugooscape?".getBytes();
    break;
    I also added the Masamune to my item.config. What am I doing wrong/missing? Thank you for your time to read this. God bless.
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Oct 2014
    Posts
    591
    Thanks given
    29
    Thanks received
    76
    Rep Power
    26
    Your code is also making use of the 520.dat, so you shouldnt be removing that.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2014
    Posts
    5
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I just added back in the 520 .dat and realized something very small about my code that I just fixed and everything is working fine now! thank you so much man. The error was: "localItemDef.anInt200 = 521;" That 521 needed to be 520. God bless.
    Reply With Quote  
     

  4. #4  
    Registered Member BryceTheCoder's Avatar
    Join Date
    Aug 2008
    Posts
    740
    Thanks given
    21
    Thanks received
    24
    Rep Power
    27
    Quote Originally Posted by expiredmelk View Post
    I have the standard custom pack that everyone has that contains the Masamune custom. I tried adding the 520 .dat file into my raw folder. It makes me invisible when I wield the masamune. I added the 521 .dat along with it and I still get the same results besides the inventory and drop icons are correct. So, I removed the 520 .dat file from my raw folder for now to get what you see in the screenshot. Everything is fine, but I'm holding a retarded iron mace. I added the file to my itemdef_2.java file which looks like this:
    case 15500:
    localItemDef.itemActions = new String[5];
    localItemDef.itemActions[1] = "Wield";
    localItemDef.modelID = 521;
    localItemDef.modelZoom = 3000;
    localItemDef.modelRotationY = 489;
    localItemDef.modelRotationX = 484;
    localItemDef.modelOffset1 = -1;
    localItemDef.modelOffset2 = -1;
    localItemDef.anInt165 = 520;
    localItemDef.anInt200 = 521;
    localItemDef.name = "Masamune";
    localItemDef.description = "Remember Frugooscape?".getBytes();
    break;
    I also added the Masamune to my item.config. What am I doing wrong/missing? Thank you for your time to read this. God bless.
    Please go to the client board on the forums for client-sided situations.

    Advertise your RSPS cheap on my website: [Only registered and activated users can see links. ]

    ^ PM me and I will give you a few dollars for FREE on my website for advertisements ^
    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. 317 [PI] Adding Customs! Need Help!
    By tehBridding in forum Help
    Replies: 1
    Last Post: 05-06-2014, 07:09 AM
  2. Replies: 15
    Last Post: 04-19-2014, 02:36 PM
  3. 317 pi some run errors help please
    By _Patrick_ in forum Help
    Replies: 1
    Last Post: 09-10-2013, 03:21 PM
  4. 317 [PI] T1 T2 error help
    By dustey in forum Help
    Replies: 3
    Last Post: 07-13-2012, 03:06 AM
  5. [PI] Adding chatlog error help
    By GasMask in forum Help
    Replies: 2
    Last Post: 02-17-2011, 12:04 PM
Tags for this Thread

View Tag Cloud

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