19.10.2010, 12:26
[Tool/Web/Other] [PHP][MYSQL][FS]Object Adder!
19.10.2010, 12:57
Guys, if you didn't upload the .sql file to the database, you'll get those errors. If you don't know, the tables and database names are case sensitive.
19.10.2010, 15:08
when i upload it errors
Error
SQL query:
--
-- Database: `sa-mp`
--
-- --------------------------------------------------------
--
-- Table structure for table `CreateDynamicObject`
--
CREATE TABLE IF NOT EXISTS `CreateDynamicObject` (
`model` int( 10 ) NOT NULL ,
`Xpos` varchar( 20 ) NOT NULL ,
`Ypos` varchar( 20 ) NOT NULL ,
`Zpos` varchar( 20 ) NOT NULL ,
`RX` varchar( 20 ) NOT NULL ,
`RY` varchar( 20 ) NOT NULL ,
`RZ` varchar( 20 ) NOT NULL ,
`world` int( 5 ) NOT NULL DEFAULT '-1',
`interior` int( 5 ) NOT NULL DEFAULT '-1',
`playerid` int( 5 ) NOT NULL DEFAULT '-1',
`distance` varchar( 15 ) NOT NULL DEFAULT '200.0',
`immediate` int( 5 ) NOT NULL ,
`ref` varchar( 100 ) NOT NULL ,
`id` int( 15 ) NOT NULL AUTO_INCREMENT ,
`deleted` tinyint( 5 ) NOT NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =161;
MySQL said: Documentation
#1046 - No database selected
Error
SQL query:
--
-- Database: `sa-mp`
--
-- --------------------------------------------------------
--
-- Table structure for table `CreateDynamicObject`
--
CREATE TABLE IF NOT EXISTS `CreateDynamicObject` (
`model` int( 10 ) NOT NULL ,
`Xpos` varchar( 20 ) NOT NULL ,
`Ypos` varchar( 20 ) NOT NULL ,
`Zpos` varchar( 20 ) NOT NULL ,
`RX` varchar( 20 ) NOT NULL ,
`RY` varchar( 20 ) NOT NULL ,
`RZ` varchar( 20 ) NOT NULL ,
`world` int( 5 ) NOT NULL DEFAULT '-1',
`interior` int( 5 ) NOT NULL DEFAULT '-1',
`playerid` int( 5 ) NOT NULL DEFAULT '-1',
`distance` varchar( 15 ) NOT NULL DEFAULT '200.0',
`immediate` int( 5 ) NOT NULL ,
`ref` varchar( 100 ) NOT NULL ,
`id` int( 15 ) NOT NULL AUTO_INCREMENT ,
`deleted` tinyint( 5 ) NOT NULL ,
PRIMARY KEY ( `id` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1 AUTO_INCREMENT =161;
MySQL said: Documentation
#1046 - No database selected
19.10.2010, 15:13
Possibly because you didn't select a database.
Quote:
MySQL said: Documentation #1046 - No database selected |
19.10.2010, 15:53
19.10.2010, 16:02
Fixed but when i connect to server i get 10000x
[20:00:36] Error in mysql_query: Unknown column 'Deagle' in 'field list'
on log
[20:00:36] Error in mysql_query: Unknown column 'Deagle' in 'field list'
on log
19.10.2010, 17:42
Sory for double i get still same error and my server crash
[13:59:34] Error in mysql_query: Table 'object.players' doesn't exist
[13:59:34] Error in mysql_store_result: Table 'object.players' doesn't exist
i have imported tables.sql to phpmyamin
#define MYSQL_HOST "127.0.0.1"
#define MYSQL_USER "root"
#define MYSQL_PASS ""
#define MYSQL_DB "object"
[13:59:34] Error in mysql_query: Table 'object.players' doesn't exist
[13:59:34] Error in mysql_store_result: Table 'object.players' doesn't exist
i have imported tables.sql to phpmyamin
#define MYSQL_HOST "127.0.0.1"
#define MYSQL_USER "root"
#define MYSQL_PASS ""
#define MYSQL_DB "object"
19.10.2010, 17:44
I'm not sure how reliable this will be, but I did a quick ****** search and this is what I found. You should really learn how to use phpMyAdmin and MySQL before even attempting to play with this system.
[ame]http://www.youtube.com/watch?v=1-81n_vuwug[/ame]
[ame]http://www.youtube.com/watch?v=1-81n_vuwug[/ame]
03.11.2010, 16:18
Great job! It's a very useful script, thanks!
16.12.2010, 18:26
Doesn't work for me. Objects doesn't appear.
18.12.2010, 18:35
24.01.2011, 18:44
Nice work!
25.01.2011, 06:36
is that the system could also insert vehicles (with the PHP script)?
thanks
thanks
22.03.2011, 05:10
When I add objects into it i get ingame ? sign in there but why?
27.08.2011, 04:13
(
Последний раз редактировалось adelechevarria; 27.08.2011 в 04:48.
)
Im lost on
a. Go into the online FTP in your host.
I had created the FTP in my host but theres nothing that says upload I need help plz
4. Lastly the instuctions to use it
i.
a. Go into the main directory of your site and you should find yourself with a page to do with Database information
b. Insert it from earlier when you setup your mysql (Host, user, pass, database) and press submit.
c. If you get a message saying incorrect information, try it again.
d. If the problem persists and you have your MySQL hosted somewhere else (Other than the website host), ask your host to unblock external MySQL connections or you can do it if there is a option in the control panel
ii.
a. After logging in and thinking what a shitty website design you can add some objects.
b. To add a object click the Add objects option on the menu. Chose your format and make a reference (Reference is used to delete later so don't forget it) then insert some objects!
c. If you get the error that the table is missing, make sure you inserted the SQL file into Phpmyadmin and make sure that the tables are the right case (CreateObject instead of createobject)
iii.
a. After getting bored of a map you can delete it by clicking the delete objects link in the menu
b. Put your format and reference number you got before and if your server is running tick the immidiate box
a. Go into the online FTP in your host.
I had created the FTP in my host but theres nothing that says upload I need help plz
4. Lastly the instuctions to use it
i.
a. Go into the main directory of your site and you should find yourself with a page to do with Database information
b. Insert it from earlier when you setup your mysql (Host, user, pass, database) and press submit.
c. If you get a message saying incorrect information, try it again.
d. If the problem persists and you have your MySQL hosted somewhere else (Other than the website host), ask your host to unblock external MySQL connections or you can do it if there is a option in the control panel
ii.
a. After logging in and thinking what a shitty website design you can add some objects.
b. To add a object click the Add objects option on the menu. Chose your format and make a reference (Reference is used to delete later so don't forget it) then insert some objects!
c. If you get the error that the table is missing, make sure you inserted the SQL file into Phpmyadmin and make sure that the tables are the right case (CreateObject instead of createobject)
iii.
a. After getting bored of a map you can delete it by clicking the delete objects link in the menu
b. Put your format and reference number you got before and if your server is running tick the immidiate box
27.08.2011, 04:51
Nice Killer!
Something new :P
Something new :P
06.02.2012, 16:59
Awesome!
06.02.2012, 17:07
WTF Henkie epic bump lol, but damn it's worth
I wish i could upload .map files and then it's been added into the server
I wish i could upload .map files and then it's been added into the server
06.02.2012, 17:21
:O
WHAT DA FK !!!
SAMP IS REALLY FOR LIFE
GREAT RELEASES can only be found here
nice job killer
WHAT DA FK !!!
SAMP IS REALLY FOR LIFE
GREAT RELEASES can only be found here
nice job killer
13.02.2012, 09:38
Can Other people on the server see the objects too then? Or is it just me?
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)