Jump to content

Purity

Members
  • Posts

    56
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Purity

  1. I know it's a bit far-fetched, but is it possible to get the base colour of a ground tile?
  2. That's exactly what I do with my script ;)
  3. Uh.. I interpreted it from this formula, which is from the Runescape wikia. I wouldn't really classify that as copying.. but I've references the source regardless..
  4. Very basic snippet, helpful for the paint in your script. public static int getExperienceUntilLevel(int currentExperience, int level) { int experience = 0; for(int i = 1; i < level; i++) { experience += Math.floor(i + 300 * Math.pow(2, i / 7.0f)); } return (int) Math.floor(experience / 4) - currentExperience; }
  5. I wrote one of these not long ago. It's a basic socket set-up with an android application. The script acts as the server and any android devices on the local network (or over the internet, if the ports are open) can view your players inventory, chat and actions. You can input chat into the application on the device and it briefly stops the script to type the message. Most recently I was trying to get the server to send the player model's X, Y, Z vertices and drawing a wire frame model using OpenGL on the android app. I was going to add alerts for random events, the player being under attack and the option to take a break via the mobile device.
×
×
  • Create New...