Author Topic: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition  (Read 3592 times)

0 Members and 1 Guest are viewing this topic.

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« on: 18 May, 2008, 13:17:35 »
New version of Trivia cut from Rincewind's Grimoire v5.0.2 available here

PtokaX forum

Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« on: 18 May, 2008, 13:17:35 »

Offline Hades

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +2/-1
  • dchublist.org
    • United DC Hublist
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #1 on: 19 December, 2008, 01:59:07 »
Hi m8!

Every time someone types +scores -scores or ! scores script crashes with error:

?:0: attempt to index field 'tGuessTheNumber' (a nil value)

Im using trivia 2.0.4 standalone ver - can this b fixed?

PS.
 Im running PX 4.1.1 lua 5.1.3 on ubuntu linux.

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #2 on: 19 December, 2008, 13:15:29 »
Hi,

I'll see about getting this fixed (at work at the moment but will investigate once I am at home).

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #3 on: 21 December, 2008, 13:25:49 »
I have tested this and can;t get it to error.

What is in your tSwitches table?

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 112
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #4 on: 21 December, 2008, 21:22:36 »
I've tried it out on debian.. the script works for me without any modification.
Quote
[21:20:15] <?GamesBot?> Question 1 of 15. Music:Name the Artist/Band that recorded this song: Motorbreath (Hetfield)?
« Last Edit: 21 December, 2008, 21:24:44 by ATAG »

Offline Hades

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +2/-1
  • dchublist.org
    • United DC Hublist
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #5 on: 29 December, 2008, 08:09:31 »
What's tswitches table?
Im running on ubuntu - still get error everytime -scores is used

Offline Rincewind

  • Scripter
  • Lord
  • ******
  • Posts: 403
  • Karma: +60/-7
    • Rincewind's Scripts
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #6 on: 29 December, 2008, 13:40:57 »
Apologies, from memory I thought tSwitches existed in the Trivia settings but it seems it does not.

When did you download the file? I checked the one up there now and it worked fine (as it did for ATAG)?

Offline Hades

  • Triple Ace
  • **
  • Posts: 192
  • Karma: +2/-1
  • dchublist.org
    • United DC Hublist
Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #7 on: 05 January, 2009, 21:56:29 »
downloader right now again from this post link - your 1st post with a link also tried from your website but get this error now:


0.4.1.1\scripts\Rincewind's Trivia.lua:8: attempt to index global 'Core' (a nil value)

What else: From r click menu when clicking on Trivia 2.0.4 information script fails with error:

 ?:0: attempt to index field 'tGuessTheNumber' (a nil value)     - i have no guess the number game at all something is wrong here!
« Last Edit: 05 January, 2009, 22:04:28 by Hades »

PtokaX forum

Re: Rincewind's Trivia v2.0.4 Lua 5.1 API2 Edition
« Reply #7 on: 05 January, 2009, 21:56:29 »