Coconut Shy: Difference between revisions

From Computers Wiki
Jump to navigationJump to search
(Create page)
 
(Add References section)
Line 28: Line 28:


points=0&totalnp=53668&success=0&error=Oi%21+No+more+throws%2C+you%27ve+had+yer+lot.
points=0&totalnp=53668&success=0&error=Oi%21+No+more+throws%2C+you%27ve+had+yer+lot.

== References ==
<references />


[[Category:Flash]]
[[Category:Flash]]

Revision as of 21:36, 18 May 2023

Coconut Shy is one of the many Flash-based gambling games on Neopets. It basically is a UI for a web request.

API

https://www.neopets.com/halloween/process_cocoshy.phtml

Query parameters

  • coconut= 0 to always miss, or anything else (like 1) to have a try

Output parameters

  • points= how many points were won this throw
  • totalnp= how many points you now have
  • success= 1 if the throw actually happened, 0 if not, 4 if winning?[1]
  • prize_id= doesn't need to be present, has the item ID of a won prize[1]
  • error= text to display, regardless of success or not

Example miss response

This is true for both intentionally and unintentionally missing.

points=0&totalnp=53668&success=1&error=You+missed%21

Example out of throws response

This takes precedence over intentionally missing.

points=0&totalnp=53668&success=0&error=Oi%21+No+more+throws%2C+you%27ve+had+yer+lot.

References