This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Problem With amiens game Faq script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
p
pet

Problem With amiens game Faq script

Post by pet »

Hi, im not sure if anyone can help with this but my problem is in my chan i have this setup Amiens GAMESFAQS Script V1.0, it basicaly shows all the upcoming releases for a given Category Eg if you wanted to see the latest PC games in the channel you would type !Games PC. Past a certain point it used to give me the full details now its just does this :

UPCOMING PC GAMES // US RETAiL!
() .
Im thinking something has changed on the Gamefaq.com website but because i have no experince in TCl scripting iam unsure on how to resolve the issue. Iam hoping one of you maybe be able to help ? i absloutly appreciate any help you can give me and thanks very

pete
User avatar
AxS
Halfop
Posts: 46
Joined: Wed Apr 09, 2003 11:57 am

Post by AxS »

I had a similar problem with this script... I found a fix, although I think they changed their site again and happened to stuble upon your post. Well here's a fix so that you at least you see the releases, but its not perfect:
###############################
#### gamefaq tcl script v1.00 by Amien ####
################################


# !games <console>
#
# will show upcoming games with retail date
# source is http://www.gamefaqs.com/
#
# If you find any bug, please bug me at amien@fusemail.com
# respect to all the people from TCL , PHP and SQL channels on efnet
# for answering all my n00b questions so fast
#
# not the finest lines of tcl but it all works
# feel free to modify, but please send me your scripts or updates

bind pub A !upcoming games

proc games {nick host handle chan arg} {
global system

## parameter settings ##

set arg [string toupper $arg]
if {$arg != "PC" && $arg != "GC" && $arg != "PS2" && $arg != "XBOX" && $arg != "GBA"} {
puthelp "notice $nick :Missing argument, type !games SECTION, available sections are: GBA GC PC PS2 XBOX"
return 0
}
puthelp "privmsg $chan :UPCOMING $arg GAMES"

if {$arg == "PC"} { set urlgames "http://www.gamefaqs.com/computer/doswin/" }
if {$arg == "GC"} { set urlgames "http://www.gamefaqs.com/console/gamecube/" }
if {$arg == "PS2"} { set urlgames "http://www.gamefaqs.com/console/ps2/" }
if {$arg == "XBOX"} { set urlgames "http://www.gamefaqs.com/console/xbox/" }
if {$arg == "GBA"} { set urlgames "http://www.gamefaqs.com/portable/gbadvance/" }


## read http page ##

package forget http
package require http 2.3
set conn [::http::geturl $urlgames -timeout 9999]
set data [::http::data $conn]
::http::cleanup $conn

## lets strip! ##

set tosave [string range $data [set f [string first "</th></tr><tr><td valign=\"top\" class=\"date\">" $data]] [string first "<th colspan=\"2\" valign=\"top\" class=\"listhead\">" $data $f]]
regsub -all -- {<br>} $tosave "\n" tosave
regsub -all -- {</b>|</font>} $tosave { } tosave
regsub -all -- {<[^>]*>} $tosave {} tosave
regsub -all -- { |[<*>]} $tosave { } tosave

foreach line [split $tosave "\n"] {
if {$line == {} || $line == { }} { continue }
if {[string is digit [string index $line 0]]} {
set dateline [string map {"/" "-"} [string range $line 0 3]]
set gameline [string range $line 4 end]
} else { set gameline $line }
puthelp "privmsg $chan :($dateline) $gameline."
}
}

putlog "Amiens GAMESFAQS Script (heavily modified by Papillon)"
f
fkfmf
Voice
Posts: 2
Joined: Tue Jun 06, 2006 1:24 pm

not working.

Post by fkfmf »

i tried this source code but still only showing UPCOMING GC GAMES.
can someone PLEASE update this script.it was a handy scripts for finding release dates for consoles.
btw i tried to contact Amiens via email and messenger and no reply with a status on a working update or if there is going to be a new one in the future.
THANKS for your help.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

It is apparent this script is no longer supported. One might be lucky in that another will take over the script and update it as it is apparent Papillon no longer works on it.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply