crzyone9584 Posted March 15, 2011 Author Share Posted March 15, 2011 Before I push out an update for knjiru, would the entire user base have to be deleted/converted if i change lets say the MP stat to be SP instead?Thanks Crzy Link to comment Share on other sites More sharing options...
Viral Dragon Posted March 15, 2011 Share Posted March 15, 2011 Why? Why would that have to happen? All you're doing is updating the src fileand updating a name. It's not like you're migrating to a new server.-Viral. Link to comment Share on other sites More sharing options...
crzyone9584 Posted March 15, 2011 Author Share Posted March 15, 2011 You must not know how it works then. When a user creates a account information is held into it via text in a .bin file. I'm not sure if its named base or if its based off the number of the array for the stats. Link to comment Share on other sites More sharing options...
Viral Dragon Posted March 15, 2011 Share Posted March 15, 2011 Yes but the text for stats in the src files,and the GUI has the other text. I might test this, but I don'tsee why you would need to. Just change the source files andchange the text, so where it says "+1 intelligence" change itto "+1 wood skill" (or whatever it's named). And then on the GUIpicture change it from INT to WCS (or whatever you want to name it).I would think that it will auto update for everyone.-Viral. Link to comment Share on other sites More sharing options...
crzyone9584 Posted March 15, 2011 Author Share Posted March 15, 2011 Dont think you understand my question. Changing them in the source is fine I know how to do that. Its how they are called. I haven't looked far into where they are all called.for instance when a player joins the server the stats are loaded```For i = 1 to MAX_STATSgoes through stats on player join.next```To me that looks like if the numbers dont get changed but the text does it should be okay. But if in the player.bin the information is saved likeHP = 200MP = 100then It would require the player.bin to be converted or deleted. So i was asking if anyone knew how the stats are saved in the player.bin so i know if i'd have to delete the .bin files or not. Link to comment Share on other sites More sharing options...
iSKweek Posted March 15, 2011 Share Posted March 15, 2011 Robin would be the only one that knows. You can try changing the save function,thingy for player stuff to save in .txt format and check, or you can just try changing the names in the source and see if it works. Pretty sure it is just numbers though. Link to comment Share on other sites More sharing options...
crzyone9584 Posted March 15, 2011 Author Share Posted March 15, 2011 Thats what i was hoping/thinking. I guess I'll just have to test it out and find out lol… Link to comment Share on other sites More sharing options...
MCADAMS Posted March 15, 2011 Share Posted March 15, 2011 A quick "replace all" in the client and server files shouldn't do any harm. Link to comment Share on other sites More sharing options...
crzyone9584 Posted March 16, 2011 Author Share Posted March 16, 2011 wow it was as an easy quick replace all… Took just a little under an hour and a half to get it all working. Grant it the equations are all jacked up and I'll have to go get them fixed up. But to answer the question either player.bin will have to be deleted or I'll have to build a player file convertor.... Link to comment Share on other sites More sharing options...
The New World Posted March 16, 2011 Share Posted March 16, 2011 Solved? Great. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now