Sp1d3r Posted March 25, 2009 Share Posted March 25, 2009 Re: Battle ladder [Mccodes V2] Insert Quote yeah i was wondering if illusions can put all of his edit in one new post cause everything is spread out this would help alot I agree. Thats one thing that drives me nuts is that we can't edit post after sometime so we end up with posts with mods all broken up. :wink: FYI MD Sp1d3r www.chaosrelic.com Quote Link to comment Share on other sites More sharing options...
Uridium Posted March 25, 2009 Share Posted March 25, 2009 Re: Battle ladder [Mccodes V2] Yep gotta agree the Editing of posts is a bit silly i would recommend 24 hours from posting the script so you can fine tune faults you find later... But to add my script again would just confuse anyone who hasnt read this post page and is just working from say page 2 or 3.... Quote Link to comment Share on other sites More sharing options...
redsnake420 Posted March 25, 2009 Share Posted March 25, 2009 Re: Battle ladder [Mccodes V2] i have read all the pages maybe you could pm me you codes for this? if so thanks Quote Link to comment Share on other sites More sharing options...
cruz Posted March 27, 2009 Share Posted March 27, 2009 Re: Battle ladder [Mccodes V2] I always thought that reading the entire thread was a requirement for using a mod from ce, as you have to make sure there are no edits later on. My version does not have the staff panel add-ons so you just have to choose which then add it to your game then make adjustments to your game. There are very few mods you can add from ce that wont require you to do something. Everyones game is a bit different and if its a great game its alot different lol. Thanks for the mod. Quote Link to comment Share on other sites More sharing options...
XxJAYSONxX23 Posted April 7, 2009 Share Posted April 7, 2009 Re: Battle ladder [Mccodes V2] Has anybody tested this on a site in which I can see. I want to see what it looks like before I install it. Please let me know. Thanks Quote Link to comment Share on other sites More sharing options...
phoenix201012 Posted February 3, 2011 Share Posted February 3, 2011 I looked but cant find a way to make it so when score is less than 0 it takes them off cus all that i happening is peolpe get -28 score. Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted May 31, 2016 Share Posted May 31, 2016 What table is illousions calling on? PHP Notice: Undefined variable: r (8) Line executed: /home/public_html/battle_ladder.php:18 Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 31, 2016 Share Posted May 31, 2016 What table is illousions calling on? PHP Notice: Undefined variable: r (8) Line executed: /home/public_html/battle_ladder.php:18 Jee, gravedig much! 1 Quote Link to comment Share on other sites More sharing options...
boionfire81 Posted June 1, 2016 Share Posted June 1, 2016 hey, I just got this script. But, no, what table is he calling??? Quote Link to comment Share on other sites More sharing options...
Samurai Legend Posted July 12, 2016 Share Posted July 12, 2016 Okay, the code for the attack pages doesn't check if both users are in the same ladder. So I came up with this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. When I attack a user from the same ladder. Nothing appears? Quote Link to comment Share on other sites More sharing options...
Samurai Legend Posted July 19, 2016 Share Posted July 19, 2016 Anyone...? ^ Quote Link to comment Share on other sites More sharing options...
Samurai Legend Posted August 28, 2016 Share Posted August 28, 2016 Okay, the code for the attack pages doesn't check if both users are in the same ladder. So I came up with this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. When I attack a user from the same ladder. Nothing appears? Quote Link to comment Share on other sites More sharing options...
G7470 Posted August 29, 2016 Share Posted August 29, 2016 That's not going to work - reason why is because one row in the battle_members table will not contain both users in it. Remember, SELECT statements are going to retrieve rows for you, and each row has to meet ALL of the criteria that you specify. The first SELECT will have to look something like this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You'll also have to adjust your count SELECT query, but I'll let you give that part a try now that you can see what it should look like. ~G7470 Quote Link to comment Share on other sites More sharing options...
Samurai Legend Posted August 31, 2016 Share Posted August 31, 2016 [uSER=70485]G7470[/uSER] - Thank you so much, that really helped. The code below does everything I want I believe :) 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...
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.