Commit graph

213 commits

Author SHA1 Message Date
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
Madpeter
349fc6299f Corrects a issue with the commands system not using the override min args value leading to crashs if you did not send the correct args. 2020-05-01 16:33:31 +01:00
Madpeter
e1e40b161c New settings for the @home system:
AtHomeSimOnly - Should the @home system only care if the sim is correct (True|False)
AtHomeSimPosMaxRange - if (False) How far away can the bot get before it teleports (in M example: 10.0)

Also renames a config value to be less tash.
- Please note updated docker file -
2020-04-30 04:33:27 +01:00
Madpeter
b53fa7f641 New commands: AutoPilotLocal, AutoPilotStop 2020-04-30 04:31:07 +01:00
Madpeter
43209d6f78 More tidying up 2020-04-29 20:49:41 +01:00
Madpeter
13d7eef4d8 bottype cleanup 2020-04-29 20:24:17 +01:00
Madpeter
78b3183036 Commands cleanup 2020-04-29 20:23:52 +01:00
Madpeter
af6ae11ee9 Cleanup and switching to StringBuilder 2020-04-29 17:22:44 +01:00
Madpeter
6dd56a2295 Cleanup 2020-04-29 16:48:18 +01:00
Madpeter
78014adaaf teleported status flag 2020-04-29 04:43:14 +01:00
Madpeter
d8878594af cleanup the the athome system (I will prob end up redoing this as im not a fan) 2020-04-29 04:33:50 +01:00
Madpeter
c5c5a40036 Now checks if the discord relay group is not UUID zero and is a vaild uuid before using relay mode. 2020-04-29 04:28:48 +01:00
Madpeter
9b5ac724e4 Cleanup 2020-04-29 04:12:55 +01:00
Madpeter
a4deb6857a shared codeblock updates 2020-04-29 03:43:17 +01:00
Madpeter
1ff8fd7228 command rename: from Parcel SetMusicURL to SetParcelMusic,
also updates to the new shared code blocks
2020-04-29 03:43:05 +01:00
Madpeter
ff579cba6d file rename, and update to shared code block 2020-04-29 03:42:27 +01:00
Madpeter
aa9d70cfe6 new helper for pacel commands to reduce repeated code blocks 2020-04-29 03:41:45 +01:00
Madpeter
ff7481a501 assigns the group before deeding the parcel 2020-04-28 06:07:00 +01:00
Madpeter
1e4d916e5a parcel in memory checks 2020-04-28 05:50:28 +01:00
Madpeter
3c572a2682 adds a memory check 2020-04-28 05:37:43 +01:00
Madpeter
90c835973d adds support to set a target buyer for parcel (when set also allows the sell price to be set to zero) 2020-04-27 23:39:42 +01:00
Madpeter
444c5846e5 new command: ParcelCleanAndSell,
takes ownership of the land, Clears the land, then sells the land again.
2020-04-27 23:21:22 +01:00
Madpeter
e29b6b1a25 new command: ParcelBuy 2020-04-27 23:16:01 +01:00
Madpeter
04eeee600d corrects the return mode type 2020-04-27 22:58:27 +01:00
Madpeter
44d6929769 remove unneed if check 2020-04-27 22:50:34 +01:00
Madpeter
85d6abb5bc On login failed attempt to reconnect 2020-04-27 21:37:10 +01:00
Madpeter
f36d999837 Calm.... i am the worst 2020-04-27 20:28:13 +01:00
Madpeter
6177b0e710 rename file 2020-04-27 04:38:16 +01:00
Madpeter
c599d4a2b0 re adds the L$1 low value 2020-04-27 04:25:02 +01:00
Madpeter
09f8b4b4f8 moves the Flag set to static 2020-04-27 04:21:49 +01:00
Madpeter
b6e9e9e1d6 sets the lower limit to L$0
also sets the parcel for sale and to not transfer objects on sale.
2020-04-27 04:21:35 +01:00
Madpeter
85f62b8b8a moves Parcel set flag to static functions 2020-04-27 04:20:54 +01:00