View Single Post
  #3  
Old 08-16-2008, 01:53 AM
Devenio Devenio is offline
Scripter
Devenio's Avatar
Join Date: Dec 2006
Posts: 28
Devenio is on a distinguished road
Quote:
Originally Posted by Programmer View Post
I use this formula a lot when I'm doing external (or even internal!) programs/scripts that deal with Graal levels.

PHP Code:
base64 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

temp.data "aa";
temp.letters = {data.substring(01), data.substring(12)};

temp.tile int((base64.pos(letters[0]) << 6) + base64.pos(letters[1]));

temp.tX = ((tile # 16) * 16) + (int(tile / 512) * 256);
temp.tY tile # 512; 
(Please replace # with a percent sign).
Hmm, I havn't been scripting in a while .. but how is that going to help me?
__________________

"Two things are infinite: the universe and human stupidity, and I'm not sure about the the universe.." -Einstein


Reply With Quote