Your load and save values are different.. They have to be the same..
tutisle & tutisle = or tutisland & tutisland =
|
Heya, Hopefully their some kind experience people out their to assist me as much as i would assist to them.
So the problem is..
I am starting to add tutisland for 2007 custom remake.. (not the problem)
But...
I started 3 steps..
-- talk to tut guide
-- go to make over mage
-- go back to tut guide to do survival tasks.
not a problem, Logged out
--tutisle =3
But.
When i log back in, it will reset it self,
So i log out to see what tutisle save is,
and its
--tutisle =0
im using original PI with clips etc etc.. took loads of time to make,
But i don't want to throw this project away as it took me week to do it.
here is my tut isle player saves snippets.
Player.java.
Code:public int tutisle;andCode://start quests } else if(token.equals("tutisle")) { p.Incantation = Integer.parseInt(token2); } else if(token.equals("Incantation")) { p.Incantation = Integer.parseInt(token2); } else if(token.equals("dt-kill")) { p.lastDtKill = Integer.parseInt(token2); } else if (token.equals("quest-points")) { p.questPoints = Integer.parseInt(token2); //endo quests
Code://start quests characterfile.write("dt-kill = ", 0, 10); characterfile.write(Integer.toString(p.lastDtKill), 0, Integer.toString(p.lastDtKill).length()); characterfile.newLine(); characterfile.write("quest-points = ", 0, 15); characterfile.write(Integer.toString(p.questPoints), 0, Integer.toString(p.questPoints).length()); characterfile.newLine(); characterfile.write("tutisland = ", 0, 11); characterfile.write(Integer.toString(p.tutisle), 0, Integer.toString(p.tutisle).length()); characterfile.newLine();
Hopefully you can help me.
__________________
Faris
Your load and save values are different.. They have to be the same..
tutisle & tutisle = or tutisland & tutisland =
+ its 12 characters not 11
If you were looking at this:
they're meant to be different.Code:characterfile.write("tutisland = ", 0, 11); characterfile.write(Integer.toString(p.tutisle), 0, Integer.toString(p.tutisle).length()); characterfile.newLine();
Tutisland = represents when player logs out, its on the player file.
I do not have problem with that,
Its all connected fine,
As i said.
When doing the tasks and got tutisland = 3
but when relogging
It resets.
Thanks for trying anyway
Ill check what you mean steen, but I don't think that is the problem
As i said..
http://prntscr.com/25197u
Must be different - it deleted every p.save in player char....
I tried just adding the 12,
it does nothing, its like when it was 11, nothing happened, relog back to 0
As i also said.
When its completed the tasks and log out,
It says tutisle = 3 (what i wanted)
but when you log (in)
it will reset,,
So i am thinking it might be something to do with client.java when something reseted..
Last edited by Mr Faris; 11-18-2013 at 06:54 PM. Reason: Reposted the picture, It was spamming me so i had to change it to tutisland before the lag hit me
That just crashed the player character.
So it resets the account.
Error shows like this
http://prntscr.com/25197u
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |