Equinox Posted March 1, 2010 Posted March 1, 2010 I think the global $ir shouldn't even exist, even if McCodes had correct indexation - it's still slower than it could've been done (even if it's only a few milliseconds) Nothing special. I think this is a great modification and Zed has done well, I think the way it's coded is perfectly fine for a small and large McCodes game :P I didnt say that it was the best, i said it wasnt that bad. My $ir query has 9 joins and only takes 0.001 second. What i was saying is, if you have 100 auctions, you are going to be making a ton of queries to the datebase, everytime every users goes to a new page. I pitty your mysql servers. I won't even make some kind of smart remark to that. I also never stated that I done things this way, so you have no need to 'pitty' my MySql servers. I miss-read. :huh: Quote
iSOS Posted March 1, 2010 Author Posted March 1, 2010 Ah, thank you fbiss, the first post has been modified just to add a WHERE clause on the initial SELECT statement, it'll only select data within 1 second of being needed. Good eye fbiss :thumbsup: Quote
Enuf Posted March 2, 2010 Posted March 2, 2010 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/zurrgle/public_html/inventory.php on line 99 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
iSOS Posted March 2, 2010 Author Posted March 2, 2010 Here ya go. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Enuf Posted March 5, 2010 Posted March 5, 2010 Still get the same error, on the same line.. i have tried a few things myself as well.. but nothing.. :S Quote
Equinox Posted March 5, 2010 Posted March 5, 2010 Still get the same error, on the same line.. i have tried a few things myself as well.. but nothing.. :S Try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Enuf Posted March 5, 2010 Posted March 5, 2010 Well.. The error has moved to line 100 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Equinox Posted March 5, 2010 Posted March 5, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There... Quote
Enuf Posted March 5, 2010 Posted March 5, 2010 You didn't change anything? The [ in the PHP source code is just from a delete BBcode lol.. :p Quote
Equinox Posted March 5, 2010 Posted March 5, 2010 You didn't change anything? The [ in the PHP source code is just from a delete BBcode lol.. :p -.- You're going to have to give me more lines, give me line 97 - 103 please :) Quote
Enuf Posted March 5, 2010 Posted March 5, 2010 Ok, sorry to be a nuisances :P Here is the lines you asked for You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Also just so you know, im also using this inventory mod, not sure if it would clash. [mccode v2.x] Re-coded inv with jQuery Quote
Equinox Posted March 5, 2010 Posted March 5, 2010 Here... :) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Enuf Posted March 5, 2010 Posted March 5, 2010 Im going to give up soon.. -__-; Parse error: syntax error, unexpected ';', expecting ']' in /home/zurrgle/public_html/inventory.php on line 104 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. I know ill get another error though lol.. these two codes hate each other :P Quote
Equinox Posted March 5, 2010 Posted March 5, 2010 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Djkanna Posted March 5, 2010 Posted March 5, 2010 Still get the error O_O You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Works fine on it's own Quote
halfbaked Posted June 14, 2010 Posted June 14, 2010 i know this is an old post but i did find a problem i do not know how to fix the buyer has their money taken but the seller does not recieve the money any help would be greatly appreciated thanks. Quote
VitalEnd Posted June 14, 2010 Posted June 14, 2010 error Same problem as above, seller does not recive any money. Neither is there an eventsent to the player when they win the auction. Quote
VitalEnd Posted June 14, 2010 Posted June 14, 2010 fixed... Sorryzed as i said in above post i said it did not send event or update money upon winning the bid, i was wrong, it works perfectly there is only one error which i have corrected for people it was just one update line to update the users money when they buy the item with the buy it now price ... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
halfbaked Posted June 28, 2010 Posted June 28, 2010 Thanks cmark that was the problem i had. :D Quote
HITMAN 17 Posted August 8, 2010 Posted August 8, 2010 the problem is with this is that if someone gets outbidded then the person doesnt get an event and doesnt get there money back else this would be a great mod Quote
Jordan Palmer Posted August 8, 2010 Posted August 8, 2010 MCCodes have a event_add function you can make use off ;) Â I don't think people should get there money back, IMO :/ Quote
Danny696 Posted August 8, 2010 Posted August 8, 2010 Why not, take real life as an example, if i bid on a house in an auction, (if it wouldnt be illegal xD) and i didnt win, would i have the money taken offa me. I hope not :) 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.