Release/Request Bot - Page 2
 

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

Release/Request Bot

Started by jiten, 19 May, 2005, 15:29:07

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiten

QuoteOriginally posted by Star
Cant get the bot to register.

Change this?
if regBot == 1 then frmHub:RegBot(Settings.sBot) end
to
if Settings.regBot == 1 then frmHub:RegBot(Settings.sBot) end

/Star
Thanks for that, Star. Fixed :D

jiten

-------/-------------------------------------------------------------------------------------------------------------------------
-- Release or Request bot v1.3 by jiten (5/23/2005)
-- For PtokaX 0.3.3.0 build 17.02 or Higher
-------/-------------------------------------------------------------------------------------------------------------------------
Main Commands:

[*]	!show		Shows last x or all Releases	 	!show; !show all
[*]	!reqdone		Fills up a Request (Request Mode only)	!reqdone 
[*]	!find	 	Find a Release by any string.	 	!find jiten
[*]	!add	 	Adds a Release	 		!add Movie Blade3 [URL]http://www.blade.com[/URL] (link is optional)
[*]	!delall	 	Deletes all Releases	 		!delall
[*]	!del	 	Deletes single Releases	 	!del 
[*]	!setup	 	Configure this bot.	 		!setup  

Some features:

[*]	Inbuild RightClick
[*]	Ability to switch from Release to Request mode (vice-versa)
[*]	Releases/Requests older than x Days are automatically deleted (optional)
[*]	Two separate databases: one for the Requests and the other for the Releases
[*]	And others...

Grab it HERE.

Cheers

Star

The link don't seems to work

6Marilyn6Manson6

QuoteOriginally posted by Star
The link don't seems to work

yes don't work ^^

jiten

The site is going through some updates, but, it's up now.

Best regards

6Marilyn6Manson6

QuoteOriginally posted by jiten
The site is going through some updates, but, it's up now.

Best regards


now is ok :)

Star

Nice one jiten. Good list to. Like the date and time in the list :)


Have some small suggestion:
- Can u use the "CheckSize function" between the user name and the release to. Long usernames moves the release

- Change so I can run two script at the same time (2 .lua files) (And not useing the same Config.tbl file)?

- Change the place in the list to: Type then Release. (Now its the other way)

- Set Settings > RelSize = 100, as standard, releases are other more then 50 chars. long.

- Link stuff not working
When link=ON it should be requested from the user to type a link to add a release/reques. So if ON u must type a link else Error msg!
If link=OFF it should be optional from user to add a link or not.

