Here it is FreshStuff V. 2.60
I took the freedom to convert the FreshStuff V.2.59 made by Chilla to Lua 5
FreshStuff V. 2.60 Download (http://swenorth.myftp.org/network/nightlitch/files/FreshStuff-V2.60.rar)
Report Errors...
// NightLitch
tnx m8 I no where to put it
Weeee - thank you! Seems to work fine.
i've got a problem....when i try to show requests i get this error: Syntax ...\0.3.3.0.b16.05.nt.dgb\scripts\FreshStuff-V.2.60.lua:342: attempt to call global `getn' (a nil value)
and when i try to add a request i get this error: Syntax ...\0.3.3.0.b16.05.nt.dgb\scripts\FreshStuff-V.2.60.lua:294: attempt to call global `getn' (a nil value)
Everything else seems to work just fine =)...
If u find the time to look at it it would be gr8...
Thx superdupermuch
//JAB
thanks for that wonderfull script ... its to cool to use man :)) i like it alot .......
Theres still some old code in there..
Line 294
for i = 1,getn(requests) do
should be
for i = 1,table.getn(requests) do
Also line 342
"\t---------------- Fresh Requests : "..getn(requests).." Items Stored\t----------------\r\n")
Should be
"\t---------------- Fresh Requests : "..tablegetn(requests).." Items Stored\t----------------\r\n")
Hope this helps
i've got a problem....when i try to add requests i get this error: Syntax ...\0.3.3.0.b16.05rls\scripts\FreshStuff-V.2.60.lua:302:attempt to call global `tinsert' (a nil value)
Help
I didnt go all thought it earlier, thought most would have been done.
You need to change that to table.insert
Thanks it works great
I have changes the lines 294 and 342 i think it whas but still, The Request not working but release function is working!
Regards Tassen
Hi,
indeed, the Request part doesn't work well... This is the message:
Syntax ... HUB ADSL\TESTHUB\LUA5\scripts\FreshStuff-V.2.60.lua:302: attempt to call global `tinsert' (a nil value)
Hope someone can make this work :)
Hi,
couldn't wait... I have it fixed on my own. Nightlitch, I think the script is now 100% ok (for so far I can test)...
This should be it:
FreshStuff 2.60 FiXeD (http://ttb_82.spymac.net/FreshStuff-V2.60-Final.zip)
The details:
changed (also posted by Jelf, but he made a mistake and also missed 1 error):
line 294
for i = 1,getn(requests) do
should be:for i = 1,table.getn(requests) do
line 302
tinsert (requests, 1, { os.date("[%d/%m/%y]"),curUser.sName,requestitem } )
should be:table.insert (requests, 1, { os.date("[%d/%m/%y]"),curUser.sName,requestitem }
line 342
"\t---------------- Fresh Requests : "..getn(requests).." Items Stored\t----------------\r\n")
should be:"\t---------------- Fresh Requests : "..table.getn(requests).." Items Stored\t----------------\r\n")
@Jelf => You didn't write the "dot" "." (line 342) that's why it gave an error.
The file is now on my server, maybe somenone can copy this and put it on a server with a lot of lua stuff :))
Whoops didnt see that b4 i posted, ty
+showrequest this is not working for me!
Regards Tassen
Did you download the FiXeD version?
Click here (http://ttb_82.spymac.net/FreshStuff-V2.60-Final.zip)
hello all, I encounter a problem with script FreshStuff-V.2.60, I have any order on main chat [ 12:30:47 ] *** Server command : !shows
thank you for your assistance
how i doing only reg users can to add?
not all users i want to add new stuff only vip and op how i can to do that?
I will make the modified script tomorrow for you... You also want to make it possible to let VIPs also add to shows?? Please reply to confim!
hello all Yep good idea, the ideal will be that that evening to record them or the vip which can add :)
Thx TTB .....
Hi,
this is a version that all users with profile VIP also can add... (this is changed also with the command: +onlyop on/off) So onlyop enabled, will also allow VIPs to add!
*CLICK* (http://ttb_82.spymac.net/fresh260-alsovip.zip)
Quotehello all Yep good idea, the ideal will be that that evening to record them or the vip which can add :)
I don't understand this... do you want to allow only certain VIPs to add? In that case, it will take some time to make, because I'm also busy with making other scripts (and I'm not that good to make that in 5 min)...
but i have same thing more how i closed to don't see new release in MOTD only if users type same command his see new release. not how is same user enter to hub see release i don't want this ! if him want to check new release him type same command to see new release
i need this to fast
QuoteOriginally posted by (-=TrIp-iN-SuN=-)
but i have same thing more how i closed to don't see new release in MOTD only if users type same command his see new release. not how is same user enter to hub see release i don't want this ! if him want to check new release him type same command to see new release
If u don't want to see the releases on Connect, just go to PtokaX\scripts\Fresh-Files and open the file named "FreshStuff.ini".
Look for this:
--Set This to anything else than nil ( SendOnConnect = 1 ) and the "Max2" newest items will be shown at userconnect
SendOnConnect = 1
and change it to:
--Set This to anything else than nil ( SendOnConnect = 1 ) and the "Max2" newest items will be shown at userconnect
SendOnConnect = 0
Cheers
PS: If u want the version of this script that fixes the releases sending before the MOTD check this (http://mznetwork.mozdesigners.com/i/forum_files/FreshStuff-V2.60-Final.rar).
Btw, what do u mean with that vip thingy?
it's not work
QuoteOriginally posted by (-=TrIp-iN-SuN=-)
it's not work
Can u explain what do u want and what isn't working exactly?
I didn't understand most of what u wanted to say in the previous posts.
Hi :]
Is it possible to get a right click menu for this one ?
with the comands thats are in the bot ?
QuoteOriginally posted by GrinSlaW
Hi :]
Is it possible to get a right click menu for this one ?
with the comands thats are in the bot ?
Well, I can give you some hints.
These are the commands:
"adds", "shows", "dels", "topp", "rate", "showr", "freshhelp", "searchstuff", "request", "showrequest" and "delrequest"
Then, you just have a look at this How-To (http://board.univ-angers.fr/thread.php?threadid=4495&boardid=30&sid=2e4d573389d1cc294645067c9810c8b0&page=1). Hope it helps...
Cheers
oki tnx i will try that :)
Hope you got it ;)
hello 8)
can someone make so that the 5 latest freshstuff comes after the MOTD ? if i use PtokaX inbuild MOTD the freshstuff comes before the MOTD and then no body can see what the latest releases are. hope you understand me :D
cheer
Getting 2 errors in following script:
319 attempt to concatenate global name (a nil value)
73 attempt to index a nil value
I do also want this script modded to fit my kneeds,
1:Only allow stored items to be added
2: autodelete requests after x days / weeks
3: add topposters
---------------------------------------------------------------------------------
-- FRESH STUFF BY C H I L L A -
-- Converted to Lua 5 by NightLitch -
-- added delay for sending Newest Items on connect by jiten
---------------------------------------------------------------------------------
curVersion = "V.2.60"
I wonder if would be possible to add moderators to the list of people that can add things. Just like you added support for VIP's