Thread: [Vencillio] Mac dialogues

Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34
  1. #11  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Did you guys even look at creation date: 06-20-2016
    Reply With Quote  
     

  2. Thankful users:


  3. #12  
    Donator

    i dds you's Avatar
    Join Date
    Jun 2013
    Posts
    831
    Thanks given
    678
    Thanks received
    160
    Rep Power
    92
    Quote Originally Posted by OsFury View Post
    He most likely did, his last snippet he posted was ripped from dark asylum item ids/timers/entire thing was copy and pasted
    Mad lmao!! i'm sure it helps some ppl but jesus lololol

    Quote Originally Posted by _Patrick_ View Post
    Did you guys even look at creation date: 06-20-2016
    someone else already bumped it so it came up in "what's new?"

    EDIT:

    lol'd at how similar it really is soz for calling it out but ya

    Code:
    package com.mayhem.rs2.content.dialogue.impl;
    
    import com.mayhem.rs2.content.dialogue.Dialogue;
    import com.mayhem.rs2.content.dialogue.DialogueConstants;
    import com.mayhem.rs2.content.dialogue.DialogueManager;
    import com.mayhem.rs2.content.dialogue.Emotion;
    import com.mayhem.rs2.entity.player.Player;
    import com.mayhem.rs2.entity.player.net.out.impl.SendMessage;
    import com.mayhem.rs2.entity.player.net.out.impl.SendRemoveInterfaces;
    
    /**
     * 
     * @author Faz
     *
     */
    public class MacDialogue extends Dialogue {
    
    	public MacDialogue(Player player) {
    	this.player = player;
    	}
    
    	public final int MAX_CAPE_ID = 13280;
    	public final int MAX_HOOD_ID = 13281;
    
    	@Override
    	public boolean clickButton(int id) {
    	switch (id) {
    	case DialogueConstants.OPTIONS_4_1:
    		player.send(new SendRemoveInterfaces());
    		setNext(3);
    		execute();
    		break;
    	case DialogueConstants.OPTIONS_4_2:
    		setNext(6);
    		execute();
    		break;
    	case DialogueConstants.OPTIONS_4_3:
    		setNext(16);
    		execute();
    		break;
    
    	case DialogueConstants.OPTIONS_4_4:
    		player.send(new SendRemoveInterfaces());
    		break;
    
    	case DialogueConstants.OPTIONS_2_1:
    		
    		if (player.getSkill().getTotalLevel() != 2080) {
    			DialogueManager.sendNpcChat(player, 6481, Emotion.DEFAULT, "You don't have the requirements to buy this item!");
    			end();
    			return false;
    		}
    		if (!player.getInventory().hasItemAmount(995, 20_000_000)) {
    			DialogueManager.sendNpcChat(player, 6481, Emotion.DEFAULT, "You do not have enough money to buy the cape");
    			end();
    			return false;
    		}
    
    		
    		player.getInventory().remove(995, 20_000_000);
    		player.getInventory().add(MAX_CAPE_ID, 1);
    		player.getInventory().add(MAX_HOOD_ID, 1);
    		player.send(new SendRemoveInterfaces());
    		break;
    
    	case DialogueConstants.OPTIONS_2_2:
    		player.send(new SendRemoveInterfaces());
    		break;
    
    	}
    
    	return false;
    	}
    
    	@Override
    	public void execute() {
    	switch (next) {
    	case 0:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Hello");
    		next++;
    		break;
    	case 1:
    		DialogueManager.sendStatement(player, new String[] { "The man glances at you and grunts something unintelligent" });
    		next++;
    		break;
    	case 2:
    		DialogueManager.sendOption(player, "Who are you?", "What do you have in your sack?", "Why are you so dirty?", "Bye.");
    		break;
    	case 3:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Who are you?");
    		next++;
    		break;
    	case 4:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.ANGRY_1, "Mac. What's it to you?");
    		next++;
    		break;
    	case 5:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Only trying to be friendly.");
    		setNext(2);
    		break;
    	case 6:	
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "What do you have in your sack?");
    		next++;
    		break;
    	case 7:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.CALM, "S'me cape.");
    		next++;
    		break;
    	case 8:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Your cape?");
    		next++;
    		break;
    	case 9:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Can I have it?");
    		next++;
    		break;
    	case 10:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.CALM, "Mebe");
    		next++;
    		break;
    	case 11:
    		DialogueManager.sendPlayerChat(player, Emotion.HAPPY, "I'm sure I could make it worth your while.");
    		next++;
    		break;
    	case 12:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.HAPPY, "How much?");
    		next++;
    		break;
    	case 13:
    		DialogueManager.sendPlayerChat(player, Emotion.HAPPY, "How about 20000000 gold?");
    		next++;
    		break;
    	case 14:
    		DialogueManager.sendOption(player, "Yes, pay the man.", "No");
    		break;
    	case 15:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Why are you so dirty?");
    		next++;
    		break;
    	case 16:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.CALM, "Bath XP waste.");
    		setNext(2);
    		break;
    
    	}
    
    	}
    
    	private static final int[][] MAXCAPE_ITEM_IDS = { { 13280, 13281, 6570, 13329, 13330 }, { 13280, 13281, 2412, 13331, 13332 }, { 13280, 13281, 2414, 13333, 13334 }, { 13280, 13281, 2413, 13335, 13336 }, { 13280, 13281, 10499, 13337, 13338 } };
    
    	public static void maxCapeCombining(Player client, int itemUsed, int useWith) {
    	for (int m = 0; m < MAXCAPE_ITEM_IDS.length; m++) {
    		if (itemUsed == MAXCAPE_ITEM_IDS[m][0] && useWith == MAXCAPE_ITEM_IDS[m][2] || itemUsed == MAXCAPE_ITEM_IDS[m][1] && useWith == MAXCAPE_ITEM_IDS[m][2] || itemUsed == MAXCAPE_ITEM_IDS[m][2] && useWith == MAXCAPE_ITEM_IDS[m][0] || itemUsed == MAXCAPE_ITEM_IDS[m][2] && useWith == MAXCAPE_ITEM_IDS[m][1]) {
    			if (!client.getInventory().hasItemAmount(MAXCAPE_ITEM_IDS[m][0], 1) || !client.getInventory().hasItemAmount(MAXCAPE_ITEM_IDS[m][1], 1) || !client.getInventory().hasItemAmount(MAXCAPE_ITEM_IDS[m][2], 1)) {
    				client.getClient().queueOutgoingPacket(new SendMessage("Make sure you have both 'Max cape' and 'Max hood' in your inventory."));
    				return;
    			}
    			int item3 = MAXCAPE_ITEM_IDS[m][0];
    			int item4 = MAXCAPE_ITEM_IDS[m][1];
    			int item5 = MAXCAPE_ITEM_IDS[m][2];
    			client.getInventory().remove(item3, client.getInventory().getItemSlot(item3));
    			client.getInventory().remove(item4, client.getInventory().getItemSlot(item4));
    			client.getInventory().remove(item5, client.getInventory().getItemSlot(item5));
    			int item6 = MAXCAPE_ITEM_IDS[m][3];
    			int item7 = MAXCAPE_ITEM_IDS[m][4];
    			client.getInventory().add(item6, 1);
    			client.getInventory().add(item7, 1);
    			return;
    		}
    	}
    	}
    }

    Reply With Quote  
     

  4. #13  
    Banned
    Join Date
    Apr 2016
    Posts
    357
    Thanks given
    65
    Thanks received
    16
    Rep Power
    0
    Quote Originally Posted by i dds you View Post
    Mad lmao!! i'm sure it helps some ppl but jesus lololol



    someone else already bumped it so it came up in "what's new?"

    EDIT:

    lol'd at how similar it really is soz for calling it out but ya

    Code:
    package com.mayhem.rs2.content.dialogue.impl;
    
    import com.mayhem.rs2.content.dialogue.Dialogue;
    import com.mayhem.rs2.content.dialogue.DialogueConstants;
    import com.mayhem.rs2.content.dialogue.DialogueManager;
    import com.mayhem.rs2.content.dialogue.Emotion;
    import com.mayhem.rs2.entity.player.Player;
    import com.mayhem.rs2.entity.player.net.out.impl.SendMessage;
    import com.mayhem.rs2.entity.player.net.out.impl.SendRemoveInterfaces;
    
    /**
     * 
     * @author Faz
     *
     */
    public class MacDialogue extends Dialogue {
    
    	public MacDialogue(Player player) {
    	this.player = player;
    	}
    
    	public final int MAX_CAPE_ID = 13280;
    	public final int MAX_HOOD_ID = 13281;
    
    	@Override
    	public boolean clickButton(int id) {
    	switch (id) {
    	case DialogueConstants.OPTIONS_4_1:
    		player.send(new SendRemoveInterfaces());
    		setNext(3);
    		execute();
    		break;
    	case DialogueConstants.OPTIONS_4_2:
    		setNext(6);
    		execute();
    		break;
    	case DialogueConstants.OPTIONS_4_3:
    		setNext(16);
    		execute();
    		break;
    
    	case DialogueConstants.OPTIONS_4_4:
    		player.send(new SendRemoveInterfaces());
    		break;
    
    	case DialogueConstants.OPTIONS_2_1:
    		
    		if (player.getSkill().getTotalLevel() != 2080) {
    			DialogueManager.sendNpcChat(player, 6481, Emotion.DEFAULT, "You don't have the requirements to buy this item!");
    			end();
    			return false;
    		}
    		if (!player.getInventory().hasItemAmount(995, 20_000_000)) {
    			DialogueManager.sendNpcChat(player, 6481, Emotion.DEFAULT, "You do not have enough money to buy the cape");
    			end();
    			return false;
    		}
    
    		
    		player.getInventory().remove(995, 20_000_000);
    		player.getInventory().add(MAX_CAPE_ID, 1);
    		player.getInventory().add(MAX_HOOD_ID, 1);
    		player.send(new SendRemoveInterfaces());
    		break;
    
    	case DialogueConstants.OPTIONS_2_2:
    		player.send(new SendRemoveInterfaces());
    		break;
    
    	}
    
    	return false;
    	}
    
    	@Override
    	public void execute() {
    	switch (next) {
    	case 0:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Hello");
    		next++;
    		break;
    	case 1:
    		DialogueManager.sendStatement(player, new String[] { "The man glances at you and grunts something unintelligent" });
    		next++;
    		break;
    	case 2:
    		DialogueManager.sendOption(player, "Who are you?", "What do you have in your sack?", "Why are you so dirty?", "Bye.");
    		break;
    	case 3:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Who are you?");
    		next++;
    		break;
    	case 4:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.ANGRY_1, "Mac. What's it to you?");
    		next++;
    		break;
    	case 5:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Only trying to be friendly.");
    		setNext(2);
    		break;
    	case 6:	
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "What do you have in your sack?");
    		next++;
    		break;
    	case 7:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.CALM, "S'me cape.");
    		next++;
    		break;
    	case 8:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Your cape?");
    		next++;
    		break;
    	case 9:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Can I have it?");
    		next++;
    		break;
    	case 10:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.CALM, "Mebe");
    		next++;
    		break;
    	case 11:
    		DialogueManager.sendPlayerChat(player, Emotion.HAPPY, "I'm sure I could make it worth your while.");
    		next++;
    		break;
    	case 12:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.HAPPY, "How much?");
    		next++;
    		break;
    	case 13:
    		DialogueManager.sendPlayerChat(player, Emotion.HAPPY, "How about 20000000 gold?");
    		next++;
    		break;
    	case 14:
    		DialogueManager.sendOption(player, "Yes, pay the man.", "No");
    		break;
    	case 15:
    		DialogueManager.sendPlayerChat(player, Emotion.CALM, "Why are you so dirty?");
    		next++;
    		break;
    	case 16:
    		DialogueManager.sendNpcChat(player, 6481, Emotion.CALM, "Bath XP waste.");
    		setNext(2);
    		break;
    
    	}
    
    	}
    
    	private static final int[][] MAXCAPE_ITEM_IDS = { { 13280, 13281, 6570, 13329, 13330 }, { 13280, 13281, 2412, 13331, 13332 }, { 13280, 13281, 2414, 13333, 13334 }, { 13280, 13281, 2413, 13335, 13336 }, { 13280, 13281, 10499, 13337, 13338 } };
    
    	public static void maxCapeCombining(Player client, int itemUsed, int useWith) {
    	for (int m = 0; m < MAXCAPE_ITEM_IDS.length; m++) {
    		if (itemUsed == MAXCAPE_ITEM_IDS[m][0] && useWith == MAXCAPE_ITEM_IDS[m][2] || itemUsed == MAXCAPE_ITEM_IDS[m][1] && useWith == MAXCAPE_ITEM_IDS[m][2] || itemUsed == MAXCAPE_ITEM_IDS[m][2] && useWith == MAXCAPE_ITEM_IDS[m][0] || itemUsed == MAXCAPE_ITEM_IDS[m][2] && useWith == MAXCAPE_ITEM_IDS[m][1]) {
    			if (!client.getInventory().hasItemAmount(MAXCAPE_ITEM_IDS[m][0], 1) || !client.getInventory().hasItemAmount(MAXCAPE_ITEM_IDS[m][1], 1) || !client.getInventory().hasItemAmount(MAXCAPE_ITEM_IDS[m][2], 1)) {
    				client.getClient().queueOutgoingPacket(new SendMessage("Make sure you have both 'Max cape' and 'Max hood' in your inventory."));
    				return;
    			}
    			int item3 = MAXCAPE_ITEM_IDS[m][0];
    			int item4 = MAXCAPE_ITEM_IDS[m][1];
    			int item5 = MAXCAPE_ITEM_IDS[m][2];
    			client.getInventory().remove(item3, client.getInventory().getItemSlot(item3));
    			client.getInventory().remove(item4, client.getInventory().getItemSlot(item4));
    			client.getInventory().remove(item5, client.getInventory().getItemSlot(item5));
    			int item6 = MAXCAPE_ITEM_IDS[m][3];
    			int item7 = MAXCAPE_ITEM_IDS[m][4];
    			client.getInventory().add(item6, 1);
    			client.getInventory().add(item7, 1);
    			return;
    		}
    	}
    	}
    }
    I write this way before any other releases been out. So no i did no copy'ed
    Reply With Quote  
     

  5. #14  
    Registered Member

    Join Date
    Sep 2016
    Posts
    384
    Thanks given
    1
    Thanks received
    117
    Rep Power
    311
    Quote Originally Posted by TA TA View Post
    I write this way before any other releases been out. So no i did no copy'ed
    There's no reason to lie lmao. I wrote this for Draynor which was the first Vencillio server.

    ??
    Reply With Quote  
     

  6. #15  
    Banned
    Join Date
    Apr 2016
    Posts
    357
    Thanks given
    65
    Thanks received
    16
    Rep Power
    0
    Quote Originally Posted by OsFury View Post
    He most likely did, his last snippet he posted was ripped from dark asylum item ids/timers/entire thing was copy and pasted
    Its not ripped from dark asylum fuck off i fucking did it myself lmfao....

    Quote Originally Posted by Adam A View Post
    There's no reason to lie lmao. I wrote this for Draynor which was the first Vencillio server. Look at date as Patrick mentioned.

    ??
    lmao i had it way before its been even released get out and dont blame i never lied about any work. So gtfo look at date as Patrick mentioned.
    Reply With Quote  
     

  7. #16  
    Blurite

    Corey's Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,491
    Thanks given
    1,245
    Thanks received
    1,729
    Rep Power
    5000
    Quote Originally Posted by TA TA View Post
    Its not ripped from dark asylum fuck off i fucking did it myself lmfao....

    lmao i had it way before its been even released get out and dont blame i never lied about any work. So gtfo look at date as Patrick mentioned.
    You realise these are just some shitty dialogues for an npc? Absolutely nothing to brag about or fight over let alone getting all defensive and angry like you are lmao
    Attached image
    Reply With Quote  
     

  8. Thankful user:


  9. #17  
    Registered Member 1m6n29s9gmxh's Avatar
    Join Date
    Jan 2017
    Posts
    430
    Thanks given
    32
    Thanks received
    100
    Rep Power
    40
    Quote Originally Posted by TA TA View Post
    Its not ripped from dark asylum fuck off i fucking did it myself lmfao....



    lmao i had it way before its been even released get out and dont blame i never lied about any work. So gtfo look at date as Patrick mentioned.
    Not copied huh, explain how the variables are the exact same, the colours are the exact same, the messages, delays...?
    Code:
    if (itemId == 12020)
    			if (System.currentTimeMillis() - player.diceDelay >= 3000) {
    				if (player.isDicer) {
    					int roll = RandomUtils.diceRoll();
    					String msg = "<img=8>@red@Dicing@blu@ - " + player.getDisplay() + " just rolled @red@" + roll + "/100 @blu@on the percentile dice.";
    					player.clan.sendMessage(msg);
    					player.diceDelay = System.currentTimeMillis();
    				} else {
    					player.send(new SendMessage("You have to redeem the Dicer scroll before using this item."));
    				}
    			}
    Your code.
    Code:
    case 12020:
    				if (System.currentTimeMillis() - player.diceDelay >= 3000 && player.clan != null) {
    						int roll = RandomUtils.diceRoll();
    						String msg = "<img=8>@red@Dicing@blu@ - " + player.getDisplay() + " just rolled @red@" + roll + "/100 @blu@on the percentile dice.";
    						player.clan.sendMessage(msg);
    						player.diceDelay = System.currentTimeMillis();
    				} else {
    					if (player.clan == null) {
    					player.send(new SendMessage("You must be in the clan chat to do this!"));
    					}
    				}
    				break;
    Wait, you just added case instead of if itemid, gz on changes. Oh yea and you just removed if not a dicer and put if not in clan. Really good changes! Give credits where due, stop releasing "tutorials" from ripped content.
    Theres no way in hell you used the same exact colours/vairables/timers without ripping it from dark asylum.
    Spoiler for Insanity V2 Coders be like ::
    Attached image
    Attached image
    Reply With Quote  
     

  10. #18  
    Banned
    Join Date
    Apr 2016
    Posts
    357
    Thanks given
    65
    Thanks received
    16
    Rep Power
    0
    Quote Originally Posted by OsFury View Post
    Not copied huh, explain how the variables are the exact same, the colours are the exact same, the messages, delays...?
    Code:
    if (itemId == 12020)
    			if (System.currentTimeMillis() - player.diceDelay >= 3000) {
    				if (player.isDicer) {
    					int roll = RandomUtils.diceRoll();
    					String msg = "<img=8>@red@Dicing@blu@ - " + player.getDisplay() + " just rolled @red@" + roll + "/100 @blu@on the percentile dice.";
    					player.clan.sendMessage(msg);
    					player.diceDelay = System.currentTimeMillis();
    				} else {
    					player.send(new SendMessage("You have to redeem the Dicer scroll before using this item."));
    				}
    			}
    Your code.
    Code:
    case 12020:
    				if (System.currentTimeMillis() - player.diceDelay >= 3000 && player.clan != null) {
    						int roll = RandomUtils.diceRoll();
    						String msg = "<img=8>@red@Dicing@blu@ - " + player.getDisplay() + " just rolled @red@" + roll + "/100 @blu@on the percentile dice.";
    						player.clan.sendMessage(msg);
    						player.diceDelay = System.currentTimeMillis();
    				} else {
    					if (player.clan == null) {
    					player.send(new SendMessage("You must be in the clan chat to do this!"));
    					}
    				}
    				break;
    Wait, you just added case instead of if itemid, gz on changes. Oh yea and you just removed if not a dicer and put if not in clan. Really good changes! Give credits where due, stop releasing "tutorials" from ripped content.
    Theres no way in hell you used the same exact colours/vairables/timers without ripping it from dark asylum.
    this one i fucked up should be in snippets.
    Reply With Quote  
     

  11. #19  
    Registered Member

    Join Date
    Sep 2016
    Posts
    384
    Thanks given
    1
    Thanks received
    117
    Rep Power
    311
    Quote Originally Posted by TA TA View Post
    this one i fucked up should be in snippets.
    Mate, just stop lying over petty snippets. We know you're a pro coder.
    Reply With Quote  
     

  12. Thankful user:


  13. #20  
    Banned
    Join Date
    Apr 2016
    Posts
    357
    Thanks given
    65
    Thanks received
    16
    Rep Power
    0
    Quote Originally Posted by Adam A View Post
    Mate, just stop lying over petty snippets. We know you're a pro coder.
    Never said im a pro. And you can go hunt some comments on other thread.
    Reply With Quote  
     

Page 2 of 4 FirstFirst 1234 LastLast

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. Mac dialogues show-off
    By TA TA in forum Show-off
    Replies: 20
    Last Post: 07-25-2016, 05:22 PM
  2. Someone to implement mac's dialogues for me!
    By Teemo. in forum Requests
    Replies: 4
    Last Post: 05-15-2016, 06:45 PM
  3. Replies: 0
    Last Post: 05-15-2016, 04:27 PM
  4. Vencillio dialogue
    By Austin in forum Help
    Replies: 2
    Last Post: 05-01-2016, 12:56 PM
  5. WhiteScape Dialogue'z (Picture Added)
    By Santa Noobie in forum Tutorials
    Replies: 10
    Last Post: 08-01-2008, 08:21 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
  •