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

[TF2] FortWars (v6.52)


Post New Thread Reply   
 
Thread Tools Display Modes
Matheus28
Senior Member
Join Date: Aug 2009
Old 05-28-2011 , 09:33   Re: [TF2] FortWars (v6.32)
Reply With Quote #111

Quote:
Originally Posted by lucasdidur View Post
Code:
L 05/28/2011 - 11:02:03: [fortwars.smx] Connected to SQLite
L 05/28/2011 - 11:02:03: server_cvar: "fw_sql" "1"
L 05/28/2011 - 11:02:03: [fortwars.smx] SQL Error: no such table: fw_users
L 05/28/2011 - 11:02:04: [fortwars.smx] SQL Error: no such table: fw_users
L 05/28/2011 - 11:02:04: [fortwars.smx] SQL Error: no such table: fw_users
L 05/28/2011 - 11:02:04: [fortwars.smx] SQL Error: no such table: fw_users
Here the plugin is not working. The problem is in SQL.

Have such as you modify the plugin to work with MySQL too. I found it easier to use MySQL


EDIT:

It has an error here. In SQLite

Line 480

Code:
    SQL_FastQuery(hSql, "CREATE TABLE fw_users (id INT(64) NOT NULL AUTO_INCREMENT PRIMARY KEY, auth CHAR(64) UNIQUE, money INT(16) DEFAULT '0', unlocks VARCHAR(8000))");
It has always been like that. It attempts to create the table, the only reason it would fail would be because the table already exists, so the error is ignored. Try using this plugin: http://forums.alliedmods.net/showthread.php?p=1270572 to query that same query. Please post the results.
Matheus28 is offline
coeocjf
Member
Join Date: Apr 2011
Old 05-29-2011 , 03:15   Re: [TF2] FortWars (v6.32)
Reply With Quote #112

How can I add props??
coeocjf is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 06-13-2011 , 15:39   Re: [TF2] FortWars (v6.32)
Reply With Quote #113

Anyone care to exlpain how to set up database local plz?
MaloModo is offline
coeocjf
Member
Join Date: Apr 2011
Old 06-14-2011 , 09:35   Re: [TF2] FortWars (v6.32)
Reply With Quote #114

Quote:
Originally Posted by MaloModo View Post
Anyone care to exlpain how to set up database local plz?
You must install mysql.
And add the configuration in database.cfg


"fortwars" { "driver" "default" "host" "localhost" "database" "database name" "user" "user" "pass" "password" //"timeout" "0" "port" "3306" }
and type this in console sm_cvar fw_sql "1"
coeocjf is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 06-14-2011 , 09:49   Re: [TF2] FortWars (v6.32)
Reply With Quote #115

Actually that is not working......at all...other plugin data is being stored fine.
MaloModo is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 06-16-2011 , 10:03   Re: [TF2] FortWars (v6.32)
Reply With Quote #116

I have tried many settings to get database working....not a go...not sure what is wrong.

Can't it use sqlite? I would like a clear and accurate answer to this someone plz? It the mod still supported?
MaloModo is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 06-16-2011 , 14:26   Re: [TF2] FortWars (v6.32)
Reply With Quote #117

Also the cvar "fw_unlock_demoman_price" = "10000" ( def. "6000" ) min. 1.000000 max. 999999.000000

Doesn't seem to work...has you can see have it set to 10000 but still 6000 in game. The disable unlock demoman does work though...lots of complaints he is overpowered...even though I don't think so.
MaloModo is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 06-28-2011 , 12:57   Re: [TF2] FortWars (v6.32)
Reply With Quote #118

Quote:
Originally Posted by MaloModo View Post
Also the cvar "fw_unlock_demoman_price" = "10000" ( def. "6000" ) min. 1.000000 max. 999999.000000

Doesn't seem to work...has you can see have it set to 10000 but still 6000 in game. The disable unlock demoman does work though...lots of complaints he is overpowered...even though I don't think so.
I checked the code, there's nothing different with the demoman, try restarting only the fwu_classunlocks.

Also, for everyone who wants help with SQL, do what I posted here to help me to diagnose the problem, I don't have TF2 installed anymore so I can't test it. I didn't change anything since I stopped playing tf2 and closed my server, this bug seems really weird.
Matheus28 is offline
Spectrepaw
Member
Join Date: Aug 2010
Old 07-05-2011 , 21:39   Re: [TF2] FortWars (v6.32)
Reply With Quote #119

Hey just afew dumb questions cause I run my own private server using this.

1. Is there any more maps for Fortwars, I got afew, but not alot, if so can you post them to me

2. Is it possible to make it so that you can buy customized weapons using the money.

3. What do you think the class restrictions should be if I added one.
Spectrepaw is offline
Matheus28
Senior Member
Join Date: Aug 2009
Old 07-05-2011 , 23:06   Re: [TF2] FortWars (v6.32)
Reply With Quote #120

Quote:
Originally Posted by Spectrepaw View Post
Hey just afew dumb questions cause I run my own private server using this.

1. Is there any more maps for Fortwars, I got afew, but not alot, if so can you post them to me

2. Is it possible to make it so that you can buy customized weapons using the money.

3. What do you think the class restrictions should be if I added one.
1. Yes, some people usually make maps and put it in servers, but I don't have any of them, just download them from a server.

2. Yes, but you need to know how to code.

3. I don't know, I have never used any on my server.
Matheus28 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 02:24.


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