Thread: Christmas Event

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44
  1. #1 Christmas Event 
    The King Of Beasts
    Eleclion's Avatar
    Join Date
    Nov 2006
    Posts
    633
    Thanks given
    0
    Thanks received
    0
    Rep Power
    96
    Purpose: To add my Christmas event to your server. When you type ::christmas, you get a Santa Hat that turns you into an elf while you wear it.
    Base Server: TestScape
    Difficulty: 1
    Assumed Knowledge: Adding Commands, Finding Text, Copying & Pasting
    Credits: 100% Me (Eleclion).

    Open up client.java

    1. Find:

    Code:
    	public boolean process() {
    After, add:

    Code:
    if ((playerEquipment[playerHat] == 1050) && npcId != 1184) {
    	npcId = 1184;
    	isNpc = true;
    	sendMessage("You put on the Santa Hat...");
    	sendMessage("...and turn into an elf!");
    } else if ((playerEquipment[playerHat] != 1050) && npcId == 1184) {
    	npcId= 0;
    	isNpc = false;
    	sendMessage("You take off the Santa Hat...");
    	sendMessage("...and turn back into a human.");
    }
    2. Add this to your commands:

    Code:
    						if(command.equalsIgnoreCase("christmas")) {
    
    							addItem(1050, 1);
    					sendQuest("", 8144);
    					clearQuestInterface();
    					sendQuest("@[email protected] @[email protected]!", 8145);
    					sendQuest("", 8146);
    					sendQuest("@[email protected] this on for a suprise...", 8147);
    					sendQuest("", 8148);
    					sendQuest("@[email protected] Event", 8149);
    					sendQuest("@[email protected] (C) 2007 Eleclion. All Rights Reserved.", 8150);
    					sendQuestSomething(8134);
    					showInterface(8134);
    					flushOutStream();
    						}
    Well, enjoy!
     

  2. #2  
    +Jedi+
    Guest
    Lmao all you did is change the id of the mask and the npc from the other one xD

    Edit: Its nice and for the other one its nice too sorry for flaming
     

  3. #3  
    JavaNerd
    Guest
    Nice your a few months off though
     

  4. #4  
    Pikachu
    Guest
    Great Works ! No errors tough
     

  5. #5  
    x19
    Guest
    Mabye she released it now... so people could expand on it in time for christmas
     

  6. #6  
    ZammyPk25
    Guest
    Nice works! Could you make the picture?
     

  7. #7  
    slabbetje
    Guest
    hmm i dont like the events you just take the item, put it on and you turn into a npc
     

  8. #8  
    twostars
    Guest
    Nice.

    I've been thinking on a XMAS event that will use the Santa NPC (1552) but it still needs work & thought.
    Erm, that and I need to fix meh NPCs ._. (see the help section if you want to help lol, out of ideas).

    But yeah, the simplicity is what makes this effective.
     

  9. #9  
    Registered Member
    fabjan's Avatar
    Join Date
    Jul 2007
    Age
    28
    Posts
    552
    Thanks given
    0
    Thanks received
    0
    Rep Power
    101
    this is not like an event man
    an event has to be something party'ish
    this is just type christmas get a santa hat put it on ans whoa ur santa
    thats not an event
    events are like the halloween thing on runescape now
    you do something for like grim reaper or santa and get rewarded with something original
    whish i could rep- but i dont like those event in command form tuts at all
    sorry eleclion, continue with the tuts u made before, i used to love em
    Please vote:

    btb.servegame.com:
     

  10. #10  
    The King Of Beasts
    Eleclion's Avatar
    Join Date
    Nov 2006
    Posts
    633
    Thanks given
    0
    Thanks received
    0
    Rep Power
    96
    Note to Emo: Lol, I'm a boy xD.

    Note to fabjan: Shut up and get off my thread.
     

Page 1 of 5 123 ... 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
  •