Jump to content

Search the Community

Showing results for tags 'tabs'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 15 results

  1. Hi guys im running an old allstar source and have a quick question about the tabs This picture: [URL=http://s1375.photobucket.com/user/Jarrod_Mclaren/media/old_zps3df57a90.png.html][IMG]http://i1375.photobucket.com/albums/ag461/Jarrod_Mclaren/old_zps3df57a90.png[/IMG][/URL] to being blank with simple text on it for commands etc
  2. I never could find the configs I know it should be done by configs but I just cannot find them anywhere so I did this way. [B]Please do not use this snippet if you're using 718+, this is only for 667 Matrix[/B] 1. Create a new file called ChatHandler [CODE]package com.enso.net.decoders.handlers; import com.enso.game.player.Player; import com.enso.game.player.content.ChattingBase; /** * * [MENTION=52317]auth[/MENTION]or Fuzen Seth * */ public class ChatHandler { /** * We handle the game tabs. * [MENTION=75098]Para[/MENTION]m player * [MENTION=75098]Para[/MENTION]m componentId * [MENTION=75098]Para[/MENTION]m packetId * [MENTION=184045]return[/MENTION] */ public static boolean handleGameTabs(Player player, int componentId, int packetId) { switch (componentId) { case 28: //Public if (packetId == 64) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.ON); else if (packetId == 4) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.FRIENDS); else if (packetId == 52) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.OFF); else if (packetId == 81) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.HIDE); break; case 25: //Friends if (packetId == 64) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.ON); else if (packetId == 4) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.FRIENDS); else if (packetId == 52) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.OFF); break; case 8: //Friends Chat if (packetId == 64) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.ON); else if (packetId == 4) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.FRIENDS); else if (packetId == 52) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.OFF); break; case 22: //Clan chat if (packetId == 64) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.ON); else if (packetId == 4) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.FRIENDS); else if (packetId == 52) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.OFF); break; case 19: //Trade if (packetId == 64) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.ON); else if (packetId == 4) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.FRIENDS); else if (packetId == 52) player.getPackets().sendIComponentText(751, 28, ""+ChattingBase.OFF); break; } return false; } } [/CODE] 2. Add this enum [CODE]package com.enso.game.player.content; /** * [MENTION=52317]auth[/MENTION]or Fuzen Seth * */ public enum ChattingBase { ON("<col=33FF00>On"), FRIENDS("<col=FFCC00>Friends"), OFF("<col=FF3300>Off"), HIDE("<col=33CCFF>Hide"), ALL("All"); private String type; public String getType() { return type; } private ChattingBase(String type) { this.type = type; } }[/CODE] 3. Find in ButtonHandler [CODE]else if (interfaceId == 751) {[/CODE] 4. Add [CODE] ChatHandler.handleGameTabs(player, componentId, packetId);[/CODE] There you go, you got working game tabs for 667.
  3. Not sure if this is client section or server section, sorry. But using my so call shitty varrockscape source + client (Making a server out of it using my learned skills) I have added new tab area + maparea all by myself using my own methods ( realign sprites, etc.) I have followed no tutorials but using my own knowledge and i knew i will need help one time, and the clicking it a bit off after i moved the logout button. here's a video of what im talking about. [URL=http://tinypic.com/r/xknekn/6]Tabs Are off (TinyPic Video)[/URL] when you have watch the video, it shows that if i clicked on the emotes tab, it will show the option tab, and when i clicked the music tab it will show the emotes tab. same goes prayer tab, it's a little bit off but not alot. It's only the bottom 3 sprites because those are the one i had to really realign and adjust it. any help?
  4. Hey i've replaced the old tabs under the chat box with another type.. When i try to click them the client crashes.. I knew i have to do something in the client.. Does some1 know which class or method i should be looking in. i might be able to figure it out from there.. Here's a pic if u dont know what i mean; [IMG]http://www.upload.ee/image/2560494/Namnlos.png[/IMG] hold ctrl and scroll if u can't see :)
  5. I want to say beforehand, these aren't my codes, if you want the snippet, here it is. [url]http://www.runelocus.com/forums/showthread.php?76318-PI-Adding-Teletabs-the-right-way[/url] Here is the code I am using [CODE]public void teleTab(String teleportType) { if(c.duelStatus == 5) { c.sendMessage("You can't teleport during a duel!"); return; } if (c.playerRights > 2 ) { if(c.inWild() && c.wildLevel > Config.NO_TELEPORT_WILD_LEVEL) { c.sendMessage("You can't teleport above level "+Config.NO_TELEPORT_WILD_LEVEL+" in the wilderness."); return; } } if(System.currentTimeMillis() - c.teleBlockDelay < c.teleBlockLength) { c.sendMessage("You are teleblocked and can't teleport."); return; } if(!c.isDead && c.teleTimer == 0 && c.respawnTimer == -6) { if (c.playerIndex > 0 || c.npcIndex > 0) c.getCombat().resetPlayerAttack(); c.stopMovement(); removeAllWindows(); c.npcIndex = 0; c.playerIndex = 0; c.faceUpdate(0); c.teleHeight = 0; c.startAnimation(4731); c.teleTimer = 9; c.teleGfx = 678; c.teleEndAnimation = 0; if(teleportType.equalsIgnoreCase("varrock")) { c.teleX = 3214; c.teleY = 3424; c.getItems().deleteItem(8007 ,c.getItems().getItemSlot(8007), 1); } if(teleportType.equalsIgnoreCase("lumbridge")) { c.teleX = 3222; c.teleY = 3222; c.getItems().deleteItem(8008 ,c.getItems().getItemSlot(8008), 1); } if(teleportType.equalsIgnoreCase("falador")) { c.teleX = 2965; c.teleY = 3380; c.getItems().deleteItem(8009 ,c.getItems().getItemSlot(8009), 1); } if(teleportType.equalsIgnoreCase("camelot")) { c.teleX = 2757; c.teleY = 3477; c.getItems().deleteItem(8010 ,c.getItems().getItemSlot(8010), 1); } if(teleportType.equalsIgnoreCase("ardy")) { c.teleX = 2659; c.teleY = 3308; c.getItems().deleteItem(8011 ,c.getItems().getItemSlot(8011), 1); } } }[/CODE] This is the error [IMG]http://i.imgur.com/sob76.png[/IMG] Sorry for the noob question, i'm new to PI. Please don't troll or answer with stupid responses, thanks :3
  6. Hey guys how do i replace tabs? Like emotes tab, inventory tab, etc... i wanna replace them with the newer runescape tabs right now i have like 562 tabs or something can anyone help me?
  7. I dunno what its called but If you have any tips or any thought on this or how to add the thing with some kind of red circle that i made around please help. like say where i edit id's or if i need a newer cache or smt i have no idea. :) [IMG]http://www.upload.ee/image/2483181/tabs.png[/IMG]
  8. Mikeslash4

    Bank Tabs?

    How would you add bank tabs? I've been trying to code them and they aren't working... Anyone mind sparing me a code?
  9. ok so i believe it was Beta that released this on runeserver although i saw the same post on here from da monster i dont know if there the same people, but i need help with a little bit i tried to add, ok so ive added everything in that tutorial, it works fine, now i want to click on another tab other than the player ranks for another interface to pop up and for this interface to show the commands for the server, so this is the player ranks code in buttonhandler.java [CODE] } else if (interfaceId == 506) { switch (componentId) { case 2://player rankings player.getInterfaceManager().sendInterface(275); player.getPackets().sendIComponentText(275, 2, "Player Rankings"); player.getPackets().sendIComponentText(275, 16, "Owner - Spec"); player.getPackets().sendIComponentText(275, 17, "Admin - "); player.getPackets().sendIComponentText(275, 18, "Admin - "); player.getPackets().sendIComponentText(275, 19, "Admin - "); player.getPackets().sendIComponentText(275, 20, "Mod -"); player.getPackets().sendIComponentText(275, 21, "Mod -"); player.getPackets().sendIComponentText(275, 22, "Mod -"); player.getPackets().sendIComponentText(275, 23, "Mod -"); player.getPackets().sendIComponentText(275, 24, "9"); player.getPackets().sendIComponentText(275, 25, "10"); player.getPackets().sendIComponentText(275, 26, "11"); break; }[/CODE] ok so that works fine when i click on the tab in game this is for the command tab [CODE] } else if (interfaceId == 506) { switch (componentId) { case 8://Commands player.getInterfaceManager().sendInterface(220); player.getPackets().sendIComponentText(220, 2, "Commands"); player.getPackets().sendIComponentText(220, 16, "::home"); player.getPackets().sendIComponentText(220, 17, "::Train"); player.getPackets().sendIComponentText(220, 18, "::bandos"); player.getPackets().sendIComponentText(220, 19, "::sara"); player.getPackets().sendIComponentText(220, 20, "::thieve"); player.getPackets().sendIComponentText(220, 21, "::Altars"); player.getPackets().sendIComponentText(220, 22, "::KBD"); player.getPackets().sendIComponentText(220, 23, "::Fish"); player.getPackets().sendIComponentText(220, 24, "::Smith"); player.getPackets().sendIComponentText(220, 25, "::Mine"); player.getPackets().sendIComponentText(220, 26, "::WC"); break; }[/CODE] [SIZE=4][B]I dont get any errors but when i click the Command button in game it doesnt do anything, any one have any ideas for another interface to pop up and display the commands?[/B][/SIZE]
  10. [CENTER][B][SIZE="5"]Overall product will look some what like this with out the text but i will show you how to add it :)[/SIZE][/B] [IMG]http://i.imgur.com/o7Y8A.jpg[/IMG][/CENTER] [COLOR="Red"][SIZE="5"][B][U]open InterfaceManager.java [MyScape\src\com\rs\game\player\InterfaceManager.java][/U][/B][/SIZE][/COLOR] [COLOR="lime"]Search:[/COLOR] [CODE]public void sendEquipment() { sendTab(resizableScreen ? 95 : 209, 387); }[/CODE] [COLOR="Lime"]Under add:[/COLOR][CODE]public void sendMsPortal() { sendTab(resizableScreen ? 93 : 207, 506); player.getPackets().sendIComponentText(506, 0, "MyScape Portal"); player.getPackets().sendIComponentText(506, 4, "addtext"); player.getPackets().sendIComponentText(506, 6, "addtext"); player.getPackets().sendIComponentText(506, 8, "addtext"); player.getPackets().sendIComponentText(506, 10, "addtext"); player.getPackets().sendIComponentText(506, 12, "addtext"); player.getPackets().sendIComponentText(506, 14, "addtext"); if (player.getRights() == 2) { player.getPackets().sendIComponentText(506, 2, " In-Game Ranks Rank: <img=1><shad=FFFF00>Admin</shad>"); } else if (player.getRights() == 1) { player.getPackets().sendIComponentText(506, 2, " In-Game Ranks Rank: <img=0><shad=D8D8D8>Mod</shad>"); } else if (player.getRights() == 3) { player.getPackets().sendIComponentText(506, 2, " In-Game Ranks Rank: <img=13><col=ff0000>Owner</col>"); } else { player.getPackets().sendIComponentText(506, 2, " In-Game Ranks Rank: <col=ffffff>Player"); } }[/CODE] [COLOR="Blue"]Info:[/COLOR] "506" is the interface and "2, 4, 6 , 8 ect" is the child id's that we will be rewriting. [COLOR="Lime"]Search:[/COLOR] [CODE]sendTab(93, 190);[/CODE] [COLOR="Blue"]Info:[/COLOR] 190 is the quest tab so to do a different tab, Do ::inter 190 or whatever the interface in the code is to see which is which if you want to replace [COLOR="lime"]Replace with:[/COLOR][CODE]sendMsPortal();[/CODE] [COLOR="Blue"]Info:[/COLOR] This is sending the new tab that you added the text to. [COLOR="lime"]Search:[/COLOR] [CODE]sendTab(207, 190);[/CODE] [COLOR="Lime"]Replace with:[/COLOR] [CODE]sendMsPortal();[/CODE] [COLOR="Blue"]Info:[/COLOR] This is replacing the tab for fixed mode Save! [COLOR="red"][SIZE="5"][B][U]open ButtonHandler.java [MyScape\src\com\rs\net\decoders\handlers][/U][/B][/SIZE][/COLOR] [COLOR="Lime"]Search:[/COLOR][CODE] } else if (interfaceId == 671) {[/CODE] [COLOR="lime"]Above that add:[/COLOR][CODE] } else if (interfaceId == 506) { switch (componentId) { case 2://player rankings player.getInterfaceManager().sendInterface(275); player.getPackets().sendIComponentText(275, 2, "Player Rankings"); player.getPackets().sendIComponentText(275, 16, "1"); player.getPackets().sendIComponentText(275, 17, "2"); player.getPackets().sendIComponentText(275, 18, "3"); player.getPackets().sendIComponentText(275, 19, "4"); player.getPackets().sendIComponentText(275, 20, "5"); player.getPackets().sendIComponentText(275, 21, "6"); player.getPackets().sendIComponentText(275, 22, "7"); player.getPackets().sendIComponentText(275, 23, "8"); player.getPackets().sendIComponentText(275, 24, "9"); player.getPackets().sendIComponentText(275, 25, "10"); player.getPackets().sendIComponentText(275, 26, "11"); break;[/CODE] [COLOR="Blue"]Info:[/COLOR] This is the response to me clicking 506 child id 2. It will send a new interface with text but you can change it to a teleport if you want SAVE && COMPILE && ENJOY :)
  11. When I click on any skill, the window doesn't pop up showing new things that I can use at higher levels. How do I make it so that the window will pop up when I click on a skill?
  12. Kill Joy

    SMF Tabs

    If anyone is familiar with setting up a tab on SMF like what MyBB has, I would appreciate some help adding a category into a tab :) I don't know if a category has a URL.. Here's a picture: [IMG]http://img844.imageshack.us/img844/7613/16b4253c6c9a4e9197f0d00.png[/IMG]
  13. okay before i start, people that are going to say "allstars suck, play rsps's like runescape", whats the point in playing an rsps thats like runescape if runescape already exists? but i need help with editing the emote tabs, cant find case 185 or 135 annwhere in client.java, and i just want to edit them :P
  14. Hello, Does anyone know how to add custom tabs(near home,messages) In SMF 2.0 .If you know please contact me on msn [email][email protected][/email] thanking, universalscape
  15. hi everyone im new and i was wondering what servers are good and are 317, always are online, and most important, have emote teleport tabs(where you go to the emote tab and there are teleports there) basicly what i am asking for is a list of 317 servers with emote teleport tabs. And thank you:cool:
×