our modified trivia bot doesnt work properly
 

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

our modified trivia bot doesnt work properly

Started by jsjen, 18 April, 2004, 13:07:04

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jsjen

I hope someone can help, sorry I post so much. We are learners trying hard to learn

I get these errors:
Syntax Error: attempt to compare nil with number
Syntax Error: bad argument #1 to `strlen' (string expected, got nil)

they dont seem to be fatal though.

Also she doesnt work in her own window, people cant answer questions.

This is a link to the script  V

http://jsjen.customer.netspace.net.au/trivia.lua

If I need to post this bot another way please tell me

[NL]trucker

jsjen


first off all you arent requesting for a script but for help with a script so you had to post in that section originally.:-))

second if we cant look at the script we cant see what is wrong with it.


Also she doesnt work in her own window, people cant answer questions

seems to me a wrong setting in the cfg. file of the script

perhas one of the mods can replace this topic to the place where it belongs.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


jsjen

the link above takes you to the script

we modified it to try to take random out maybe we screwed it

pHaTTy

*done*

to jsjen, yea u probably most likely did, i wud download and see what i can do but, i aint got time, only scripts posted atm
Resistance is futile!

[NL]trucker

jsjen

Also she doesnt work in her own window, people cant answer questions


-- Default startup mode of Trivia!
lngDefMode = 1 -- (0 = game is played in chat!, 1 = game is played in chat but questions only show for players, 2 = game is played in pm with players)


the basic idear is that players have to join the game to have the possibillity to answer the questions.

if you set this :
lngDefMode = 1
 to
lngDefMode = 0

the game will be shown in main chat

the setting one means that only foks who entered the game can see the questions and also answer them.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


jsjen

I understand how the script works, it just stopped working oneday..

I think robocop7 has something to do with it im having quite a bit of trouble with scripts and regging users. We are starting from scratch add in a new script every hour.

Thanks for your help, I would still like someone to have a look at the script oneday if you can.

Thanks Jase

SMF spam blocked by CleanTalk