Thread: Make some design screens work.

Results 1 to 7 of 7
  1. #1 Make some design screens work. 
    ~Legend Rene
    Guest
    Purpose : to teach you a little bit on how to make interfaces work.

    Difficulty : 0/10 if you cant read please leave now.

    Server base : Scratch

    Credits : nobody since this is way too simple. or else it would be me

    Step 1 : Add this command

    Code:
    		 else if (command.startsWith("pclegs"))
                      {
    			int pleg = Integer.parseInt(command.substring(10));
    			pCLegs = pleg;
                   }
    You might have to change this command several times to figure out all styles , this is how they should be used
    pCBeard = pCBeard
    pCTorso = pCTorso;
    pCArms = pCArms;
    pCHands = pCHands;
    pCLegs = pCLegs;
    pCFeet = pCFeet;
    Now in game you would have to type :chead ## then your head should change to the style belonging to that id.
    With this command you can figure out all leg styles now we're going to use this to make Tessalias Leg shop working wich is interface 0 , so make it when you talk to tessalia interface pops up.

    would be packet npc click 1 :
    Code:
    if(NPCID == ##) { // enter tessalias id
    showInterface(0);
    }
    And in packet clicking most buttons add :

    Code:
    case 130://plain trousers standard
    pCLegs = ##;
    break;
    case 131://shorts standard
    pCLegs = ##;
    break;
    case 132://flares standard
    pCLegs = ##;
    break;
    case 133://turn ups standard
    pCLegs = ##;
    break;
    That is for clicking 1 of the 4 legs in the interface you will need the leg IDs for them ofcourse

    also add:
    Code:
    case 92://kaki
    pCLegs = ##;
    break;
    case 93://black
    pCLegs = ##;
    break;
    case 94://crimson
    pCLegs = ##;
    break;
    case 95://navy
    pCLegs = ##;
    break;
    case 96://straw
    pCLegs = ##;
    break;
    case 97://white
    pCLegs = ##;
    break;
    case 98://red
    pCLegs = ##;
    break;
    case 99://blue
    pCLegs = ##;
    break;
    case 100://green
    pCLegs = ##;
    break;
    case 101://yellow
    pCLegs = ##;
    break;
    case 102://purple
    pCLegs = ##;
    break;
    case 103://orange
    pCLegs = ##;
    break;
    case 104://rose
    pCLegs = ##;
    break;
    case 105://lime
    pCLegs = ##;
    break;
    case 106://cyan
    pCLegs = ##;
    break;
    case 107://emerald
    pCLegs = ##;
    break;
    Those are the colours.
    Now this isnt very well explained I know , but you should be able to work your way out as I gave you the button ids and the start.
     

  2. #2  
    Registered Member
    Join Date
    Jul 2007
    Posts
    112
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    first post!

    nice tut ***++
    PSN ID: Chaseowns
    add me if you want

    A proud Donator of Rune-Server
     

  3. #3  
    Whiteyboy5
    Guest
    Well Done Legend
    And Supa, why say FIRST POST!!, its not like the topic is gonna be famous ;s
     

  4. #4  
    ~Legend Rene
    Guest
    Like all my other topics this is gone within hours. But ah well , im too bored.
     

  5. #5  
    щ з خ خ ұ
    Guest
    its not great but it is decent
     

  6. #6  
    Registered Member
    Join Date
    Jul 2007
    Posts
    112
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    idk im rly bored
    PSN ID: Chaseowns
    add me if you want

    A proud Donator of Rune-Server
     

  7. #7  
    Whiteyboy5
    Guest
    Yeah, But putting 'OMGS FIRST POST' etc, makes you look nooby.
     


Thread Information
Users Browsing this Thread

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


User Tag List

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