| » Stats |
Members: 103,403
Threads: 84,986
Posts: 1,031,253
Top Poster: Karky (9,546) | | Welcome to our newest member, ankkavfrav | |
If you register for free, you will be able to post threads, vote on polls and lots more. If you have problems with the registration or logging in, please contact the administrator.
 |
11-01-2005, 01:35 PM
|
"RETAIN_PLAYERS" list generator? Post #1 | | Registered User
Join Date: Apr 2007
Posts: 0
Rep Power: 0 | "RETAIN_PLAYERS" list generator?
First, if any post relative to the following question already exist, please excuse me, if wasn't able to find it because the search function of the forum seems to not working.
Here's my question.
Is it possible to create a tool that, with all club's infos (Nation, compet, ID, etc.) in his DB, can filter clubs and output a ready to use ddt file with all the "RETAINS_PLAYERS" commands writted?
I hope that i was clear enough to be understandable 
Jan
|
| |
11-01-2005, 02:58 PM
|
"RETAIN_PLAYERS" list generator? Post #2 | | Newb
Join Date: Feb 2008
Posts: 0
Rep Power: 0 | |
| |
11-01-2005, 03:18 PM
|
"RETAIN_PLAYERS" list generator? Post #3 | | Joe Blow
Join Date: Feb 2008
Posts: 0
Rep Power: 0 |
The generation of the actual DDT file itself wouldn't really be a problem. The main problem would be extracting a list of the relevant names in the first place.
Assuming a method could be found to do this then it might be a good idea to expand the original scope and also use it to generate EDT files as well.
|
| |
11-01-2005, 03:23 PM
|
"RETAIN_PLAYERS" list generator? Post #4 | | Registered User
Join Date: Apr 2007
Posts: 0
Rep Power: 0 |
In fact, the filetring can be done under MS Excel (or any free MS office clone).
But imagine that a program can do the same with, for exemple, a .txt file.
Can u detail how the DDT's generation works?
Don't be afraid to detail, i'm definitely not a programmer 
Jan
|
| |
11-01-2005, 03:52 PM
|
"RETAIN_PLAYERS" list generator? Post #5 | | Joe Blow
Join Date: Feb 2008
Posts: 0
Rep Power: 0 |
The code depends on what programming language you're using. Since you mention Excel this is how I would do it in VBA. Quote:
Sub GenerateDDT()
Dim r as Integer
Open "C Retain.ddt" For Output As #1
For r = 2 To UsedRange.Rows.Count
If Rows(r).Hidden = False Then
Print #1, "RETAIN_PLAYERS" " & Cells(r,1) & """
End If
Next r
Close #1
End Sub
| This would create a list based on the values in the first cell of the visible rows in an Excel workbook and output them to C  Retain.ddt
|
| |
11-01-2005, 03:54 PM
|
"RETAIN_PLAYERS" list generator? Post #6 | | Joe Blow
Join Date: Feb 2008
Posts: 0
Rep Power: 0 |
If you want any more detailed info feel free to email me using the address in my profile.
|
| |
11-01-2005, 04:06 PM
|
"RETAIN_PLAYERS" list generator? Post #7 | | Registered User
Join Date: Apr 2007
Posts: 0
Rep Power: 0 |
Thank you very much Nerazzurri! 
I'm gonna try it right now
Jan
|
| |
11-01-2005, 05:57 PM
|
"RETAIN_PLAYERS" list generator? Post #8 | | Joe Blow
Join Date: Feb 2008
Posts: 0
Rep Power: 0 |
For anyone else who wants to try this the code should have been:- Quote:
Sub GenerateDDT()
Dim r as Integer
Open "C Retain.ddt" For Output As #1
For r = 2 To UsedRange.Rows.Count
If Rows(r).Hidden = False Then
Print #1, """RETAIN_PLAYERS"" """ & Cells(r,1) & """
End If
Next r
Close #1
End Sub
| |
| |
11-01-2005, 06:27 PM
|
"RETAIN_PLAYERS" list generator? Post #9 | | Registered User
Join Date: Jun 2007
Posts: 0
Rep Power: 0 | Quote: |
Is it possible to create a tool that, with all club's infos (Nation, compet, ID, etc.) in his DB, can filter clubs and output a ready to use ddt file with all the "RETAINS_PLAYERS" commands writted?
| I think that there was a program with FM 2005 or CM 03/04 which allowd people to create EDT and DDT files really easy.
Saying that, it didn't extract names from the db - but you could type them in and it just made life a lot easier.
Maybe it is still around? |
| |  | | Thread Tools | | | | Display Modes | Linear Mode |
Similar threads to "RETAIN_PLAYERS" list generator? | | Thread | Thread Starter | Forum | Replies | Last Post | DDT Generator
DDT Generator: Will there be a new version of DDT Generator for... | Blue Lou | Skinning Hideout | 4 | 11-26-2006 10:52 PM | Retain_Players
Retain_Players: How can i retain a specific player and not all... | the Sorrow Lane™ | Skinning Hideout | 1 | 01-26-2006 04:35 PM | EDT Generator 0.5.0
EDT Generator 0.5.0: A new version of this tool is now available.... | nerazzurri | Skinning Hideout | 4 | 12-26-2005 11:01 PM | RETAIN_PLAYERS
RETAIN_PLAYERS: Is this option against LLM rules?
(it makes the... | DRaco | Scout Report | 54 | 07-02-2004 12:19 PM | LL Generator... Hmm...
LL Generator... Hmm...: I'm starting a new game cause this computer... | White Ox | Scout Report | 7 | 06-19-2003 04:32 PM |
More threads of JanMasterson | | Thread | Date | Forum | Replies | Last Post | DDT Files - FAQ (temporary)
DDT Files - FAQ (temporary): Here's a little FAQ i copied a week ago, probably...
| 11-01-2005 | Skinning Hideout | 12 | 12-29-2005 10:07 PM | FM 2005 Data Editor Instructions/Readme
FM 2005 Data Editor Instructions/Readme: IIRC, in the folder "C:\Program Files\Sports...
| 11-02-2005 | Skinning Hideout | 0 | 11-02-2005 03:22 PM | "RETAIN_PLAYERS" list generator?
"RETAIN_PLAYERS" list generator?: First, if any post relative to the following...
| 11-01-2005 | Skinning Hideout | 8 | 11-01-2005 06:27 PM |
Other threads in forum Skinning Hideout | | Thread | Date | Thread Starter | Replies | Last Post | First time on here and need help
First time on here and need help: basically i want to get onto fata editor and all...
| 12-03-2007 | bluenose69 | 4 | 12-04-2007 02:14 PM | Malta!!!
Malta!!!: is it possible for SI to include the maltese...
| 11-14-2007 | xplando | 4 | 11-16-2007 08:01 PM | USING YOUR DATABASE IN THE GAME URGENT!!!
USING YOUR DATABASE IN THE GAME URGENT!!!: hELLO
i HAVE MADE A DATABASE BUT I DO NOT KNOW...
| 07-02-2007 | Michaeltt | 8 | 07-02-2007 10:49 PM | update with unchaged stats
update with unchaged stats: Check out Nicosh Update v3.
New data update as...
| 02-08-2006 | "Tonton" Nicoch | 0 | 02-08-2006 05:59 PM | How can i use
How can i use: well, if you knew how to use these files, then...
| 10-09-2005 | Stevenhp1987 | 3 | 10-10-2005 06:38 PM | | » Online Users: 27 | | 0 members and 27 guests | | No Members online | | Most users ever online was 2,128, 07-21-2008 at 08:27 PM. | |