Suggestion: Source Viewer Lists Files

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
User avatar
Zephyrus
Eternally Confused
Posts: 1250
Joined: Wed May 05, 2004 8:57 pm
Location: Bleh. New York City.

Post by Zephyrus »

Could this please be put in?
It'd make looking for some things easier.
Back. I think.
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Before I'd consider it, please give a better reason(s).
:wq
User avatar
Zephyrus
Eternally Confused
Posts: 1250
Joined: Wed May 05, 2004 8:57 pm
Location: Bleh. New York City.

Post by Zephyrus »

Well, looking for a page within the game involves going to that page and figuring out what everything linked to it does. If there were a list, there could be a file with the name of some particular part of the page.
Back. I think.
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

I confess your explanation lacks clarity. Can't you just a. visit the page and click 'Source' or b. enter the name of it manually. If you know what you are looking for, b. isn't hard. If you don't, a list is not helpful.
:wq
User avatar
Zephyrus
Eternally Confused
Posts: 1250
Joined: Wed May 05, 2004 8:57 pm
Location: Bleh. New York City.

Post by Zephyrus »

I know what I'm looking for, but not where on the page it is. That was what I got from trying to look up troop prices.
Back. I think.
User avatar
Zephyrus
Eternally Confused
Posts: 1250
Joined: Wed May 05, 2004 8:57 pm
Location: Bleh. New York City.

Post by Zephyrus »

And I still can't find where the A/D and such are from.
Back. I think.
Veranor
FAF Co-Programmer
Posts: 310
Joined: Mon Mar 08, 2004 8:12 pm

Post by Veranor »

Zephyrus wrote:And I still can't find where the A/D and such are from.
I assume by A/D you mean Offensive and Defensive values.


They're in config.php.

code: Select all

    $config['er'][101]['o_troop0']    =    2                       ;
    $config['er'][101]['d_troop0']    =    2                       ;
    $config['er'][101]['o_troop1']    =    3                       ;
    $config['er'][101]['d_troop1']    =    5                       ;
    $config['er'][101]['o_troop2']    =    5                       ;
    $config['er'][101]['d_troop2']    =    4                       ;
    $config['er'][101]['o_troop3']    =    7                       ;
    $config['er'][101]['d_troop3']    =    6                       ;
    $config['er'][101]['o_troop4']    =    10                      ;
    $config['er'][101]['d_troop4']    =    5                       ;
"The truth is a trap: you can not get it without it getting you; you cannot get the truth by capturing it, only by its capturing you." - Søren Kierkegaard
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

use ctrl+f?
I do not have a signature, you must be imagining

http://florida4us.com/

Image
User avatar
Zephyrus
Eternally Confused
Posts: 1250
Joined: Wed May 05, 2004 8:57 pm
Location: Bleh. New York City.

Post by Zephyrus »

Slasher wrote: use ctrl+f?
I can't do that across multiple files all at once.

Anyways, it's not so much the file list as something that allows the finding of wherever something is.
Back. I think.
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

some sort of search thingy then?
I do not have a signature, you must be imagining

http://florida4us.com/

Image
Veranor
FAF Co-Programmer
Posts: 310
Joined: Mon Mar 08, 2004 8:12 pm

Post by Veranor »

Then really what you want is more of an outline about the source base, similar to a manual of installation.
"The truth is a trap: you can not get it without it getting you; you cannot get the truth by capturing it, only by its capturing you." - Søren Kierkegaard
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Ctrl-F be hanged. What you want is grep.
:wq
sh0e
Forum Maniac
Posts: 290
Joined: Mon Apr 19, 2004 6:13 pm

Post by sh0e »

just download the source.
gondor
Forum Maniac
Posts: 631
Joined: Sat Apr 02, 2005 7:16 pm
Location: On FAF Usually
Contact:

Post by gondor »

yes but do you know a site were to download it
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

Gondor try reading ALL the posts... we are on about the FAF source code.
I do not have a signature, you must be imagining

http://florida4us.com/

Image
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members