Thread: Convert ints

Results 1 to 7 of 7
  1. #1 Convert ints 
    Registered Member
    Join Date
    Mar 2013
    Posts
    144
    Thanks given
    3
    Thanks received
    2
    Rep Power
    36
    anyone can convert this ints to itemdef? but with no anInt?

    case 18395:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 55991;
    class8.anInt194 = 0;
    class8.anInt181 = 2434;
    class8.anInt198 = 0;
    class8.anInt190 = 458;
    class8.anInt169 = -3;
    class8.anInt165 = 55991;
    class8.anInt174 = 54253;
    class8.anInt164 = -1;
    class8.aString170 = "Primal kiteshield";
    class8.aByteArray178 = "Its a Primal kiteshield".getBytes();
    break;
    case 18393:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56515;
    class8.anInt194 = 0;
    class8.anInt181 = 1447;
    class8.anInt198 = 0;
    class8.anInt190 = 485;
    class8.anInt169 = 0;
    class8.anInt165 = 55851;
    class8.anInt174 = 54126;
    class8.anInt164 = -1;
    class8.aString170 = "Primal platebody";
    class8.aByteArray178 = "Its a Primal platebody".getBytes();
    break;
    case 18391:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56046;
    class8.anInt194 = 0;
    class8.anInt181 = 1776;
    class8.anInt198 = 1576;
    class8.anInt190 = 1589;
    class8.anInt169 = -1;
    class8.anInt165 = 56046;
    class8.anInt174 = 54373;
    class8.anInt164 = -1;
    class8.aString170 = "Primal 2h sword";
    class8.aByteArray178 = "Its a Primal 2h sword".getBytes();
    break;
    case 18389:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56434;
    class8.anInt194 = 0;
    class8.anInt181 = 921;
    class8.anInt198 = 0;
    class8.anInt190 = 121;
    class8.anInt169 = 0;
    class8.anInt165 = 55770;
    class8.anInt174 = 54164;
    class8.anInt164 = -1;
    class8.aString170 = "Primal full helm";
    class8.aByteArray178 = "Its a Primal full helm".getBytes();
    break;
    case 18387:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56478;
    class8.anInt194 = 0;
    class8.anInt181 = 1730;
    class8.anInt198 = 0;
    class8.anInt190 = 525;
    class8.anInt169 = 7;
    class8.anInt165 = 55815;
    class8.anInt174 = 54175;
    class8.anInt164 = -1;
    class8.aString170 = "Primal platelegs";
    class8.aByteArray178 = "It are Primal platelegs".getBytes();
    break;
    case 18385:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56460;
    class8.anInt194 = 0;
    class8.anInt181 = 1711;
    class8.anInt198 = 0;
    class8.anInt190 = 488;
    class8.anInt169 = -1;
    class8.anInt165 = 55804;
    class8.anInt174 = 54068;
    class8.anInt164 = -1;
    class8.aString170 = "Primal plateskirt";
    class8.aByteArray178 = "A Primal plateskirt".getBytes();
    break;
    case 18383:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56353;
    class8.anInt194 = 0;
    class8.anInt181 = 789;
    class8.anInt198 = 156;
    class8.anInt190 = 164;
    class8.anInt169 = 0;
    class8.anInt165 = 55673;
    class8.anInt174 = 54062;
    class8.anInt164 = -1;
    class8.aString170 = "Primal boots";
    class8.aByteArray178 = "A pair of Primal boots".getBytes();
    break;
    case 18381:
    class8.aStringArray189 = new String[5];
    class8.aStringArray189[1] = "Wield";
    class8.anInt188 = -1;
    class8.anInt200 = 56417;
    class8.anInt194 = 0;
    class8.anInt181 = 930;
    class8.anInt198 = 828;
    class8.anInt190 = 420;
    class8.anInt169 = 3;
    class8.anInt165 = 55728;
    class8.anInt174 = 54037;
    class8.anInt164 = -1;
    class8.aString170 = "Primal gauntlets";
    class8.aByteArray178 = "A pair of Primal gauntlets".getBytes();
    break;
    Reply With Quote  
     

  2. #2  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by Pandora7 View Post
    not even funny. Anyone that can help? sorry, i aint so good at coding customs yet.

    here you go mate,I'll give you the program later,until I can find the link for it
    If you get errors,just read the errors compiler and see what needs to be changed a bit.Could be simple Capitalization,etc. Also if it gives error for rotation2 and 1 change "2" to "X and "1" to "Y".
    and for "itemDef.description = "Its a Primal kiteshield".getBytes();" Just delete the ".getBytes()" part.And anything else just delete if you get errors on them,otherwise it's gotta do something with capitalization.
    Code:
     case 18395:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 55991;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 2434;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 458;
    itemDef.modelOffset1 = -3;
    itemDef.anInt165 = 55991;
    itemDef.anInt174 = 54253; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal kiteshield";
    itemDef.description = "Its a Primal kiteshield".getBytes();
    break;
    case 18393:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56515;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1447;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 485;
    itemDef.modelOffset1 = 0;
    itemDef.anInt165 = 55851;
    itemDef.anInt174 = 54126; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal platebody";
    itemDef.description = "Its a Primal platebody".getBytes();
    break;
    case 18391:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56046;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1776;
    itemDef.modelRotation2 = 1576;
    itemDef.modelRotation1 = 1589;
    itemDef.modelOffset1 = -1;
    itemDef.anInt165 = 56046;
    itemDef.anInt174 = 54373; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal 2h sword";
    itemDef.description = "Its a Primal 2h sword".getBytes();
    break;
    case 18389:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56434;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 921;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 121;
    itemDef.modelOffset1 = 0;
    itemDef.anInt165 = 55770;
    itemDef.anInt174 = 54164; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal full helm";
    itemDef.description = "Its a Primal full helm".getBytes();
    break;
    case 18387:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56478;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1730;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 525;
    itemDef.modelOffset1 = 7;
    itemDef.anInt165 = 55815;
    itemDef.anInt174 = 54175; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal platelegs";
    itemDef.description = "It are Primal platelegs".getBytes();
    break;
    case 18385:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56460;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1711;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 488;
    itemDef.modelOffset1 = -1;
    itemDef.anInt165 = 55804;
    itemDef.anInt174 = 54068; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal plateskirt";
    itemDef.description = "A Primal plateskirt".getBytes();
    break;
    case 18383:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56353;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 789;
    itemDef.modelRotation2 = 156;
    itemDef.modelRotation1 = 164;
    itemDef.modelOffset1 = 0;
    itemDef.anInt165 = 55673;
    itemDef.anInt174 = 54062; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal boots";
    itemDef.description = "A pair of Primal boots".getBytes();
    break;
    case 18381:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56417;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 930;
    itemDef.modelRotation2 = 828;
    itemDef.modelRotation1 = 420;
    itemDef.modelOffset1 = 3;
    itemDef.anInt165 = 55728;
    itemDef.anInt174 = 54037; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal gauntlets";
    itemDef.description = "A pair of Primal gauntlets".getBytes();
    break;
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  3. #3  
    Registered Member waempie's Avatar
    Join Date
    Jul 2013
    Posts
    252
    Thanks given
    20
    Thanks received
    15
    Rep Power
    0
    Quote Originally Posted by mr chakito View Post
    here you go mate,I'll give you the program later,until I can find the link for it
    If you get errors,just read the errors compiler and see what needs to be changed a bit.Could be simple Capitalization,etc. Also if it gives error for rotation2 and 1 change "2" to "X and "1" to "Y".
    and for "itemDef.description = "Its a Primal kiteshield".getBytes();" Just delete the ".getBytes()" part.And anything else just delete if you get errors on them,otherwise it's gotta do something with capitalization.
    Code:
     case 18395:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 55991;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 2434;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 458;
    itemDef.modelOffset1 = -3;
    itemDef.anInt165 = 55991;
    itemDef.anInt174 = 54253; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal kiteshield";
    itemDef.description = "Its a Primal kiteshield".getBytes();
    break;
    case 18393:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56515;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1447;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 485;
    itemDef.modelOffset1 = 0;
    itemDef.anInt165 = 55851;
    itemDef.anInt174 = 54126; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal platebody";
    itemDef.description = "Its a Primal platebody".getBytes();
    break;
    case 18391:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56046;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1776;
    itemDef.modelRotation2 = 1576;
    itemDef.modelRotation1 = 1589;
    itemDef.modelOffset1 = -1;
    itemDef.anInt165 = 56046;
    itemDef.anInt174 = 54373; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal 2h sword";
    itemDef.description = "Its a Primal 2h sword".getBytes();
    break;
    case 18389:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56434;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 921;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 121;
    itemDef.modelOffset1 = 0;
    itemDef.anInt165 = 55770;
    itemDef.anInt174 = 54164; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal full helm";
    itemDef.description = "Its a Primal full helm".getBytes();
    break;
    case 18387:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56478;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1730;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 525;
    itemDef.modelOffset1 = 7;
    itemDef.anInt165 = 55815;
    itemDef.anInt174 = 54175; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal platelegs";
    itemDef.description = "It are Primal platelegs".getBytes();
    break;
    case 18385:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56460;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 1711;
    itemDef.modelRotation2 = 0;
    itemDef.modelRotation1 = 488;
    itemDef.modelOffset1 = -1;
    itemDef.anInt165 = 55804;
    itemDef.anInt174 = 54068; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal plateskirt";
    itemDef.description = "A Primal plateskirt".getBytes();
    break;
    case 18383:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56353;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 789;
    itemDef.modelRotation2 = 156;
    itemDef.modelRotation1 = 164;
    itemDef.modelOffset1 = 0;
    itemDef.anInt165 = 55673;
    itemDef.anInt174 = 54062; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal boots";
    itemDef.description = "A pair of Primal boots".getBytes();
    break;
    case 18381:
    itemDef.actions = new String[5];
    itemDef.actions[1] = "Wield";
    itemDef.anInt188 = -1;
    itemDef.anInt200 = 56417;
    itemDef.modelOffset2 = 0;
    itemDef.modelZoom = 930;
    itemDef.modelRotation2 = 828;
    itemDef.modelRotation1 = 420;
    itemDef.modelOffset1 = 3;
    itemDef.anInt165 = 55728;
    itemDef.anInt174 = 54037; 
    itemDef.anInt164 = -1;
    itemDef.name = "Primal gauntlets";
    itemDef.description = "A pair of Primal gauntlets".getBytes();
    break;
    you should pm me up too learn me working with ints. Client-sided I dont have many experience!
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Nov 2013
    Posts
    7
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    Server or client. Ints are ints.
    And your client is refactored, while the models are based on non-refactored.
    Reply With Quote  
     

  5. #5  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    26
    Posts
    487
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by waempie View Post
    you should pm me up too learn me working with ints. Client-sided I dont have many experience!
    Haha alright,but too lazy to pm you,here's a quick download for the int renamer,leave a thanks

    Download Int.namer.zip @ UppIT

    I too have problems with client-sided,but that's only interfaces,still trying to get the hang of it.Difficult for me still
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member waempie's Avatar
    Join Date
    Jul 2013
    Posts
    252
    Thanks given
    20
    Thanks received
    15
    Rep Power
    0
    Quote Originally Posted by mr chakito View Post
    Haha alright,but too lazy to pm you,here's a quick download for the int renamer,leave a thanks

    Download Int.namer.zip @ UppIT

    I too have problems with client-sided,but that's only interfaces,still trying to get the hang of it.Difficult for me still
    thanks! very friendly, thanked
    Reply With Quote  
     

  8. #7  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    Why do you people insist on calling these ints, they clearly are NOT all ints... Anyway, you just have to look through the class and compare with your fields.
    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. Replies: 1
    Last Post: 04-06-2011, 02:22 AM
  2. [Dspk] Converting Int's need help
    By Zerk3r in forum Help
    Replies: 0
    Last Post: 03-22-2011, 05:03 PM
  3. converting ints.
    By jessie thompson in forum Help
    Replies: 1
    Last Post: 12-12-2010, 02:55 AM
  4. converting ints.
    By jessie thompson in forum Help
    Replies: 7
    Last Post: 11-30-2010, 01:30 PM
  5. Converting int's to renamed.
    By The Situationist in forum Models
    Replies: 25
    Last Post: 08-19-2010, 09:04 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
  •