Trivia-Ex-V.0.68 for Lua 5
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Trivia-Ex-V.0.68 for Lua 5

Started by Jelf, 13 March, 2005, 12:07:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jelf

I know a few people wanted this so here ya go...
Trivia-Ex V.0.68 Lua 5

Tw?sT?d-d?v

THX M8 :)))   just what i needed


lynyrd


MusicMan?

wow much appreciated m8  :D  :D  :D

I look forward to trying it out.

MusicMan?

remaster-it

WD Jelf

Thx M8    :D ..  ur a Star

-=NYC=-Hemarr

#6
Thankyou so much   will the old trivia questions work with it? also getting error in lua  
Syntax [string "-- Converted to Lua5 By Jelf 12/03/05 With thanks to kepp
..."]:24: `=' expected near `TrivEx' any ideas
 did not edit put in as i got from link

Anna

no idea... I dont get that error and I just putted it in... that seem strange, I did some editing though, mainly settings to get it as I want it :D

-=NYC=-Hemarr

#8
Got copy of it from someone else working now must have been bad download Right click commands work with it most commands will fix rest and then i'll post it here

kbeh273300

hi   thank you very very much for this script :)

everything seems to work great i only have one error and here it is
!trivstats
Syntax ....b16.05.nt.rlsrobo\scripts\Trivia-Ex-V.0.68.lua5.lua:704: attempt to index field `AvTime' (a number value



other then that its working awesome  :D  :D
-=United Kings network=-
Network Webpage?
Hub address: houseofkings.no-ip.org:420
hub webpage
hub forum

Settlers


Jelf

I'm glad that so many people are enjoying this :d

QuoteOriginally posted by -=NYC=-Hemarr

Thankyou so much   will the old trivia questions work with it?
[/SIZE]
Yes the old questions will work with it as there arent many that come with it in the zip :D
Quotealso getting error in lua  
Syntax [string "-- Converted to Lua5 By Jelf 12/03/05 With thanks to kepp
..."]:24: `=' expected near `TrivEx' any ideas
 did not edit put in as i got from link
[/SIZE]
Dunno how that happened because that line is No1 not No24
QuoteOriginally posted by kbeh273300

hi thank you very very much for this script :)

everything seems to work great i only have one error and here it is


code:--------------------------------------------------------------------------------!trivstats
Syntax ....b16.05.nt.rlsrobo\scripts\Trivia-Ex-V.0.68.lua5.lua:704: attempt to index field `AvTime' (a number value--------------------------------------------------------------------------------



other then that its working awesome :D :D
[/SIZE]
I haven't been able to get this error, Do you still get it or was it a one off?

remaster-it

#12
as I said before Jelf your a star  .... script working really well  ..  

no probs in the mem usage (145k) or the way running  ..  


get error in ptokax  script editor at base when running  

Syntax ...0 v 5 uk1 test HUB\scripts\Trivia-Ex-V.0.68.lua5.lua:406: attempt to call global `SendDataPlayers' (a nil value)

but dont appear to be effecting the hub or the game  ..  

( comes up about 2 x an hour )  ...  

I have had to convert the question format  (as was the fullques from chilla) using  PSpad to change from  $$ to $ as the seperator    ..  poss picking up a bad Question format every so ofton  ??

have also changed

TrivEx._Profiles.Normal = {
   [0] = "Master",
   [1] = "Operator",
   [2] = "VIP",
   [3] = "Reg",
   [4] = "Moderator",
   [5] = "NetFounder",
   [-1] = "Noobs",
}

TrivEx._Profiles.Config = {
   [0] = "Master",
   [1] = "Operator",
   [2] = "VIP",
   [3] = "Reg",
   [4] = "Moderator",
   [5] = "NetFounder",
}

TrivEx._Profiles["Config+"] = {
   [0] = "Master",
   [1] = "Operator",
   [4] = "Moderator",
   [5] = "NetFounder",
}

horis

Hi jelf
         I have a few probs, The script won't run in random mode and also only in pm, maybe I've done something wrong as no one else seems to get the same probs. Just like to say thanks very much for the conversion even if I am having trouble  :D
       
           horis

Jelf

It was my fault, when i zipped it I included the config file, so when script is started it uses settings from there, I had it set to PM mode while testing.

All you have to do is type !triviamain and !trivstart in mainchat and that should bring it back.

I have re-upped the zip without this file included so it defaults to mainchat.

kbeh273300

well i got that error when i used my old saved scores but since then i reset the scores and the error is gone now and the stats cmd works as it should.

thanks very much for this script you saved me a hole lot of angry users lol :D  :D
-=United Kings network=-
Network Webpage?
Hub address: houseofkings.no-ip.org:420
hub webpage
hub forum

Mucking_Fagic

hiya
im having problems getting the link to work to get the trivia files, im really interested in the script can anyone help me?

Jelf

Link should work now

Mucking_Fagic

excellent thanks for sortuing out the link much appreciated, good job keep up the good work.

neper

does not function that


if (self._Sets.showcorrectanswer == 1) then
SendDataPlayers(curUser.sName.."'s Stats, Score: "..self._Scores[curUser.sName].Score.." Point(s), Answerd Questions: "..self._Scores[curUser.sName].AvTime[2]..", Average Answering Time: "..string.format("%.2f",self._Scores[curUser.sName].AvTime[3]).." sec.")
end

Jelf

Did you use a clean folder ?

neper


horis

Thanks Jelf for both trivia games :)

Lage

Hi. I used to run Trivia Ex v0.65 in my old Ptokax hub, but I'm setting up a new one now with Ptokax 0.3.3.0 build 16.06 so I thought I'd run this script instead.

Now for some reason the trivia tells me the answer is correct before the line where the person actually enters the correct answer is shown. Why is this, and how can it be modified? The way it is now, the trivia bot seems psychic. =)

Falstaff

QuoteOriginally posted by Jelf
I know a few people wanted this so here ya go...
Trivia-Ex V.0.68 Lua 5

is there any way of adding the possibility of showing the accumulative score when a user answers the question i.e

correct (user) the answer was (answer) you get 9 points your score so far is 490

this would be a help

SMF spam blocked by CleanTalk