Jump to content

Search the Community

Showing results for tags 'characters'.



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 20 results

  1. Hey guys, i've added more characters like 'õ', 'ä', 'ö'. 'ü' to TextClass file, but it won't compile it. [CODE]TextClass.java:106: error: unmappable character for encoding Cp1257 '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: unclosed character literal '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: unclosed character literal '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: unclosed character literal '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: illegal character: '\u00be' '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: unclosed character literal '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: unclosed character literal '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:106: error: unclosed character literal '3', '4', '5', '6', '7', '8', '9', '┼?', '┼Š', '├Ą', ^ TextClass.java:107: error: unclosed character literal '├ż', '├Č', '├╝' ^ TextClass.java:107: error: unclosed character literal '├ż', '├Č', '├╝' ^ TextClass.java:107: error: unclosed character literal '├ż', '├Č', '├╝' ^ TextClass.java:107: error: illegal character: '\u00b6' '├ż', '├Č', '├╝' ^ TextClass.java:107: error: unclosed character literal '├ż', '├Č', '├╝' ^ TextClass.java:107: error: unclosed character literal '├ż', '├Č', '├╝' ^ TextClass.java:107: error: illegal character: '\u00bc' '├ż', '├Č', '├╝' ^ TextClass.java:107: error: illegal line end in character literal '├ż', '├Č', '├╝' ^ TextClass.java:108: error: illegal start of type }; ^ 17 errors Press any key to continue . . .[/CODE] Any ideas? :confused:
  2. Hi, while testing a source i had a problem with characters that don't save. If i log in and log out, there isn't been any file made in the source so nothing can be saved. Does anyone know a solution? Also, i can't find tutorials on how to change the positions of permanent npc's like shops and how to change what they have in the shop? I'm on a 317 server; TrisidiaX V3. Thanks! :cool:
  3. jaide

    characters models

    where i do put characters models in my cache? in 317 pi
  4. Well earlier today I was editing my signature to have links to both my most recent RSPS release plus my services thread but I could not do so because you are limited to 300 characters in your signature and obviously urls take up a lot of these characters. Then I thought that maybe it would be a good idea to suggest this and see what people think, I will quickly name some advantages to updating this to maybe 500 characters or maybe even making it so urls count for half the amount of characters they are or something along those lines if your being picky. [B][U]Advantages:[/U][/B] [LIST] [*]Allows users to get more views on their threads [*]More thread views overall on the forums [*]Signatures are less limited to their content [/LIST] Let me know what you personally think please.
  5. [IMG]http://i49.tinypic.com/2yvt7vd.png[/IMG] Could use a lot more work. Probably will make the background darker so it doesn't look like a floating head and arms, work on the nose so he doesn't look like a chipmunk, and working on some more detail. All in all this took about 30 minutes to an hour, and could use some ideas. :D My Minecraft character as a drawing: [IMG]http://i50.tinypic.com/sboa9w.png[/IMG]
  6. I was wondering how to make that certain characters arent allowed in name
  7. Lore

    Invalid Characters

    Would it be possible to replace invalid characters with valid characters? So replace the long list here: [CODE] // invalid chars if (username.length() <= 0 || username.length() >= 13 || username.contains("?") || username.contains(":")) { session.getLoginPackets().sendClientPacket(3); return; }[/CODE] With something like putting stuff your name can contain... [CODE] // valid chars if (username.length() >= 1 || username.length() <= 12 || username.contains("a") || username.contains("b")) { something here that makes it so you can log in or something i dunno } else { this would hopefully mean that anything not on the list above would be invalid session.getLoginPackets().sendClientPacket(3); return; }[/CODE] Obviously not exactly like that. I have a huge list of alt codes you can't use, but there's still ways to get around it. So I want it to be a list of characters you CAN use. So something like: ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890 (anything else would be invalid) Then spaces (but not at the start or end of your name (username.startsWith(" ") || username.endsWith(" ")) and perhaps only 1 space (|| username.contains(" "))) This may be a lot to ask, but I can't figure it out. I also hope this makes sense.
  8. I'm using Elysium 317 Source .I looked in my character files no accounts are in there. Here is my playersave: package server.model.players; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import server.Server; import server.util.Misc; public class PlayerSave { /** *Loading **/ public static int loadGame(Client p, String playerName, String playerPass) { String line = ""; String token = ""; String token2 = ""; String[] token3 = new String[3]; boolean EndOfFile = false; int ReadMode = 0; BufferedReader characterfile = null; boolean File1 = false; try { characterfile = new BufferedReader(new FileReader("./Source/Data/characters/"+playerName+".txt")); File1 = true; } catch(FileNotFoundException fileex1) { } if (File1) { //new File ("./Data/characters/"+playerName+".txt"); } else { Misc.println(playerName+": character file not found."); p.newPlayer = false; return 0; } try { line = characterfile.readLine(); } catch(IOException ioexception) { Misc.println(playerName+": error loading file."); return 3; } while(EndOfFile == false && line != null) { line = line.trim(); int spot = line.indexOf("="); if (spot > -1) { token = line.substring(0, spot); token = token.trim(); token2 = line.substring(spot + 1); token2 = token2.trim(); token3 = token2.split("\t"); switch (ReadMode) { case 1: if (token.equals("character-password")) { if (playerPass.equalsIgnoreCase(token2) || Misc.basicEncrypt(playerPass).equals(token2)) { playerPass = token2; } else { return 3; } } break; case 2: if (token.equals("character-height")) { p.heightLevel = Integer.parseInt(token2); } else if (token.equals("character-posx")) { p.teleportToX = (Integer.parseInt(token2) <= 0 ? 3210 : Integer.parseInt(token2)); } else if (token.equals("character-posy")) { p.teleportToY = (Integer.parseInt(token2) <= 0 ? 3424 : Integer.parseInt(token2)); } else if (token.equals("character-rights")) { p.playerRights = Integer.parseInt(token2); } else if (token.equals("Used-Puremaster")) { p.pure = Integer.parseInt(token2); } else if (token.equals("tutorial-progress")) { p.tutorial = Integer.parseInt(token2); } else if (token.equals("crystal-bow-shots")) { p.crystalBowArrowCount = Integer.parseInt(token2); } else if (token.equals("MoneyOrb")) { p.MoneyCash = Integer.parseInt(token2); } else if (token.equals("skull-timer")) { p.skullTimer = Integer.parseInt(token2); } else if (token.equals("EP")) { p.earningPotential = Integer.parseInt(token2); } else if (token.equals("magic-book")) { p.playerMagicBook = Integer.parseInt(token2); } else if (token.equals("xpLock")) { p.xpLock = Boolean.parseBoolean(token2); } else if (token.equals("Jailed")) { p.Jail = Boolean.parseBoolean(token2); } else if (token.equals("summonId")) { p.summonId = Integer.parseInt(token2); } else if (token.equals("slayerPoints")) { p.slayerPoints = Integer.parseInt(token2); } else if (token.equals("has-npc")) { p.hasNpc = Boolean.parseBoolean(token2); } else if (token.equals("Agrith")) { p.Agrith = Boolean.parseBoolean(token2); } else if (token.equals("vls-hits")) { p.degradeTime = Integer.parseInt(token2); } else if (token.equals("Flambeed")) { p.Flambeed = Boolean.parseBoolean(token2); } else if (token.equals("Karamel")) { p.Karamel = Boolean.parseBoolean(token2); } else if (token.equals("Dessourt")) { p.Dessourt = Boolean.parseBoolean(token2); } else if (token.equals("culin")) { p.Culin = Boolean.parseBoolean(token2); } else if (token.equals("Monkey-Kc")) { p.monkeyk0ed = Integer.parseInt(token2); } else if (token.equals("brother-info")) { p.barrowsNpcs[Integer.parseInt(token3[0])][1] = Integer.parseInt(token3[1]); } else if (token.equals("special-amount")) { p.specAmount = Double.parseDouble(token2); } else if (token.equals("selected-coffin")) { p.randomCoffin = Integer.parseInt(token2); } else if (token.equals("barrows-killcount")) { p.pkPoints = Integer.parseInt(token2); } else if (token.equals("teleblock-length")) { p.teleBlockDelay = System.currentTimeMillis(); p.teleBlockLength = Integer.parseInt(token2); } else if (token.equals("pc-points")) { p.pcPoints = Integer.parseInt(token2); } else if (token.equals("gwdelay")) { p.gwdelay = Integer.parseInt(token2); } else if (token.equals("Altar")) { p.altarPrayed = Integer.parseInt(token2); } else if (token.equals("Arma-KC")) { p.Arma = Integer.parseInt(token2); } else if (token.equals("Band-KC")) { p.Band = Integer.parseInt(token2); } else if (token.equals("Zammy-KC")) { p.Zammy = Integer.parseInt(token2); } else if (token.equals("Sara-KC")) { p.Sara = Integer.parseInt(token2); } else if (token.equals("pk-points")) { p.pkPoints = Integer.parseInt(token2); } else if (token.equals("Wheel")) { p.Wheel = Integer.parseInt(token2); } else if (token.equals("SPoints")) { p.SPoints = Integer.parseInt(token2); } else if (token.equals("isDonator")) { p.isDonator = Integer.parseInt(token2); } else if (token.equals("slayerTask")) { p.slayerTask = Integer.parseInt(token2); } else if (token.equals("taskAmount")) { p.taskAmount = Integer.parseInt(token2); } else if (token.equals("magePoints")) { p.magePoints = Integer.parseInt(token2); } else if (token.equals("character-title")) { p.playerTitle = Integer.parseInt(token2); } else if (line.startsWith("KC")) { p.KC = Integer.parseInt(token2); } else if (line.startsWith("DC")) { p.DC = Integer.parseInt(token2); } else if (token.equals("autoRet")) { p.autoRet = Integer.parseInt(token2); } else if (token.equals("trade11")) { p.trade11 = Integer.parseInt(token2); } else if (token.equals("SpeDelay")) { p.SpecialDelay = Integer.parseInt(token2); } else if (token.equals("barrowskillcount")) { p.barrowsKillCount = Integer.parseInt(token2); } else if (token.equals("flagged")) { p.accountFlagged = Boolean.parseBoolean(token2); } else if (token.equals("wave")) { p.waveId = Integer.parseInt(token2); } else if (token.equals("void")) { for (int j = 0; j < token3.length; j++) { p.voidStatus[j] = Integer.parseInt(token3[j]); } } else if (token.equals("fightMode")) { p.fightMode = Integer.parseInt(token2); } else if (token.equals("votingPoints")) { p.votingPoints = Integer.parseInt(token2); } break; case 3: if (token.equals("character-equip")) { p.playerEquipment[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]); p.playerEquipmentN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]); } break; case 4: if (token.equals("character-look")) { p.playerAppearance[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]); } break; case 5: if (token.equals("character-skill")) { p.playerLevel[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]); p.playerXP[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]); } break; case 6: if (token.equals("character-item")) { p.playerItems[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]); p.playerItemsN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]); } break; case 7: if (token.equals("character-bank")) { p.bankItems[Integer.parseInt(token3[0])] = Integer.parseInt(token3[1]); p.bankItemsN[Integer.parseInt(token3[0])] = Integer.parseInt(token3[2]); } break; case 8: if (token.equals("character-friend")) { p.friends[Integer.parseInt(token3[0])] = Long.parseLong(token3[1]); } break; case 9: /* if (token.equals("character-ignore")) { ignores[Integer.parseInt(token3[0])] = Long.parseLong(token3[1]); } */ break; } } else { if (line.equals("[ACCOUNT]")) { ReadMode = 1; } else if (line.equals("[CHARACTER]")) { ReadMode = 2; } else if (line.equals("[EQUIPMENT]")) { ReadMode = 3; } else if (line.equals("[LOOK]")) { ReadMode = 4; } else if (line.equals("[SKILLS]")) { ReadMode = 5; } else if (line.equals("[ITEMS]")) { ReadMode = 6; } else if (line.equals("[BANK]")) { ReadMode = 7; } else if (line.equals("[FRIENDS]")) { ReadMode = 8; } else if (line.equals("[IGNORES]")) { ReadMode = 9; } else if (line.equals("[EOF]")) { try { characterfile.close(); } catch(IOException ioexception) { } return 1; } } try { line = characterfile.readLine(); } catch(IOException ioexception1) { EndOfFile = true; } } try { characterfile.close(); } catch(IOException ioexception) { } return 13; } /** *Saving **/ public static boolean saveGame(Client p) { if(!p.saveFile || p.newPlayer || !p.saveCharacter) { //System.out.println("first"); return false; } if(p.playerName == null || Server.playerHandler.players[p.playerId] == null) { //System.out.println("second"); return false; } p.playerName = p.playerName2; int tbTime = (int)(p.teleBlockDelay - System.currentTimeMillis() + p.teleBlockLength); if(tbTime > 300000 || tbTime < 0){ tbTime = 0; } BufferedWriter characterfile = null; try { characterfile = new BufferedWriter(new FileWriter("./Data/characters/"+p.playerName+".txt")); /*ACCOUNT*/ characterfile.write("[ACCOUNT]", 0, 9); characterfile.newLine(); characterfile.write("character-username = ", 0, 21); characterfile.write(p.playerName, 0, p.playerName.length()); characterfile.newLine(); characterfile.write("character-password = ", 0, 21); characterfile.write(p.playerPass, 0, p.playerPass.length()); characterfile.newLine(); characterfile.newLine(); /*CHARACTER*/ characterfile.write("[CHARACTER]", 0, 11); characterfile.newLine(); characterfile.write("character-height = ", 0, 19); characterfile.write(Integer.toString(p.heightLevel), 0, Integer.toString(p.heightLevel).length()); characterfile.newLine(); characterfile.write("character-posx = ", 0, 17); characterfile.write(Integer.toString(p.absX), 0, Integer.toString(p.absX).length()); characterfile.newLine(); characterfile.write("character-posy = ", 0, 17); characterfile.write(Integer.toString(p.absY), 0, Integer.toString(p.absY).length()); characterfile.newLine(); characterfile.write("character-rights = ", 0, 19); characterfile.write(Integer.toString(p.playerRights), 0, Integer.toString(p.playerRights).length()); characterfile.newLine(); characterfile.write("crystal-bow-shots = ", 0, 20); characterfile.write(Integer.toString(p.crystalBowArrowCount), 0, Integer.toString(p.crystalBowArrowCount).length()); characterfile.newLine(); characterfile.write("character-title = ", 0, 18); characterfile.write(Integer.toString(p.playerTitle), 0, Integer .toString(p.playerTitle).length()); characterfile.newLine(); characterfile.write("VLS-hits = ", 0, 11); characterfile.write(Integer.toString(p.degradeTime), 0, Integer.toString(p.degradeTime).length()); characterfile.newLine(); characterfile.write("MoneyOrb = ", 0, 11); characterfile.write(Integer.toString(p.MoneyCash), 0, Integer.toString(p.MoneyCash).length()); characterfile.newLine(); characterfile.write("skull-timer = ", 0, 14); characterfile.write(Integer.toString(p.skullTimer), 0, Integer.toString(p.skullTimer).length()); characterfile.newLine(); characterfile.write("EP = ", 0, 5); characterfile.write(Integer.toString(p.earningPotential), 0, Integer.toString(p.earningPotential).length()); characterfile.newLine(); characterfile.write("magic-book = ", 0, 13); characterfile.write(Integer.toString(p.playerMagicBook), 0, Integer.toString(p.playerMagicBook).length()); characterfile.newLine(); for (int b = 0; b < p.barrowsNpcs.length; b++) { characterfile.write("brother-info = ", 0, 15); characterfile.write(Integer.toString(b), 0, Integer.toString(b).length()); characterfile.write(" ", 0, 1); characterfile.write(p.barrowsNpcs[b][1] <= 1 ? Integer.toString(0) : Integer.toString(p.barrowsNpcs[b][1]), 0, Integer.toString(p.barrowsNpcs[b][1]).length()); characterfile.newLine(); } characterfile.write("special-amount = ", 0, 17); characterfile.write(Double.toString(p.specAmount), 0, Double.toString(p.specAmount).length()); characterfile.newLine(); characterfile.write("selected-coffin = ", 0, 18); characterfile.write(Integer.toString(p.randomCoffin), 0, Integer.toString(p.randomCoffin).length()); characterfile.newLine(); characterfile.write("barrows-killcount = ", 0, 20); characterfile.write(Integer.toString(p.barrowsKillCount), 0, Integer.toString(p.barrowsKillCount).length()); characterfile.newLine(); characterfile.write("slayerPoints = ", 0, 15); characterfile.write(Integer.toString(p.slayerPoints), 0, Integer.toString(p.slayerPoints).length()); characterfile.newLine(); characterfile.write("teleblock-length = ", 0, 19); characterfile.write(Integer.toString(tbTime), 0, Integer.toString(tbTime).length()); characterfile.newLine(); characterfile.write("Wheel = ", 0, 8); characterfile.write(Integer.toString(p.Wheel), 0, Integer.toString(p.Wheel).length()); characterfile.newLine(); characterfile.write("pc-points = ", 0, 12); characterfile.write(Integer.toString(p.pcPoints), 0, Integer.toString(p.pcPoints).length()); characterfile.newLine(); characterfile.write("gwdelay = ", 0, 10); characterfile.write(Integer.toString(p.gwdelay), 0, Integer.toString(p.gwdelay).length()); characterfile.newLine(); characterfile.write("Altar = ", 0, 8); characterfile.write(Integer.toString(p.altarPrayed), 0, Integer.toString(p.altarPrayed).length()); characterfile.newLine(); characterfile.write("Arma-KC = ", 0, 10); characterfile.write(Integer.toString(p.Arma), 0, Integer.toString(p.Arma).length()); characterfile.newLine(); characterfile.write("Band-KC = ", 0, 10); characterfile.write(Integer.toString(p.Band), 0, Integer.toString(p.Band).length()); characterfile.newLine(); characterfile.write("Zammy-KC = ", 0, 11); characterfile.write(Integer.toString(p.Zammy), 0, Integer.toString(p.Zammy).length()); characterfile.newLine(); characterfile.write("Sara-KC = ", 0, 10); characterfile.write(Integer.toString(p.Sara), 0, Integer.toString(p.Sara).length()); characterfile.newLine(); characterfile.newLine(); characterfile.write("pk-points = ", 0, 12); characterfile.write(Integer.toString(p.pkPoints), 0, Integer.toString(p.pkPoints).length()); characterfile.newLine(); characterfile.newLine(); characterfile.write("isDonator = ", 0, 12); characterfile.write(Integer.toString(p.isDonator), 0, Integer.toString(p.isDonator).length()); characterfile.newLine(); characterfile.write("slayerTask = ", 0, 13); characterfile.write(Integer.toString(p.slayerTask), 0, Integer.toString(p.slayerTask).length()); characterfile.newLine(); characterfile.write("xpLock = ", 0, 9); characterfile.write(Boolean.toString(p.xpLock), 0, Boolean.toString(p.xpLock).length()); characterfile.newLine(); characterfile.write("Agrith = ", 0, 9); characterfile.write(Boolean.toString(p.Agrith), 0, Boolean.toString(p.Agrith).length()); characterfile.newLine(); characterfile.write("has-npc = ", 0, 10); characterfile.write(Boolean.toString(p.hasNpc), 0, Boolean.toString(p.hasNpc).length()); characterfile.newLine(); characterfile.write("summonId = ", 0, 11); characterfile.write(Integer.toString(p.summonId), 0, Integer.toString(p.summonId).length()); characterfile.newLine(); characterfile.write("Flambeed = ", 0, 11); characterfile.write(Boolean.toString(p.Flambeed), 0, Boolean.toString(p.Flambeed).length()); characterfile.newLine(); characterfile.write("Karamel = ", 0, 10); characterfile.write(Boolean.toString(p.Karamel), 0, Boolean.toString(p.Karamel).length()); characterfile.newLine(); characterfile.write("Dessourt = ", 0, 11); characterfile.write(Boolean.toString(p.Dessourt), 0, Boolean.toString(p.Dessourt).length()); characterfile.newLine(); characterfile.write("culin = ", 0, 8); characterfile.write(Boolean.toString(p.Culin), 0, Boolean.toString(p.Culin).length()); characterfile.newLine(); characterfile.write("taskAmount = ", 0, 13); characterfile.write(Integer.toString(p.taskAmount), 0, Integer.toString(p.taskAmount).length()); characterfile.newLine(); characterfile.write("magePoints = ", 0, 13); characterfile.write(Integer.toString(p.magePoints), 0, Integer.toString(p.magePoints).length()); characterfile.newLine(); characterfile.write("KC = ", 0, 4); characterfile.write(Integer.toString(p.KC), 0, Integer.toString(p.KC).length()); characterfile.newLine(); characterfile.write("DC = ", 0, 4); characterfile.write(Integer.toString(p.DC), 0, Integer.toString(p.DC).length()); characterfile.newLine(); characterfile.write("autoRet = ", 0, 10); characterfile.write(Integer.toString(p.autoRet), 0, Integer.toString(p.autoRet).length()); characterfile.newLine(); characterfile.write("trade11 = ", 0, 10); characterfile.write(Integer.toString(p.trade11), 0, Integer.toString(p.trade11).length()); characterfile.newLine(); characterfile.write("SpeDelay = ", 0, 11); characterfile.write(Long.toString(p.SpecialDelay), 0, Long.toString(p.SpecialDelay).length()); characterfile.newLine(); characterfile.write("barrowskillcount = ", 0, 19); characterfile.write(Integer.toString(p.barrowsKillCount), 0, Integer.toString(p.barrowsKillCount).length()); characterfile.newLine(); characterfile.write("flagged = ", 0, 10); characterfile.write(Boolean.toString(p.accountFlagged), 0, Boolean.toString(p.accountFlagged).length()); characterfile.newLine(); characterfile.write("Jailed = ", 0, 9); characterfile.write(Boolean.toString(p.Jail), 0, Boolean.toString(p.Jail).length()); characterfile.newLine(); characterfile.write("wave = ", 0, 7); characterfile.write(Integer.toString(p.waveId), 0, Integer.toString(p.waveId).length()); characterfile.newLine(); characterfile.write("fightMode = ", 0, 12); characterfile.write(Integer.toString(p.fightMode), 0, Integer.toString(p.fightMode).length()); characterfile.newLine(); characterfile.write("votingPoints = ", 0, 15); characterfile.write(Integer.toString(p.votingPoints), 0, Integer.toString(p.votingPoints).length()); characterfile.newLine(); characterfile.write("Monkey-Kc = ", 0, 12); characterfile.write(Integer.toString(p.monkeyk0ed), 0, Integer.toString(p.monkeyk0ed).length()); characterfile.newLine(); characterfile.write("void = ", 0, 7); String toWrite = p.voidStatus[0] + "\t" + p.voidStatus[1] + "\t" + p.voidStatus[2] + "\t" + p.voidStatus[3] + "\t" + p.voidStatus[4]; characterfile.write(toWrite); characterfile.newLine(); characterfile.newLine(); /*EQUIPMENT*/ characterfile.write("[EQUIPMENT]", 0, 11); characterfile.newLine(); for (int i = 0; i < p.playerEquipment.length; i++) { characterfile.write("character-equip = ", 0, 18); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerEquipment[i]), 0, Integer.toString(p.playerEquipment[i]).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerEquipmentN[i]), 0, Integer.toString(p.playerEquipmentN[i]).length()); characterfile.write(" ", 0, 1); characterfile.newLine(); } characterfile.newLine(); /*LOOK*/ characterfile.write("[LOOK]", 0, 6); characterfile.newLine(); for (int i = 0; i < p.playerAppearance.length; i++) { characterfile.write("character-look = ", 0, 17); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerAppearance[i]), 0, Integer.toString(p.playerAppearance[i]).length()); characterfile.newLine(); } characterfile.newLine(); /*SKILLS*/ characterfile.write("[SKILLS]", 0, 8); characterfile.newLine(); for (int i = 0; i < p.playerLevel.length; i++) { characterfile.write("character-skill = ", 0, 18); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerLevel[i]), 0, Integer.toString(p.playerLevel[i]).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerXP[i]), 0, Integer.toString(p.playerXP[i]).length()); characterfile.newLine(); } characterfile.newLine(); /*ITEMS*/ characterfile.write("[ITEMS]", 0, 7); characterfile.newLine(); for (int i = 0; i < p.playerItems.length; i++) { if (p.playerItems[i] > 0) { characterfile.write("character-item = ", 0, 17); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerItems[i]), 0, Integer.toString(p.playerItems[i]).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.playerItemsN[i]), 0, Integer.toString(p.playerItemsN[i]).length()); characterfile.newLine(); } } characterfile.newLine(); /*BANK*/ characterfile.write("[BANK]", 0, 6); characterfile.newLine(); for (int i = 0; i < p.bankItems.length; i++) { if (p.bankItems[i] > 0) { characterfile.write("character-bank = ", 0, 17); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.bankItems[i]), 0, Integer.toString(p.bankItems[i]).length()); characterfile.write(" ", 0, 1); characterfile.write(Integer.toString(p.bankItemsN[i]), 0, Integer.toString(p.bankItemsN[i]).length()); characterfile.newLine(); } } characterfile.newLine(); /*FRIENDS*/ characterfile.write("[FRIENDS]", 0, 9); characterfile.newLine(); for (int i = 0; i < p.friends.length; i++) { if (p.friends[i] > 0) { characterfile.write("character-friend = ", 0, 19); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write("" + p.friends[i]); characterfile.newLine(); } } characterfile.newLine(); /*IGNORES*/ /*characterfile.write("[IGNORES]", 0, 9); characterfile.newLine(); for (int i = 0; i < ignores.length; i++) { if (ignores[i] > 0) { characterfile.write("character-ignore = ", 0, 19); characterfile.write(Integer.toString(i), 0, Integer.toString(i).length()); characterfile.write(" ", 0, 1); characterfile.write(Long.toString(ignores[i]), 0, Long.toString(ignores[i]).length()); characterfile.newLine(); } } characterfile.newLine();*/ /*EOF*/ characterfile.write("[EOF]", 0, 5); characterfile.newLine(); characterfile.newLine(); characterfile.close(); } catch(IOException ioexception) { Misc.println(p.playerName+": error writing file."); return false; } return true; } }
  9. I'm using NRS3server as base so, it doesnt have a special characters protection, so i can just create a account like Inâãfinity , and it will show like In♠ÒÓfinity, how i can block special chars lol?
  10. I have just now started looking at 667 servers (i've been working with 317s untill now) and i was wondering how i edit the character files so i could make myself an admin. im currently playing with rscalifornia (not going to release a server with it, just playing around) and the character files are ".p" ?
  11. A couple of things I made with a program I found. They're links because they're HUGE I can't figure out how re-size the canvas :[ This is the latest: [url]http://i967.photobucket.com/albums/ae151/Toxicturn/sifi.png[/url] This is also new: [url]http://i967.photobucket.com/albums/ae151/Toxicturn/Soldier_Good.png[/url] This is old [url]http://i967.photobucket.com/albums/ae151/Toxicturn/Soldier.png[/url]
  12. Hey guys ive just downloaded overloadx and there seems to me problems right away. I know most of you would say just download a new source but its not my style to just give up. Anyways the problem is the characters not saving after the cmd is closed if i re open the source everyone starts back at level 3 nothing in bank and nothing in inv please help me thanks ;)
  13. I don't even remember what I was adding, but now my characters are all invisible upon login. I've tried using previous caches, but the problem still exists. Evidence: [IMG]http://img31.imageshack.us/img31/9572/image20111223at105716am.jpg[/IMG] I can pay for help if need be.
  14. Hey guys so im stating up my own server dementhium based and i was wondering if there was a way i can get the char files? I know you can do most things through actionsender.java but i know there is a fix to char files. Atm they are all decoded and cannot be read. How can i fix this? P.s also looking for a co coder to help me with this. Add me on msn : [email][email protected][/email]
  15. How does one accomplish this? I've seen websites URL like "Http://www.facebook.com/[B]#![/B]/view.php?id=#$$%#". Pretty much that bold [B]#![/B]
  16. I want to add 474 items, 474 Characters, 474 Maps, 474 GFX, 474 Emotes. To my 317 Project Insanity client. Help please, or link to tutorials thanks. Looked everywhere.
  17. I've noticed that sometimes when someone dcs or something, and then log back in, they may have a duplicate. I have no idea how to fix this nor have I seen a tutorial or snippet. If you would be kind enough to enlighten me it would be greatly appreciated. Thanks in advance!
  18. banshee

    Characters problem.

    Well lately ive been trying to teach myself on how to do things coding..its going good so far but i have no "character" files at all, no files for that have showed on any source i have used..would someone show me on how to make it so where i have it again? meaning where i can make myself owner & such.
  19. [CENTER]im my rsps when i fight a npc or another player the players automatically say null any idea how i can fix this. msn: [email][email protected][/email][/CENTER]
  20. can anyone nice help me add playtime to characters files and a command like ::played to see thier playtime? :D <3
×