PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => FreshStuff3 => Topic started by: ExtreeM on 14 January, 2008, 10:23:19

Title: Freshstuff v5 RC4
Post by: ExtreeM on 14 January, 2008, 10:23:19
when i tryed the !topadders this apperead in ptokax

Syntax freshstuff/components/extras.lua:64: attempt to compare number with nil
Title: Re: Freshstuff v5 RC4
Post by: bastya_elvtars on 15 January, 2008, 00:25:52
What are the contents of config/extras.lua?
Title: Re: Freshstuff v5 RC4
Post by: ExtreeM on 15 January, 2008, 11:31:58
--[[
FreshStuff3 v5 'extras' module configuration file
Distributed under the terms of the Common Development and Distribution License (CDDL) Version 1.0. See docs/license.txt for details.
]]
-- This is the maximum age of the item (in days).
-- After this, release pruning will delete it.
MaxItemAge=30

--[[
Enter the specific commands, DO NOT INCLUDE THE PREFIX!
For levels you give a number: 0-5. The numbers mean:

0: command is disabled
1: command is available to everyone
2: command is available to regs & above
3: command is available to vips & above
4: command is available to operators & above
5: command is available to masters only
]]


-- Pruning releases (removing old entries)
Commands.Prune="prunerel"
Levels.Prune=5

-- Showing top adders
Commands.TopAdders="topadders"
Levels.TopAdders=1


its set to this
Title: Re: Freshstuff v5 RC4
Post by: bastya_elvtars on 15 January, 2008, 16:45:29
This has already been fixed in the SVN repo. Add the following to the end of your file:
-- The number of top-adders to show wehen the command is issued.
TopAddersCount = 5
Title: Re: Freshstuff v5 RC4
Post by: ExtreeM on 20 January, 2008, 09:17:40
bastya

Can you remember i posted the thing about the bot, it joins and parts every minute, you said it was a bug, is it fixed and can i get an update somewhere??
Title: Re: Freshstuff v5 RC4
Post by: ExtreeM on 22 January, 2008, 15:39:16
i got this error when i tried to delete a request

[15:38] Syntax freshstuff/ptokaxnew.lua:189: bad argument #1 to 'GetUser' (string expected, got nil)
Title: Re: Freshstuff v5 RC4
Post by: ExtreeM on 29 January, 2008, 14:40:32
the top adders doesnt work, it dont show the correct top adders
Title: Re: Freshstuff v5 RC4
Post by: ArtificialInsanety on 31 January, 2008, 11:57:56
downloads link from lawmakersite don't work (404 - Not Found), where else can i get Freshstuff for new api ?
Title: Re: Freshstuff v5 RC4
Post by: bastya_elvtars on 31 January, 2008, 18:29:22
Uh... how about reading the top article on the main page? It serves other purposes than decoration. :-P
By the way, I'm gonna try to fix the bugs this weekend.
Title: Re: Freshstuff v5 RC4
Post by: ArtificialInsanety on 31 January, 2008, 19:42:10
sorry got it now :)
ty
Title: Re: Freshstuff v5 RC4
Post by: bastya_elvtars on 02 February, 2008, 19:43:04
ExtreeM: I cannot reproduce any of your errors.
Nevertheless, the new RC is on the way.
Title: Re: Freshstuff v5 RC4
Post by: 6Marilyn6Manson6 on 02 February, 2008, 23:26:22
RC4 file not found  >:(
Title: Re: Freshstuff v5 RC4
Post by: bastya_elvtars on 02 February, 2008, 23:32:53
Quote from: bastya_elvtars on 31 January, 2008, 18:29:22
Uh... how about reading the top article on the main page? It serves other purposes than decoration. :-P
Title: Re: Freshstuff v5 RC4
Post by: 6Marilyn6Manson6 on 03 February, 2008, 00:06:51
Quote from: bastya_elvtars on 02 February, 2008, 23:32:53


ops.. i'm sorry  ;D