SA-MP Forums Archive
Vortex 2 problem - MySql - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vortex 2 problem - MySql (/showthread.php?tid=262144)



Vortex 2 problem - MySql - tbedy - 16.06.2011

when i turn on my server there isnt login and registrer system

i import DUMP on localhost..

i put in script this:
Код:
#define MYSQL_HOST "localhost ili 127.0.0.1" //Ime hosta, obično ide localhost i na kucnom i na pravom hostu  
#define MYSQL_USER "root" // ime korisnika baze, na xamppu i localu je to uvijek "root" a na kupljenom hostu, kreirate sami usera i bazu  
#define MYSQL_PASS "" // PASWORD baze, na localhostu nema passworda za mysql baze, a naravno na kupljenom stavite koji ћelite  
#define MYSQL_DB   "sampbaza" //IME baze, znači u mom slučaju je bilo sampbaza zavisi љta vi stavite <img src="http://balkan-samp.com/forum/Smileys/DarkB/smiley.gif" alt="Smješko" border="0">
but in my server.exe write that there arent vehicles, but in local host write that there is 30 vehicles...

please help, i am beginner in MySqL


AW: Vortex 2 problem - MySql - xerox8521 - 16.06.2011

correct me if im wrong.. if you starting your sever there are not vehicles but in your mysql table are the vehicles ?
Or does the vehicle work local but not online ?

If the first one show us the Load Vehicle Part

If the 2nd u might need to upload .so mysql plugin. Most providers use linux


Re: Vortex 2 problem - MySql - tbedy - 16.06.2011

on my page: localhost/phpmyamdin write that there are 30 vehicles, but when i open my ssamp-server.exe there write that there is 0 vehicles!!!

but when i connect on my server there isnt register and login system but in script is that system, somthing i miss to do...

but i dont know what


AW: Vortex 2 problem - MySql - xerox8521 - 16.06.2011

so your register and login script doesnt work either.. works with mysql too i assume
I guess u havent installed the LIBMYSQL.dll in your root folder of the server ( where the samp-server.exe is)


Re: Vortex 2 problem - MySql - tbedy - 16.06.2011

yes, there is libmysql ....


AW: Vortex 2 problem - MySql - xerox8521 - 16.06.2011

Show us the part of the script where all your vehicles gets loaded..


Off-topic: damn wait time to post..


Re: Vortex 2 problem - MySql - tbedy - 16.06.2011

here is all about vhicles..
http://www.zaslike.com/files/dqgm4mouki6d1bqnftr.jpg



this is when i connect on my server:
http://www.zaslike.com/files/f8pksjajl7mfls87jbfe.jpg


AW: Vortex 2 problem - MySql - xerox8521 - 16.06.2011

Quote:
Originally Posted by xerox8521
Посмотреть сообщение
Show us the part of the script where all your vehicles gets loaded..
Those screens doesnt rlly help us they just show your current problem

Edit: maybe u see it now


Re: Vortex 2 problem - MySql - tbedy - 16.06.2011

but what you need??
i really dont know what you need...


Re: Vortex 2 problem - MySql - Calgon - 16.06.2011

You haven't configured MySQL properly. The reason you get those 2 problems is because the gamemode couldn't connect to MySQL properly, so you've missed something somewhere.