playersave.java
|
I want to add so that is has SlayerPoints in everyones character file when they start here is how the character files are set up now
so yeah like when they get SlayerPoints ingame it doesnt save if the log out. All help wanted Thanks will ReppCode:[ACCOUNT] character-username = character-password = [CHARACTER] character-height = 0 character-posx = 3348 character-posy = 3343 character-rights = 3 crystal-bow-shots = 26 VLS-hits = 0 skull-timer = -1 EP = 30 character-longsword = 916 character-warhammer = 1000 character-spear = 1000 character-chainbody = 1000 character-chainskirt = 1000 character-full helm = 1000 character-platebody = 1000 character-platelegs = 1000 character-hood = 1000 character-staff = 1000 character-robe top = 1000 character-robe bottom = 1000 character-leather body = 799 character-chaps = 799 magic-book = 0 brother-info = 0 0 brother-info = 1 0 brother-info = 2 0 brother-info = 3 0 brother-info = 4 0 brother-info = 5 0 special-amount = 434.5 selected-coffin = 0 barrows-killcount = 0 teleblock-length = 0 pc-points = 1004 gwdelay = 0 Altar = 1 Arma-KC = 0 Band-KC = 0 Zammy-KC = 0 Sara-KC = 0 pk-points = 74336 isDonator = 1 donatorChest = 999856 slayerTask = -1 xpLock = false Agrith = true Flambeed = true Karamel = true Dessourt = true culin = true taskAmount = 0 magePoints = 1 KC =43 DC =43 totalstored = 0 autoRet = 1 trade11 = 0 SpeDelay = 0 barrowskillcount = 0 flagged = true Rules = false shopping = true Jailed = false wave = -1 dfs-charges = 0 lastsummon = -1 summoningnpcid = 0 fightMode = 0 SlayerPoin5 Monkey-Kc = 0 void = 0 0 0 0 0 [EQUIPMENT] character-equip = 0 18510 1 character-equip = 1 19710 1 character-equip = 2 -1 1 character-equip = 3 -1 0 character-equip = 4 15028 1 character-equip = 5 20072 1 character-equip = 6 -1 0 character-equip = 7 15029 1 character-equip = 8 -1 0 character-equip = 9 15032 1 character-equip = 10 15031 1 character-equip = 11 -1 0 character-equip = 12 20053 1 character-equip = 13 11212 20 [LOOK] character-look = 0 0 character-look = 1 3 character-look = 2 18 character-look = 3 26 character-look = 4 33 character-look = 5 36 character-look = 6 42 character-look = 7 13 character-look = 8 5 character-look = 9 0 character-look = 10 0 character-look = 11 0 character-look = 12 0 [SKILLS] character-skill = 0 99 88847636 character-skill = 1 99 13034436 character-skill = 2 99 13034436 character-skill = 3 99 200000000 character-skill = 4 99 14391160 character-skill = 5 99 14395960 character-skill = 6 99 14593070 character-skill = 7 99 14442760 character-skill = 8 99 14391160 character-skill = 9 99 14400040 character-skill = 10 99 14422760 character-skill = 11 99 14391160 character-skill = 12 99 14391160 character-skill = 13 99 14391160 character-skill = 14 99 14391160 character-skill = 15 99 14392360 character-skill = 16 99 14564410 character-skill = 17 99 14801960 character-skill = 18 99 15119136 character-skill = 19 99 14750680 character-skill = 20 99 14472120 character-skill = 21 99 14391160 character-skill = 22 99 13034436 character-skill = 23 1 5 character-skill = 24 99 14391160 [ITEMS] [BANK] [STORED] stored = 0 -1 stored = 1 -1 stored = 2 -1 stored = 3 -1 stored = 4 -1 stored = 5 -1 stored = 6 -1 stored = 7 -1 stored = 8 -1 stored = 9 -1 stored = 10 -1 stored = 11 -1 stored = 12 -1 stored = 13 -1 stored = 14 -1 stored = 15 -1 stored = 16 -1 stored = 17 -1 stored = 18 -1 stored = 19 -1 stored = 20 -1 stored = 21 -1 stored = 22 -1 stored = 23 -1 stored = 24 -1 stored = 25 -1 stored = 26 -1 stored = 27 -1 stored = 28 -1 [OCCUPY] occupy = 0 false occupy = 1 false occupy = 2 false occupy = 3 false occupy = 4 false occupy = 5 false occupy = 6 false occupy = 7 false occupy = 8 false occupy = 9 false occupy = 10 false occupy = 11 false occupy = 12 false occupy = 13 false occupy = 14 false occupy = 15 false occupy = 16 false occupy = 17 false occupy = 18 false occupy = 19 false occupy = 20 false occupy = 21 false occupy = 22 false occupy = 23 false occupy = 24 false occupy = 25 false occupy = 26 false occupy = 27 false occupy = 28 false [EOF]
playersave.java
declare that in player .java?Code:public int slayerPoints;
Code:characterfile.write("SlayerPoints = ", 0, 10); characterfile.write(Integer.toString(p.SlayerPoints), 0, Integer.toString(p.SlayerPoints).length()); characterfile.write("SlayerPointst = ", 0, 20); characterfile.write(Integer.toString(p.barrowsKillCount), 0, Integer.toString(p.barrowsKillCount).length()); characterfile.newLine();
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |