The internet is a lawless place with knowledge and sarcastic wit the pistols of this wild frontier.
Don't go out without being sufficiently armed.

~Blade

Other places

Ares (Current version: 0.B)

Ares's primary facilities have been moved elsewhere:

  • If you wish to report a bug in Ares, please proceed to its bugtracker.
  • If you'd like to request a feature, register a blueprint.
  • If you have questions or can provide answers regarding Ares's usage, visit the Q&A section.
  • Before you post a new question, you should check the FAQ, though.

Behavior

  • Mind the forum rules.
  • Due to its documentedly horrible quality, we do not offer NPatch support.


Poll: Which option should I use?
Write a custom extension
Let others do the work
Generate sub-pages
Other (please specify)
[Show Results]
 
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Opinions needed: Representing type data on ModEnc
Author Message
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #1
Opinions needed: Representing type data on ModEnc
I'm nearing completion of my great datasheet mapping out what properties are loaded from INI for what object types, with what argument types and default values. However, if I post each object type's information on its main page (e.g. on VehicleTypes page for all flags related to VehicleTypes) means, on each flag's individual page, entering some of the Flag template's values by hand creates duplication. I see three possible choices:
  • I can write a ModEnc extension to magically fill in those bits on each individual page, but that is likely to take a while and need updating whenever mediawiki engine updates.
  • An alternative would be leaving flag individual pages as they are and letting others correct them over time.
  • Yet another alternative would be a boatload of scriptwork for me - generating an individual includable sub-page for each flag and then letting both Flag template and the grand table of the datatype use that sub-page's information. Which is nice since information on both of them is automatically synchronized.

Thoughts?

Edit: I should point out that some of the tables like for [BuildingTypes] or [General] are going to be long and I don't yet know if including and processing ~1000 template calls is going to make an impact on performance.

03.03.2008 09:03:52
Visit this user's website Find all posts by this user Quote this message in a reply
Corporal Bobingabout Offline
The Fucking DVD
*****
Community Patrons

Posts: 1 571
Joined: 12 Feb 2005
Reputation: 4
Post: #2
RE: Opinions needed: Representing type data on ModEnc
ZOMG! you're 768th post!

perhaps you should explain what you want to display a little more, then i can make a recomendation? :/

03.03.2008 11:22:38
Visit this user's website Find all posts by this user Quote this message in a reply
Corporal Marshall Offline
Ultimos Homo Statans
*****
STX Hostees

Posts: 1 033
Joined: 23 Jan 2005
Reputation: 12
Post: #3
RE: Opinions needed: Representing type data on ModEnc
Let others do the work. Keeps the info in the right place (on the flags' own pages) and the least work involved overall I think. And, after all, you've already done enough work getting the info in the first place.

Ever wondered what the hell is going on?
Believe me friend you're not the only one.
--Lysdexia

Check out Launch Base for RA2/YR - http://marshall.strategy-x.com
Also home to the Purple Alert mod, 1.002 UMP, and the YR Playlist Manager.
03.03.2008 15:43:57
Visit this user's website Find all posts by this user Quote this message in a reply
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #4
RE: Opinions needed: Representing type data on ModEnc
Lol @ 768, nerdy. Marshall, I do suppose that would be the easiest for me Smile And I could always code up stuff later if need be...

Bob, I mean this: I want to post a table like this on every ObjectType's main page at ModEnc:
Code:
Flags loaded from the INI files for this object type:
|                                 VehicleType                                     |
+---------------------------------------------------------------------------------+
| INI file | Section name | Flag name | Flag value type   | Default value | Notes |
+---------------------------------------------------------------------------------+
| Rules    | this->ID     | Strength  | integer           | 0             |       |
| Art      | this->Image  | Cameo     | string (SHP name) | ""            |       |
(repeat for 300 lines)
But that overlaps with the data provided on each flag's individual page by the flag template. Do I need to come up with a programmed way of keeping the two copies of information up-to-date, or do I just post the table and let someone else go over each flag's individual page to correct any wrong information in the Flag template?

(Note to self, Flag template lacks any info about the "Section name" column. And not all flags load by the simple rule rules=id, art=image...)

03.03.2008 16:04:51
Visit this user's website Find all posts by this user Quote this message in a reply
Sergeant gordon-creAtive Offline
creAtive FreemAn
****
Moderators

Posts: 395
Joined: 15 Apr 2007
Reputation: 5
Post: #5
RE: Opinions needed: Representing type data on ModEnc
Marshall Wrote:Let others do the work. Keeps the info in the right place (on the flags' own pages) and the least work involved overall I think. And, after all, you've already done enough work getting the info in the first place.

Same opinion. In 4 weeks I'll finish my Abitur and I'll have enough time to help.

Edit: The DLL is more important in my opinion...

[Image: osen2o7mpmm4jg1fs0.jpg]
03.03.2008 17:21:03
Visit this user's website Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #6
RE: Opinions needed: Representing type data on ModEnc
1000 template calls on one page wouldn't even be processed. MediaWiki has a pre-expansion template size cut-off.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
05.03.2008 12:00:19
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)