freshstuff 4.x
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

freshstuff 4.x

Started by plop, 10 May, 2004, 22:09:29

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

plop

here it finaly is, the new freshstuff 4.x serie.
now with:
sub catagory's
customizable order of the help menu
every command can be changed 2 any user level.
every item can hold a url/artist/filename and comments.

here you can download it.
it's a bit 2 big 2 post it here on the board.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

DoN

Thank you very much. Been patiently waitin for this. Guess its time to take it for a test drive :)

Brgs

jiten

- is it possible for the commands to work in main too?
- and what command should i use to see all the categories and sub-categories without watching them on the code?

plop

QuoteOriginally posted by jiten
- is it possible for the commands to work in main too?
- and what command should i use to see all the categories and sub-categories without watching them on the code?
gone add that 1st request.
by the other do you mean something like !showcats - show all available catagory's.
if so then wait for the next version.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Pedro

I think I must have had to much to drink, is there a help file on how to get the commands to work.

I really just cant figure them out.

PLEASE PLEASE HEEEEEEEEEEELP !!
if it aint broke, open it up and find out why...

plop

ok small tuturial.
you don't have to edit anything in the script itself, just start it.
next you enter a pm session with "post-it_memo", now when you type @help you get the help menu.
(currently the commands can only be used in pm 2 the bot, but i'm working on 4.4 which handles mainchat commands also).
nothing special so far, but you'll see the command "@config" there.
that command can be used 2 change all the settings from the script.
when you type it without any arguments it's gone show the current settings from the script.
all the numbers you see behind the commands are the user levels which can use the related commands.
now i bet you wanne use a different name for the script.
this we can do with "@config botname ".
you'll see the bot changing name instandly.
now on default only OP's can add releases, you might wanna  change it so VIP's can also add things.
this can be done with "@config add +2".
but there's more, you can also change the order of the things in the help menu.
for example you wanna move add down you type "@config add down".
now when you type "@help" you'll see that add is 1 place lower in the help menu.
if you wanne add a catagory you need the "@addcat" command.
"@addcat books" adds a catagory with the name books.
next maby a subgatagory for the music  catagory, just type "@addcat house music" and it's done.

next adding things:
"@add movie some new movie name" add something in the catagory movies.
now before we continue it's wise 2 view the just added movie.
"@show" or "@show movie" shows what we need, the ID number.
this ID number we need 2 add things like url's/comments.
lets pretend the movie has ID number 1.
"@addurl 1 http://www.themovie.com" adds the given url 2 our just added movie.
now we take a breake of 1.5 hour 2 watch the movie, and when we return we think the movie was a complete waiste of time.
now we can add that as comment 2 the release.
"@comment 1 this is 1 big boring movie and not even a single bullet gets fired, not a single explosion. don't bother downloading this!!".
does what you now must expect.

viewing:
really simple, "@show" shows the full list.
"@show movie" shows all the things from the catagory movie.
but these things show only a small part, no comment or url is visible.
if we wanne see all the info posible we need the ID number again.
"@show 1" shows our added movie including the url and comment we added.
now there is 1 more trick, if we type "@movie" we also get to see all the things from the movie catagory.

thats it, hope you understand now.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Pedro

Plop your a star as always.

much better than using relread. I only started using it and fell in love immediatley.

Thanx m8  Keep em coming
if it aint broke, open it up and find out why...

Jaras

#7
and the Polish Version if anyone wants it.

Plop (if u will look inside this version) -> "Wszystkie prawa zastrzezone" means "All rights Reserved" =]

this is a great stuff but sad that it won't cooperate with cSlave (or cSlave don't wanna coop with FS =])

plop

QuoteOriginally posted by Jaras
and the Polish Version if anyone wants it.

Plop (if u will look inside this version) -> "Wszystkie prawa zastrzezone" means "All rights Reserved" =]

this is a great stuff but sad that it won't cooperate with cSlave (or cSlave don't wanna coop with FS =])
cool a polish version. thx
any idea why it doesn't work beside cslave ??

@ Pedro:
thx, i won't stop before i'm death.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Jaras

QuoteOriginally posted by plop
any idea why it doesn't work beside cslave ??
dunno. i'm opening PM window and when i type any command there's no answer - bot isn't doing anything. i  already wrote to Corayzon and hope he'll see that he's got new PM and try to catch this bug (of course if it's cSlave's fault).

plop

QuoteOriginally posted by Jaras
dunno. i'm opening PM window and when i type any command there's no answer - bot isn't doing anything. i  already wrote to Corayzon and hope he'll see that he's got new PM and try to catch this bug (of course if it's cSlave's fault).
quick posible fix, rename freshstuff 2 something like aaaafreshstuff.
in the hope it runs before cslave.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

jiten

