Abandoned warband code

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
User avatar
Tetigustas shadowson
Forum Maniac
Posts: 261
Joined: Thu Nov 24, 2005 8:19 pm
Location: frozen like a pizza some place deep in the hart of Alaska

Post by Tetigustas shadowson »

Frustration with the most recent download of FAF code is making the game less than desirable.
We have been running FAF for some time now; it is a very good code set with ‘So far’ only one (major flaw).
Users can’t seem to keep their accounts alive!
The abandon code is way too strict; we have lost dozens of FAF users to this problem.

I have searched through the game files and haven’t been able to locate the section that determines how long an account can go with out a login

I have a question: how do I find and change the code, so that accounts never become abandoned?
tu voulez assassiner moi pour terre crotte, quand tu être tel chiffre de quelqu'un.
ponier de feut
If you want to make enemies, try to change something.
President Woodrow Wilson
If drug abuse is a disease, then a drug war is a crime.
Unknown
War is like 'Hide n seek' when your found your usualy killed, you best be realy good at it, you only get to play once
Tetigustas Shadowson
It is fatal to enter any war without the will to win it.
General Douglas MacArthur
It is only the dead who have seen the end of war.
Plato
The art of war is simple enough. Find out where your enemy is. Get at him as soon as you can. Strike him as hard as you can, and keep moving.
Ulysses S Grant
The whole art of war consists of guessing at what is on the other side of the hill.
Duke of Wellington
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

Give me a bit of time, I'll get the info in a little bit.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

http://faf.staronesw.com/?source&script=lib/maintenance

$delusers = mysql_safe_query("SELECT * FROM $playerdb WHERE
(disabled<=1 AND vacation=0 AND land>0 AND idle<($time-86400*7)) OR
(land=0 AND disabled=1 AND ip!='0.0.0.0' AND idle<($time-86400*3)) OR
(disabled=4)
;");

Someone has to be idle for SEVEN days.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

idle<($time-86400*7))

But you can change that. The 7 is the amount of days.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
sh0e
Forum Maniac
Posts: 290
Joined: Mon Apr 19, 2004 6:13 pm

Post by sh0e »

making it configurable is trivial
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

Is it really a big enough deal, though?

I suppose it might be worth doing sometime...
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
Tetigustas shadowson
Forum Maniac
Posts: 261
Joined: Thu Nov 24, 2005 8:19 pm
Location: frozen like a pizza some place deep in the hart of Alaska

Post by Tetigustas shadowson »

apparently the code set we are running is set for less than 72 hours, I have lost many accounts, mostly over the weekends.

I last logged in Friday nights then come Monday poof their gone...?
Then I look in the graveyard and find them tagged as abandoned

This would be a good thing to have in a ‘game settings page’

Thanx Devari
tu voulez assassiner moi pour terre crotte, quand tu être tel chiffre de quelqu'un.
ponier de feut
If you want to make enemies, try to change something.
President Woodrow Wilson
If drug abuse is a disease, then a drug war is a crime.
Unknown
War is like 'Hide n seek' when your found your usualy killed, you best be realy good at it, you only get to play once
Tetigustas Shadowson
It is fatal to enter any war without the will to win it.
General Douglas MacArthur
It is only the dead who have seen the end of war.
Plato
The art of war is simple enough. Find out where your enemy is. Get at him as soon as you can. Strike him as hard as you can, and keep moving.
Ulysses S Grant
The whole art of war consists of guessing at what is on the other side of the hill.
Duke of Wellington
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members