Thread: [Galkon's Client]Add Models (Toolbar Code)[/Works With any Jframe Client]

Results 1 to 6 of 6
  1. #1 [Galkon's Client]Add Models (Toolbar Code)[/Works With any Jframe Client] 
    Registered Member Immental's Avatar
    Join Date
    Nov 2009
    Age
    29
    Posts
    88
    Thanks given
    0
    Thanks received
    4
    Rep Power
    64
    Okay so i've decided to add the "add models" command to my Galkon Client in which i am modding (with proper credits added). It's the 2008 release and i am upgrading/taking advantage of the old cache ect...

    This will be very simple to do if you follow everything i say.
    First off Find This in Client51.java or GUI.java for newer clients
    Code:
    String[] mainButtons = new String[]
    A more simple way in Galkon's Client is to Find
    Code:
    "Change Server", "Change Port"/*"Disabled"*/, "Server Status", "-", "Quit"
    Now above
    Code:
    "Change server"
    add
    Code:
    "Add Models"
    Now look for
    Code:
    if (cmd.equalsIgnoreCase
    and under any command you find add this code to it
    Code:
    if (cmd.equalsIgnoreCase("Add Models"))
    			{
    				for(int anIntX = 0; anIntX < 10500; anIntX++) {
        byte[] abyte0 = GetModel(anIntX);
         if(abyte0 != null && abyte0.length > 0){
           aClass14Array970[1].method234(abyte0.length, abyte0, (byte)2, anIntX);
           JOptionPane.showMessageDialog(frame,"Model: ["+anIntX+"] added successfully!");
    }else{
    }
    }
    Now let me explain this, i have modified the original add models command from Silent CJ's tutorial on modeling in the moparscape forums. What i have modded is the following code
    Code:
    JOptionPane.showMessageDialog(frame,"Model: ["+anIntX+"] added successfully!");
    This displays every model that is succesfully loaded (so if you do not want this then i suggest you go ahead and add a
    Code:
    //
    in front of the code
    The original code
    Code:
    method77("Model: ["+anIntX+"] added successfully!", 0, "", aBoolean991);
    is not suitable for a Jframe, and so is modded to the necessary requirements.

    Also if you wish to add it as a button i will be releasing that shortly, there are very slim differences in code. However many clients do differ from certain aspects of the code

    here is a picture of the jframe


    if you wish for more pictures please ask but i feel as if i've explained enough already
    Powerbot is where I mainly reside.
    Reply With Quote  
     

  2. #2  
    なぜこのテキストは日本語で書かれている ?

    Kenneh's Avatar
    Join Date
    Dec 2009
    Age
    30
    Posts
    2,753
    Thanks given
    63
    Thanks received
    296
    Rep Power
    478
    This isn't 2007, we don't need an "add models" command in our jframes.


    Reply With Quote  
     

  3. #3  
    Registered Member Immental's Avatar
    Join Date
    Nov 2009
    Age
    29
    Posts
    88
    Thanks given
    0
    Thanks received
    4
    Rep Power
    64
    Quote Originally Posted by Kenneh View Post
    This isn't 2007, we don't need an "add models" command in our jframes.
    eh idk, and this is just for people who don't have an automated system or rather the old model system, idk how clients are nowadays i've been stuck with rather old material due to my projects.

    btw, this is rune-server so go play with yourself while i work.
    Powerbot is where I mainly reside.
    Reply With Quote  
     

  4. #4  
    なぜこのテキストは日本語で書かれている ?

    Kenneh's Avatar
    Join Date
    Dec 2009
    Age
    30
    Posts
    2,753
    Thanks given
    63
    Thanks received
    296
    Rep Power
    478
    Quote Originally Posted by javafire View Post
    eh idk, and this is just for people who don't have an automated system or rather the old model system, idk how clients are nowadays i've been stuck with rather old material due to my projects.

    btw, this is rune-server so go play with yourself while i work.
    wat?


    Reply With Quote  
     

  5. #5  
    Client God

    Join Date
    Aug 2009
    Posts
    3,127
    Thanks given
    3
    Thanks received
    617
    Rep Power
    907
    Quote Originally Posted by javafire View Post
    eh idk, and this is just for people who don't have an automated system or rather the old model system, idk how clients are nowadays i've been stuck with rather old material due to my projects.

    btw, this is rune-server so go play with yourself while i work.
    Yea you made absolutely no since with that post rofl.
    Reply With Quote  
     

  6. #6  
    Registered Member Immental's Avatar
    Join Date
    Nov 2009
    Age
    29
    Posts
    88
    Thanks given
    0
    Thanks received
    4
    Rep Power
    64
    im not the one that didn't make sense, and since?

    if you read it maybe you'd understand.
    Powerbot is where I mainly reside.
    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. [Galkon's] Remove Toolbar
    By Sir Tom in forum Snippets
    Replies: 3
    Last Post: 12-27-2010, 06:48 PM
  2. Replies: 3
    Last Post: 01-28-2010, 11:25 AM
  3. Replies: 34
    Last Post: 02-01-2009, 02:10 PM
  4. Replies: 17
    Last Post: 05-13-2008, 11:25 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
  •