Jump to content

Xerox

Member
  • Content count

    66
  • Joined

  • Last visited

  1. Hey how far is 317 Mercury coming?

  2. Xerox

    Simple Home Page

    How is this a tutorial? EDIT: I'll give you some constructive criticism though. Just to be safe, I'd recommend putting a reset in your css file. This one looks good: [url]http://meyerweb.com/eric/tools/css/reset/[/url] Also, I know it's just a simple design, but having two grays for the navbar and then stark white background with an.. odd... border just doesn't look good at all. Finally, it's probably best not to use copyrighted images as the background. The last two are more personal opinion than the first.
  3. I support this, I love chess (even though I'm not all that good, hover between 1400 and 1500 rating or so, as far as I can tell).
  4. I would consider them staff, because in an RSPS, generally there are only three admins and just as many mods. The mods have just as big a job as the admins (the ingame part), so I consider them staff. That's what I would do on my server, anyway.
  5. Xerox

    UnHate

    You guys do realize these are photoshopped, right? (just checking)
  6. Xerox

    [PI] Fight Caves Help

    Bump please, still need this.
  7. If you're trying to do it through a remote connection, you can't. 000webhost doesn't allow remote database connections. I've tried.
  8. Even better, learn how to use a webhost and use SMF: [url]http://download.simplemachines.org/[/url]
  9. Xerox

    [317]Mercury

    [U]11/15/11[/U] [LIST] [*]Removed donator rank crown [*]Added green text for donators and red text for root admins [*]Set up basic forums [*]Made a temporary logo [/LIST]
  10. I installed it last, got lots of errors, worked fine. I installed it first on a different forum, no errors, worked fine. Idk.
  11. Get the Member Group Icons mod, then. [url]http://custom.simplemachines.org/mods/index.php?mod=2970[/url]
  12. Xerox

    [PI] Fight Caves Help

    So I had to rip a fight caves minigame out of Runehaze's server since my base didn't come with one, and I got it all except for one part. The NPCs aren't spawning. Here's my java classes: FightCaves.java: [CODE]package server.model.minigames; import server.model.players.Client; import server.Server; import server.model.players.PlayerAssistant; /** * @author Core */ public class FightCaves { private final int[][] WAVES = { {2627}, {2627,2627}, {2630,2627}, {2630,2627,2627}, {2631,2627}, {2631,2627,2627}, {2631,2630}, {2631,2630,2627}, {2631,2630,2627,2627}, {2631,2631}, {2741,2627,2627}, {2741,2630}, {2741,2630,2627}, {2741,2630,2630}, {2741,2631}, {2741,2631,2630}, {2741,2631,2630,2627}, {2741,2741}, {2743,2627,2627}, {2743,2631}, {2743,2631,2627,2627}, {2743,2631,2630,2630}, {2743,2741}, {2743,2741,2627}, {2743,2741,2631}, {2743,2741,2631,2627}, {2743,2741,2631,2630,2627,2627}, {2743,2741,2631,2630,2630}, {2743,2741,2631,2631}, {2743,2741,2741}, {2743,2743}, {2745} }; private int[][] coordinates = { {2398,5086}, {2387,5095}, {2407,5098}, {2417,5082}, {2390,5076}, {2410, 5090} }; public void spawnNextWave(Client c) { if (c != null) { if (c.waveId >= WAVES.length) { c.waveId = 0; return; } if (c.waveId < 0){ return; } int npcAmount = WAVES[c.waveId].length; for (int j = 0; j < npcAmount; j++) { int npc = WAVES[c.waveId][j]; int X = coordinates[j][0]; int Y = coordinates[j][1]; int H = c.heightLevel; int hp = getHp(npc); int max = getMax(npc); int atk = getAtk(npc); int def = getDef(npc); Server.npcHandler.spawnNpc(c, npc, X, Y, H, c.playerId * 4, hp, max, atk, def, true, false); //c.playerId * 4 represents height c.sendMessage("Fight caves is starting!"); } c.tzhaarToKill = npcAmount; c.tzhaarKilled = 0; } else { } } public int getHp(int npc) { switch (npc) { case 2627: return 10; case 2630: return 20; case 2631: return 40; case 2741: return 80; case 2743: return 150; case 2745: return 250; } return 100; } public int getMax(int npc) { switch (npc) { case 2627: return 4; case 2630: return 7; case 2631: return 13; case 2741: return 28; case 2743: return 54; case 2745: return 97; } return 5; } public int getAtk(int npc) { switch (npc) { case 2627: return 30; case 2630: return 50; case 2631: return 100; case 2741: return 150; case 2743: return 450; case 2745: return 650; } return 100; } public int getDef(int npc) { switch (npc) { case 2627: return 30; case 2630: return 50; case 2631: return 100; case 2741: return 150; case 2743: return 300; case 2745: return 500; } return 100; } }[/CODE] PlayerAssistant.java [CODE] public void resetTzhaar() { c.jaddy = -1; c.tzhaarToKill = -1; c.tzhaarKilled = -1; c.getPA().movePlayer(2438,5168,0); } public void enterCaves(int x, int y, int height) { c.getPA().movePlayer(x, y, height); //c.teleHeight = height; //c.height = c.playerId * 4; //c.getPA().movePlayer(2413,5117, c.height); //c.jaddy = 5; c.waveId = 0; c.tzhaarToKill = -1; c.tzhaarKilled = -1; Server.fightCaves.spawnNextWave(c); //Server.npcHandler.spawnNpc(c, 2745, c.absX, c.absY-1, c.heightLevel, 0, 500, 80, 400, 400, true, true); }[/CODE] ActionHandler.java: [CODE] case 9356: c.getPA().enterCaves(2413,5117,c.playerId * 4); //c.getPA().movePlayer(2413,5117, c.playerId * 4); //c.sendMessage("Temporarily removed due to bugs."); break;[/CODE] I think it has to do with the height level as I've had some compiling errors, and I also get the feeling it's something obvious, so please enlighten me. Also, if someone has a tutorial, I searched for ages and couldn't find one.
  13. Xerox

    [317]Mercury

    [U]11/14/11[/U] [LIST] [*]Changed commands to use '/' instead of '::' [*]Worked on Fight Caves minigame (everything but spawning of npcs) [*]Worked on Battle Minigame (framework) [/LIST] [IMG]http://i42.tinypic.com/29kumtv.png[/IMG]
×