Growlith1223 Posted August 13, 2013 Author Share Posted August 13, 2013 Im making a character editor, got it to load everything but a certain Stringit loads everything fine but when it comes to that line, it acts like it was unable to read anything in the binary for that data.The string it should be showing is "Newb" but it puts nothing into the textbox. when i save though, it literally creates a new line for the title. even though there already is data for the title. i have tried everything, i be stumped by this :I Link to comment Share on other sites More sharing options...
PD Posted August 13, 2013 Share Posted August 13, 2013 Code? Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 13, 2013 Author Share Posted August 13, 2013 edit: i should also mention that if the new line is created, it has no effect on loading the player in the server. it still loads the original title, the char editor can't load it for some reason. the recs are the same, everything Link to comment Share on other sites More sharing options...
santa-clause Posted August 15, 2013 Share Posted August 15, 2013 We can't help you if you don't even put that line -_- Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 15, 2013 Author Share Posted August 15, 2013 sry i probably should have updated the topic, i fixed it. not technically fix but i just put the char editor inside the server's form. it now loads the stuff fine Link to comment Share on other sites More sharing options...
santa-clause Posted August 15, 2013 Share Posted August 15, 2013 > sry i probably should have updated the topic, i fixed it. not technically fix but i just put the char editor inside the server's form. it now loads the stuff fineOw ok good to hear that :D Link to comment Share on other sites More sharing options...
blkcrow Posted August 15, 2013 Share Posted August 15, 2013 to read and write strings you need to declare their length like this```Dim Name As String * 30 ```thats why eo declares all its strings like that```Public Type TypeNameName as String * NAME_LENGTH 'where NAME_LENGTH is a constant'End Type```if you dont specify the length of the string the program wont know how many bytes to read/write Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 18, 2013 Author Share Posted August 18, 2013 > -snip-> sry i probably should have updated the topic, i fixed it. not technically fix but i just put the char editor inside the server's form. it now loads the stuff fine 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