Page 1 of 2

MMOViper Scripting and Plugins!!! Its finally here 2.1.6.5

Posted: Wed May 11, 2016 11:20 am
by PitViper
May 8, 2016 MMOViperBot Version 2.1.6.5

All Bots:
-Bugfix: Increased max limit of campaign tasks
-Bugfix: Fixed bug unloading a combat script to none.
-Added: Timer class to Scripting.Core.Classes
-Added: Plugins and Plugin Manager. See sample plugin for info (in dox folder)
-Added: initial Plugin API
-Added: IGame.GetPlugin(pluginName) //For use with IPlugin.SendMessage to communicate between plugins


Black Desert Bot:
-Bugfix: Fixed fishing issues with Pirate's Rum Buff
-Added: Scripting API: List<IItem> IGame:Inventory
-Added: Scripting API: List<IItem> IGame:Warehouse
-Added: Scripting API: List<IItem> IGame:Equipment
-Added: Scripting API: IGame:ReadLuaString
-Added: Scripting API: IGame:ReadLuaNumber
-Added: Sample Plugin that will Repair at Velia when main Weapon is < 5 durability (see dox folder)
-Added: IF/WHILE Logic: BDOLua.ReadString -- Reads a global lua variable as a string (ex: BDOLua.ReadString("SomeVariable" == "Test String") )
-Added: IF/WHILE Logic: BDOLua.ReadNumber -- Reads a global lua variable as a number (ex: BDOLua.ReadNumberg("SomeOtherVariable" >= 4.5) )


Did you know? You can now make plugins using c# scripting. Yep. I'll include sample plugins in the dox folder in the bot. Just place it in the resources/Plugins folder and it will show up in the new Plugins tab of the bot. Enable it to use it. If you have some good plugin ideas, please post them here:

http://www.mmoviper.com/announcements/p ... 13127.html

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 11:32 am
by PitViper
Please have patience, we will be rolling out this version to all of the existing bots for scripting plugins!!!

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 11:34 am
by remcop2
API documentation pls

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 11:53 am
by PitViper
All documentation is in the dll itself. Load up visual studio and add a reference to the scripting.core.dll and you can see all of the API and documentation.

Best I have for now.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 12:08 pm
by remcop2
Welp, that's disappointing.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 12:14 pm
by PitViper
Yep a couple of the users said they will work on the script dox page/wiki when the new forums are up.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 4:47 pm
by onkelpac
Is it possible that you broke the Campaigns for the BDO bot? The bot was working fine but after the update he just stops after one cycle.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 6:32 pm
by remcop2
PitViper wrote:Yep a couple of the users said they will work on the script dox page/wiki when the new forums are up.
I'd rather have you make them than the users that are paying you.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 7:28 pm
by origin
onkelpac wrote:Is it possible that you broke the Campaigns for the BDO bot? The bot was working fine but after the update he just stops after one cycle.
Same issue here

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 10:08 pm
by PitViper
What shows up in the log?

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Wed May 11, 2016 11:26 pm
by gilgameshgold
Nothing out of the ordinary.

When I hit the end of my campaign theres a goto task 2. it just says campaign finished after that. Sometimes it continues, sometimes not.

Its used multiple pearl shop items. during inventory use tasks. Lost a few pearl xp scrolls, kind of a bummer... It seems to try this until I take off auto arrange and re enable auto arrange.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Thu May 12, 2016 1:09 am
by PitViper
Yes, the goto was bugged, I'll have .66 out in just a few to fix.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Thu May 12, 2016 3:44 am
by yuzuriha
remcop2 wrote:
PitViper wrote:Yep a couple of the users said they will work on the script dox page/wiki when the new forums are up.
I'd rather have you make them than the users that are paying you.
That is partly true. But anyone who knows decent C# should be able to do it without docs... Things are self-explainatory and I'm already in mid-progress of doing some fun stuff.

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Thu May 12, 2016 5:49 am
by PitViper
I'm not a good documenter, nor graphics designer. That is why it is really nice of the community to help participate and help promote the viper product. :)

Re: MMOViper Scripting and Plugins!!! Its finally here 2.1.6

Posted: Thu May 12, 2016 8:53 am
by user01
This is very exciting, I'm salivating for the ESO revision! What version of .Net/VS are you guys working with?

If PitViper put in basic documentation with the methods, Visual Studio's intelisense will pick them up automagically. In most circumstances, that should be all the documentation you need imo.

Thanks,
user