- Change this back:  "mm/dd/yy - hh:mm:ss" to: "Date - Time". Looks better. ;)
- Maybe u could delete the first tab, to the left of the list, and make some blankstep. Then expand the "Release" with one tab.
- Place the link under the other stuff
Example look: (Past this in Notepad with MS Sans Serif, 8, normal
Works with 1024x768 and up, MS Sans Serif, 8, normal
  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
									Last 30 Releases								[05/24/05 14:58:08]
  -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
      Date - Time		Poster			Type		Release / Info Link
  -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
      05/24/05 10:31:18	[SU]UserName		DVD		Blade.3.Trinity.TC.READ.NFO	
      05/24/05 10:33:48	[SU]Use			TV.Show		test
      05/24/05 10:33:37	[SU]LongUsername		DVD		Rest
      05/24/05 10:50:25	[SU]UserName		Movie		Blade3
      05/24/05 13:40:33	Test8648			DVD		test
      05/24/05 14:08:11	[SU]none			XViD		Star.Wars.Episode.III.Revenge.Of.The.Sith.WS.DVDSCR.XviD-MoF
								- [URL]www.kjsbdg.com[/URL]
      05/24/05 14:11:50	[SU]UserName		Movie		Blade4
      05/24/05 14:11:57	[SU]UserName		Movie		Blade5
								- [URL]http://www.blade.com[/URL]
      05/24/05 14:56:14	[SU]none			DVDR		Blade.3.Trinity.TC.READ.NFO.CUSTOM.SWESUB.DVDr-TFTDVDR
								- [URL]http://www.nocheckerer.net/nfo.asp?id=115799[/URL]
      05/24/05 14:59:41	[SU]none			DVDR		123456789,123456789,123456789,123456789,123456789,123456789,123456789,
								- [URL]www.123456789.com[/URL]
      05/24/05 14:59:59	[SU]none			DVDR.PAL	Sultans.Of.Swing.The.Very.Best.Of.Dire.Straits.1999.INTERNAL.MULTISUBS.COMPLETE.PAL.MDVDR-3STD
								- [URL]www.123456789.com[/URL]
  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

- More easy to change commands and folder name in rightclick this way:
Settings = {
	sMenu = "Release/Request Bot",
}

NewUserConnected = function(sUser)
	if Settings.SendTo[sUser.iProfile] == 1 and Settings.SendRC == 1 then
		if sUser.bUserCommand then
			if sUser.bOperator then
				sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Setup\\Cleaner$<%[mynick]> !"..Settings.Mode.." cleaner %[line:on/off]||")
				sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Setup\\Link$<%[mynick]> !"..Settings.Mode.." link %[line:on/off]||")
				sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Setup\\Release$<%[mynick]> !"..Settings.Mode.." release %[line:on/off]||")
				sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Delete all$<%[mynick]> !"..Settings.delAllCmd.."||")
				sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Delete single$<%[mynick]> !"..Settings.delCmd.." %[line:Release Name]||")
				sUser:SendData("$UserCommand 0 3|")
			end
			sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Show last "..Settings.iMax.."$<%[mynick]> !"..Settings.showCmd.."||")
			sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Show all<%[mynick]> !"..Settings.showCmd.." all||")
			sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Fill up request$<%[mynick]> !"..Settings.rDoneCmd.." %[line:Request Name]||")
			sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Help$<%[mynick]> !"..Settings.helpCmd.."||")
			sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Find$<%[mynick]> !"..Settings.findCmd.." %[line:String]||")
			sUser:SendData("$UserCommand 1 3 "..Settings.sMenu.."\\Add$<%[mynick]> !"..Settings.addCmd.." %[line:Type] %[line:Release] %[line:Link]||")
		end
	end
end

jiten

QuoteOriginally posted by Star
Can u use the "CheckSize function" between the user name and the release to. Long usernames moves the release
Change the place in the list to: Type then Release. (Now its the other way)
Set Settings > RelSize = 100, as standard, releases are other more then 50 chars. long.
Link stuff not working
Change this back:  "mm/dd/yy - hh:mm:ss" to: "Date - Time".
Maybe u could delete the first tab
Place the link under the other stuff
Optimized Rightclick
It's on my todo list ;)
Btw, that Type and Category switch was a huge bug. Don't know how I didn't notice it.
QuoteChange so I can run two script at the same time (2 .lua files) (And not useing the same Config.tbl file)
It'll be easy. I will explain you how to do it when I get a stable and bugless version :D

Cheers

Star

QuoteOriginally posted by jiten
It's on my todo list ;)
It'll be easy. I will explain you how to do it when I get a stable and bugless version :D
Nice!


btw. I can test the new version for u, if u want, before u release it. If u don't have the time.

Thanks
//Star

jiten

I'll be releasing the new version tonight.
It's mainly a bugfix version.

Cheers

jiten

-------/-------------------------------------------------------------------------------------------------------------------------
-- Release or Request bot v1.4 by jiten - Bug Fixing version (5/25/2005)
-- For PtokaX 0.3.3.0 build 17.02 or Higher
-------/-------------------------------------------------------------------------------------------------------------------------
Main Commands:

[*]	!show		Shows last x or all Releases	 	!show; !show all
[*]	!reqdone		Fills up a Request (Request Mode only)	!reqdone 
[*]	!find	 	Find a Release by any string.	 	!find jiten
[*]	!add	 	Adds a Release	 		!add Movie Blade3 [URL]http://www.blade.com[/URL] (link is optional)
[*]	!delall	 	Deletes all Releases	 		!delall
[*]	!del	 	Deletes single Releases	 	!del 
[*]	!setup	 	Configure this bot.	 		!setup  

Some features:

[*]	Inbuild optimized RightClick
[*]	Ability to switch from Release to Request mode (vice-versa)
[*]	Releases/Requests older than x Days are automatically deleted (optional)
[*]	Two separate databases: one for the Requests and the other for the Releases
[*]	And others...

Grab it HERE.

Cheers

Star

#36
First of all. It look real nice! U do a great job! :)


