PtokaX forum

Archive => Archived 5.1 boards => Help with scripts => Topic started by: Anna on 23 May, 2007, 19:31:51

Title: Trivia - v3.01
Post by: Anna on 23 May, 2007, 19:31:51
I know there's a few trivia's already sorted :) I converted this into 5.1 using the converter prog/script named: 50to51

Up until a few versions of ptokax it worked smoothly, but now with latest version it freezes up the hub after a few mins, the problem occurred with the betas I tried as well, perhaps not the earliest ones. But since ptokax was in Beta then I decided to wait for final version before asking for help, in case it would sort itself with final, but it didnt :/

unfortunatly the original scipter seem to be unknown, but this is the head of the script:

-- v3.01
-- Converted to Lua5 By Jelf 15/03/05
-- Tweaked by Stravides 20/05/05

I never released it as a converted one, since I have a few personal changes in, mainly in how the questions are displayed, at least I don't think I did anything but format changes.

Anyone that can see what could be the problem?

Script attached.

Title: Re: Trivia - v3.01
Post by: Yahoo on 25 May, 2007, 13:18:51
getting following error
trivia_5.1.lua:510: bad argument #1 to 'gsub' (string expected, got nil)
does any1 knows any site were i could find more trivia questions and answers??



thanks in advace
Title: Re: Trivia - v3.01
Post by: Anna on 27 May, 2007, 19:56:52
I know there's something with the script that is a problem, thats why I wanted help :)

I don't know of a site for trivia questions/answers though, sorry