Page 1 of 1

New Kart "Nayo"

PostPosted: 04 Jul 2011, 12:37
by marco97pa
I have maked a new kart (called Nayo) but I don't know how to upload this to STK :( Please HELP!
---------------------------------------------------------------------------------------------------------------
Excuse me for my bad English

Re: New Kart "Nayo"

PostPosted: 04 Jul 2011, 13:51
by Arthur
Hi, what is the problem? Is it to get the kart in the game so you can test it, or is it to upload it to http://stkaddons.net ?

Re: New Kart "Nayo"

PostPosted: 04 Jul 2011, 13:57
by asciimonster
Much information in making karts can be found on the wiki:
http://supertuxkart.sourceforge.net/Kart_resources_index

When the kart is correctly exported, you can put the kart in the correct directory and test the kart.

When the test is succsful, please register yourself and upload the kart to our add-on site:
http://stkaddons.net/index.php
After acceptance by the stkadoon administrator, it will be available in the add-on menu in STK 0.7.2 RC1. Please note: 0.7.2 is the first version to support add-ons.

Re: New Kart "Nayo"

PostPosted: 05 Jul 2011, 17:00
by marco97pa
THANKS! I'm uploading the new kart. :D

Re: New Kart "Nayo"

PostPosted: 05 Jul 2011, 17:17
by marco97pa
I have a new problem. I can't upload the kart Nayo to stkaddons. During the upload process I had an error. This is the log:
Upload was recognized as a kart.
Creating a new add-on...
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's moral rights.')' at line 2

What is it?
---------------------------------------------------------------------------------------------------------
EDIT: I have tried and re-tried but nothing. :cry:

Re: New Kart "Nayo"

PostPosted: 05 Jul 2011, 18:21
by asciimonster
At first glance you have a syntax error.
Are you using brackets () hyphens -- or apostrophes ' ' somewhere?

Perhaps you could upload the archive here to have us have a look at it.

Re: New Kart "Nayo"

PostPosted: 05 Jul 2011, 18:52
by Funto
Take care of SQL injections guys ;)

Re: New Kart "Nayo"

PostPosted: 05 Jul 2011, 19:23
by sireus
Uh oh. That's not good. mysql_real_escape_string() is your best friend.

Re: New Kart "Nayo"

PostPosted: 06 Jul 2011, 02:27
by sj04736
I suspect I probably fixed it? If not, please tell me :P

Re: New Kart "Nayo"

PostPosted: 06 Jul 2011, 17:31
by marco97pa
I'm re-trying!

Re: New Kart "Nayo"

PostPosted: 06 Jul 2011, 17:37
by marco97pa
THANKS! I have deleted the () brackets and I've uploaded it. It's here http://stkaddons.net/addons.php?type=karts&name=nayo
I'm going to upload the image