after installing robocop 8.0 with 2 more profiles (moderator and netfounder), when i change the privileges for all the profiles, for example, giving normal users the ability to add a entry to the given category name, i get this msg in ptokax (everytime i enter any command starting with @):
Syntax Error: attempt to index local `nick' (a nil value)
can u edit the script to those new profiles without getting that error msg?

plop

QuoteOriginally posted by jiten
after installing robocop 8.0 with 2 more profiles (moderator and netfounder), when i change the privileges for all the profiles, for example, giving normal users the ability to add a entry to the given category name, i get this msg in ptokax (everytime i enter any command starting with @):
Syntax Error: attempt to index local `nick' (a nil value)
can u edit the script to those new profiles without getting that error msg?
there is no local nick in freshstuff 4.x.
seems 2 me it's robo giving the error.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

jiten

can u post the code for FreshStuff 4.0 to work in main too?

plop

QuoteOriginally posted by jiten
can u post the code for FreshStuff 4.0 to work in main too?
i'm working on version 4.4 which is gone handle both main and pm commands.
plus some new things.
i can't post the script here as it's 2 big, but you can find it on my website.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Optimus

Quoteafter installing robocop 8.0 with 2 more profiles (moderator and netfounder), when i change the privileges for all the profiles, for example, giving normal users the ability to add a entry to the given category name, i get this msg in ptokax (everytime i enter any command starting with @):
Syntax Error: attempt to index local `nick' (a nil value)
can u edit the script to those new profiles without getting that error msg?
No errors here works fine with me. Only thing is you need to add the 2 new profiles to Freshstuff 4.x if you wane use them in Freshstuff

Example: @config add +5,  @config addartist +5,  etc

Btw, Profile 4 = Moderator ,  Profile 5 = NetFounder

jiten

the problem wasn't with FreshStuff or Robocop 8, but,  with the stand-alone antipub script that i was using. but, it's working well now.
plop, i went to ur website but, only found the version 4.3. when wille the 4.4 be released?

plop

QuoteOriginally posted by jiten
the problem wasn't with FreshStuff or Robocop 8, but,  with the stand-alone antipub script that i was using. but, it's working well now.
plop, i went to ur website but, only found the version 4.3. when wille the 4.4 be released?
no idea yet, currently all the commands now work in main chat also.
+new has been added.
gotta add some more things like stats and fix a script which updates the save file 2 support the new things.
give me a pm if you dare 2 test the upcomming beta version of 4.5.
the moment the beta is ready i'll give you an url where you can find it.

if ppl have idea's for things 2 add pls tell me.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Jaras

#18
QuoteOriginally posted by plop
if ppl have idea's for things 2 add pls tell me.

after adding 3 relases and removing second i've added another one, and their IDs are 1, 3 and 4. maybe you would add function, which will use unused IDs.

and then writing last xx new by date, not by ID (i think ya did it that way)

plop

QuoteOriginally posted by Jaras
after adding 3 relases and removing second i've added another one, and their IDs are 1, 3 and 4. maybe you would add function, which will use unused IDs.

and then writing last xx new by date, not by ID (i think ya did it that way)
i never added it due 2 the fact it needs 3-4 tables 2 be modded, but your right.
it doesn't look nice now, so gone make it.

you mean something like showing by date??
or showing inc date ?

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Josh_J

#20
I was wondering if there is something that could be changed to work like adding a release in which you can have a space when adding, deleting, and adding files to a category.  I know it works well with adding files, but could you please lead me to a solution for a space in the directory name? It gets kinda annyoing having to type alt+0160 for a space  :]

Jaras

QuoteOriginally posted by plop
you mean something like showing by date??
or showing inc date ?

i meant that your bot probably shows last xx added relases by their ID (coz it's simply to implement), but if u'll add function, which will find unused IDs and use them again, u'll have to write last xx releases using their dates not IDs (coz there might be new release added with unused ID, not the last ID).

plop

@ Josh_J:
gone change the pattern a bit on those commands which should make that posible.

@ Jaras:
i'm gone reorder the releases in a bit other way.
for example you have 4 releases, 1 2 3 4.
you delete 3, then 4 becomes 3 when 3 has been deleted.
the ID's are used 2 keep the right order in things.
but i can change the +new so it shows date's and not ID's, or both.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

plop

#23
update on how things are going.
added the next things to 4.4.
@new = shows the latest x releases (shows date and ID)
@stats = shows the top 10 or releasers
@vote = vote for releases
@showcats = shows all available catagory's

thinking of adding a request section.
what do you folks think?
or should i leave that request section for the next version?
all left 2 do now is some more cleaning up and bug testing.
volunteers ????

plop

* changed the @new command again.
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

bastya_elvtars

!me will have more timwe from sep then i will set up a testhub for new scripts...

btw i think, request (and its rating if possible) would be good - think of a hub with an ftp server
Everything could have been anything else and it would have just as much meaning.

SMF spam blocked by CleanTalk