Jump to content

xRealityx

Member
  • Content count

    20
  • Joined

  • Last visited

  1. xRealityx

    Commands

    Hey, I have a quick question. The server I am running on is a PI and for admin controls we're using the "Rotten potato" method. (When you click the potato you are given an interface with commands for mods/admins. However, I want to set up commands such as ::home ect sounds simple right? Well because the code is set up differently I cannot do this. This is a quick i.e [QUOTE]package game.player.packets; import game.player.Client; import game.player.content.commands.Administrator; import game.player.content.commands.Member; import game.player.content.commands.Normal; import game.player.content.commands.Spawner; import game.player.content.rottenpotato.RottenPotato; import game.player.tracking.CommandLog; public class Commands implements PacketType {@ Override public void processPacket(Client player, int packetType, int packetSize) { String playerCommand = player.getInStream().readString(); playerCommand = playerCommand.toLowerCase(); if (playerCommand.startsWith("rottenpotato")) { RottenPotato.receiveString(player, playerCommand); return; } if (playerCommand.startsWith("changepassword")) { player.getPA().receiveChangePassword(playerCommand); return; } if (!playerCommand.startsWith("/")) { CommandLog.writeCommandLog(player, playerCommand); } Normal.normalCommands(player, playerCommand); if (player.isMember() || player.isSpawner() || player.isAdministratorRank()) { Member.memberCommands(player, playerCommand); } if (player.isSpawner() || player.isAdministratorRank()) { Spawner.spawnerCommands(player, playerCommand); } if (player.isAdministratorRank()) { Administrator.administratorCommands(player, playerCommand); } } }[/QUOTE] So if I add a simple: if (playerCommand.startsWith("spec") && c.playerRights >= 3) { c.specAmount = 5000000.0; } Errors..
  2. xRealityx

    Map Is Fucked

    [quote name='Chronicscape']I either suggest getting a new cache or just getting maps from a different 317. I assume you are using one of them lame PI sources which can get buggy as hell because of all the custom loaders n shit.[/QUOTE] I will do that, the old owner of the source has ruined everything.
  3. xRealityx

    Map Is Fucked

    Question, can I rip someones map if mine is black all the time? Castle wars is black, kalphite is black. Objects are misplaced.
  4. Hey guys! At the moment I am letting a VPS go to waste and whilst I am busy coding I won't need it yet, so I am offering you the chance to have your server hosted for the week! First person to comment wins
  5. Hey, I need somebody to do a few jobs for me. I will pay you rather well and proof of funds are available. I need: Duel fixing, since the older owner fucked everything up. I need: Kalphite Queen lair fixing (It is all black and you can just see here and a little bit of her lair) I need: Trading / dropping problem fixing (Tells everybody they are trading whilst using the same IP) I need: A few objects at home are misplaced and need to be replaced. Thanks guys!
  6. xRealityx

    Ip blocking

    When somebody else comes to join the server and they get a kill in PVP they don't get any rewards since their IP is supposedly matched, when they are a random member. This happens to trading too, cannot trade people with the same IP. Any suggestions? Driving me insane.
  7. Hey, Someone told me the reason Kalphite lair is black is because I am missing the maps/xteas? How do I get these? I am really at the end of my tether now!
  8. Can you point me in the right direction?
  9. Hey, Here is what I mean [img]http://i.imgur.com/bMEznNQ.png[/img] Some of the items are really far from the walls and Kalphite queens den is fucked.
  10. xRealityx

    Run error

    Thankyou ^ Actually I just forgot to run the server :rolleyes:
  11. xRealityx

    Cannot change IP

    Hi, I have just downloaded a source and client. I have litterally changed every ip to local host just to see if I can get it to work in LH. And no luck. I am running with eclipse. If anyone can fix it I will reward them!
  12. src\server\model\players\PlayerAssistant.java:3179: error: cannot find symbol c.getCombat().addCharge(c); ^ symbol: method addCharge(Client) location: class CombatAssistant src\server\model\players\CombatAssistant.java:1066: error: method followPlayer i n class PlayerAssistant cannot be applied to given types; c.getPA().followPlayer(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length src\server\model\players\CombatAssistant.java:1087: error: method followPlayer i n class PlayerAssistant cannot be applied to given types; c.getPA().followPlayer(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length src\server\model\players\CombatAssistant.java:1102: error: method followPlayer i n class PlayerAssistant cannot be applied to given types; c.getPA().followPlayer(); ^ required: int found: no arguments reason: actual and formal argument lists differ in length src\server\model\npcs\NPCHandler.java:3943: error: cannot find symbol c.getCombat().addCharge(c); ^ symbol: method addCharge(Client) location: class CombatAssistant src\server\model\npcs\NPCHandler.java:3956: error: cannot find symbol c.getCombat().appendVengeanceNPC(i, dama ge); ^ symbol: method appendVengeanceNPC(int,int) location: class CombatAssistant 6 errors Press any key to continue . . .
  13. Links are broken, Please can you update?
×