| View previous topic :: View next topic |
| Author |
Message |
pet Guest
|
Posted: Sat May 22, 2004 4:33 pm Post subject: Problem With amiens game Faq script |
|
|
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 |
|
| Back to top |
|
 |
AxS Halfop

Joined: 09 Apr 2003 Posts: 46
|
Posted: Fri Nov 19, 2004 9:52 am Post subject: |
|
|
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:
| Quote: | ###############################
#### 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)" |
|
|
| Back to top |
|
 |
fkfmf Voice
Joined: 06 Jun 2006 Posts: 2
|
Posted: Mon Aug 07, 2006 11:04 pm Post subject: not working. |
|
|
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. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Tue Aug 08, 2006 12:23 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|