Why don't u add the config in separate folder as standard?

When link is set to off it dont add the link to the list. It should be optional u know.

And for the ..Config.Mode.. in the RightClick folder. Real nice! I thought about that, but I used only ..Mode.. and never got it to work.


Besides this two things I cant find any more errors or other things that don't work. hmm. maybe change !relhelp to !rhelp?


Thanks
//Star

EDIT: hmm.. find one more thing.
- Change the standard of the commands. so they dont conflikt with other scripts as standard.
- Reorder the relhelp a litle bit. And use DoTabs/CheckSize function there aswell. useful when u change the commands to a litle longer. Ex: !newsfind
- !reqdone chould not be shown in help, when script is in Release mode. And if it posseble, not in the RightClick to.
Example look:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	[Mode/Cleaner/Link]: [on/on/off]		Release/Request Bot v.1.3 by jiten				[Release Mode]
	----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	Normal Commands:				Description:			Example:

	!rshow 				Shows last 30 or all Releases	 	!rshow; !rshow all
	!radd   		Adds a Release	 		!radd DVD Blade3 [URL]www.blade.com[/URL] (link is optional)
	!rfind 	Find a Release by any string.	 	!rfind jiten
	!reqdone 			Fills up a Request			!reqdone Blade3
	!rhelp					Displays this help message.	 	!rhelp

	----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	Operator Commands:			Description:			Example:

	!rdel 				Deletes single Releases	 	!rdel Blade3
	!rdelall					Deletes all Releases	 	!rdelall
	!rsetup  		Configure this bot.	 		!rsetup link on
	----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And for the link in the Example:
When link=off, !radd DVD Blade3 //www.blade.com (link is optional)
When link=on, !radd DVD Blade3 //www.blade.com

jiten

QuoteOriginally posted by Star
Why don't u add the config in separate folder as standard?
Don't think it's necessary for now. Maybe later, who knows ;)
QuoteWhen link is set to off it dont add the link to the list. It should be optional u know.
I'll check this.
Change the standard of the commands. so they dont conflikt with other scripts as standard.
Reorder the relhelp a litle bit. And use DoTabs/CheckSize function there aswell. useful when u change the commands to a litle longer. Ex: !newsfind
!reqdone chould not be shown in help, when script is in Release mode. And if it posseble, not in the RightClick to.
And for the link in the Example:
From what I can see, these are mainly appearance based requests and so, not that urgent. But, I'll keep them in mind for the next version.

Cheers

Star

QuoteOriginally posted by jiten
QuoteOriginally posted by Star
Why don't u add the config in separate folder as standard?
Don't think it's necessary for now. Maybe later, who knows ;)
Well. I think this is more relevant then the other stuff. Personally I don't mind so much cause I can change it om my own. But there ar others who can't. (I think) :p
QuoteI'll check this.
Nice! ;)
Quote
QuoteChange the standard of the commands. so they dont conflikt with other scripts as standard.
Reorder the relhelp a litle bit. And use DoTabs/CheckSize function there aswell. useful when u change the commands to a litle longer. Ex: !newsfind
!reqdone chould not be shown in help, when script is in Release mode. And if it posseble, not in the RightClick to.
And for the link in the Example:
From what I can see, these are mainly appearance based requests and so, not that urgent. But, I'll keep them in mind for the next version.
Well. I agree that some of them are. But some of them are not.
As for the standard of the command. Personally I don't mind. Because I don't have any commands conflikt. And I don't use the standard commands anyway.
It whas just a thougt that it could be conflicting in some cases for other users because they are very simple and global.
But as u sad. they are not urgent and not so importent. Just thoughts.

Have a nice day! :)
//Star

xvk

hi
carried out your instructions still not showing in hub i have just upgraded to 0.3.3.0.b17.08 and robo copv10.01e think is a setting somewhere do i need to close down hub altogether or just restart scripts.

