Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 24th, 2006, 8:26 PM   #1
Special T
Newbie
 
Join Date: Oct 2006
Posts: 1
Rep Power: 0 Special T is on a distinguished road
understanding scripts

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.



Do 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 everyone 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.
Special T is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
anyone ever programmed Blender Scripts? wrestlenovi Python 2 May 28th, 2006 2:35 AM
Setting a Script's CPU Priority Sane Python 15 Jan 5th, 2006 11:46 AM
Puzzle about a vim scripts named c.vim sinix Other Scripting Languages 7 Nov 2nd, 2005 7:47 AM
Dealing with size in scripts. linuxpimp20 Bash / Shell Scripting 2 Jul 3rd, 2005 9:06 AM
my scripts troubleshooter Bash / Shell Scripting 0 Apr 21st, 2005 1:23 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:30 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC