Jump to content
MakeWebGames

New Index page


jcvenom

Recommended Posts

  • 1 year later...
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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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]

519667470_Screenshot_2015-06-10-14-34-272.thumb.jpg.103062a821141e4a8f0a97de7cd80274.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...