Jump to content

vincek95

Member
  • Content count

    8
  • Joined

  • Last visited

  1. vincek95

    Compiling Error

    So whenever I compile I get these 3 errors. I don't know what the problem is or how to solve it. Help would be appreciated. [CODE]src\server\model\players\PlayerAssistant.java:75: error: illegal start of expres sion public void setPrestigeReward() { ^ src\server\model\players\PlayerAssistant.java:75: error: illegal start of expres sion public void setPrestigeReward() { ^ src\server\model\players\PlayerAssistant.java:75: error: ';' expected public void setPrestigeReward() { ^ 3 errors Compile Finished! Press any key to continue . . . [/CODE]
  2. vincek95

    How do I fix this?

    I changed a few drops in my NpcDrops.tsm and when I compile, it's fine. When I run the server, I keep getting this: [CODE]java.util.NoSuchElementException: No line found at java.util.Scanner.nextLine(Scanner.java:1585) at server.model.npcs.NPCDrops.loadDrops(NPCDrops.java:37) at server.model.npcs.NPCDrops.<init>(NPCDrops.java:15) at server.Server.<clinit>(Server.java:78)[/CODE] Can anyone help me fix this, and in general, how does one know where to go to fix this? Like say you get an error such as this one. It tells you that there is a problem at server.java and NPCDrops.java. so how would one know where to begin to fix this?
  3. So I'm sure my special attacks for my weapons work fine, they all the proper emotes and stuff show when I use the spec. However, when I use any weapon's special attack on certain monsters such as the Balance Elemental or Dad, either my character will stop attacking it until I turn the special bar off or it will log my character out. This is what the server says: [CODE] [5/14/13 5:55 PM]: java.lang.ArrayIndexOutOfBoundsException: 1028 [5/14/13 5:55 PM]: at server.model.players.CombatAssistant.activateSpecial( CombatAssistant.java:2776) [5/14/13 5:55 PM]: at server.model.players.CombatAssistant.attackNpc(Combat Assistant.java:198) [5/14/13 5:55 PM]: at server.model.players.Client.process(Client.java:1661) [5/14/13 5:55 PM]: at server.model.players.PlayerHandler.process(PlayerHand ler.java:147) [5/14/13 5:55 PM]: at server.Server.main(Server.java:187)[/CODE] However, when I use any special attack on monsters such as rock crabs, it works fine. Can anyone help me out? I'm new at this and don't know why I'm getting these errors
  4. vincek95

    Working eating

    Hi, I seem to have a problem. None of the food on my server is eatable. I click eat and nothing happens. Can anyone point me in the right direction or give me some code? Thanks.
  5. Close this, solved.
  6. Hi, I have a problem. I transferred my source+cache+client folder from my laptop to my desktop via MicroSD. The server ran fine on the laptop, but when I ran it on the desktop, my server showed as offline. By the way, my desktop is connected to the internet through the network on my laptop ( I don't know if that information was necessary, but I thought it might have something to do with the problem). Here's a picture to show you what I am talking about: [ATTACH=CONFIG]7874[/ATTACH] Any help or advice would be greatly appreciated, thanks.
  7. Nvm solved. Close this.
  8. Hi, I'm a new coder trying to code a PI server. The problem is that whenever I edit the donor points value in the character files, or use ::givedp, the person recieves the donor points, but as soon as he logs out, it shows that the character has 0 donor points in the quest tab, and is unable to purchase anything in the donor shop. Can anyone offer a solution? Thanks.
×