Commit graph

359 commits

Author SHA1 Message Date
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
Madpeter
6ef5a9c47a adds a check if you add =True|False to the flag 2020-04-27 04:17:13 +01:00
Madpeter
913ab57565 command history update 2020-04-27 02:27:09 +01:00
Madpeter
8eff843938 adds a check to see if the parcel dataset has loaded before processing 2020-04-27 02:26:25 +01:00
Madpeter
53d95f0e2a adds support to not send any args to clear the music url 2020-04-27 02:25:57 +01:00
Madpeter
fe192fc590 adds support to clear music url (using key word clear) 2020-04-27 01:19:41 +01:00
Madpeter
fa0b2211dc improvements to the args system when no args are given. 2020-04-27 00:48:30 +01:00
Madpeter
48fd3f6e0d adjustments to the avatar storage engine to try and catch some trash 2020-04-27 00:47:58 +01:00
Madpeter
e4e264ea92 new command: SimRestart
also updates Estate tools to allow custom ranges for sim restarts
2020-04-26 17:15:40 +01:00
Madpeter
d1af896a65 new command: SimMessage 2020-04-26 16:54:25 +01:00
Madpeter
b01aeff43f new command: ParcelDeedToGroup 2020-04-26 16:20:34 +01:00
Madpeter
f1e69f2e77 adds estate manager override for parcel commands 2020-04-26 16:20:18 +01:00
Madpeter
bcd259c217 new command: SetParcelSale 2020-04-26 16:11:07 +01:00
Madpeter
e150414d11 new command: AbandonLand 2020-04-26 16:06:41 +01:00
Madpeter
e4257688dd new command: SetParcelDesc 2020-04-26 15:45:57 +01:00
Madpeter
1d992217de new command: GetParcelDesc 2020-04-26 15:45:42 +01:00
Madpeter
33734a5042 renames the file to match the command name 2020-04-26 15:45:21 +01:00
Madpeter
b8de582791 renamed command: ParcelGetParcelName -> GetParcelName 2020-04-26 15:39:10 +01:00
Madpeter
9a4d202526 new command: SetParcelName 2020-04-26 15:38:30 +01:00
Madpeter
807634bcc1 New command: ParcelGetParcelName 2020-04-26 15:38:06 +01:00
Madpeter
d25012b088 Updates GetParcelFlags to use the smart arg type 2020-04-26 15:37:43 +01:00
Madpeter
2bef909af9 new command: ParcelSetMusicURL 2020-04-26 15:30:02 +01:00
Madpeter
eed5c5fe8a corrects a issue where command||| without anything after it would give a null arg when it should be ignored 2020-04-26 15:20:19 +01:00
Madpeter
9d127a8b23 improves arg testing to check for nulls 2020-04-26 15:17:00 +01:00
Madpeter
e574ed6144 arg test for IM command 2020-04-26 15:15:39 +01:00
Madpeter
c22190aab6 new command: EstateParcelReclaim 2020-04-26 15:12:13 +01:00
Madpeter
fc7405d0f4 new command: ParcelSetMedia and helper flags 2020-04-26 14:53:34 +01:00
Madpeter
3bf412dce8 new command: ParcelPrimCountTotal 2020-04-26 14:09:18 +01:00
Madpeter
527d31dffd corrects the required arg count 2020-04-26 14:09:08 +01:00
Madpeter
6845335bcd new command: ParcelPrimCountAvatar 2020-04-26 14:06:22 +01:00
Tikuf
c6c866bc46 Help generator cleanup 2020-04-25 23:30:59 -06:00
Tikuf
9ebbea56e5 Changed more help to notecard 2020-04-25 22:57:06 -06:00
Tikuf
1d8aa68984 More detailed help 2020-04-25 22:51:13 -06:00
Tikuf
298872acc8 Expanded help file 2020-04-25 20:52:06 -06:00
Tikuf
38faaeeb80 Fixed help file commands 2020-04-25 20:27:17 -06:00
Tikuf
41e16c1318 Better Help command 2020-04-25 20:21:27 -06:00
Madpeter
dfd99d8c26 adds master_uuid auto loading
getMaster_uuid (public) value
and master key2name avatar storage protection
2020-04-26 03:01:04 +01:00
Tikuf
837329340b Merge remote-tracking branch 'upstream/master' 2020-04-25 19:47:19 -06:00
Tikuf
47c1fe272f Owner Name
owner name var added
2020-04-25 19:46:49 -06:00
Madpeter
5b919cead4 fixs caller support issue 2020-04-26 02:41:16 +01:00
Tikuf
647c4f9ae3 Merge remote-tracking branch 'upstream/master' 2020-04-25 19:25:36 -06:00
Tikuf
813aa5a330 Great new help 2020-04-25 19:24:03 -06:00
Madpeter
5fbab6f118 adds support to access caller from within the commands lib 2020-04-26 02:23:05 +01:00
Madpeter
47246eb189 Helps if I save the file before submitting 2020-04-26 01:46:27 +01:00
Madpeter
5338733ed0 new command: Parcel return targeted 2020-04-26 01:43:25 +01:00
Madpeter
33acda930a Removes the object UUID check (not vaild for this command) 2020-04-26 01:43:10 +01:00
Madpeter
f2bb06889a new command: ParcelReturnObjects 2020-04-26 01:39:09 +01:00
Madpeter
08b312b643 adds parcelobjectowners support to await reply 2020-04-26 01:38:35 +01:00
Madpeter
bb4462f607 updates setParcelFlag to use the new perm check function 2020-04-26 01:38:12 +01:00
Madpeter
e6391c61eb makes parcel_static static and adds a new perm check function 2020-04-26 01:37:59 +01:00
Madpeter
990ddb38f9 adds callback command history support to these functions 2020-04-26 01:37:35 +01:00
Madpeter
2ec6055610 adds support for callback commands to update the command history 2020-04-26 01:36:51 +01:00
Madpeter
2a554925c3 New command: GetLastCommands 2020-04-26 00:26:14 +01:00
Madpeter
372c4c42cf adds a null check for RelayIMtoAvatar 2020-04-26 00:13:09 +01:00
Madpeter
96d9d8000d redirects commandsinterface call to a hookable version and makes command history add public 2020-04-26 00:04:25 +01:00
Madpeter
8168f334ce updates the discord full fat client to use command history hook and SendIM hook 2020-04-26 00:03:54 +01:00
Madpeter
2b1daf6045 redirects IM command to use the hooked version 2020-04-26 00:03:02 +01:00
Madpeter
540ead63c2 adds self IM support (used so it can be hooked onto) 2020-04-26 00:02:45 +01:00
Madpeter
0c2ea15f4d adds relay IM from bot to avatar support 2020-04-25 23:51:46 +01:00
Madpeter
9cc5ff374d adds the new commands history system 2020-04-25 23:50:46 +01:00
Madpeter
7302a732c1 makes the multi link support update faster and does some basic checks 2020-04-25 23:04:05 +01:00
Madpeter
5876a3a4d6 Multi attachment point support (Hacky) 2020-04-25 00:08:38 +01:00
Madpeter
1aef438b37 updates the inventory content mapper to split items up with ||| 2020-04-24 01:45:22 +01:00
Madpeter
4ce4c1b769 Port from bitbucket 2020-04-23 18:19:18 +01:00