Halo Posted March 29, 2008 Posted March 29, 2008 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! Quote
ronhouston2 Posted March 29, 2008 Posted March 29, 2008 Re: [v1]Attack Stats FREE[v1] Will this work for V2????????? or is there a way to make one for V2 thanks Quote
Klikoka Posted March 29, 2008 Posted March 29, 2008 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. Quote
Halo Posted March 30, 2008 Author Posted March 30, 2008 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! Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v1]Attack Stats FREE[v1] Yes i tested this on my v2 game it should work Quote
The Ace Posted April 5, 2008 Posted April 5, 2008 Re: [v1]Attack Stats FREE[v1] Whereabouts do I add the code in the files? Quote
Halo Posted April 5, 2008 Author Posted April 5, 2008 Re: [v1]Attack Stats FREE[v1] Whereabouts do I add the code in the files? Where the queries are, around the bottom Quote
KDawg08 Posted April 5, 2008 Posted April 5, 2008 Re: [v1]Attack Stats FREE[v1] I am currently using this mod. Works wonderfully, Thanks a lot! :) Members Love it. Quote
KDawg08 Posted April 6, 2008 Posted April 6, 2008 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-> Quote
Halo Posted April 6, 2008 Author Posted April 6, 2008 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 Quote
KDawg08 Posted April 6, 2008 Posted April 6, 2008 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 :) Quote
Halo Posted April 6, 2008 Author Posted April 6, 2008 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! Quote
The Ace Posted April 6, 2008 Posted April 6, 2008 Re: [v1]Attack Stats FREE[v1] Thanks for this mod! +1! Works fine for me now! :-P Quote
gulley Posted September 23, 2008 Posted September 23, 2008 Re: [v1]Attack Stats FREE[v1] How do you add it to index what do you put in to get the zeros up? Quote
gulley Posted September 23, 2008 Posted September 23, 2008 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 Quote
Joel Posted September 23, 2008 Posted September 23, 2008 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? Quote
War_Hero Posted September 23, 2008 Posted September 23, 2008 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. :) Quote
SpEcKs Posted September 24, 2008 Posted September 24, 2008 Re: [v1]Attack Stats FREE[v1] so does this work ? Quote
Guest Sniko` Posted September 24, 2008 Posted September 24, 2008 Re: [v1]Attack Stats FREE[v1] Nice LoL Esy But Thanks For The Contrubution To CE Quote
gulley Posted September 24, 2008 Posted September 24, 2008 Re: [v1]Attack Stats FREE[v1] Could Any one tell me what i have dont wrong? ..Thanks .xX Quote
gurpreet Posted January 18, 2009 Posted January 18, 2009 Re: [mccode v1]Attack Stats Can't get this to work: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Done at least 20 hosps and lots of money mugged. Quote
AlabamaHit Posted January 18, 2009 Posted January 18, 2009 Re: [mccode v1]Attack Stats you put the information in the wrong attack files i would say.... When I bought v2 the attack files where not right. attackleave was for muggin and such. 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.