PROShine
[Lua] Scripting: List of API functions - Printable Version

+- PROShine (https://proshine-bot.com)
+-- Forum: PROShine (https://proshine-bot.com/forum-5.html)
+--- Forum: Tutorials (https://proshine-bot.com/forum-12.html)
+--- Thread: [Lua] Scripting: List of API functions (/thread-473.html)

Pages: 1 2


[Lua] Scripting: List of API functions - Silv3r - 2016-06-01

The documentation of the API functions is available at this address:

https://api.proshine-bot.com/

If you are curious, this page was generated from markdown documents using Slate.
The entire source of the documentation is available on this GitHub repository:

https://github.com/Silv3rPRO/proshine-slate

If you know how to use Git and GitHub, do not hesitate to create a pull-request.


[Lua] Scripting: List of API functions - Dracula-(Dracos) - 2016-06-01

Bike ? or mount and interface ?


[Lua] Scripting: List of API functions - Plat1num - 2016-06-01

Dracula-(Dracos) Bike ? or mount and interface ?
https://api.proshine-bot.com/#ismounted


[Lua] Scripting: List of API functions - Dracula-(Dracos) - 2016-06-01

what does that mean ?


[Lua] Scripting: List of API functions - Royal - 2016-06-01

Awesome api, can't wait to write the first Script. :-)


[Lua] Scripting: List of API functions - Dracula-(Dracos) - 2016-06-01

Royal , how you guyz d0 that ???? I dont even know how to write a simple script Sad Sad :'(


[Lua] Scripting: List of API functions - boluser - 2016-06-01

http://www.allgifs.com/wp-content/uploads/2013/08/excited.gif


[Lua] Scripting: List of API functions - Silv3r - 2016-06-01

Dracula-(Dracos) Royal , how you guyz d0 that ???? I dont even know how to write a simple script Sad Sad :'(
It's never too late to learn. Start by making simple scripts (copy/paste the existing ones) then over time you will learn to make complex ones.


[Lua] Scripting: List of API functions - Dracula-(Dracos) - 2016-06-01

Thanks silver...... just made some scripts by editing some of the given scripts Smile


[Lua] Scripting: List of API functions - Royal - 2016-06-01

Dracula-(Dracos) Royal , how you guyz d0 that ???? I dont even know how to write a simple script Sad Sad :'(

Well, I'm actually study coding. If you want I can help you to understand it.


[Lua] Scripting: List of API functions - AlpaZero - 2016-06-01

what is the equivalent of "inRectangle" in json to lau?


[Lua] Scripting: List of API functions - Silv3r - 2016-06-23

Updated the first post to add a link the GitHub repository. Anyone is now free to contribute to this documentation.


[Lua] Scripting: List of API functions - Nox - 2016-07-27

movetowater() doesnt work. What is missing?


[Lua] Scripting: List of API functions - Silv3r - 2016-07-28

Nox movetowater() doesnt work. What is missing?
I don't know. What is the problem?


[Lua] Scripting: List of API functions - rymperius - 2016-07-28

Nox movetowater() doesnt work. What is missing?

remember is CaseSensitive, moveToWater()


[Lua] Scripting: List of API functions - Elunius - 2016-08-16

When will the latest APIs added to https://api.proshine-bot.com/ ?


RE: [Lua] Scripting: List of API functions - kimloor - 2016-09-29

i'm waiting for an updated API too.

there are many function that's not in list such as "getPokemonHeldItem(Index), giveItemToPokemon(itemName, Index), etc."

Undecided


RE: [Lua] Scripting: List of API functions - johnnymo87 - 2016-09-29

(2016-09-29, 08:48:32)kimloor i'm waiting for an updated API too.

there are many function that's not in list such as "getPokemonHeldItem(Index), giveItemToPokemon(itemName, Index), etc."

Undecided

Use this: https://github.com/Silv3rPRO/proshine/blob/master/PROBot/Scripting/LuaScript.cs#L115-L283


RE: [Lua] Scripting: List of API functions - kimloor - 2016-09-30

(2016-09-29, 10:22:24)johnnymo87
(2016-09-29, 08:48:32)kimloor i'm waiting for an updated API too.

there are many function that's not in list such as "getPokemonHeldItem(Index), giveItemToPokemon(itemName, Index), etc."

Undecided

Use this: https://github.com/Silv3rPRO/proshine/blob/master/PROBot/Scripting/LuaScript.cs#L115-L283

oh wow. thank you so much


RE: [Lua] Scripting: List of API functions - gl3e - 2016-10-31

It's seem not updated Sad


RE: [Lua] Scripting: List of API functions - pandabear - 2016-10-31

(2016-10-31, 11:45:30)gl3e It's seem not updated Sad

It hasn't been updated since four month ago, if you want to you can actually go in Github, make a pull request and start working on making updates, you know, just to make your contribution.


RE: [Lua] Scripting: List of API functions - gl3e - 2016-10-31

(2016-10-31, 14:16:52)pandabear
(2016-10-31, 11:45:30)gl3e It's seem not updated Sad

It hasn't been updated since four month ago, if you want to you can actually go in Github, make a pull request and start working on making updates, you know, just to make your contribution.

I just want to know how the new API function work.
And nothing can show me where can I find it out


RE: [Lua] Scripting: List of API functions - pandabear - 2016-10-31

(2016-10-31, 16:14:54)gl3e
(2016-10-31, 14:16:52)pandabear
(2016-10-31, 11:45:30)gl3e It's seem not updated Sad

It hasn't been updated since four month ago, if you want to you can actually go in Github, make a pull request and start working on making updates, you know, just to make your contribution.

I just want to know how the new API function work.
And nothing can show me where can I find it out

You can get the complete list of api functions here: https://github.com/Silv3rPRO/proshine/blob/master/PROBot/Scripting/LuaScript.cs#L104 
you can guess what it does by the API name and parameters, and validate your guess by writing a script that uses it and run it.
And if you want to, update the API documentation after you find out what it does.


RE: [Lua] Scripting: List of API functions - ladori - 2016-11-12

(2016-06-01, 18:15:43)Royal Well, I'm actually study coding. If you want I can help you to understand it.

Yup Royal, could you help me with that? Or just lend me your script. Im in hurry now. Very hurry


RE: [Lua] Scripting: List of API functions - blob - 2017-01-04

(2016-06-01, 15:16:51)Silv3r The documentation of the API functions is available at this address:

https://api.proshine-bot.com/

If you are curious, this page was generated from markdown documents using Slate.
The entire source of the documentation is available on this GitHub repository:

https://github.com/Silv3rPRO/proshine-slate

If you know how to use Git and GitHub, do not hesitate to create a pull-request.

I didnt find any function that would allow you to either Dig a Dig Spot or Headbutt a Tree or other attacks useable outside of battle. I am asking cuz i wanted to make a bot which goes to every non ms dig place to dig....meaning you could farm every 4th day without doing the work...should end up pretty nice.