jiten

QuoteOriginally posted by xvk
hi
carried out your instructions still not showing in hub i have just upgraded to 0.3.3.0.b17.08 and robo copv10.01e think is a setting somewhere do i need to close down hub altogether or just restart scripts.
After changing the sBot and regBot value like I explained, indeed, you need to restart your scripts and after that the Bot will appear in the userlist.

Cheers

yoonohoo

#41
Is it possible to clear the case sensitive.
Meaning if a user adds a song to mp3 and the search/find is MP3 all songs entered in mp3 and MP3 will show.

Or even create pre-defined categories!

Thanks

It might be simple for you but rocket science for me...

jiten

QuoteOriginally posted by yoonohoo
Is it possible to clear the case sensitive.
Meaning if a user adds a song to mp3 and the search/find is MP3 all songs entered in mp3 and MP3 will show.

Or even create pre-defined categories!

Thanks
Yes, it's possible. I'll include an option to allow or not case-sensitive searches.
Well, for the pre-defined categories, got to think about it, as I'd have to rewrite significant parts of the script.

Cheers

yoonohoo

#43
Many thanks for your swift reply.
QuoteI'll include an option to allow or not case-sensitive searches.
Will you post it here?

There's another script which has pre-defined categories...I thing! Actually is all-in-one script.

It might be simple for you but rocket science for me...

jiten

QuoteOriginally posted by yoonohoo
Many thanks for your swift reply.
QuoteI'll include an option to allow or not case-sensitive searches.
Will you post it here?
Yes, I will post it here.
QuoteThere's another script which has pre-defined categories...I thing! Actually is all-in-one script.
Indeed. There are lots and different release scripts. Btw, are you talking about FreshStuff?

jiten

-------/-------------------------------------------------------------------------------------------------------------------------
-- Release or Request bot v1.4a by jiten (5/27/2005)
-- For PtokaX 0.3.3.0 build 17.02 or Higher
-------/-------------------------------------------------------------------------------------------------------------------------
Some features:

[*]	Inbuild optimized RightClick
[*]	Ability to switch from Release to Request mode (vice-versa)
[*]	Releases/Requests older than x Days are automatically deleted (optional)
[*]	Two separate databases: one for the Requests and the other for the Releases
[*]	And others...

Changelog:
[*]	Added: Case-Sensitive Setting option
[*]	Added: Optional Prefix for normal commands
[*]	Changed: Working with two separate config.tbl's
[*]	Changed: Help menu layout and some minor optimizations
Grab it HERE.

Best regards

Star

Yees. Thanks alot jiten. Real Nice!

yoonohoo

No it was Guarding.

Many thanks jiten ;)

It might be simple for you but rocket science for me...

Star

Find something here.

- If the I run two bots at the same time. And the Request bot don't have a config.tbl, the REQuest rightclick shows upp in "RELease Bot" righclick.

- Link don't work.
change
local link = string.find(data,"%b<>%s+%S+%s+%S+%s+%S+%s+(%S+)")
to
local s,e,link = string.find(data,"%b<>%s+%S+%s+%S+%s+%S+%s+(%S+)")

- If I change the Prefix in config.tbl, the script stop to work.and if I change it in the lua file, it require that no config.tbl exist if the prefix wold change. So my sugjestion is to put it in the Settings in the lua file.

jiten

QuoteOriginally posted by Star
If the I run two bots at the same time. And the Request bot don't have a config.tbl, the REQuest rightclick shows upp in "RELease Bot" righclick.
Well, those are the risks of using them at the same time. Maybe if you do a separate rightclick for one of them, this problem will be gone.
QuoteLink don't work.
Going to fix it ;)
QuoteIf I change the Prefix in config.tbl, the script stop to work.and if I change it in the lua file, it require that no config.tbl exist if the prefix wold change. So my sugjestion is to put it in the Settings in the lua file.
It's not that simple. But, why are you trying to change it in the config.tbl?
In the next version I'll put an option to choose the prefix you want, if the prefix options is on.

Best regards

SMF spam blocked by CleanTalk