Hi need some help dont relay know what i should do and how 2 do it correcly..
Download the lp_sql.zip, extract it and run the lp.sql in the database of your choice, but remember, the database also have to contain the table sm_admins and this database have to be the default one in /addons/configs/databases.cfg
Download the plugin (lp.smx), move it to your plugin folder
Restart your server, so that souremod can create the config file of the plugin (/cfg/sourcemod/plugin.lp.cfg)
Edit the config file after your mind
Restart the server again to activate your settings
Sql help???
-
- A regular
- Posts: 53
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Wed Jun 01, 2011 4:39 pm
Re: Sql help???
It sounds like this would need to be done through your webhosting account. I would recommend using phpMyAdmin to import the .sql file, but you could also do it through the command line. Before importing the .sql file, you'll need to create a database through the "Databases" page (you can choose any name).Freakgood wrote:Download the lp_sql.zip, extract it and run the lp.sql in the database of your choice, but remember, the database also have to contain the table sm_admins
It sounds like this would be on your game server, and they probably actually mean "/addons/sourcemod/configs/databases.cfg". You'll have to edit that file and change the "default" section to have the database information corresponding to your webhosting database. By this, I mean that the database name would need to match the one that you created on the "Databases" page earlier, and the other information would need to match what is given on that same page.and this database have to be the default one in /addons/configs/databases.cfg
This would also be on your game server. It means to upload lp.smx to your "/addons/sourcemod/plugins" folder. Any plugin file in that folder is automatically loaded and executed by Sourcemod when it loads.Download the plugin (lp.smx), move it to your plugin folder
You can do this through the "Server control" page for the game server.Restart your server, so that souremod can create the config file of the plugin (/cfg/sourcemod/plugin.lp.cfg)
This is in reference to checking out the file that was just created. You can examine it through the "File manager" page or via FTP.Edit the config file after your mind
Restart the server again to activate your settings
Re: Sql help???
think u can do it 4 me xD like :
It sounds like this would be on your game server, and they probably actually mean "/addons/sourcemod/configs/databases.cfg". You'll have to edit that file and change the "default" section to have the database information corresponding to your webhosting database. By this, I mean that the database name would need to match the one that you created on the "Databases" page earlier, and the other information would need to match what is given on that same page.
made everything els.. but dont realy understand how 2 do that..
sorry have an database on the web on ZombieBiteAction,, 
It sounds like this would be on your game server, and they probably actually mean "/addons/sourcemod/configs/databases.cfg". You'll have to edit that file and change the "default" section to have the database information corresponding to your webhosting database. By this, I mean that the database name would need to match the one that you created on the "Databases" page earlier, and the other information would need to match what is given on that same page.
made everything els.. but dont realy understand how 2 do that..


Re: Sql help???
Please take a look at your "Databases" page. After "Currently configured databases are listed below. You can access these databases with installed software using this information: " is the section that contains information that you need to put in the databases.cfg file as I described. The connection from the game server is considered an "external connection", so you'll have to adjust accordingly.
Re: Sql help???
man o man... this is tricklyEdge100x wrote:Please take a look at your "Databases" page. After "Currently configured databases are listed below. You can access these databases with installed software using this information: " is the section that contains information that you need to put in the databases.cfg file as I described. The connection from the game server is considered an "external connection", so you'll have to adjust accordingly.
"Databases"
{
"driver_default" "mysql"
"default"
{
"driver" "default"
"host" "3306"
"database" "zombiebiteaction_zbacoop"
"user" "stats"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"storage-local"
{
"driver" "sqlite"
"database" "zombiebiteaction_zbacoop"
}
"clientprefs"
{
"driver" "sqlite"
"host" "3306"
"database" "zombiebiteaction_zbacoop"
"user" "stats"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
Does it look good man? or is it fuckd up? and also.. removd the pass so no 1 could log in 2 it

Re: Sql help???
You only need to edit the "default" section. For "host", you need to use your website DNS (the Databases page talks about this), and not 3306. You need to uncomment the "port" line and put "3306" there. "user" will be your MySQL login name, from the "Databases" page.
Re: Sql help???
Finally i can see that the plugin.ip was created inside cfg/sourcemod so should be working nowEdge100x wrote:You only need to edit the "default" section. For "host", you need to use your website DNS (the Databases page talks about this), and not 3306. You need to uncomment the "port" line and put "3306" there. "user" will be your MySQL login name, from the "Databases" page.

Re: Sql help???
Glad to hear it 

Re: Sql help???
Edge100x wrote:Glad to hear it
Well plugin works awsome .. but not it says your not allowd 2 use this command some times? anyides why and how 2 fix it?
Re: Sql help???
Found the problem it was inside the sql part...Freakgood wrote:Edge100x wrote:Glad to hear it
Well plugin works awsome .. but not it says your not allowd 2 use this command some times? anyides why and how 2 fix it?
