instead of counting the contesters now need 2 type x words.
1 word per line otherwise it's considered cheating, which offcourse is punished.
it needs external word files, 1 word per line.
for this you can for exampl use the files from wombat's word jumble, or you can download the files from my website (word jumble word files can be found there 2).
download here (http://www.plop.nl/ptokaxbots/Plop/kickbattle_v2.lua)
plop
GJ again, plop, as usual :D
Hi All !!!
plop nice work :]
amazing script. by far the best i've seen. plop or someone else. could you please implement these things for me? :
when kicked a user gets the default time ban.
like in the old script, a setting for when a user enters the hub with too many hubs, they get auto added as a ball?
maybe not sent as much txt to the main chat? condense the pictures somewhat?
make it more apparent to general users, that they're actually kicking someone.
maybe by rewording "[02:03] <-KickBattle-> x has scored. His/Her's current score is: 2"
to something along the lines of 'x has successfully kicked (cheating/faking users nick) from the hub' or something. my brain isnt working at the moment, but you get the idea.
Also, i'm getting the following syntax errors:
"No syntax errors in script file texter4.5.lua
Syntax error: attempt to call global `Save' (a nil value)
stack traceback:
1: function `Main' at line 63 [file `... - Games\ptokax 15.25\scripts\kickbattle_v2.lua']
Syntax error: attempt to concat global `cmd' (a nil value)
stack traceback:
1: function `DataArrival' at line 367 [file `...rams - Games\ptokax 15.25\scripts\texter4.5.lua']
Syntax error: attempt to concat global `cmd' (a nil value)
stack traceback:
1: function `DataArrival' at line 367 [file `...rams - Games\ptokax 15.25\scripts\texter4.5.lua']
Syntax error: attempt to concat global `cmd' (a nil value)
stack traceback:
1: function `DataArrival' at line 367 [file `...rams - Games\ptokax 15.25\scripts\texter4.5.lua']"
am using txter. seems something to do with txter but this error only happened when i added kickbattle. what it means or how to solve?
kickbattle V2.1 is on my website try if it happens on that version.
i never saw that error on my hub, i reguarly run them side by side myself.
i removed the hub check as we (yep3 and me) came up with the idea 2 use CDM with a raw command 2 controll it.
so users can get release there stress on fakers. lol
download titmouse from the tools section of my website.
all the text which is shown in purple can be changed 2 your wishes.
just leave the " " round it.
small hint 2 avoid you from pulling out your hair, don't use ctrl-c.
that closes the file.
plop
thanks, will try what you said tomorrow and report back if need extra help. one thing though, checked your website. the link for v2 and 2.1 are exactly the same.
oh, and i thought that syntax info would give an inidication of what was causing it. dont know very much about scripting at all :)
QuoteOriginally posted by imby
thanks, will try what you said tomorrow and report back if need extra help. one thing though, checked your website. the link for v2 and 2.1 are exactly the same.
oh, and i thought that syntax info would give an inidication of what was causing it. dont know very much about scripting at all :)
you found a bug in the CMS i made for my website.
the .1 was removed because of an error in a strfind.
thx.
plop
thx, the link to titmouse also seems dead.
tryed the new version. "Syntax error: bad argument #2 to `random' (interval is empty)
stack traceback:
1: function `random' [C]
2: function `GetWords' at line 194 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.1.lua']
3: function `Commands' at line 317 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.1.lua']
4: function `DataArrival' at line 374 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.1.lua']"
still no chance in implementing the normal time ban for a kick? when kicked the users reconnect and enter the hub again within a minute. seems to only disconnect them. maybe a message to their client why they've kicked would also be nice, but haven't checked if that's implemented yet.
"i removed the hub check as we (yep3 and me) came up with the idea 2 use CDM with a raw command 2 controll it. "
adding users who enter the hub who are in too many hubs would be a wonderful feature. because people would still be added as balls even when ops aren't around. or when ops are too lazy to add people all the time. an option to have it turned on or off in the next version would make you a god :D but i can appreciate why you'd not want to implement it if made more for personal use. :))
QuoteOriginally posted by imby
"i removed the hub check as we (yep3 and me) came up with the idea 2 use CDM with a raw command 2 controll it. "
adding users who enter the hub who are in too many hubs would be a wonderful feature. because people would still be added as balls even when ops aren't around. or when ops are too lazy to add people all the time. an option to have it turned on or off in the next version would make you a god :D but i can appreciate why you'd not want to implement it if made more for personal use. :))
V2.2 is on my site.
------ V2.2
-- fixed error on random.
-- added, hub check can nominate ball's again.
enjoy
plop
woohoo, thanks, :D but still no temp ban for those kicked. just a disconnection. so those kicked rejoin again within a minute. if you don't want it there, maybe you or someone can show me what function to add to the script?
QuoteOriginally posted by imby
woohoo, thanks, :D but still no temp ban for those kicked. just a disconnection. so those kicked rejoin again within a minute. if you don't want it there, maybe you or someone can show me what function to add to the script?
change:
vix:Disconnect()
for
vix:TempBan()
line 304 in the DoGame function.
plop
been testing.
downloaded v2.2 fresh and removed other scripts so i could see what was going on.
upon: !addwords : Syntax Error: attempt to concat global `tScoresFolder' (a nil value)
Upon: !delwords : Syntax Error: attempt to concat global `tScoresFolder' (a nil value)
Next, implemented vix:TempBan() . feature works perfectly. no more errors to add, but the same errors specified are still there. max hub kick works fine also.
Set up as follows:
In folder scripts\kickbattle_v2.2.lua
scripts\public_kick\kickbattle[E].txt
scripts\public_kick\kickbattle.lua (made itself)
that's all the files associated.
replace the SaveWords function for this 1:
function SaveWords()
writeto(fScoresFolder.."/"..fLangFile)
for i=1,getn(tGame.tBWords) do
write(tGame.tBWords[i].."\n")
end
writeto()
end
small spelling error.
tScoresFolder should be fScoresFolder.
plop
Hiya Plop,
Im getting this error report
Syntax error: attempt to call global `Save' (a nil value)
stack traceback:
1: function `Main' at line 82 [file `... Debug\Ptokax Debug\scripts\kickbattle_v2.2.lua']
Could it be something im doing wrong?
i got the same error. odd. i tested it on ptokax 4.99 and it worked perfectly. added it to 15.25 and got that error.
version 2.3 is uploaded 2 my site.
again a stupid error, haven't been really here with my head the last weeks.
forgot 2 change Save() to SaveScores() on function Main().
plop
QuoteOriginally posted by plop
change:
vix:Disconnect()
for
vix:TempBan()
line 304 in the DoGame function.
plop
Cheers again plop, i had to change the quoted line above in version 2.3 and now me and my users are happy.
Keep them coming.
Ridaz
yep, thanks a lot plop. gonna test it fully tonight. think i found a few minor errors. consider me your beta tester. :D dunno if my error reports are useful to you or irritating. i suspect the latter, but anyway, thanks for your patience and time. it's really appreciated.
QuoteOriginally posted by imby
yep, thanks a lot plop. gonna test it fully tonight. think i found a few minor errors. consider me your beta tester. :D dunno if my error reports are useful to you or irritating. i suspect the latter, but anyway, thanks for your patience and time. it's really appreciated.
the only bug reports which are anoying are like "it doesn't work". lol
any detailed report with the msg's from the ptokax console and posible with the typed command are most welcome.
as i need those 2 be able 2 find the bug.
your bug reports are great.
plop
ah, glad i'm not such a pest :)
error 1: if nominated ball itself types the magic words, not only does it stop him/her from being kicked, it seems to halt the script altogether. no errors seen in ptokax but seems mildy serious.
*goes back to testing*
update: if nominated user types ANYTHING in the main chat at all, it cancels out the script completely. need a 'restart scripts' to get it working again. with the exception of that, can't find one other error. :D almost there.
works fine here tho.
[02:40] <-KickBattle-> plop has been named the ball by [TGA-OP]plop in kick soccer for the following reason: test
[02:40] <-KickBattle-> The magic words are: the / affectionately / typed
[02:40] the
[02:40] typed
[02:40] *** Disconnected
[02:41] <-KickBattle-> plop has been named the ball by [TGA-OP]plop in kick soccer for the following reason: test
[02:41] <-KickBattle-> The magic words are: point / keyboards / end
[02:41] point
[02:41] point
[02:41] end
[02:41] keyboards
[02:42] <-KickBattle-> plop has been named the ball by [TGA-OP]plop in kick soccer for the following reason: test
[02:42] <-KickBattle-> The magic words are: pretty / known / as
[02:42] pretty
[02:42] known
[02:42] *** Disconnected
[02:43] <-KickBattle-> plop has been named the ball by [TGA-OP]plop in kick soccer for the following reason: test
[02:43] <-KickBattle-> The magic words are: god / online / through
[02:43] balh
[02:43] da
[02:43] re
[02:43] fsfg
[02:43] ga
[02:43] e
[02:43] re
[02:43] rwet
[02:44] qtv
[02:44] <[TGA-OP]plop> god
[02:44] <[TGA-OP]plop> online
[02:44] <[TGA-OP]plop> through
[02:44] <-KickBattle-> [TGA-OP]plop has scored. His/Her's current score is: 25
[02:44] <-KickBattle-> No more balls left. Game ended!
plop
sorry. done :)
never mind. did it myself with careful testing.
i'll delete if possible the script i pasted to save space.
pin pointed the error exactly. it wasn't something i did, added your script, then a user in too many hubs entered. if the user entered in too many hubs types the words it halts the script. then upon user in too many hubs rejoin: Syntax Error: `for' table must be a table.
i dunno if that helps.
you only tested by using !ball i think.
QuoteOriginally posted by imby
you only tested by using !ball i think.
yep i indeed only tested it with the !ball command.
thx for the info, should help a lot 2 find the bug now.
plop
thx, ill check back every couple of days for a fix.
update: it's also people that havent been nominated by the script yet, but are in too many hubs, who can stop the script.
------ V2.4
-- fixed balls can't kick balls anymore,
-- should solve the bug causing the script to freeze when they try.
plop
hi, i dunno if this is any help. only added the tempban part and left it running:
Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
1: function `strfind' [C]
2: function `NewUserConnected' at line 517 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
if not, i'll try looking more into what's causing it.
QuoteOriginally posted by imby
hi, i dunno if this is any help. only added the tempban part and left it running:
Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
1: function `strfind' [C]
2: function `NewUserConnected' at line 517 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
if not, i'll try looking more into what's causing it.
try removing function NewUserConnected also, the script should still keep finding the balls.
only a bit later.
not only because of this bug, but also 2 check if dataarival works correct on nominating balls which are in 2 much hub's.
plop
Syntax error: attempt to concat a nil value
stack traceback:
1: function `DoGame' at line 299 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
2: function `Commands' at line 399 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
3: function `DataArrival' at line 448 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
this was happening back on 2.3 to. it seemed to work at first. then i got a fresh version of 2.3 from your site and it started doing that. there's something fundamentally wrong with that script. and i can't work it out. i guess you just need to test it thoroughly and see what comes up. no matter what you implement it just seems to die after the first few users have been kicked from being in too many hubs for me. as a result ive been unable to leave it running in my hub as of yet. maybe you've not seen it because you use it only with the !ball function? or maybe i'm doing something wrong, but i truly doubt it. think it's beyond me. will leave it to you for the time being.
hi, pls don't give up. it's a great script. is it only me who's getting problems? maybe i'm doing something wrong, no one else seems to be reporting anything.
QuoteOriginally posted by imby
hi, pls don't give up. it's a great script. is it only me who's getting problems? maybe i'm doing something wrong, no one else seems to be reporting anything.
i'm not giving up and yes you seem 2 be the only 1 having this problem.
i'm just @ the moment busy on a new CMS for my site which is taking a lot of time.
unlike the previous version i want this 1 2 work flawlessly and i'm adding a whole bunch of new features.
plop
adding new features to your site or to the script? and if it's just me then i guess there's nothing you can do really. it might be the ptokax i'm using, or the scripts i'm using it in conjunction with. i've regged all the 6 bots in the user list including robocop with one bot name.
QuoteOriginally posted by imby
adding new features to your site or to the script? and if it's just me then i guess there's nothing you can do really. it might be the ptokax i'm using, or the scripts i'm using it in conjunction with. i've regged all the 6 bots in the user list including robocop with one bot name.
the site is gone have a bunch of new features, filesize, date, descriptions, etc..
try giving kickbattle it's own nick, if it then still gives an error you have found a bug.
if not you caused a conflict.
plop
gave own nick, and works for the first few users, then dies. with both new user connected there, and not there.
Syntax error: bad argument #1 to `strfind' (string expected, got nil)
stack traceback:
1: function `strfind' [C]
2: function `NewUserConnected' at line 517 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
Syntax error: attempt to concat a nil value
stack traceback:
1: function `DoGame' at line 306 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
2: function `Commands' at line 399 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
3: function `DataArrival' at line 448 [file `... Games\ptokax 15.25\scripts\kickbattle_v2.4.lua']
cheers.
My biggest pride i guess: i updated it!
Quote------ V2.5
-- added: newly connecting user gets notified of the current ball and words
-- added custom bantime (or perm) in CL
------------------------------------
Download here (http://rnrdoctor.sytes.net/kickbattle_v2.5.lua)
any1 who dled it please redownload, i forgot 2 comment the debug part :D
QuoteOriginally posted by bastya_elvtars
any1 who dled it please redownload, i forgot 2 comment the debug part :D
But now it's working great!!! :D
yepyepyep4711, feature suggester, lucky tester, happy user 8)
QuoteOriginally posted by bastya_elvtars
any1 who dled it please redownload, i forgot 2 comment the debug part :D
@ http://rnrdoctor.sytes.net/kickbattle_v2.5.lua
Gateway Timeout
The following error occurred:
A gateway timeout occurred. The server is unreachable.
Please contact the administrator.
:0(
and i really want it .. :0))
(i have same prob as imby does)
QuoteOriginally posted by UwV
QuoteOriginally posted by bastya_elvtars
any1 who dled it please redownload, i forgot 2 comment the debug part :D
@ http://rnrdoctor.sytes.net/kickbattle_v2.5.lua
Gateway Timeout
The following error occurred:
A gateway timeout occurred. The server is unreachable.
Please contact the administrator.
:0(
and i really want it .. :0))
(i have same prob as imby does)
click (http://www.plop.nl/ptokaxbots/bastya_elvtars.php)
plop
have i looked with my eyes closed.. or is this a new section in your wellrespected page in bookmarks ? :D