Bonsai Posted August 9, 2014 Share Posted August 9, 2014 Hey there, I just discovered some kind of problem that never happened before. xmlNodeGetChildren doesn't get all the children. It always misses the first one for some reason. I think, but not sure, this problem happened after some update I was forced to install. The same resource is still working on my older version server at least. Someone knows whats going on here? Bonsai Link to comment
arezu Posted August 10, 2014 Share Posted August 10, 2014 It was a bug in 1.4, it was fixed though. Download latest nightly. https://nightly.multitheftauto.com/ Link to comment
Bonsai Posted August 10, 2014 Author Share Posted August 10, 2014 How that happened? I got some message to install a update if I wanna play on a server, so I did. Before, everything was working fine. Hmm Link to comment
RottenFlesh Posted August 10, 2014 Share Posted August 10, 2014 The children table has an index starting with zero, you have to loop it using pairs, not ipairs. As ipairs always start from index one, therefore, missing the first node in the child table. Link to comment
Bonsai Posted August 10, 2014 Author Share Posted August 10, 2014 Actually it also works with ipairs. Anyway, after updating it works fine again. Thanks! Link to comment
Bonsai Posted August 17, 2014 Author Share Posted August 17, 2014 I think this is more serious. This was fixed already, but I got the same buggy version again after I reinstalled MTA. Why are there versions with known bugs still around? I just used the version that you get from Download button on Main site. Link to comment
RottenFlesh Posted August 17, 2014 Share Posted August 17, 2014 Just set the update option to download the lastest nightly versions. There is where the bugfixes are. Link to comment
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