Jump to content

Important Man

Member
  • Content count

    238
  • Joined

  • Last visited

About Important Man

  • Rank
    Mithril Member
  1. Item on item is already handled in Matrix source. It's in InventoryOptionsHandler.java. Look for [code]public static void handleItemOnItem(final Player player, InputStream stream) {[/code]
  2. [quote name='himselfonly']This server "would" be the best other than the fact that donators recieve the best things, such as tormenteds, frosts, etc.[/QUOTE] Offer better stuff to donators and get money > offer same stuff to players & no money.
  3. I like this project, good luck with it. Can't wait until its out.
  4. Don't really care for the idea of the skillcape npcs all in one place, but good luck with this.
  5. [quote name='d0hn']src\server\model\players\playerassistant.java:845: error: '>' expected c.sendmessage<c.sendmessage<config.death_message>; ^ my only error plz help[/QUOTE] Look at the error... '>' expected What do you think you need?
  6. [quote name='TheEmperor'][COLOR="#FF0000"][I]P.S. for Moderators, especially to [I][B][COLOR="#0000FF"]Ziek[/COLOR][/B][/I]!: Next time warn about the wrong things in the advertisement before deleting the thread. This is the correct process. Thanks![/I][/COLOR][/QUOTE] [quote name='Lusfr_']...[COLOR="RED"]So if you should fail to follow these guidelines accurately enough you will be warned (depending on how many posts your thread has received) or your thread will be [B]deleted[/B]. Not locked, [B]deleted[/B]. [/COLOR]...[/QUOTE] Rules ^ Good luck anyways.
  7. [quote name='Citellum']One of the emotes lol[/QUOTE] Oh nevermind lol, slow moment...
  8. [quote name='Citellum'][B]Here Are Some Random Pictures Of The Beta![/B] pics here *Note* We Do Not Have An Official Home Yet. *Note*[/QUOTE] Sexy. What's this? [img]http://i50.tinypic.com/u1p2e.png[/img]
  9. I believe [code]player.getSkills().addXp([color="red"]The skill that you want exp in here for example 1[/color], The amount of exp you want to give);[/code] could also be used as [code]player.getSkills().addXp([color="red"]Skills. Then the skill name, (in all caps)[/color], The amount of exp you want to give);[/code] Example [code]player.getSkills().addXp([color="red"]Skills.DUNGEONEERING[/color], The amount of exp you want to give);[/code] just in-case the people that use this tutorial don't know the skill Ids.
  10. [quote name='Owner Taylor']i add player.getRights == 2 or if (player.getRights() <= 2)? ------------------Thats method i did----------------- case "item": if (cmd.length < 2) { if (player.getRights() <= 2) player.getPackets().sendGameMessage( "Use: ::item id (optional:amount)"); return true; }[/QUOTE] You have it set to if the player's rights is LESS than or equal to 2. Regular player's rights are 0, you have to set it to [code]if (player.getRights() >= 2)[/code]
  11. I like the spirit tree location, seems to fit good.
  12. [quote name='Manunderfire']Where do I paste the first code?[/QUOTE] You make a new class named MoneyPouch, in com.rs.game.player folder.
  13. [quote name='TheCoderKid'][code]src\com\rs\game\player\InterfaceManager.java:287: error: not a statement public boolean removeInterface(int tabId, int childId) { ^ src\com\rs\game\player\InterfaceManager.java:287: error: ';' expected public boolean removeInterface(int tabId, int childId) { ^ src\com\rs\game\player\InterfaceManager.java:295: error: illegal start of expres sion public void sendScreenInterface(int backgroundInterface, int interfaceId ) { ^ src\com\rs\game\player\InterfaceManager.java:295: error: illegal start of expres sion public void sendScreenInterface(int backgroundInterface, int interfaceId ) { ^ src\com\rs\game\player\InterfaceManager.java:295: error: ';' expected public void sendScreenInterface(int backgroundInterface, int interfaceId ) { ^ src\com\rs\game\player\InterfaceManager.java:295: error: <identifier> expected public void sendScreenInterface(int backgroundInterface, int interfaceId ) { ^ src\com\rs\game\player\InterfaceManager.java:295: error: not a statement public void sendScreenInterface(int backgroundInterface, int interfaceId ) { ^ src\com\rs\game\player\InterfaceManager.java:295: error: ';' expected public void sendScreenInterface(int backgroundInterface, int interfaceId ) { ^ src\com\rs\game\player\InterfaceManager.java:318: error: illegal start of expres sion public boolean hasRezizableScreen() { ^ src\com\rs\game\player\InterfaceManager.java:318: error: ';' expected public boolean hasRezizableScreen() { ^ src\com\rs\game\player\InterfaceManager.java:322: error: illegal start of expres sion public void setWindowsPane(int windowsPane) { ^ src\com\rs\game\player\InterfaceManager.java:322: error: illegal start of expres sion public void setWindowsPane(int windowsPane) { ^ src\com\rs\game\player\InterfaceManager.java:322: error: ';' expected public void setWindowsPane(int windowsPane) { ^ src\com\rs\game\player\InterfaceManager.java:322: error: ';' expected public void setWindowsPane(int windowsPane) { ^ src\com\rs\game\player\InterfaceManager.java:326: error: illegal start of expres sion public int getWindowsPane() { ^ src\com\rs\game\player\InterfaceManager.java:326: error: ';' expected public int getWindowsPane() { ^ src\com\rs\game\player\InterfaceManager.java:333: error: illegal start of expres sion public int openGameTab(int tabId) { ^ src\com\rs\game\player\InterfaceManager.java:333: error: ';' expected public int openGameTab(int tabId) { ^ src\com\rs\game\player\InterfaceManager.java:333: error: ';' expected public int openGameTab(int tabId) { ^ src\com\rs\game\player\InterfaceManager.java:340: error: reached end of file whi le parsing } ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:95: error: illegal start of expression package com.rs.game.player.content; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:95: error: not a statement package com.rs.game.player.content; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:97: error: illegal start of expression import java.text.DecimalFormat; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:97: error: not a statement import java.text.DecimalFormat; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:99: error: illegal start of expression import com.rs.game.item.Item; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:99: error: not a statement import com.rs.game.item.Item; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:100: error: illegal start of expression import com.rs.game.item.ItemsContainer; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:100: error: not a statement import com.rs.game.item.ItemsContainer; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:101: error: illegal start of expression import com.rs.game.player.Player; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:101: error: not a statement import com.rs.game.player.Player; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:102: error: illegal start of expression import com.rs.utils.Utils; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:102: error: not a statement import com.rs.utils.Utils; ^ src\com\rs\net\decoders\handlers\ButtonHandler.java:104: error: illegal start of expression public class SquealOfFortune { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:92: error: illegal start of type if (itemId == 24154) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:92: error: <identi fier> expected if (itemId == 24154) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:92: error: ';' exp ected if (itemId == 24154) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:92: error: illegal start of type if (itemId == 24154) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:92: error: <identi fier> expected if (itemId == 24154) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:92: error: ';' exp ected if (itemId == 24154) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:93: error: illegal start of type player.spins += 1; ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:93: error: ';' exp ected player.spins += 1; ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:94: error: <identi fier> expected player.refreshSquel(); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:95: error: <identi fier> expected player.sm("You have received spin on the Squeal of Fortu ne!"); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:95: error: illegal start of type player.sm("You have received spin on the Squeal of Fortu ne!"); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:96: error: <identi fier> expected player.getInventory().deleteItem(24154, 1); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:96: error: ';' exp ected player.getInventory().deleteItem(24154, 1); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:97: error: <identi fier> expected player.refreshSqueal(); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:98: error: ')' exp ected } ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:99: error: not a s tatement if (itemId == 24155) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:99: error: ';' exp ected if (itemId == 24155) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:107: error: illega l start of expression }, passedTime >= 600 ? 0 : passedTime > 400 ? 1 : 0);// switching ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:107: error: not a statement }, passedTime >= 600 ? 0 : passedTime > 400 ? 1 : 0);// switching ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:107: error: ';' ex pected }, passedTime >= 600 ? 0 : passedTime > 400 ? 1 : 0);// switching ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:123: error: class, interface, or enum expected public static void handleItemOption1(Player player, final int slotId, ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:123: error: class, interface, or enum expected public static void handleItemOption1(Player player, final int slotId, ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:124: error: class, interface, or enum expected final int itemId, Item item) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:126: error: class, interface, or enum expected if (player.getStopDelay() >= time ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:129: error: class, interface, or enum expected player.stopAll(false); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:130: error: class, interface, or enum expected if (Foods.eat(player, item, slotId)) ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:133: error: class, interface, or enum expected if (Burying.bury(player, slotId)) ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:135: error: class, interface, or enum expected if (itemId == 15098) { ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:137: error: class, interface, or enum expected player.setNextAnimation(new Animation(11900)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:138: error: class, interface, or enum expected player.setNextGraphics(new Graphics(2075)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:139: error: class, interface, or enum expected return; ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:140: error: class, interface, or enum expected } ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:143: error: class, interface, or enum expected player.setNextAnimation(new Animation(11900)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:144: error: class, interface, or enum expected player.setNextGraphics(new Graphics(2072)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:145: error: class, interface, or enum expected return; ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:146: error: class, interface, or enum expected } ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:149: error: class, interface, or enum expected player.setNextAnimation(new Animation(11900)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:150: error: class, interface, or enum expected player.setNextGraphics(new Graphics(2074)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:151: error: class, interface, or enum expected return; ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:152: error: class, interface, or enum expected } ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:155: error: class, interface, or enum expected player.setNextAnimation(new Animation(11900)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:156: error: class, interface, or enum expected player.setNextGraphics(new Graphics(2071)); ^ src\com\rs\net\decoders\handlers\InventoryOptionsHandler.java:157: error: class, interface, or enum expected return; ^ 100 errors Press any key to continue . . .[/code] Huh?[/QUOTE] You probably missed a bracket somewhere. ({ or })
  14. Important Man

    562 TrixtScape

    [quote name='scootersam']Alright.. So now I've got NPC's handled in there own separate classes.. Things are starting to get somewhere.. [img]http://gyazo.com/e774b9df93fceae647bc24a5c695dd9e.png[/img] [img]http://gyazo.com/53031c962cdab561995eea6ada1861af.png?1347934645[/img][/QUOTE] But, why?... I would have kept them the way they were, but organized it better.
×