chaoswar4u Posted February 16, 2007 Share Posted February 16, 2007 I have purchased V2 of the codes. Have a few problems i could do with getting sorted. Please add me to msn. [email protected] The game is running just have a few bugs. Im hoping someones been there done that sort of thing. Ive looked around the forums and sorted a few. If I dont get any main msn help ill make a note of all issues and post then further down this thread. Thx. Regards Roy Quote Link to comment Share on other sites More sharing options...
UCC Posted February 16, 2007 Share Posted February 16, 2007 Re: MCCode V2 Problems. If you want to post questions I may be able to help but I dont have time to deal with IM chats. Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 16, 2007 Author Share Posted February 16, 2007 Re: MCCode V2 Problems. Well ive sorted alot of issues out already :-P. One im stuck on t the moment is this. I have purchased the V2 code and from the off there was an error when trying to access the item market. Fatal error: Cannot redeclare item_remove() (previously declared in C:\wamp\www\itemmarket.php:48) in C:\wamp\www\global_func.php on line 339 Ive looked and I carnt see the problem. Im a Noob at this. I had to admit but im hoping someone has brought and and had the same error from the start. Any help would be greatful. Many thx Quote Link to comment Share on other sites More sharing options...
UCC Posted February 16, 2007 Share Posted February 16, 2007 Re: MCCode V2 Problems. There is a function item_remove() that is being declared in both the itemmarket file and the global_function.php file. A function can only be declared once, otherwise the program cannot determine which one to use. It may not be the best solution (I wasn't as familiar with PHP as I am now), but here's what I did. I did a search/replace on item_remove() and replaced with item_removal(). Come to think of it, I'm fairly confident it wasn't the best solution but it is a solution nonetheless, and Im sure it will be sufficient. Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 16, 2007 Author Share Posted February 16, 2007 Re: MCCode V2 Problems. Problem Fixed. Thx. I carnt see any more bugs with that fix. Ill see how it goes. Now ahhhhh another 1 I can think of. The macro verification. Also other boxes. All loading up invisable with a red X in them. Any idea what this fault is. Quote Link to comment Share on other sites More sharing options...
Decepti0n Posted February 16, 2007 Share Posted February 16, 2007 Re: MCCode V2 Problems. incorrect path to your images :D Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 16, 2007 Author Share Posted February 16, 2007 Re: MCCode V2 Problems. Im a little noob job going on here however its a new install and it does this from the off. Im unsure what to do with that one. In regards to last error you have to edit Line16 of imadd.php with the above code or you will get an undefined error when trying to add things to the market. Ill post more if I find anymore bugs. Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 16, 2007 Author Share Posted February 16, 2007 Re: MCCode V2 Problems. Well it goes bad to worse. To resolve another problem I had to change to the above information in the itemsell.php. Now all works for info and buy as gift however to buy for yourself i get the following error. Item Market QUERY ERROR: Duplicate entry '7' for key 1 Query was INSERT INTO inventory (inv_itemid, inv_userid, inv_qty) VALUES (7, 4, 1) Any Ideas how to resolve? Quote Link to comment Share on other sites More sharing options...
UCC Posted February 16, 2007 Share Posted February 16, 2007 Re: MCCode V2 Problems. I'm a bit confused but try this instead INSERT INTO inventory (inv_id, inv_itemid, inv_userid, inv_qty) VALUES ('',7, 4, 1) Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 16, 2007 Author Share Posted February 16, 2007 Re: MCCode V2 Problems. Gee thsi market things mad. Its leading to one thing after another. Ill try the following but I would say to anyone try anything in here yet because its bug after bug. If there actually bcomes an end to this ill post the final fix. Or does anyone know anything easy to fix this problem. Whoeveer is getting this V2 is getting this from the off. Id thought there would be a walkthrough fix on this? Quote Link to comment Share on other sites More sharing options...
UCC Posted February 16, 2007 Share Posted February 16, 2007 Re: MCCode V2 Problems. Not a lot of people have 2.0 And to be honest, I didnt have the problems you're having so I dont know what you're doing. The only problem I had was the item_remove issue. Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 16, 2007 Author Share Posted February 16, 2007 Re: MCCode V2 Problems. This was a fresh install. I changed the code as you said which loaded the Market. Then the problems carried on into each option like send / buy etc etc Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 17, 2007 Author Share Posted February 17, 2007 Re: MCCode V2 Problems. I still have this market problem from the base V2 Code. Anyone got a walkthrough on this bug. Any help would be great. Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 17, 2007 Author Share Posted February 17, 2007 Re: MCCode V2 Problems. Right here we go people item market fix for V2 Find case "remove": item_remove(); break; replace with: case "remove": itemm_remove(); break; find: function item_remove() replace with: function itemm_remove() All In itemmarket.php :-P Quote Link to comment Share on other sites More sharing options...
UCC Posted February 17, 2007 Share Posted February 17, 2007 Re: MCCode V2 Problems. You're farking incredible. That's exactly what I told you to do except instead of renaming it item_removal, you changed it to itemm_remove. If you're going to ask questions, pay attention son. Quote Link to comment Share on other sites More sharing options...
chaoswar4u Posted February 17, 2007 Author Share Posted February 17, 2007 Re: MCCode V2 Problems. Yea well next time explain to us noobs there are more than 1 of them code lines. I was only changing the one. Maybe my fault for not checking the whole .php file. Come on noob mistake. Lol give me a breakĀ :-P 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.