PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: losdos on 07 July, 2004, 04:34:50

Title: trivia ex
Post by: losdos on 07 July, 2004, 04:34:50
hello
 
  I dont know if im posting in the right place.  im a error coming up when i try to start the trivia ----> Syntax error: assertion failed!  Couldn't locate seek file for Trivia Bot.
stack traceback:
   1:  function `assert' [C]
   2:  main of file `...\Julius\Desktop\hub\scripts\Trivia-Ex-V.0.5.lua' at line 63



Thank you in advance
Title:
Post by: Corayzon on 07 July, 2004, 05:58:16
hey losdos,

im not the writer of Trivia-Ex-V.0.5.lua, but i can tell ya what this error is:-

'Syntax error: assertion failed! Couldn't locate seek file for Trivia Bot.'

this is saying that the file that is used for storing the triva info cant be found.

You can fix this by:-

1 - Opening Trivia-Ex-V.0.5.lua in notepad
2 - Goto line 63 by pressing ctr+g and putting in the line number
3 - Look at what file it tries to open on this line
4 - Make the file in the path that its tring to open

noza
Title:
Post by: chill on 07 July, 2004, 10:40:29
Hey, yepp Trivia 0.5 works with a seek file, where it can find a question by question number in the questionfile, but I removed it, cause a normal search thourgh a huge question file is less than 0.3 secs,  and the script got major updated :))

version 0.65 (http://www.bbfree.com/cannaforum/index.php?act=Attach&type=post&id=995)