KyleMassacre Posted July 24, 2013 Share Posted July 24, 2013 @kcmajor36: Please wrap you code in code tags please. There are like 5 buttons in the "Go Advanced" reply are which has PHP HTML CODE SQL CSS And all those are accessible by putting them in brackets like so: [one of those above]your awesome stuff here[/one of those above] Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted June 5, 2015 Share Posted June 5, 2015 Ok I made a new index page which i used to use on my old game its pretty much advanced Ok replace your index Page with This You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. And your done screenies are below [ATTACH=CONFIG]1053[/ATTACH][ATTACH=CONFIG]1054[/ATTACH] One problem, attacking record is not showing. Well it is, just not how many won/lost Quote Link to comment Share on other sites More sharing options...
Veramys Posted June 5, 2015 Share Posted June 5, 2015 Do you record how many times someone wins or loses? Quote Link to comment Share on other sites More sharing options...
jcvenom Posted June 5, 2015 Author Share Posted June 5, 2015 Lol this was years ago when i was still learning coding, now im pro Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted June 5, 2015 Share Posted June 5, 2015 Do you record how many times someone wins or loses? I haven't opened up attack logs in quite some time but doesn't that track it? You can just query up the sum in the table. Quote Link to comment Share on other sites More sharing options...
Veramys Posted June 5, 2015 Share Posted June 5, 2015 Unless you clear out old attack logs. Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted June 6, 2015 Share Posted June 6, 2015 Do you record how many times someone wins or loses? Yes I do, I will post my old index code, So you can see how it is on there, I tried editing it, but then it returned a blank page - - - Updated - - - Lol this was years ago when i was still learning coding, now im pro Still good :) Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted June 6, 2015 Share Posted June 6, 2015 Do you record how many times someone wins or loses? Here is my old index.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I have tried going off the queries from this, but still nothing.. Can anyone help? Please Quote Link to comment Share on other sites More sharing options...
G7470 Posted June 8, 2015 Share Posted June 8, 2015 I have tried going off the queries from this, but still nothing.. Can anyone help? Please Well, what does your current index.php look like when attempting to use these queries? That will at least help show what you've tried so far. ~G7470 Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted June 8, 2015 Share Posted June 8, 2015 Well, what does your current index.php look like when attempting to use these queries? That will at least help show what you've tried so far. ~G7470 This is what I have so far [ATTACH]2097[/ATTACH] Quote Link to comment Share on other sites More sharing options...
G7470 Posted June 8, 2015 Share Posted June 8, 2015 This is what I have so far [ATTACH]2097[/ATTACH] Oops, I guess I didn't say it right..haha. Looks nice, but what does your index.php code currently look like? ~G7470 Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted June 9, 2015 Share Posted June 9, 2015 Oops, I guess I didn't say it right..haha. Looks nice, but what does your index.php code currently look like? ~G7470 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
G7470 Posted June 9, 2015 Share Posted June 9, 2015 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. A quick glance shows that if you are not storing attack information in the users table, then simply using You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. to get "attacks won" won't work for you. Same goes with the other attack information variables there. You have to (at least) reference the data that you were originally using to generate this information. This is what you were originally doing to do so: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Once you understand what this snippet of code here is doing, you should be able to see what variables should go where in the new index file in order to display it properly. ~G7470 Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted June 9, 2015 Share Posted June 9, 2015 Repaired and sent in response to the very same message in my inbox :/ Quote Link to comment Share on other sites More sharing options...
-BRAIDZ- Posted June 10, 2015 Share Posted June 10, 2015 Repaired and sent in response to the very same message in my inbox :/ Thanks, I got it, copied the code, and it fixed the attack problem. Now I'm having a problem with normal Stats, it's not showing them correctly, such as my strength is at 14,000+ and it's just saying 14 I will provide a screen shot.. What could be causing this [ATTACH]2100[/ATTACH] 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.