PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: [ZD][Psycho] on 19 May, 2006, 17:20:56

Title: RDB.v.0.9.BETA-ZD (release bot)
Post by: [ZD][Psycho] on 19 May, 2006, 17:20:56
(http://img217.imageshack.us/img217/4552/zdrdb1az.gif) (http://img217.imageshack.us/img217/4552/zdrdb1az.gif)
Download it here (http://ptxscriptdb.psycho-chihuahua.net/e107_plugins/docrep_menu/docrep.php?0.view.80.10.).
Click on the NFO if you want to read the features and such.

Yep, another release bot for the community. Hasn't there already been enough of these scripted already? :P

I started working on this bot about 4-5 months ago but I stopped working on it for awhile. I've finally got around to doing some work on it, and now here's a beta release of it.
Title: Re: RDB.v.0.9.BETA-ZD (release bot)
Post by: jay-dee on 19 May, 2006, 20:47:26
Syntax ...tanden\TestHub\TestHub\scripts\RDB.v.0.9.BETA-ZD.lua:188: attempt to concatenate global `sharebytes' (a nil value)

whats the problem??    ???
Title: Re: RDB.v.0.9.BETA-ZD (release bot)
Post by: [ZD][Psycho] on 19 May, 2006, 23:57:24
Quote from: jay-dee on 19 May, 2006, 20:47:26
whats the problem??    ???

Hummmm... the only thing I can think of right now would be that someone tried joining the hub a split-second after you started the script, but it seems as if you tried running the script on a test hub, so it'd be unlikely if that's the case. If you look on the 115th line of the script, there is "updatemyinfo()", which calls that function to be executed during the script-startup. If someone tried joining the hub a millisecond or so after you started the script, the code in the "updatemyinfo" function wouldn't have been executed yet, and therefore the sharebytes string wouldn't have been created yet.

Has this only happened once, or does it happen every time someone joins the hub?

-Psycho