Thread: new party zone :p

Results 1 to 6 of 6
  1. #1 new party zone :p 
    Registered Member
    Join Date
    Feb 2013
    Posts
    79
    Thanks given
    4
    Thanks received
    1
    Rep Power
    0
    Hello, i am currently trying to make a fun party zone for a 317 rsps!
    i have some ideas but i don't know how to make the right code for it, so i need your help.

    First i tell a bit about my rsps... well its a 317 rsps but it looks like trisidiaX (IT'S NOT trisidiax) i can't tell what one it is because my friend send it to me on skype and it was unnamed.

    Now i tell about the party zone-

    Well first of all it will be a small area that you can tele too, when you in that area you have a choice of anycolor party hat but when you tele out of that zone you party hat disappears.
    Then it's an easy part ... making a box that u can put items and they randomly drop (in that area)
    But for the box i tryied to make it too but it seems to have lotes and lotes of bugs, can anyone give me a good guide or tell me how to make it if they did it b4

    But the hard part is about party hat ....

    Plz dont tell me that this would be hard or i never be able to make it.
    Im a pretty good at coding and i tried to make it myself (but it failed)
    and then i tried to use clan wars guide ( bit where you choose your cape color ) and it failed too
    So now i'm here asking for your help.

    Thank you!
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    May 2012
    Age
    28
    Posts
    1,548
    Thanks given
    415
    Thanks received
    231
    Rep Power
    81
    If you're pretty good at coding/editing/c+p, you should be able to figure it out. Theres a snippet on Party room i think, or you can rip it from another source.
    Inactive.


    Spoiler for FirstDesign:
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2013
    Posts
    79
    Thanks given
    4
    Thanks received
    1
    Rep Power
    0
    well yes i can rip it out of another source but i dont know a source where you can choose a party hat... and if you tele out party hat disappears
    Reply With Quote  
     

  4. #4  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    For the choice of partyhats, just make a dialogue from an NPC or an object that you click and asks what colour they want.

    Then for removing the partyhat. Using the above code, just have it give an int that set to your character file to know which phat they took (eg 1 = green, 2 = red)
    Then have a check for if there in that area, keep the phat, and if there not and they have that int = 0 and remove the phat.

    That's probably the easiest way of doing it, though giving out any partyhats or rares at all is risky, and people will always find ways of taking it out. I would not recommend this idea at all, but if it's really what your looking for.
    Reply With Quote  
     

  5. #5  
    Registered Member Kristjan's Avatar
    Join Date
    Apr 2009
    Posts
    1,578
    Thanks given
    709
    Thanks received
    189
    Rep Power
    588
    Everything is easy to make...with some common sense you can find everything you need on rune-server.
    Spoiler for Signature:
    Previously known as: 508gu
    Quote Originally Posted by SamSoft View Post
    Vouch for Korra Legit, First pin Sold So now the 9m is off the table.
    Quote Originally Posted by Zoltz View Post
    vouch, quick trade very smooth will trade w/ again.
    Quote Originally Posted by Bundy View Post
    Very Legit Seller, Bought 170k Already, Still Buying More Of Him, Cheap Prices!
    Quote Originally Posted by Bundy View Post
    Vouch, Very Good Guy, Purchased Again !
    Quote Originally Posted by eduber1 View Post
    vouch service went fast and smoothly
    Quote Originally Posted by Jinrake View Post
    vouch bru
    Reply With Quote  
     

  6. #6  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    for the teleporting part, you can just add a check to see if they have a party hat in their inventory or not. if they're wearing a party hat or not and if they are, it'd get removed. ill give you an example for the yellow party hat.

    add that check to your startTeleport() in playerassistants

    Code:
    		if (c.inPartyZone()) {
    			if(c.getItems().playerHasItem(1040)) {
    				c.getItems().deleteItem(1040, 28);
    			} else if (c.playerEquipment[Player.playerHat] == 1040) {
    				c.playerEquipment[Player.playerHat] = -1;
    			}
    		}
    Code:
    		if (c.inPartyZone()) {
    
    		}
    is checking if the players in that area

    Code:
    			if(c.getItems().playerHasItem(1040)) {
    				c.getItems().deleteItem(1040, 28);
    			}
    is checking if the player has item id 1040 (yellow phat) in their inventory, if they have it in their inventory, it'll delete up to 28 of them.

    Code:
     else if (c.playerEquipment[Player.playerHat] == 1040) {
    				c.playerEquipment[Player.playerHat] = -1;
    			}
    this checks to see if they're wearing the item id of 1040 in their hat slot, if they are, it'll remove whatever is in their hat slot.
    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. Replies: 3
    Last Post: 02-13-2012, 12:14 PM
  2. Replies: 3
    Last Post: 12-30-2009, 11:55 PM
  3. New years party music required
    By Mint in forum Music
    Replies: 2
    Last Post: 12-06-2009, 07:25 PM
  4. Forum-zone New Name Request
    By PrataKosong in forum Usernames
    Replies: 1
    Last Post: 07-22-2009, 03:08 PM
  5. [New] Safe zones tutorial
    By twostars in forum Tutorials
    Replies: 39
    Last Post: 08-08-2008, 09:17 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
  •