Hello it?s me again.
Converted to new Api on Request from Bobby1999
Trivia-Ex-V.0.681_5.1.3 by [NL]Daddy-Bear?
Respectfully,
[NL]Daddy-Bear?
Kool!!! Its about time there was a triv converted way to go Daddy :P :P :P
stopping does not work (!trivstop)
No problem here,
[19:22:41] <Trivia_Daddy-Bear?> Trivia is stoped.
[19:22:41] <Trivia_Daddy-Bear?>
*TriVia Action*
================================================================================
Trivia was stoped by ![DFA-NF][NL]Daddy-Bear?
================================================================================
???
indeed !trivstop doesn't work :) and I don't get any errors
[11:22:59] <?Trivia?> Trivia is stoped.
[11:22:59] <?Trivia?>
*TriVia Action*
================================================================================
Trivia was stoped by ArtificialInsanety
================================================================================
[11:23:13] <?Trivia?> QUESTION Nr. 4015 from 23281 Questions.
----------------------------------------------------------------------
LE: I managed to stop it 1 time with the !trivstop , I don't really know whats wrong:)
Tried over and over stops everytime ??? try moving the script up or down in the list , I got it in position 7 in the list.
Tho moving it doent seem to affect it for me :o
Oh an thx DB Exellent work again
[06: 36 01 AM ? Fri 14 Mar] *** Server command: !trivstop
[06: 36 01 AM ? Fri 14 Mar] <-=Trivia=-> Trivia is stoped.
[06: 36 01 AM ? Fri 14 Mar] <-=Trivia=->
*-=TriVia=-*
================================================================================
Trivia was stoped by Ghost??
================================================================================
Ok , now it stops , don't know what made it not work yesterday
can it be modified not to start on hub start?
Quote[22:35:50] <[Bp]Trivia?> QUESTION Nr. 2397 from 5052 Questions.
----------------------------------------------------------------------
> Category: ZENE - Point(s): 8 - Valid Answers: 1
QUESTION: Melyik egy?ttes ?nekelte, hogy Sz?llj el, kismad?r?
HINT: ????????
----------------------------------------------------------------------
[22:35:50] <[Bp]Trivia?> Trivia is stoped.
[22:35:50] <[Bp]Trivia?>
*TriVia Action*
================================================================================
Trivia was stoped by [Bp]11hh
================================================================================
[22:35:54] <[Bp]Trivia?> QUESTION Nr. 3738 from 5052 Questions.
----------------------------------------------------------------------
> Category: NYELV - Point(s): 6 - Valid Answers: 1
QUESTION: Mi a v?ge a nemakar?snak a mond?s szerint?
HINT: ??????
----------------------------------------------------------------------
[22:35:56] <Ptokax>
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.4.0.0 built on Feb 23 2008 19:44:31
Uptime: 2 days, 0 hours, 5 minutes
Users (Max/Actual Peak (Max Peak)/Logged): 250 / 2 (3) / 2
Users shared size: 17496241604 Bytes / 16.29 GB
???
Works fine here ... tested with vip.op.master profiles
[21:52:10] <Trivia_Daddy-Bear?> QUESTION Nr. 29 from 36 Questions.
----------------------------------------------------------------------
> Category: ReggaeTrivia - Point(s): 8 - Valid Answers: 1
QUESTION: In 1958, he founded West Indies Records and the WIRL label to record Jamaican musicians
and singers, then mostly performing the Jamaican variant of American r&b.
HINT: e????? ???ga
----------------------------------------------------------------------
[21:52:24] <Trivia_Daddy-Bear?> Trivia is stoped.
[21:52:24] <Trivia_Daddy-Bear?>
*TriVia Action*
================================================================================
Trivia was stoped by Tw?sT?d-d?v?l
================================================================================
[21:52:33] <'[Fin]'marco> Two hookers were on a street corner. They started discussing business, and one of the hookers said, "Gonna be a good night, I smell cock in the air." The other hooker looked at her and said, "Nah, I just burped..."
[21:52:46] <Tw?sT?d-d?v?l> lol
[21:55:14] <{-Twisteds-Soul-}>
------------------------------------------------------------
Current stats:
------------------------------------------------------------
Version: PtokaX DC Hub 0.4.0.0b built on Mar 11 2008 19:50:10
Uptime: 3 days, 2 hours, 32 minutes
Users (Max/Actual Peak (Max Peak)/Logged): 2500 / 128 (141) / 121
Users shared size: 190479280079102 Bytes / 173.24 TB
Hello it?s me again.
Hello ArtificialInsanety, Offski and 11hh and all the rest
Lua is only for the new API and using PtokaX 4.0.0
If you are using a version 3.60 it will not work.
Thx: Tw?sT?d-d?v?l for also testing.
Respectfully,
[NL]Daddy-Bear?
Version: PtokaX DC Hub 0.4.0.0 built on Feb 23 2008 19:44:31
When u start hub , trivia autostarts , can it be set not to start on hub start?
and with the "!trivstop" not stoping trivia I think it was because I use dixbot , and has additional profiles Owner , SuperOp,Kvip , I added them to the script , not sure how correct , but works now
btw I was using PtokaX 0.4.0.0b
Quote from: ArtificialInsanety on 15 March, 2008, 08:26:16
When u start hub , trivia autostarts , can it be set not to start on hub start?
In the script file Trivia-Ex-V.0.681_5.1.3.lua
goto line 136 where it says
TrivEx._Sets.StartOnMain = 1
change the value to 0
TrivEx._Sets.StartOnMain = 0
Save n restart script.
rEALx
thanks rEALx
Cheers DB :)
hi all i try to stop the trivia but them not stoped same times its work same times its not and tivia be fast few sec him open new latters if i restart scripts its work like i want i can stop trivia and every thing but in few time its not work to me any more same one can help me?
http://rapidshare.com/files/133336981/Trivia-Ex-V.0.681_5.1.3.lua.html
its my script
no one cant help me??
Hello TrIp-iN-SuN
Sorry I do not get what your problem is, can you rephrase the question?
Thanks.
Respectfully,
[NL]Daddy-Bear?
same time i try to stop the trivia and trivia not stop its type me them stoped but tivia not stoped and when his stop atomatic trivia need to start in 2 hours but same thing like 15 min trivia autostart again and its need be in 2 hour but if i restart my scripts its work agian good but in few days its happned agian
Hello TrIp-iN-SuN
Running this version also from march 08 and up, no problem like that here.
I did ask some friends here who also running it no one get this error.
So I don?t? now what to do for you right now sorry.
All the user settings okay?
Respectfully,
[NL]Daddy-Bear?
Hello TrIp-iN-SuN
Try setting like this
TrivEx._Sets.autostop = 300 -- nil when no autostop, 1 - endless
autoplay = 120 -- autoplay in MIN after action from line above (April 2007)
hope this works ok for u
with Respect
no its not i want but not maen its fixed tnx
HIi All!
I have a weird one here.
Scripts crashes with info SCRIPTS/TriviaScores.txt doesnt exist but its there and script matches filename
Im running ptokax 4.1.1 on Ubuntu linux with lua 5.1.3
On windows xp sp3 i get same thing exept when i save script ( with no changes made ) from ptokax gui ,it works but only till i reload it again ??? wtf?
In line #157 change
TrivEx._Sets.folder = "TRIVIA"
to
TrivEx._Sets.folder = Core.GetPtokaXPath().."scripts/TRIVIA"
Thanx ATAG but didn't work now i'm getting
\scripts\Trivia-Ex-V.0.681_5.1.3.lua:157: attempt to index global 'Core' (a nil value)
instead. :(
Don't forget to enable the scripting interface in the settings...
Its on.
I have selfreg,rolling tropic and hubmenu up and running at the moment but trivia crashes with error code:
Trivia-Ex-V.0.681_5.1.3.lua:157: attempt to index global 'Core' (a nil value)
thats after editing
In line #157 change
Code:
TrivEx._Sets.folder = "TRIVIA"
to
Code:
TrivEx._Sets.folder = Core.GetPtokaXPath().."scripts/TRIVIA"
Then i've got no idea :-\
awesome job you have done with this script [NL]Daddy-Bear. Thanks to scriptwriters like you This great script keeps on ticking
Any idea how to make this script work on unix?
I got ptokax 4.1.1 running on Ubuntu and cant get it to work:(
Sorry Hades i've got no idea. ???
Dunno for sure but the lua is the same i think, it's the Path to the files that makes it not working imo the \ \\ / // issue ^^
So can i rfeplace the path with acctual path like for example
path = /home/PtokaX/scripts/triviaquestions.txt??
What's the code to replace?
i don't know much about linux but if you use it you should now where to find the triviaquestions.txt file and how the path must be created :)
Whats the lua syntax for creating a path?
I have no clu about coding?
Hi ! I have a problem to Add &Start new questions...Some ideas ?!
Regards
TrivEx._Scores = {
["scorpio"] = {
["Streak"] = 1,
["Score"] = 29,
["AvTime"] = {
[1] = 88.01,
[2] = 3,
[3] = 29.34,
},
},
}
There is something wromg :( Cannot be loadet ! Mesech:Syntax cannot open TRIVIA/Trivia ExScores.txt No such file or directory . Cannot play new loaded questions ?!
Regards
CE3AM
If you backtrack a bit on this thread your question has been already answered you need to change where it looks for files
In line #157 change
Code:
TrivEx._Sets.folder = "TRIVIA"
to
Code:
TrivEx._Sets.folder = Core.GetPtokaXPath().."scripts/TRIVIA"
Quote from: Hades on 19 December, 2008, 08:34:28
Thanx ATAG but didn't work now i'm getting
\scripts\Trivia-Ex-V.0.681_5.1.3.lua:157: attempt to index global 'Core' (a nil value)
instead. :(
line 157 I changed to
TrivEx._Sets.folder = "scripts/TRIVIA"
and I have no errors then :)
Ive set this up and its working, but..... I cant answer the questions it wont accept any answer, Is there something I have done wrong?
make sure trivia is above al scripts that check mainchat, perhaps on top at ptokax scripts