944,155 Members | Top Members by Rank

Ad:
Oct 24th, 2006
0

Help with scripts and understanding

Expand Post »


I downloaded Gamefront (http://www.ideiadupla.com/gamefront/download.htm) and I use it to catalog my games and roms. When a new entry is entered into the database I can uses scripts to download information (Picture of game, year published/ developer, etc.) from webpages (IGN, Gamefront, Pockethaven, etc.) The language used in the scripts is Pascal (Delphi). There is a script editor but I don't understand the language or mechanics behind it.

Question 1)
When using the script "Import from IGN.com" or any of the other scripts they no longer pull information from the webpage, even if I delete and re-enter something that was previously recognized.

Does you know how to fix this. I sent an email to the creator of the software but he has not responded.

Question 2)
How do scripts work? How does the script know how to pull the correct corresponding picture for the video game I entered into my database?

Question 3)
Since the scripts don't recognize most of the older games, can I add a script to other websites to download pictures / game info? How would I go about finding out how to do that.

Sorry for the long message but I wanted to make sure you understood my questions.

Also the gamefront database came with a manual and it briefly talked about the script editor which I posted below. I can even post screen shots of the script information if you would like to look at them.

Info from the manual

You can change the existing scripts or creating new ones.
The language used in the scripts is Pascal (Delphi). See the samples scripts for knowing some of the functions available.
Most of the scripts include some "constant" variables that are very simple to change, so you can modify the script easily.

Example: from the "ImportFromSiteIGN" script:

const
// Fields to import in this script
// 0 : Don't update
// 1 : Update only if field is empty
// 2 : Always update
ImportName = 1;
ImportCustomName = 1;
ImportPublisher = 1;
ImportDeveloper = 1;
ImportYear = 1;
ImportGenre = 1;
ImportRating = 2;
ImportBox = 0;
ImportInfo = 1;
The "Box" image will be not imported, and the "Rating" field would be updated with the value retrieved by the script.
The rest of the field will be updates, only if the fields are empty.
You can change these default settings to your definitions.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Special T is offline Offline
1 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Pascal and Delphi Forum Timeline: In need of help with Pascal
Next Thread in Pascal and Delphi Forum Timeline: .gif images in Delphi?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC