Wow, You Don't Say!
Something that I just remembered also is that I had to change mySQL to not use persistent connections. Even though the server was set to allow persistent connections, using mysql_pconnect(); would cause the game to randomly display the error: database is not available, blah, blah...
An entry in the config.php could be used to choose between the connection types. Not really a big thing, but thought that I would mention it.
An entry in the config.php could be used to choose between the connection types. Not really a big thing, but thought that I would mention it.
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
Not really; we're too busy to use a ChangeLog.
Here's an idea though. Why don't you set up the clean FAF version in one directory of your server, yours in the other, and then do a diff on them? I think the command is:
diff -Naur dir1 dir2
Then we could merge your patches into ours, maybe, so both our servers would benefit?
Here's an idea though. Why don't you set up the clean FAF version in one directory of your server, yours in the other, and then do a diff on them? I think the command is:
diff -Naur dir1 dir2
Then we could merge your patches into ours, maybe, so both our servers would benefit?
:wq
Well, my coding would be a hack compaired to what you guys do. Smarty and I don't seem to get along very well, *laughs*!
A number of changes had to do with us making the game more of a generic medieval theme. It tooks a bit of time to go through all the templates and code in order to change say hawks to mages, etc.
I have a few questions though, in config.php what do these do?
$config['force_atktype'] = 2;
$config['force_atkland'] = 500;
$config['atkoffset'] = 6 ;# Offset of troop attacks
and if $config['warset'] = 0; does that mean that $config['max_attacks'] = 20; would limit all attacks on an empire to just 20 before getting the 'attacked to recently message'?
A number of changes had to do with us making the game more of a generic medieval theme. It tooks a bit of time to go through all the templates and code in order to change say hawks to mages, etc.
I have a few questions though, in config.php what do these do?
$config['force_atktype'] = 2;
$config['force_atkland'] = 500;
$config['atkoffset'] = 6 ;# Offset of troop attacks
and if $config['warset'] = 0; does that mean that $config['max_attacks'] = 20; would limit all attacks on an empire to just 20 before getting the 'attacked to recently message'?
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
Hawks are actually set in config.php; just change 'Hawks' to 'Mages' in config.php and the change will automatically appear in the templates.
As for the other things -- force means that under 500 acres, players have to use attack type 2 (Standard Attack); in order to make kills harder.
atkoffset don't worry about.
'warset' means allowing war declarations (similar to clan war, but 36 hour expiration).
cheers
~B
As for the other things -- force means that under 500 acres, players have to use attack type 2 (Standard Attack); in order to make kills harder.
atkoffset don't worry about.
'warset' means allowing war declarations (similar to clan war, but 36 hour expiration).
cheers
~B
:wq
If only it was that easyHawks are actually set in config.php; just change 'Hawks' to 'Mages' in config.php and the change will automatically appear in the templates.
What I need is to not allow unlimited attacks on empires. Unless I'm mistaken, setting warset = 0 then max_attacks = 20 would do this?'warset' means allowing war declarations (similar to clan war, but 36 hour expiration).
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
-
Members connected in real time
