Thread: First Time Login Help (will rep++)

Results 1 to 5 of 5
  1. #1 First Time Login Help (will rep++) 
    Banned
    Join Date
    Jan 2012
    Posts
    387
    Thanks given
    28
    Thanks received
    24
    Rep Power
    0
    Hey, so basically I'm doing a tutorial island type thing on a 317 PI. (2006remake)

    What I need to know is how to make it when someone logs in for the first time they get the character creaton interface, but only for the first time. So like where would I add that and what would I type in for code?

    Also, I when they log in for the first time (only) I want to be able to do sendStatement("Welcome to 2006Scape", "Speak to the Guide to begin.")

    Thanks in advance.



    EDIT:
    This is another thing. When the player is talking to the survival guide and talking about woodcutting, I have a part that says sendStatement("The Survival Guide gives you an axe!")
    How do I make it where they actually get the axe?
    Reply With Quote  
     

  2. #2  
    Registered Member
    LunarKnight's Avatar
    Join Date
    Jan 2009
    Age
    32
    Posts
    676
    Thanks given
    7
    Thanks received
    29
    Rep Power
    87
    Not spoon-feeding this whole thing.

    c.getPA().showInterface(3559); //Change Appearance Interface
    c.canChangeAppearance = true;

    We probably don't even have the same source.

    If you have:
    Code:
    public void addStarter() {
    In PlayerAssistant.java,
    I'll show you.

    Because it goes in Client.java's:
    Code:
    public void initialize() {
    like this:
    Code:
    if (addStarter)
    getPA().addStarter();
    Nvm I still won't show you, I'm busy at the moment.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Jan 2012
    Posts
    387
    Thanks given
    28
    Thanks received
    24
    Rep Power
    0
    Quote Originally Posted by LunarKnight View Post
    Not spoon-feeding this whole thing.

    c.getPA().showInterface(3559); //Change Appearance Interface
    c.canChangeAppearance = true;

    We probably don't even have the same source.

    If you have:
    Code:
    public void addStarter() {
    In PlayerAssistant.java,
    I'll show you.
    Yes, I have that in playerassistant.java
    I have a 317 pi.
    Reply With Quote  
     

  4. #4  
    Registered Member
    LunarKnight's Avatar
    Join Date
    Jan 2009
    Age
    32
    Posts
    676
    Thanks given
    7
    Thanks received
    29
    Rep Power
    87
    Okay right under:
    public void addStarter() {
    in PlayerAssistant.java
    paste this:
    Code:
    c.sendStatement("Welcome to 2006Scape", "Speak to the Guide to begin.")
    c.getPA().showInterface(3559);
    c.canChangeAppearance = true;
    Post any errors
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2008
    Posts
    2,084
    Thanks given
    1,908
    Thanks received
    1,053
    Rep Power
    5000
    Do not bump more than once every 24 hours. This is your first and final warning.
    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. [Not worth wasting time looking]Login system
    By Apower in forum Application Development
    Replies: 6
    Last Post: 06-11-2010, 09:42 PM
  2. randrom item wen login first time
    By Vsall in forum Requests
    Replies: 4
    Last Post: 02-27-2010, 09:10 AM
  3. Replies: 21
    Last Post: 09-15-2009, 12:43 AM
  4. [First Time]Vista Background + login
    By kelvinc2 in forum Graphics
    Replies: 37
    Last Post: 05-16-2009, 11:50 PM
  5. Replies: 1
    Last Post: 07-29-2008, 08:02 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •