Jump to content
MakeWebGames

Recommended Posts

Posted

A simple mod that took me only 5mins to code, tested and working!

This Shows All The Attack Stats Of A User

SQL QUERY

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attacklost.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attackmug.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attackhosp.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attackleave.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in viewuser.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And your done!

Posted

Re: [v1]Attack Stats FREE[v1]

 

Will this work for V2????????? or is there a way to make one for V2 thanks

Just Change

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

To

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: [v1]Attack Stats FREE[v1]

This should be V2

This Shows All The Attack Stats Of A User

SQL QUERY

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attacklost.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attackwon.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attackbeat.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in attacktake.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Add in viewuser.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And your done!

Posted

Re: [v1]Attack Stats FREE[v1]

I found one bug...

in attacklost.php you said put:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

There was one thing you forgot though...

It won't add that to Total Attacks

It also won't add total times attacked...

I did this for mine...

INPUT THIS IN ATTACKLOST.PHP

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

just replace the mysql_ with $db->

Posted

Re: [v1]Attack Stats FREE[v1]

 

I found one bug...

in attacklost.php you said put:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

There was one thing you forgot though...

It won't add that to Total Attacks

It also won't add total times attacked...

I did this for mine...

INPUT THIS IN ATTACKLOST.PHP

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

just replace the mysql_ with $db->

Oh yeah forgot anout that, thx for the post

Posted

Re: [v1]Attack Stats FREE[v1]

One more edit...

Hospitalized is spelt wrong, so u may want to change it from Hospilatized the L and the T are backwards.

Add the last post and this one into your original post for those that are too lazy to scroll for the updates :)

Posted

Re: [v1]Attack Stats FREE[v1]

 

One more edit...

Hospitalized is spelt wrong, so u may want to change it from Hospilatized the L and the T are backwards.

Add the last post and this one into your original post for those that are too lazy to scroll for the updates :)

Done!

  • 5 months later...
Posted

Re: [v1]Attack Stats FREE[v1]

what has happened?

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid=1' at line 1

Query was UPDATE users SET mmugged=mmugged+ WHERE userid=1

Posted

Re: [v1]Attack Stats FREE[v1]

 

what has happened?

QUERY ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE userid=1' at line 1

Query was UPDATE users SET mmugged=mmugged+ WHERE userid=1

Lol whats the query line?

Posted

Re: [v1]Attack Stats FREE[v1]

 

Query was UPDATE users SET mmugged=mmugged+ WHERE userid=1

You're missing something after the mmugged=mmugged+. ;) That field in the user's table needs to go up when a user successfully mugs someone. :)

Posted

Re: [v1]Attack Stats FREE[v1]

Nice LoL Esy But Thanks For The Contrubution To CE

  • 3 months later...

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...