Thread: Manager

Results 1 to 5 of 5
  1. #1 Manager 
    Registered Member
    Join Date
    Jan 2014
    Posts
    86
    Thanks given
    13
    Thanks received
    10
    Rep Power
    11
    Okay so Rune-Evo v3, the manger dialogue/chat box title wont change, ofc i've edited, saved, compiled, everything else changed except this, any ideas? >.>
    Reply With Quote  
     

  2. #2  
    0x2P | ~0x2P
    Google rapes bing's Avatar
    Join Date
    May 2013
    Posts
    595
    Thanks given
    120
    Thanks received
    62
    Rep Power
    0
    Quote Originally Posted by Ozora View Post
    Okay so Rune-Evo v3, the manger dialogue/chat box title wont change, ofc i've edited, saved, compiled, everything else changed except this, any ideas? >.>
    Set the parameters for it.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2014
    Posts
    86
    Thanks given
    13
    Thanks received
    10
    Rep Power
    11
    Code:
    package com.rs.game.player.dialogues.impl;
    
    import com.rs.Settings;
    import com.rs.cache.loaders.NPCDefinitions;
    import com.rs.game.Animation;
    import com.rs.game.Graphics;
    import com.rs.game.WorldTile;
    import com.rs.game.player.content.PlayerLook;
    import com.rs.game.player.dialogues.Dialogue;
    import com.rs.game.tasks.WorldTask;
    import com.rs.game.tasks.WorldTasksManager;
    import com.rs.utils.ShopsHandler;
    
    public class Manager extends Dialogue {
    
    	public Manager() {
    	}
    
    	@Override
    	public void start() {
    		player.getHintIconsManager().removeUnsavedHintIcon();
    		sendMessage(
    				"Welcome to Ozora! I can change your, look and",
    				"tell you some things about the server. If you're",
    				"interested, i have a few shops too you can look at.",
    				"So what would you like to do?");
    		stage = 0;
    	}
    	
    	@Override
    	public void run(int interfaceId, int componentId) {
    		if (stage == 0) {
    			sendOptionsDialogue(""+Settings.SERVER_NAME+" Manager Options",
    					"I would like to change my appearance",
    					"I would like to view your shops please",
    					"<img=4> I would like to go to the Donator Zone",
    					"<col=FF0000>I want to know more about the server");
    			stage = 1;
    		}
    		else if (stage == 1) {
    			if (componentId == OPTION_1) {
    				sendOptionsDialogue(""+Settings.SERVER_NAME+" - Account Settings",
    						"I would like to edit my gender & skin.",
    						"I would like to edit my hairstyles.",
    						"I would love to change my clothes, Eva.");
    				stage = 2;
    			} else if (componentId == OPTION_2) {
    				sendOptionsDialogue(""+Settings.SERVER_NAME+" - Point Shops",
    						"PvP Point Shop",
    						"Prestige Point Shop",
    						"Skiller Shop");
    					stage = 3;
    			} else if (componentId == OPTION_3) {
    				if (player.getRights() > 0) {
    					player.getInterfaceManager().closeChatBoxInterface();
    					startDemonTeleport();
    				} else {
    					end();
    					player.sm("You are not donator, Manager won't let you go.");
    				}
    			} else if (componentId == OPTION_4) {
    				sendMessage(
    						"Ah yes, well, every teleport you'll ever need", 
    						"is on the quest tab, just click a category on the tab",
    						"and you'll see various options on where you can go", 
    						"for that category. It's easy as that!");
    					player.getInterfaceManager().openGameTab(3);
    				stage = 4;
    			}
    		} else if (stage == 2) {
    				if (componentId == OPTION_1) {
    					player.getInterfaceManager().closeChatBoxInterface();
    					PlayerLook.openMageMakeOver(player);
    				} else if (componentId == OPTION_2) {
    					player.getInterfaceManager().closeChatBoxInterface();
    					PlayerLook.openHairdresserSalon(player);
    				} else if (componentId == OPTION_3) {
    					player.getInterfaceManager().closeChatBoxInterface();
    					PlayerLook.openThessaliasMakeOver(player);
    				}
    		} else if (stage == 3) {
    			if (componentId == OPTION_1) {
    				ShopsHandler.openShop(player, 34);
    				end();
    			}
    			if (componentId == OPTION_2) {
    				ShopsHandler.openShop(player, 46);
    				end();
    			}
    			if (componentId == OPTION_3) {
    				ShopsHandler.openShop(player, 50);
    				end();
    			}
    		} else if (stage == 4) {
    			sendMessage(
    				"To make some quick cash, you could always do some skilling", 
    				"and sell the items you get from it (logs, ors, etc.).",
    				"If you're not into skilling, train up combat and boss", 
    				"for some nice gear and profitable items. What else can i do for ya?");
    			player.getInterfaceManager().openGameTab(3);
    			stage = 5;
    		} else if (stage == 5) {
    			sendOptionsDialogue(""+Settings.SERVER_NAME+" Manager Options",
    					"I'd like to change my appearance",
    					"I want to view the Point Shops",
    					"I'd like to go to the Donator Zone",
    					"I want to know more about the server");
    			stage = 1;
    			player.getInterfaceManager().openGameTab(4);
    		}
    	}
    	
    	public void sendMessage(String... message) {
    		sendEntityDialogue(IS_NPC, "Ozorian Manager", 13768, 9827, message);
    	}
    
    	private WorldTile donatorZone = new WorldTile(1807, 3211, 0);
    	
    	public void startDemonTeleport() {
    		WorldTasksManager.schedule(new WorldTask() {
    			int loop = 0;
    			@Override
    			public void run() {
    				if (loop == 0) {
    					player.setNextAnimation(new Animation(17108));
    					player.setNextGraphics(new Graphics(3224));
    					player.setNextGraphics(new Graphics(3225));
    				} else if (loop == 9) {
    					player.setNextWorldTile(donatorZone);
    				} else if (loop == 10) {
    					player.setNextAnimation(new Animation(16386));
    					player.setNextGraphics(new Graphics(3019));
    				} else if (loop == 11) {
    					player.setNextAnimation(new Animation(808));
    					player.setNextGraphics(new Graphics(-1));
    					stop();
    				}
    				loop++;
    			}
    		}, 0, 1);
    	}
    	
    	@Override
    	public void finish() {
    		player.getInterfaceManager().openGameTab(4);
    	}
    
    }
    Meanwhile, in Settings.java
    Code:
    public static final String SERVER_NAME = "Ozora";
    	public static int PORT_ID = 43595;
    A search of the whole server files contents for the words 'fox' or 'foxtrot' dont bring back any results after I updated everything else, I'm not sure why..

    Also, in newstarter.java

    Code:
    @Override
    	public void start() {
    		stage = 1;
    		sendEntityDialogue(IS_NPC, "Ozorian Manager", 13768, 9827, 
    			"Welcome to Ozora, "+player.getDisplayName()+"!",
    			"Please, before you begin you will need", 
    			"choose your starter set and your difficulty.",
    			"You may change your difficulty at a later time.");
    	}
    Quote Originally Posted by natsu View Post
    dont like dont agree with the price dont post you dont have to buy it
    Are you trying to get on rune - retards?

    Okay so I think the compile isn't including the Manager.java file because i purposely put errors in there and it didn't show when compiling, how do I fix this?
    Last edited by Streetwave; 01-23-2014 at 05:21 PM.
    Reply With Quote  
     

  4. #4  
    Registered Member Jan Julius's Avatar
    Join Date
    Oct 2011
    Posts
    208
    Thanks given
    61
    Thanks received
    14
    Rep Power
    17
    Maybe try to actually put it in the compiler
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2014
    Posts
    86
    Thanks given
    13
    Thanks received
    10
    Rep Power
    11
    Quote Originally Posted by Jan Julius View Post
    Maybe try to actually put it in the compiler
    Code:
    @echo off
    title Client Compiler
    echo starting...
    "C:\Program Files (x86)\Java\jdk1.7.0_11/bin/javac" -cp lib/*; -d bin -sourcepath src src/com/rs/*.java
    @pause
    Nothing wrong with it as far as I can tell.
    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: 17
    Last Post: 07-05-2008, 09:49 AM
  2. Server Runtime Manager v1.3
    By meiscooldude in forum Tools
    Replies: 15
    Last Post: 06-18-2008, 06:27 AM
  3. Server Runtime Manager v1.2
    By meiscooldude in forum Tools
    Replies: 6
    Last Post: 06-17-2008, 04:52 AM
  4. Server Runtime Manager v1.1
    By meiscooldude in forum Tools
    Replies: 1
    Last Post: 06-16-2008, 07:18 PM
  5. Server Runtime Manager
    By meiscooldude in forum Tools
    Replies: 4
    Last Post: 06-14-2008, 04:42 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
  •