PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => Topic started by: Tw?sT?d-d?v on 26 October, 2007, 19:59:07

Title: DrunkBot.3.1 [New API]
Post by: Tw?sT?d-d?v on 26 October, 2007, 19:59:07
DrunkBot.3.1 [New API]       

Unzip and place both Folder and lua file into scripts folder 

Fix in sending Reg/VIP RightClicker
Fixed few typos
Title: Re: DrunkBot.3.1 [New API]
Post by: ZandPilooT on 28 October, 2007, 21:15:07
Nice work but I get the following error when trying to run the script.

Syntax C:\ptokax\scripts\DrunkBot.3.1 [New API].lua:18: attempt to index global 'SetMan' (a nil value)
Title: Re: DrunkBot.3.1 [New API]
Post by: Tw?sT?d-d?v on 28 October, 2007, 21:32:16
What version hubsoft do you use ?
Scripts with New API on them can oly be used on 0.3.6.0d and above
Title: Re: DrunkBot.3.1 [New API]
Post by: ZandPilooT on 28 October, 2007, 21:42:49
Yes, I noticed. I don't use that version. Sorry to have bothered you.
Title: Re: DrunkBot.3.1 [New API]
Post by: Annie on 23 March, 2008, 20:32:46
I only just realised that Reg and VIP's dont get the right click commands for the drunk bot, everyone else does.  Has anyone else got this problem?
Title: Re: DrunkBot.3.1 [New API]
Post by: Tw?sT?d-d?v on 23 March, 2008, 21:18:36
Script updated with VIP fix , tried and tested
Title: Re: DrunkBot.3.1 [New API]
Post by: Annie on 23 March, 2008, 21:26:36
thanks I love the drunkbot i think its cool  ;D
Title: Re: DrunkBot.3.1 [New API]
Post by: P_pan on 24 March, 2008, 10:46:24
having same prob annie...
it aint showing up for REG and VIP
aswell dude does vannish after awhile from the hub,
commands aint working then too
but trying to restart dude i got a crash from hubsoft...
Title: Re: DrunkBot.3.1 [New API]
Post by: Tw?sT?d-d?v on 24 March, 2008, 11:29:42
Script Updated with 2-3 typos. But they shouldnt cause a crash.
Script has been running fine in my hub all night and no errors and no crash.
Can u tell me what you did so i might reproduce this error/crash.

Title: Re: DrunkBot.3.1 [New API]
Post by: P_pan on 24 March, 2008, 12:04:41
i only did leave it running....
some guys did use it and worked fine.
but after a while (when i woke up)
dude was total vannished from the hub
and saw a few commands users tried to use him
cause the  commands where still there on user rightklikmenu..
also it was still running on the script window..
but when i tried to restart that script...
i did strait get that popup from ptokax due a error...
so i did hit retry the hub...
thats all.
total no error is shown at all on the script window..
thnx for reply.... Twisted..

edit:   fixed....
thx... its great script

Title: Re: DrunkBot.3.1 [New API]
Post by: Tw?sT?d-d?v on 24 March, 2008, 12:10:26
Might be an idea to send PPK the crash report.
Title: Re: DrunkBot.3.1 [New API]
Post by: Annie on 25 March, 2008, 23:49:09
He works great for me no crashes  :D
Title: Re: DrunkBot.3.1 [New API]
Post by: Annie on 18 May, 2008, 23:52:25
I got a small problem   I tried the new hub again Ptokax 0.4.1..0rc.7.7z  and the drunk bot dont work with it no more,  can somebody make him work for me please  ;D ;D ;D  thanks in advance :D
Title: Re: DrunkBot.3.1 [New API]
Post by: rEALx on 19 May, 2008, 08:59:47
Just edit the script and change line number 41 from

dofile("DrunkBot/drunktriggs.txt")

to

dofile(Core.GetPtokaXPath().."Scripts/DrunkBot/drunktriggs.txt")


Works fine here..

rEALx

Title: Re: DrunkBot.3.1 [New API]
Post by: Annie on 19 May, 2008, 09:06:07
ok thanks its working great now :D
Title: Re: DrunkBot.3.1 [New API]
Post by: Annie on 16 March, 2010, 22:18:36
Hiya, I was wondering could this script be made for registered users and up.  We have had a few unreg coming in abusing it.  Thanks