Raised This Month: $51 Target: $400
 12% 

[TF2] Auto Pumpkins (Automatic Pumpkin Spawner) [v2.2.2]


Post New Thread Reply   
 
Thread Tools Display Modes
HellsCook
Junior Member
Join Date: Dec 2010
Old 12-21-2010 , 04:59   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #21

Also, I was thinking it would be nice to be able to make pumpkins solid instead of walk through objects.

Nevermind, I realized that you can only walk through them when first placed.

Last edited by HellsCook; 12-21-2010 at 14:04.
HellsCook is offline
TFC
Member
Join Date: Jul 2010
Old 01-16-2011 , 13:21   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #22

My databases.cfg can u take a look into this please


"c863142_autopumpkins"
{
"driver" "mysql"
"host" "66.55.132.33"
"database" "c863142_autopumpkins"
"user" "c863142_autopum"
"pass" "********"
//"timeout" "0"
"port" "3306"
}

i got error

L 01/16/2011 - 18:16:42: [AutoPumpkins.smx] Can't select database
L 01/16/2011 - 18:16:42: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 01/16/2011 - 18:16:42: [SM] Displaying call stack trace for plugin "AutoPumpkins.smx":
L 01/16/2011 - 18:16:42: [SM] [0] Line 127, /home/groups/alliedmodders/forums/files/4/9/8/6/5/76027.attach::createdbtables()
L 01/16/2011 - 18:16:42: [SM] [1] Line 27, /home/groups/alliedmodders/forums/files/4/9/8/6/5/76027.attach::OnPluginStart()
TFC is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-17-2011 , 01:19   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #23

The plugin can't connect to your database ether because you put in incorrect settings, or because the game server's IP isnt allowed access to that database.
__________________
DarthNinja is offline
TFC
Member
Join Date: Jul 2010
Old 01-17-2011 , 13:00   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #24

Quote:
Originally Posted by DarthNinja View Post
because the game server's IP isnt allowed access to that database.
you can say how to allow?
TFC is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-18-2011 , 01:07   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #25

Quote:
Originally Posted by TFC View Post
you can say how to allow?
No, ask your host.

On my web server I have a control panel, if you have one, look for something like mysql -> databases -> manage users.

-Edit: Example
__________________

Last edited by DarthNinja; 01-18-2011 at 01:12.
DarthNinja is offline
TFC
Member
Join Date: Jul 2010
Old 01-23-2011 , 14:15   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #26

hmm,,, i tried my best... i can not install.

ty for help. nice plugin
TFC is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-23-2011 , 23:00   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #27

Quote:
Originally Posted by TFC View Post
hmm,,, i tried my best... i can not install.

ty for help. nice plugin
Did you figure out how to allow access to the database from a specific IP?
__________________
DarthNinja is offline
TFC
Member
Join Date: Jul 2010
Old 01-24-2011 , 04:46   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #28

yes, i created a new database , user and added user to database

database: c863142_autopumpkins
user: c863142_autopump

my database.cfg

Code:
"Databases"
{
"driver_default" "mysql"
"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
"autopumpkins"
{
"driver" "mysql"
"host" "66.55.132.33"
"database" "c863142_autopumpkins"
"user" "c863142_autopump"
"pass" "******"
//"timeout" "0"
"port" "3306"
}
}

Last edited by TFC; 01-25-2011 at 07:45.
TFC is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-24-2011 , 18:54   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #29

Did you allow that MySQL user to access the database when connecting from your game server's IP?

Most SQL setups will only allow users to connect from localhost by default, so if you want your game server to connect to your webserver you have to 'whitelist' your game server's ip address.

This is something you have to do on your web server, probably in your server control panel. If you can't find out how, your host can tell you.

BTW: when you post a config or other long file, it's nice if you wrap it in [code][/code] tags so it retains its formatting and doesn't spew down the page
__________________
DarthNinja is offline
natex2012
Member
Join Date: Dec 2009
Old 04-04-2011 , 22:17   Re: [TF2] Auto Pumpkins (Autonomous Pumpkin Spawner)
Reply With Quote #30

hi. do you need a website for this too work?.
natex2012 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode