birdy266 Posted July 23, 2009 Author Share Posted July 23, 2009 Ok so I got both Eclipse 2.8 and Eclipse Evolution I think it is. Anyway I've decided to use 2.8 but I noticed on Evolution you can edit the characters stats through notepad (in account folder) but I can't find a way to do this is 2.8 as in the account folder it has the users folder and then .dat files. Does anyone know how to change the stats of users characters/users?Sorry I hope you understand my post. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Check in your server folder for Stats.ini. Link to comment Share on other sites More sharing options...
birdy266 Posted July 23, 2009 Author Share Posted July 23, 2009 [HP]AddPerLevel=10AddPerStr=10AddPerDef=0AddPerMagi=0AddPerSpeed=0[MP]AddPerLevel=10AddPerStr=0AddPerDef=0AddPerMagi=10AddPerSpeed=0[SP]AddPerLevel=10AddPerStr=0AddPerDef=0AddPerMagi=0AddPerSpeed=20Thats what it is. How would I change that for player use? Link to comment Share on other sites More sharing options...
Harris6310 Posted July 23, 2009 Share Posted July 23, 2009 Thats how meny stats you get per level. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 23, 2009 Share Posted July 23, 2009 You may be referring to Eclipse Evolution 1.0 where you can edit the state, whereas Eclipse Evolution 2.8, you cannot edit the individual character's stats.The way the characters use to be saved, were as .ini files, but .dat files are much faster and more efficiency, reduce lag, etc (refer to [this topic](http://www.touchofdeathforums.com/smf/index.php/topic,47949.msg492847.html#msg492847) for more on the inefficiency of inis).This doesn't mean you cannot edit the character's stats though, it just means you cannot do it directly.With a basic knowledge of scripting, you can modify the character (I may make a tutorial on this).For example, say you want to change Joe's character "EpicJ", say you want to change his name to "EpicP" or something of that nature.Best way to change a character, is to throw it into the Sub JoinGame like so:```If GetPlayerName(Index) = "EpicJ" Then If GetVar("PlayerChange.ini", GetPlayerLogin(Index) & "", GetPlayerName(Index) & "") = "" Then Call SetPlayerName(Index, "EpicP") Call SendPlayerData(Index) Call PutVar("PlayerChange.ini", GetPlayerLogin(Index) & "", GetPlayerName(Index) & "", "Done") End IfEnd If```Then, next time joe logs in with his "EpicJ" character, it will be changed, and the word "Done" will be put under his name in the PlayerChagne.ini file (will be located in the server; it will auto-generate).Check your ini every day, if it looks like this:```[Joe]EpicJ=Done```Then that means his name has been changed, and you can remove the code from your JoinGame sub. Link to comment Share on other sites More sharing options...
birdy266 Posted July 23, 2009 Author Share Posted July 23, 2009 Ah ok that makes sense thank you. 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