Hello There, Guest! Login Register


[Lua] Scripting: List of API functions
#1
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.
 
Reply
#2
Bike ? or mount and interface ?
 
Reply
#3
Dracula-(Dracos) Bike ? or mount and interface ?
https://api.proshine-bot.com/#ismounted
 
Reply
#4
what does that mean ?
 
Reply
#5
Awesome api, can't wait to write the first Script. :-)
 
Reply
#6
Royal , how you guyz d0 that ???? I dont even know how to write a simple script Sad Sad :'(
 
Reply
#7
http://www.allgifs.com/wp-content/upload...xcited.gif
C'mon down and join the winning team, because here at Globo Gym, we're better than you...

...and we know it!
 
Reply
#8
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.
 
Reply
#9
Thanks silver...... just made some scripts by editing some of the given scripts Smile
 
Reply
#10
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.
 
Reply
#11
what is the equivalent of "inRectangle" in json to lau?
 
Reply
#12
Updated the first post to add a link the GitHub repository. Anyone is now free to contribute to this documentation.
 
Reply
#13
movetowater() doesnt work. What is missing?
 
Reply
#14
Nox movetowater() doesnt work. What is missing?
I don't know. What is the problem?
 
Reply
#15
Nox movetowater() doesnt work. What is missing?

remember is CaseSensitive, moveToWater()
 
Reply
#16
When will the latest APIs added to https://api.proshine-bot.com/ ?
 
Reply
#17
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
 
Reply
#18
(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/bl...#L115-L283
 
Reply
#19
(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/bl...#L115-L283

oh wow. thank you so much
 
Reply
#20
It's seem not updated Sad
 
Reply
#21
(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.
 
Reply
#22
(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
 
Reply
#23
(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/bl...pt.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.
 
Reply
#24
(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
 
Reply
#25
(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.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)