RuneScript, RuneTracker, & Pseudonymania Bug Tracker
bug.rscript.org Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000003RuneScript IRC bot[All Projects] Bug Reportpublic2012-12-05 17:262018-03-09 19:19
Reporteranonymous 
Assigned Tospling 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Summary0000003: Check connectivity of RuneScript in a channel before deciding it's a duplicate
DescriptionThis suggestion comes from #rswiki. Currently, when RuneScript (a) enters the channel it will leave if it detects another RuneScript (b) client in the channel. This means that if the RuneScript (b) client is locked up, or otherwise unresponsive, RuneScript (a) will leave even though it really is needed in the channel. We need to make sure that the existing client is actually responsive before we leave. I think one way to do that would be to just have RuneScript communicate via PM to other RuneScript bots, where when they join the channel it tells them to leave. That message would not be sent if the client was locked up.
TagsNo tags attached.
Attach Tags (Separate by ",")
Attached Files

- Relationships

-  Notes
(0000009)
anonymous (reporter)
2012-12-09 15:07

I'd just like to say that something like this would be much more difficult a system to implement that you make it seem. I think a better solution would be to get the existing bot to part, instead. This could be done fairly easily with a system of inter-bot communication I'm sure is already implemented. In this way, if the other bot isn't responsive, at least you have a working bot.
(0000010)
spling (administrator)
2012-12-09 15:19
edited on: 2012-12-09 15:20

I was thinking about this yesterday and I agree that making the existing bot part is a good idea. Either it will quit the server (ping out) and be a non-issue (it will rejoin upon reconnect and subsequently leave the channel) or it will actually part the channel helping to reduce any lag it would be suffering. The inherent limits in the invite system will mean that this can only be used every 15 minutes to replace the bot.

(0000012)
spling (administrator)
2012-12-09 16:44

I changed the behaviour of the bot when it detects another client. In the past, it would part saying you already have a RuneScript client in the channel. With this change, the new client now replaces the old client, by issuing it a command to leave the channel. This should solve the issue of RuneScript leaving the channel because it's detecting a client that is actually unresponsive.

- Issue History
Date Modified Username Field Change
2012-12-05 17:26 anonymous New Issue
2012-12-05 17:37 spling Assigned To => spling
2012-12-05 17:37 spling Status new => assigned
2012-12-06 15:21 anonymous Tag Attached: #rswiki
2012-12-06 15:21 anonymous Tag Attached: freenode
2012-12-06 15:21 anonymous Tag Attached: michagogo
2012-12-06 15:21 anonymous Tag Attached: multiple
2012-12-06 15:21 anonymous Tag Attached: reconnect
2012-12-07 04:11 spling Tag Detached: #rswiki
2012-12-07 04:11 spling Tag Detached: freenode
2012-12-07 04:11 spling Tag Detached: michagogo
2012-12-07 04:11 spling Tag Detached: multiple
2012-12-07 04:11 spling Tag Detached: reconnect
2012-12-07 04:13 spling Tag Attached: #rswiki
2012-12-07 04:13 spling Tag Attached: freenode
2012-12-07 04:13 spling Tag Attached: michagogo
2012-12-07 04:13 spling Tag Attached: multiple
2012-12-07 04:13 spling Tag Attached: reconnect
2012-12-09 14:53 spling Category Feature Suggestion => (No Category)
2012-12-09 14:55 spling Category (No Category) => Bug Report
2012-12-09 15:07 anonymous Note Added: 0000009
2012-12-09 15:19 spling Note Added: 0000010
2012-12-09 15:20 spling Note Edited: 0000010 View Revisions
2012-12-09 16:44 spling Note Added: 0000012
2012-12-09 16:44 spling Status assigned => resolved
2012-12-09 16:44 spling Resolution open => fixed
2012-12-17 04:36 anonymous Issue cloned: 0000041
2012-12-30 17:44 Cruiser Relationship added related to 0000061
2012-12-30 18:14 spling Relationship deleted related to 0000061
2018-03-04 04:01 anonymous Tag Detached: #rswiki
2018-03-04 05:49 anonymous Tag Detached: freenode
2018-03-04 05:52 anonymous Tag Detached: michagogo
2018-03-07 08:18 anonymous Tag Detached: multiple
2018-03-09 19:19 anonymous Tag Detached: reconnect


Copyright © 2000 - 2012 MantisBT Group
Time: 0.0074 seconds.
memory usage: 1,537 KB
Powered by Mantis Bugtracker