boionfire81 Posted July 8, 2016 Posted July 8, 2016 (edited) 1,2,3,4,5,6,7,8,9,10 Edited November 24, 2016 by boionfire81 Quote
HaxXXxaH Posted July 8, 2016 Posted July 8, 2016 (edited) Need more info than that.. You're better off posting the entire script. Edited July 8, 2016 by HaxXXxaH Quote
Magictallguy Posted July 9, 2016 Posted July 9, 2016 Look at the main select query for grabbing the user's data (should be within the top 30 lines by default) Quote
Magictallguy Posted July 9, 2016 Posted July 9, 2016 McCodes is against posting full code.[...] Also, MC Craps can feck off - ain't our fault they created a script so buggy that an entire community has to repair it Quote
TheMasterGeneral Posted July 10, 2016 Posted July 10, 2016 I know it worked right off the bat in stock MCCraps, and I'm fairly confident in saying that a file rename wouldn't break a script like that. (The file name changed, not the logic, right?) See if you gave $odata['username'] another value somewhere to cause it to derp. Quote
Magictallguy Posted July 10, 2016 Posted July 10, 2016 Suggestion: Make MySQL do the majority of the work here.. $odata_sql = 'SELECT `userid`, `hp`, `infirmary`, `jail` `username`, `gang`, `location`, `maxhp`, `gender` `guard`, `agility`, `strength` FROM `users` NATURAL JOIN `userstats` WHERE `userid` = '.$_GET['ID']; $q = $db->query($odata_sql); //[...] Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.