Isomerizer Posted September 16, 2008 Share Posted September 16, 2008 Nifty little mod... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. SQL: 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...
Zero-Affect Posted September 16, 2008 Share Posted September 16, 2008 Re: [Free] 50 / 50 Chance Mod nice Quote Link to comment Share on other sites More sharing options...
Sethenor Posted September 16, 2008 Share Posted September 16, 2008 Re: [Free] 50 / 50 Chance Mod lol not bad :-D Quote Link to comment Share on other sites More sharing options...
-Matt- Posted September 16, 2008 Share Posted September 16, 2008 Re: [Free] 50 / 50 Chance Mod Only took you 14 times to get it working :-P Nice work. Quote Link to comment Share on other sites More sharing options...
Isomerizer Posted September 16, 2008 Author Share Posted September 16, 2008 Re: [Free] 50 / 50 Chance Mod Only took you 14 times to get it working :-P Nice work. Sure i re-uploaded it more then that, trial and error ftw. :wink: Quote Link to comment Share on other sites More sharing options...
Haunted Dawg Posted September 16, 2008 Share Posted September 16, 2008 Re: [Free] 50 / 50 Chance Mod lol @ // BAH - isomerizer.com/ Why u got bah? sh33p? :lol: Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted September 12, 2012 Share Posted September 12, 2012 dang i have been looking for this forever lol i've done some editting for those who haven't upgraded your mccodes lol so here it is all spiffy and error-less far as i know 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...
Newbie Posted September 12, 2012 Share Posted September 12, 2012 (edited) dang i have been looking for this forever lol i've done some editting for those who haven't upgraded your mccodes lol so here it is all spiffy and error-less far as i know You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Nice one i was planning on fixing this up but you beat me to it :P saved me the work thanks only noticed 1 thing you forgot to end the page EDIT: found a error Players can match there own bet. player is sent 2 events only if you match your own bet ofc Edited September 12, 2012 by Newbie Quote Link to comment Share on other sites More sharing options...
Newbie Posted September 12, 2012 Share Posted September 12, 2012 ok made a few changes changed php self and made it named file as i read php self is insecure added table and $ sign Still not fixed the user betting against himself 5050.php 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...
KyleMassacre Posted September 12, 2012 Share Posted September 12, 2012 I think the issue is with this line You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Try this 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...
Djkanna Posted September 12, 2012 Share Posted September 12, 2012 And now, the cancellation of someone other than yourself's bet. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted September 12, 2012 Share Posted September 12, 2012 (edited) And now, the cancellation of someone other than yourself's bet. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Im just talking a shot in the dark here and since im on my phone its kinda hard to read but its not tested and I hope it works. Good catch though Edit (again) Now that I think about it, why let them cancel? They wanted to play the game so make them spend their money or charge them a fee like 50% or something Edited September 12, 2012 by KyleMassacre Quote Link to comment Share on other sites More sharing options...
Djkanna Posted September 13, 2012 Share Posted September 13, 2012 Instead of using the _fetchUser() method, just use $_SESSION['userid'] no sense in doing another query for the id, when you already have it. Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted September 13, 2012 Share Posted September 13, 2012 Instead of using the _fetchUser() method, just use $_SESSION['userid'] no sense in doing another query for the id, when you already have it. I cant tell if this was directed towards my last post, and if it wasnt disregard. I did use the $userid variable and if im reading this correctly cause I have a hard time using sprintf() but the fetch variable is calling out the table information for the 50/50 and if this doesnt work my bad Quote Link to comment Share on other sites More sharing options...
Djkanna Posted September 13, 2012 Share Posted September 13, 2012 (edited) I cant tell if this was directed towards my last post, and if it wasnt disregard. I did use the $userid variable and if im reading this correctly cause I have a hard time using sprintf() but the fetch variable is calling out the table information for the 50/50 and if this doesnt work my bad The fetch method, is running a second query pulling the userid from the users table where the users id is equal to $_SESSION['userid']; Hence why I said replace the $this->_fetchUser('userid'); with $_SESSION['userid'], no need to do a secondary query. :) And to second, instead of your if ( ... ) { //does not own this chance } just put it in the where clause of the first $SQL You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited September 13, 2012 by Djkanna Quote Link to comment Share on other sites More sharing options...
boots Posted September 13, 2012 Share Posted September 13, 2012 would this be hard to make it work on crystals ? Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted September 13, 2012 Share Posted September 13, 2012 No, it shouldnt. Just do a find and replace money with crystals 1 Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted September 13, 2012 Share Posted September 13, 2012 yeah i've been working on the crystals one too ill add once we've figured a way to not bet yourself lol You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. didn't work @ DJK yeah sorry i forgot to update post when you told me ill get it up and running tonight :) BOTH Crystal and Money 5050s will be posted shortly only need to fix the ability to accept own bets :p even though if one accepts there own bet it wont benefit them :p Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted September 13, 2012 Share Posted September 13, 2012 (edited) C5050.php (so far) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. M5050.php (so far) Same thing just money instead of crystals... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. these are 'functional' Edited September 13, 2012 by AnonymousUser thanks djk for pointing those out... Quote Link to comment Share on other sites More sharing options...
Djkanna Posted September 13, 2012 Share Posted September 13, 2012 C5050.php (so far) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. M5050.php (so far) Same thing just money instead of crystals... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. these are 'functional' First one, misses the check for cancelling. The second one, is invalidated by the second query (that I assume has been left in by mistake :) ) Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted September 13, 2012 Share Posted September 13, 2012 (edited) my mistake looks like ill keep working lol Edited September 14, 2012 by AnonymousUser Quote Link to comment Share on other sites More sharing options...
boots Posted September 15, 2012 Share Posted September 15, 2012 Does any one have a working copy of 50/50, if not a free mod, willing to pay for a good working 1 Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted September 20, 2012 Share Posted September 20, 2012 (edited) here you go guys! this one's set for crystals but you know how to edit lol if you dont then you shouldnt own a game in my opinion You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited September 29, 2012 by AnonymousUser my mistake forgot to make it v2 :p Quote Link to comment Share on other sites More sharing options...
realmoflegends Posted September 20, 2012 Share Posted September 20, 2012 Nice one! And yes, if you can't edit this to work with money (or any other game 'currency' or stat that may be valuable in your game), then owning a game may be a tough proposition for you. :) Quote Link to comment Share on other sites More sharing options...
AnonymousUser Posted September 20, 2012 Share Posted September 20, 2012 thanks :D sorry it took so long i've been quite busy with other projects 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.