boionfire81 Posted July 8, 2016 Share Posted July 8, 2016 (edited) 1,2,3,4,5,6,7,8,9,10 Edited November 24, 2016 by boionfire81 Quote Link to comment Share on other sites More sharing options...
HaxXXxaH Posted July 8, 2016 Share 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 Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted July 8, 2016 Share Posted July 8, 2016 Their name isn't numbers, is it? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted July 9, 2016 Share 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 Link to comment Share on other sites More sharing options...
Magictallguy Posted July 9, 2016 Share 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 Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted July 10, 2016 Share 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 Link to comment Share on other sites More sharing options...
Magictallguy Posted July 10, 2016 Share 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 Link to comment Share on other sites More sharing options...
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.