mike Posted April 20, 2011 Posted April 20, 2011 Mccode v2.0.3 When I fill in all the fields for a new crime I get the following error message: One or more of the inputs seems to of the wrong format, please go back and try again. > Go back I cannot figure out what format needs to be used in the input fields or which input field is not writing to the database. Just wondering where I should be looking or if there is a guide to show how the input boxes should be populated. The only populated field is the Success % Formula which is the default ((WILL*0.8)/2.5)+(LEVEL/4) Any help is appreciated. Thanks! Quote
lucky3809 Posted April 20, 2011 Posted April 20, 2011 you need to fill in all parts, cant leave one field with 0 or nothing in it. Your default formula is not the problem Quote
mike Posted April 20, 2011 Author Posted April 20, 2011 (edited) Oh, okay. My problem was I did not want to give crystals as a reward for a crime so I was putting in a zero. I was hoping there would be a way to make results random such as 1 to 5 cash for a success and such. Guess I need to rewrite a little of the code to remove crystals and make random results for the success money field instead of a fixed result. Thanks! Edited April 20, 2011 by mike Quote
lucky3809 Posted April 21, 2011 Posted April 21, 2011 yep lol. I had to redo the crime page, I didnt want to give crystals either! Quote
mike Posted April 25, 2011 Author Posted April 25, 2011 Got it working. No more crystals in crimes. Quickly realized I had to fix the Edit Crime as well 8^) Now on to the next issues. Quote
Kr3W Posted May 24, 2011 Posted May 24, 2011 So how do u change it so you didn't have to give crystals? Sorry i'm a complete noob to coding and using these codes to learn :) Quote
lucky3809 Posted May 24, 2011 Posted May 24, 2011 take the POST out and just leave ' ' in the query... Quote
Kr3W Posted May 24, 2011 Posted May 24, 2011 (edited) Thanks! Figured it out Edited May 24, 2011 by Kr3W 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.