Thread: How to get the numbers for item coloring - The easy way :)

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 How to get the numbers for item coloring - The easy way :) 
    Registered Member

    Join Date
    Sep 2006
    Age
    28
    Posts
    623
    Thanks given
    2
    Thanks received
    2
    Rep Power
    156
    Hey. I got fed up of making up things for item coloring but using this it takes a couple of minutes to change about 5 items

    Code:
    			case 1053:
    System.out.println("case "+i+":");
    	System.out.println("itemDef.actions = new String[5];");
    	System.out.println("itemDef.actions[1] = \"Wear\";");
    	System.out.println("itemDef.modifiedModelColors = new int [1];");
            System.out.println("itemDef.originalModelColors = new int [1];");
          //Purple: 926-127
    	System.out.println("itemDef.modifiedModelColors[0] = "+itemDef.modifiedModelColors[0]+";");
            System.out.println("itemDef.originalModelColors[0] = "+itemDef.originalModelColors[0]+";");
    	System.out.println("itemDef.modelID = "+itemDef.modelID+";//Item Look");
    	System.out.println("itemDef.modelZoom = "+itemDef.modelZoom+";");
    	System.out.println("itemDef.modelRotation1 = "+itemDef.modelRotation1+";");
    	System.out.println("itemDef.modelRotation2 = "+itemDef.modelRotation2+";");
    	System.out.println("itemDef.anInt204 = "+itemDef.anInt204+";");
            System.out.println("itemDef.modelOffset1 = "+itemDef.modelOffset1+";");
            System.out.println("itemDef.modelOffset2 = "+itemDef.modelOffset2+";");
            System.out.println("itemDef.anInt165 = "+itemDef.anInt165+";");
    	System.out.println("itemDef.anInt200 = "+itemDef.anInt200+";");
    	System.out.println("itemDef.anInt175 = "+itemDef.anInt175+";");
    	System.out.println("itemDef.anInt197 = "+itemDef.anInt197+";");
    	System.out.println("itemDef.name = \""+itemDef.name+"\";");
    	System.out.println("itemDef.description = \""+itemDef.description[0]+"\".getBytes();");
    	System.out.println("break;");
    			break;
    That is if you have used a switch otherwise use this:

    Code:
    	if(i == 1053) {
    System.out.println("if(i == "+i+") {");
    	System.out.println("itemDef.actions = new String[5];");
    	System.out.println("itemDef.actions[1] = \"Wear\";");
    	System.out.println("itemDef.modifiedModelColors = new int [1];");
            System.out.println("itemDef.originalModelColors = new int [1];");
          //Purple: 926-127
    	System.out.println("itemDef.modifiedModelColors[0] = "+itemDef.modifiedModelColors[0]+";");
            System.out.println("itemDef.originalModelColors[0] = "+itemDef.originalModelColors[0]+";");
    	System.out.println("itemDef.modelID = "+itemDef.modelID+";//Item Look");
    	System.out.println("itemDef.modelZoom = "+itemDef.modelZoom+";");
    	System.out.println("itemDef.modelRotation1 = "+itemDef.modelRotation1+";");
    	System.out.println("itemDef.modelRotation2 = "+itemDef.modelRotation2+";");
    	System.out.println("itemDef.anInt204 = "+itemDef.anInt204+";");
            System.out.println("itemDef.modelOffset1 = "+itemDef.modelOffset1+";");
            System.out.println("itemDef.modelOffset2 = "+itemDef.modelOffset2+";");
            System.out.println("itemDef.anInt165 = "+itemDef.anInt165+";");
    	System.out.println("itemDef.anInt200 = "+itemDef.anInt200+";");
    	System.out.println("itemDef.anInt175 = "+itemDef.anInt175+";");
    	System.out.println("itemDef.anInt197 = "+itemDef.anInt197+";");
    	System.out.println("itemDef.name = \""+itemDef.name+"\";");
    	System.out.println("itemDef.description = \""+itemDef.description[0]+"\".getBytes();");
    	System.out.println("}");
    			}

    You can then copy and paste what is outputted in the bat file and change the item colour and what the item id Please Note: This does not get the description yet!

    Rep++ is appreciated Enjoy!
    I'm back
    Reply With Quote  
     

  2. #2  
    Project No*

    Join Date
    Aug 2007
    Age
    28
    Posts
    375
    Thanks given
    0
    Thanks received
    0
    Rep Power
    25
    this works but it wont colour every single part like on a plate body just does the body not the arms
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Sep 2006
    Age
    28
    Posts
    623
    Thanks given
    2
    Thanks received
    2
    Rep Power
    156
    Do you know how to fix that then? I have been trying to work it out myself
    I'm back
    Reply With Quote  
     

  4. #4  
    Project No*

    Join Date
    Aug 2007
    Age
    28
    Posts
    375
    Thanks given
    0
    Thanks received
    0
    Rep Power
    25
    not yet mate still tryin 2 aswell, u have msn if so plz pm me it we can help each other
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2006
    Age
    28
    Posts
    623
    Thanks given
    2
    Thanks received
    2
    Rep Power
    156
    [Only registered and activated users can see links. ] - Add me
    I'm back
    Reply With Quote  
     

  6. #6  
    Project No*

    Join Date
    Aug 2007
    Age
    28
    Posts
    375
    Thanks given
    0
    Thanks received
    0
    Rep Power
    25
    added dude
    Reply With Quote  
     

  7. #7  
    Scottyz
    Guest
    I was gonna do this yesterday I was just to lazy

    Also if you can make a one for unrenamed client I'll rep you
    Reply With Quote  
     

  8. #8  
    The Stygian Empire


    Join Date
    Nov 2006
    Age
    29
    Posts
    466
    Thanks given
    1
    Thanks received
    0
    Rep Power
    152
    wtf i do now????

    Code:
    Class8.java:235: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modifiedModelColors[0] = "+itemDef.modifiedM
    odelColors[0]+";");
                                                                   ^
    Class8.java:236: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.originalModelColors[0] = "+itemDef.originalM
    odelColors[0]+";");
                                                                   ^
    Class8.java:237: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelID = "+itemDef.modelID+";//Item Look");
    
                                                    ^
    Class8.java:238: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelZoom = "+itemDef.modelZoom+";");
                                                      ^
    Class8.java:239: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelRotation1 = "+itemDef.modelRotation1+";
    ");
                                                           ^
    Class8.java:240: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelRotation2 = "+itemDef.modelRotation2+";
    ");
                                                           ^
    Class8.java:241: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt204 = "+itemDef.anInt204+";");
                                                     ^
    Class8.java:242: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelOffset1 = "+itemDef.modelOffset1+";");
                                                         ^
    Class8.java:243: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelOffset2 = "+itemDef.modelOffset2+";");
                                                         ^
    Class8.java:244: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt165 = "+itemDef.anInt165+";");
                                                     ^
    Class8.java:245: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt200 = "+itemDef.anInt200+";");
                                                     ^
    Class8.java:246: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt175 = "+itemDef.anInt175+";");
                                                     ^
    Class8.java:247: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt197 = "+itemDef.anInt197+";");
                                                     ^
    Class8.java:248: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.name = \""+itemDef.name+"\";");
                                                   ^
    Class8.java:249: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.description = \""+itemDef.description[0]+"\"
    .getBytes();");
                                                          ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    15 errors
    Press any key to continue . . .
    Reply With Quote  
     

  9. #9  
    Registered Member Codyd536's Avatar
    Join Date
    Jul 2006
    Posts
    126
    Thanks given
    1
    Thanks received
    0
    Rep Power
    1
    Whats the difference between mine and yours?
    Reply With Quote  
     

  10. #10  
    Member Market Banned Market Banned

    Zee Best's Avatar
    Join Date
    Feb 2007
    Age
    29
    Posts
    3,036
    Thanks given
    24
    Thanks received
    210
    Rep Power
    1171
    Quote Originally Posted by 555wetip1 View Post
    wtf i do now????

    Code:
    Class8.java:235: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modifiedModelColors[0] = "+itemDef.modifiedM
    odelColors[0]+";");
                                                                   ^
    Class8.java:236: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.originalModelColors[0] = "+itemDef.originalM
    odelColors[0]+";");
                                                                   ^
    Class8.java:237: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelID = "+itemDef.modelID+";//Item Look");
    
                                                    ^
    Class8.java:238: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelZoom = "+itemDef.modelZoom+";");
                                                      ^
    Class8.java:239: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelRotation1 = "+itemDef.modelRotation1+";
    ");
                                                           ^
    Class8.java:240: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelRotation2 = "+itemDef.modelRotation2+";
    ");
                                                           ^
    Class8.java:241: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt204 = "+itemDef.anInt204+";");
                                                     ^
    Class8.java:242: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelOffset1 = "+itemDef.modelOffset1+";");
                                                         ^
    Class8.java:243: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.modelOffset2 = "+itemDef.modelOffset2+";");
                                                         ^
    Class8.java:244: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt165 = "+itemDef.anInt165+";");
                                                     ^
    Class8.java:245: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt200 = "+itemDef.anInt200+";");
                                                     ^
    Class8.java:246: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt175 = "+itemDef.anInt175+";");
                                                     ^
    Class8.java:247: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.anInt197 = "+itemDef.anInt197+";");
                                                     ^
    Class8.java:248: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.name = \""+itemDef.name+"\";");
                                                   ^
    Class8.java:249: cannot find symbol
    symbol  : variable itemDef
    location: class Class8
            System.out.println("itemDef.description = \""+itemDef.description[0]+"\"
    .getBytes();");
                                                          ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    15 errors
    Press any key to continue . . .
    Make it work for un-renamed

    Its easy instead of itemdef.description use the anInt#### (the one for discription) and so on


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. item re-coloring
    By kopjekoffiee in forum Help
    Replies: 5
    Last Post: 01-25-2011, 08:40 PM
  2. Replies: 42
    Last Post: 01-05-2009, 01:31 AM
  3. Item Options (Numbers)
    By ViperSniper in forum Configuration
    Replies: 7
    Last Post: 04-09-2008, 01:17 AM
  4. sila item id numbers
    By sector98 in forum Tools
    Replies: 5
    Last Post: 01-06-2008, 11:13 PM
  5. How to get the numbers you need for item coloring
    By Codyd536 in forum Tutorials
    Replies: 24
    Last Post: 09-15-2007, 04:32 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
  •