Thread: [tut]how to change home area[tut]

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 [tut]how to change home area[tut] 
    Registered Member owner range's Avatar
    Join Date
    Aug 2008
    Age
    28
    Posts
    256
    Thanks given
    0
    Thanks received
    2
    Rep Power
    23
    in this guide u will learn how to change home area starting area.
    please no flaming this is 100% by me i do not leech and if this helped you post please i will remove if theres no posts

    step 1 (this is to change your home)
    open up ur client.java files (this will be in a text format)
    search for home ctrl+f until u reach somthing that looks like this
    Code:
    else if (command.equalsIgnoreCase("home"))
    	{
    if(teleblock == true){
    sendMessage("A magical force stops you from teleporting."); //made by Musicmad441
    }
    else
    {
    		teleportToX = 3096;
    		teleportToY = 3495;
    	sendMessage("You teleport to Home.");
    }
    notice teleportTox = 3096; 3096 is the x coordinates and teleportToy = 3495; to change the home just change 3096 to the x coordinates u want ur home to be and the 3495 the y coordinates u want for your home

    you can also change what it says when u tele to home by changing the "you teleport home." to watever you want it to say.

    if u only wanted to change the home then close the file and go to save and then turn off ur server and compile it (using ur compiler)

    step 2 (this will be were the starting place of all of the characters.)

    ok open up ur player.java (player) in your files
    and search for initial until u get to somthing like this
    Code:
    // initial x and y coordinates of the player
    		heightLevel = 0;
    		// the first call to updateThisPlayerMovement() will craft the proper initialization packet
    		teleportToX = 3095;
    		teleportToY = 3496;
    u can change the coord's by change the teleporttox = x coords to the x cordinates were u want ur player to start off at and teleporttoy = y coords switch em with the y coord's you want the player to start off at

    now close your file and save then compile your server and ur coords will be changed

    if u looked at this then post and if it helped you then rep ++ me
    Project Vitality V1
    | | | | | | | | | | |
    20% Complete

    - Rep 4 Rep -
    Reply With Quote  
     

  2. #2  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    This isn't a tutorial... This is barely configuration. No offense, but this doesn't deserve reputation either. It's just so simple.

    Moved to Configuration.


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  3. #3  
    Registered Member owner range's Avatar
    Join Date
    Aug 2008
    Age
    28
    Posts
    256
    Thanks given
    0
    Thanks received
    2
    Rep Power
    23
    runite im sorry i posted this to help people who asked i kno i didnt put much effort into it but was it nessasary to just dog me like that basically saying im no good
    Project Vitality V1
    | | | | | | | | | | |
    20% Complete

    - Rep 4 Rep -
    Reply With Quote  
     

  4. #4  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    I moved your topic to a different section.


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  5. #5  
    Human

    Only's Avatar
    Join Date
    Aug 2008
    Posts
    1,108
    Thanks given
    1
    Thanks received
    18
    Rep Power
    116
    Owner range once again, you posted a similar too mine, this is really too basic too deserve +rep and You didnt even use the Tutorial Template, so it looks all messy and stuff. Try to make more order into your tuts and post something that peoples dont already know or have forgot and new peoples etc.
    Reply With Quote  
     

  6. #6  
    Registered Member owner range's Avatar
    Join Date
    Aug 2008
    Age
    28
    Posts
    256
    Thanks given
    0
    Thanks received
    2
    Rep Power
    23
    dude wtf u it ant nothing like urs so gtfo im just making wut people requested me to make for them
    Project Vitality V1
    | | | | | | | | | | |
    20% Complete

    - Rep 4 Rep -
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Aug 2008
    Posts
    1,171
    Thanks given
    21
    Thanks received
    44
    Rep Power
    0
    You said the would change your spawning area, it doesnt because you havnt changed your applydead() method
    Oh and im laughing at your siggy so hard lol
    Reply With Quote  
     

  8. #8  
    Registered Member owner range's Avatar
    Join Date
    Aug 2008
    Age
    28
    Posts
    256
    Thanks given
    0
    Thanks received
    2
    Rep Power
    23
    it dont say spawning area look at the post again 0.0
    Project Vitality V1
    | | | | | | | | | | |
    20% Complete

    - Rep 4 Rep -
    Reply With Quote  
     

  9. #9  
    i tank
    Guest
    Wow, That's rude runite. It will help beginner coders alot. Good job owner.
    Reply With Quote  
     

  10. #10  
    Registered Member owner range's Avatar
    Join Date
    Aug 2008
    Age
    28
    Posts
    256
    Thanks given
    0
    Thanks received
    2
    Rep Power
    23
    yeh i agree that its rude
    Project Vitality V1
    | | | | | | | | | | |
    20% Complete

    - Rep 4 Rep -
    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

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