Commit graph

344 commits

Author SHA1 Message Date
Madpeterz
17589c1c01 Remove nickname to message output for discord 2020-12-01 19:04:35 +00:00
Madpeterz
4b06948c91 update libre 2020-12-01 19:01:33 +00:00
Madpeterz
ecb33e923f New command: GroupInviteNoLimiter 2020-12-01 19:01:04 +00:00
Madpeterz
da6b1a7a8d update group invite to lock per group not global and rollback libra 2020-12-01 16:05:28 +00:00
Madpeterz
422b753c3d Revert "update LibraMeta"
This reverts commit 430ebdb905.
2020-12-01 16:03:05 +00:00
Madpeterz
325a30c2b8 Revert "adjusts group lockout to be per group"
This reverts commit b000dd0eb0.
2020-12-01 16:02:58 +00:00
Madpeterz
b000dd0eb0 adjusts group lockout to be per group 2020-12-01 06:59:34 +00:00
Madpeterz
430ebdb905 update LibraMeta 2020-12-01 06:16:37 +00:00
Madpeter
b724f9cadb Update SetPermFlag.cs 2020-10-26 13:37:14 +00:00
Madpeter
08774f19d4 adds support for the new flags 2020-10-26 13:35:20 +00:00
Madpeter
b2120cd661 Update SetPermFlag.cs 2020-10-26 13:35:10 +00:00
Madpeter
f98b11915a new command SetPermFlag 2020-10-26 04:15:53 +00:00
Madpeter
a92a62a92d clean up and moving functions out of basic into events 2020-10-26 04:15:42 +00:00
Madpeter
36bd3f69d1 Update RequestTeleport.cs 2020-10-26 04:15:04 +00:00
Madpeter
c1341d05a1 switching over to the new flag system 2020-10-26 04:14:57 +00:00
Madpeter
2740bcc613 Update Log2FileBot.cs 2020-10-26 04:14:40 +00:00
Madpeter
15629df57c Perm flag support 2020-10-26 04:14:32 +00:00
Madpeter
5afbff5a12 load order info update 2020-10-26 04:13:55 +00:00
Madpeter
68af66b16d cleanup and fast check support 2020-10-26 04:13:40 +00:00
Madpeter
6833edbc4a Minor cleanup 2020-10-26 04:13:18 +00:00
Madpeter
83f2e01eb1 new command IsGroupMember 2020-10-25 13:14:07 +00:00
Madpeter
4e4047ef5f adds extra info for fetch next notecard 2020-10-24 21:14:19 +01:00
Madpeter
aa0b06be5b adds support for custom commands (see readme) 2020-10-24 19:33:18 +01:00
Madpeter
f358c5bc2c corrects a issue where the simname would not be found correctly 2020-10-24 19:32:14 +01:00
Madpeter
d5a394dd23 Create delay.cs 2020-10-24 19:01:12 +01:00
Madpeter
6162d2e678 corrects a issue with group notices 2020-10-24 14:12:02 +01:00
Madpeter
473569786b new command get group members 2020-10-23 19:38:08 +01:00
Madpeter
96d4d1080e adds attachment support to group notices 2020-10-23 18:17:13 +01:00
Madpeter
b32be8bd7c Update athome.cs
corrects a issue where the bot would teleport home after being teleported by master
2020-10-14 19:45:15 +01:00
Madpeter
2360396f0e improved the status display
now only changes are displayed on the status making it easyer to see whats going on
2020-10-14 19:40:20 +01:00
Madpeter
cb6e28875a corrects the TTS server id used 2020-10-14 11:36:45 +01:00
Madpeter
6291c513df adds a try catch on log writer due to locking issues 2020-10-14 11:36:28 +01:00
Madpeter
3ba59c90df Update logout.cs 2020-10-14 04:54:00 +01:00
Madpeter
5b4b94352c Issue 11 fix 2020-10-14 04:53:31 +01:00
Madpeter
04b3f23c47 improves config and value checking for bottype discordTTS 2020-10-14 04:23:04 +01:00
Madpeter
14acea98c1 add overload for only 2 args to find a text channel 2020-10-14 04:22:22 +01:00
Madpeter
4d03589345 function name changes plus cleanup 2020-10-13 19:56:14 +01:00
Madpeter
721d5cd25f Update Log2FileBot.cs 2020-10-13 19:20:14 +01:00
Madpeter
089db10196 Adds TTS discord support, plus the first pass of Log2File 2020-10-13 14:27:08 +01:00
Madpeter
6d692323dc corrects RLV sit command to use CMD interface BotSit and not the old sit command that is no longer supported 2020-09-07 00:44:06 +01:00
Madpeter
4bc88a0397 removes unused bool value used to check if RLV is enabled (uses the config) this was blocking RLV commands from working 2020-09-07 00:30:20 +01:00
Madpeter
fdb884876f adds a RLV message when starting the bot up 2020-09-07 00:02:18 +01:00
Madpeter
39359368f6 RLV patch for version commands, now if you dont define a channel it will default to zero 2020-09-07 00:00:23 +01:00
Madpeter
93e95c98d0 limiter on message processing to stop it relaying error state messages from secondlife 2020-09-06 18:50:34 +01:00
Madpeter
654fe441cd new command resetAnimations, moves AddToAllowAnimations to Animation namespace. 2020-07-29 14:19:10 +01:00
Madpeter
01b020fcec updates namespace for friend commands 2020-07-29 14:18:24 +01:00
Madpeter
7d236a591d adds name2key key2name endpoint support (much better than SLs service) [see: https://hub.docker.com/repository/docker/madpeter/secondlife_name2key_endpoint] 2020-07-26 13:06:58 +01:00
Madpeter
0836bae976 Cleanup for the groupaddrole command also fixed a bug 2020-07-18 19:27:46 +01:00
Madpeter
de57778c85 adjustments to the groupmembersevent awaiter 2020-07-18 19:27:23 +01:00
Madpeter
986a24e2cd adds some more info to groupaddrole to help with testing 2020-07-18 14:00:18 +01:00
Madpeter
4038382de8 adds new command: GroupAddRole 2020-07-18 11:43:30 +01:00
Madpeter
4f46564d16 removes unneeded callback 2020-07-18 11:43:16 +01:00
Madpeter
eae3df809f Add ClickObject command 2020-07-09 23:57:17 +01:00
Madpeter
a1041b2672 removed unneeded debug info 2020-07-06 07:03:00 +01:00
Madpeter
1961eefd46 debug info 2020-07-06 06:46:10 +01:00
Madpeter
b812f807aa testing again 2020-07-06 06:33:25 +01:00
Madpeter
09aba0b845 maybe i used the wrong value? 2020-07-06 06:12:15 +01:00
Madpeter
3fc649738d adds info to group invite while we test stuff, also cleans up invite code 2020-07-06 05:54:27 +01:00
Madpeter
7060678986 adds everyone role when invite sending 2020-07-06 05:35:08 +01:00
Madpeter
a9fa58e01a request balance after login 2020-07-06 05:34:47 +01:00
Madpeter
0e0591bb39 groupinvite command skip membership check 2020-07-06 05:21:46 +01:00
Madpeter
dd8b781643 adds missing true status when gohome is called 2020-07-05 23:40:30 +01:00
Madpeter
2f99808abe adds more info to fail case maybe i can fix it 2020-07-03 21:26:32 +01:00
Madpeter
7fcc85d2e8 improves chat filters to ignore secondlife messages 2020-07-03 03:31:07 +01:00
Madpeter
7f5b5c8135 Adds info message for sending a notecard 2020-07-03 03:30:39 +01:00
Madpeter
32e5d17425 adds discord as an output target (Virtual) 2020-07-03 03:30:21 +01:00
Madpeter
ce7fef4404 Adds info messages to FetchNextNotecard command (Used by streamadmin) 2020-07-03 03:29:49 +01:00
Madpeter
fb1b4a711a adds some tests to av lookup to exclude some bad values 2020-06-07 05:09:00 +01:00
Madpeter
0f2aa1f903 uses nickname vs avatarname when sending messages 2020-06-07 05:08:10 +01:00
Madpeter
acfc3da27c adds a try catch around the create text channel call so if it fails it does not take out the bot.
- Reported by Darl
2020-05-23 17:27:47 +01:00
Madpeter
ab6b7d7a69 new config value: Security_SubMasters
this is a CSV of avatar names that can issue commands like the master
2020-05-18 17:02:38 +01:00
Madpeter
3c83d8afa7 New command: GetSimTexture
- Expect this to stop working at some point
2020-05-18 15:49:54 +01:00
Madpeter
c3e4af6658 new command: GetSimGlobalPos 2020-05-18 15:49:36 +01:00
Madpeter
375a85667b Localchat history (Required for webUI) 2020-05-15 23:23:43 +01:00
Madpeter
74f5cdaf90 new command: Bye
like Logout but without the kickass message
2020-05-15 23:22:45 +01:00
Madpeter
1803e4d529 Massive config value rename to be more normal 2020-05-12 14:24:19 +01:00
Madpeter
91c3a54e4f Removes the @home command (Being replaced by nothing it sucked) 2020-05-12 14:17:29 +01:00
Madpeter
27a152369b Updates the inventory commands to pass json formated replys when not sending a notecard to an avatar 2020-05-11 18:38:16 +01:00
Madpeter
8f59ba4bb7 smart reply update to use json encoding and collections, most commands help info updated but i might have missed some 2020-05-11 15:01:23 +01:00
Madpeter
cbf6dd0709 they both did the same thing anyway... 2020-05-11 13:14:51 +01:00
Madpeter
13ae57b777 removes the cleanup_ok value (it was not used) 2020-05-11 13:14:34 +01:00
Madpeter
9349da0d25 Removes the unneeded else 2020-05-11 13:14:19 +01:00
Madpeter
f2a2b3a369 removes the unneeded now define 2020-05-11 13:14:04 +01:00
Madpeter
072faf7d03 makes the code easyer to understand 2020-05-11 13:13:51 +01:00
Madpeter
176a30ecaa adds { } for the ifs 2020-05-11 13:13:23 +01:00
Madpeter
643e33ee6f removes needed string value define 2020-05-11 13:13:14 +01:00
Madpeter
2fa405a376 Changes the code to return a task 2020-05-11 13:13:03 +01:00
Madpeter
be185ae932 Adjusts the awaits to continue as we dont care at this point 2020-05-11 13:12:31 +01:00
Madpeter
ce6d3d3167 removes the unneeded define to false 2020-05-11 13:12:02 +01:00
Madpeter
3b0a45613d removes the unneeded value update 2020-05-11 13:11:41 +01:00
Madpeter
e3081ff873 Removes the dup'd if statement and adjusts the text 2020-05-11 13:11:21 +01:00
Madpeter
9a4cdda149 new command: RequestTeleport 2020-05-11 12:12:48 +01:00
Madpeter
ffe8672f08 Updates the fly command so when stopping flying it clears hover state correctly 2020-05-11 12:07:33 +01:00
Madpeter
ef7e1e2392 readds localchat support not being able see replys in local was dumb 2020-05-11 10:53:52 +01:00
Madpeter
a32b74e2cc Removes OnStartLinkupWithMaster flag (its not needed anymore) 2020-05-10 22:37:22 +01:00
Madpeter
46b8ffceba New command TransferInventoryToObject (Use 3rd arg True if you want to send a running script!) 2020-05-10 22:25:04 +01:00
Madpeter
7bfc22ca1b New command: UnRezObject 2020-05-10 22:21:44 +01:00
Madpeter
39ab3b3e35 New command: RezObject 2020-05-10 22:21:34 +01:00
Madpeter
7a36cec3a7 Adjusts the bot to only IM and request friendship if the flag is set AND you are not already on the friends list otherwise just give full friend perms 2020-05-10 22:21:22 +01:00
Madpeter
d8d5dfb78b Adds new local event FoundMasterAvatar 2020-05-10 22:20:35 +01:00
Madpeter
73d0f54319 corrects a issue with the commands add history where the output was not set to the message string. 2020-05-09 19:49:37 +01:00
Madpeter
e0998c6b90 adjustments to the discord chat interface to show ticks and crosses on stuff 2020-05-09 19:48:35 +01:00
Madpeter
b1b9a51c3b adjustments to the discord command history add function 2020-05-09 19:48:09 +01:00
Madpeter
2bc5495600 makes the request to get group roles and sets the infoblob 2020-05-09 19:47:40 +01:00
Madpeter
c10894c92e Corrects arg number for role uuid 2020-05-09 19:47:21 +01:00
Madpeter
712b968b37 packages update 2020-05-08 17:37:03 +01:00
Madpeter
d028710331 Corrects the namespace for the command: scriptHttp 2020-05-07 13:09:05 +01:00
Madpeter
72e67e533f Corrects the number of args needed for ActiveGroup command and adds missing return true; 2020-05-07 13:02:32 +01:00
Madpeter
450fe8d317 New command: GroupActiveTitle
Changes the title the bot is using.
2020-05-07 12:51:42 +01:00
Madpeter
0c5f2a8301 new command: GroupActiveGroup
allows the bot to set what group its currently active under (this should not update the title)
2020-05-07 12:51:03 +01:00
Madpeter
509425cd7e adds a optional 3rd arg for chat level (Shout/Whisper) 2020-05-07 12:50:17 +01:00
Madpeter
dea834a427 removes the pointless smart reply vaildation 2020-05-07 12:49:58 +01:00
Madpeter
6760f18fa6 Removes unneeded smartreply test 2020-05-07 12:49:34 +01:00
Madpeter
b7821cbd31 new command: UnixTimeNow 2020-05-07 12:49:02 +01:00
Madpeter
3b7d955cbd new command: SimName 2020-05-07 08:30:41 +01:00
Madpeter
099580928a new command: GetPosition 2020-05-07 08:29:41 +01:00
Madpeter
6fc33d558c Moves the Balance command into the info namespace 2020-05-07 08:27:48 +01:00
Madpeter
0b636fc648 Moves GetParcelName into the info namespace
Renames the command to ParcelName
2020-05-07 08:27:34 +01:00
Madpeter
604ec9c716 adjusts the @home system removes most of it for now (Might attempt it later if I get time) 2020-05-07 07:22:48 +01:00
Madpeter
69ce7c416e Renames AtHomeSimOnly to AtHomeLockToPos
adjusts settings so its same sim only by default
2020-05-07 06:53:13 +01:00
Madpeter
e7216f000d Renames command AutoPilotLocal to AutoPilot and switchs to using global space 2020-05-07 06:44:16 +01:00
Madpeter
7d98f75766 Makes the bot face the auto walk direction and stay looking that way after 2020-05-07 04:52:53 +01:00
Madpeter
145bebcda3 removes some unneed using from athome bot type 2020-05-07 04:31:40 +01:00
Madpeter
6c102ab250 Adds after lookup to the command history 2020-05-07 04:31:25 +01:00
Madpeter
7f4975c062 New config value: OnStartLinkUpWithMaster [Default: True]
on login the bot will send a friend request to the master and grant them full friend rights (Online status, Tracking, Object modify)
2020-05-07 04:31:07 +01:00
Madpeter
2cd999ebe6 New command: SendTeleportLure 2020-05-07 04:26:56 +01:00
Madpeter
c2dd0cf5ff New command: FriendFullPerms 2020-05-07 04:26:43 +01:00
Madpeter
6fc62c461f New command: FriendRequest 2020-05-07 04:26:32 +01:00
Madpeter
cf362de823 New command: RotateToFace 2020-05-07 04:26:22 +01:00
Madpeter
3883284ac9 New command: RotateToFaceVector 2020-05-07 04:26:03 +01:00
Madpeter
74cd515301 removes unneeded usings from the top of commands 2020-05-06 17:36:04 +01:00
Madpeter
06f0932862 updated to use the new config value to disable 2020-05-06 17:34:59 +01:00
Madpeter
321e3f67db New command: Balance
returns the bots L$ value via smart target.
2020-05-06 17:34:44 +01:00
Madpeter
5a0777468f Cleanup and split of the discord bot type into its own folder and multiple files 2020-05-04 22:27:22 +01:00
Madpeter
618eeb3c17 Renames command from Fly to BotFly due to RLV overlap 2020-05-03 18:41:23 +01:00
Madpeter
6e13946269 lower the delay after logging in to 10 secs 2020-05-03 18:40:29 +01:00
Tikuf
f0ee4b69af URL Validation
Validates argument contains valid http or https url.
2020-05-01 19:56:49 -06:00
Madpeter
1cd12e6d05 remove unneeded space 2020-05-01 23:30:27 +01:00
Madpeter
473039001d Merge branch 'master' of https://github.com/Madpeterz/SecondBot 2020-05-01 23:28:35 +01:00
Madpeter
6621b6f817 updates the command system to accept ~#~ or ||| as the splits for commands so
say|||0|||Hi there mark
or
say|||0~#~Hi there mark

are both vaild now
2020-05-01 23:25:28 +01:00
Tikuf
6d06709cb5 Fixed handeling of encoded name
Spaces now replace %20
2020-05-01 16:24:57 -06:00
Madpeter
b30ae3e29c updates the @home system to use the renamed function 2020-05-01 23:24:38 +01:00
Madpeter
d98272d484 Updates command AutoPilotLocal to accept a 1 vector or 3 args of location 2020-05-01 23:23:34 +01:00
Madpeter
851c99385c New command: Fly 2020-05-01 23:22:46 +01:00
Tikuf
316b5f283d Removed script name extra title text 2020-05-01 15:09:23 -06:00
Madpeter
06e33b2147 uses teh return value for the replace 2020-05-01 22:00:43 +01:00
Tikuf
d2d504c8cb Added script creation from http
Will fetch github link, and send compiled contents  to avatar
2020-05-01 14:43:56 -06:00
Madpeter
50b1a07de3 Updates nuget packages and switchs to the nuget version of libreMetaverse-core 2020-05-01 20:55:54 +01:00
Madpeter
ab4c6f8668 new commands
AtHomeSameSimMode:  Allows you to tell the @home system to only check if its in the same sim or sim+pos
AtHomeSameSimRange: Allows you to tell the @home system how far away from its home pos the bot is allowed

both of these values are set via config this only allows you to update the live versions!
2020-05-01 16:35:48 +01:00
Madpeter
4849b022b5 Adds support for the @home system to adjust its options via script 2020-05-01 16:33:56 +01:00