[Tool/Web/Other] [PHP][MYSQL][FS]Object Adder!
#21

Quote:
Originally Posted by mhking
Посмотреть сообщение
What i can do i get this error:

[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 this problem too
Reply
#22

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.
Reply
#23

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
Reply
#24

Possibly because you didn't select a database.

Quote:

MySQL said: Documentation
#1046 - No database selected

Reply
#25

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
Possibly because you didn't select a database.
how to select database
Reply
#26

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
Reply
#27

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"
Reply
#28

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]
Reply
#29

Great job! It's a very useful script, thanks!
Reply
#30

Doesn't work for me. Objects doesn't appear.
Reply
#31

Quote:
Originally Posted by Ernis456
Посмотреть сообщение
Doesn't work for me. Objects doesn't appear.
Look at the sql table, are the objects in there?
Reply
#32

Nice work!
Reply
#33

is that the system could also insert vehicles (with the PHP script)?
thanks
Reply
#34

When I add objects into it i get ingame ? sign in there but why?
Reply
#35

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
Reply
#36

Nice Killer!

Something new :P
Reply
#37

Awesome!
Reply
#38

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
Reply
#39

:O
WHAT DA FK !!!
SAMP IS REALLY FOR LIFE
GREAT RELEASES can only be found here
nice job killer
Reply
#40

Can Other people on the server see the objects too then? Or is it just me?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)