View Single Post
  #8  
Old 09-18-2014, 04:42 PM
Jakov_the_Jakovasaur Jakov_the_Jakovasaur is offline
Deleted by Darlene159
Jakov_the_Jakovasaur's Avatar
Join Date: Sep 2013
Location: Deleted by Darlene159
Posts: 353
Jakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud of
Quote:
Originally Posted by samich View Post
Are there any official change logs available? I would really like to see what exactly was improved; as a dev, this matters to me!
hello!

as the self-appointed new technical director of graal online i will post the new script capabilities

PHP Code:
$pref::graal::utf8fontfile string the font file to use for utf8/unicode text (all code pages starting from 1
disableapnoheal boolean makes it possible to heal if you are below 40 ap
disableapsaint 
boolean makes it possible to hurt the player if having ap 100
enableutf8 
boolean (default: true) - enables utf8/unicode text display
preloadleveldefaulttile 
integer the default tile used for preloading levelsby default 0
addutf8fontrange
(strintint) - parameters are font filestart page and endpagethis defines a font to use for specific utf8 character pages 
aes_decrypt
(strstrstr) - returns string decrypts dataparameters are the AES keyinit vector (16 bytes) and the datawhich must have a length of multiple of 16 
aes_encrypt
(strstrstr) - returns string encrypts dataparameters are the AES keyinit vector (16 bytes) and the datawhich must have a length of multiple of 16 otherwise it will be filled with null bytes
clearutf8fontranges
() - clears all utf8 font files previously defined with addUTF8FontRange() 
des_decrypt(strstr) - returns string decrypts data with DES algorithmparameters are key and data 
des_encrypt
(strstr) - returns string encrypts data with DES algorithmparameters are key and data
findobject
(str) - returns object finds a global variable
getgamesubversion
() - returns string distribution platform (amazongoogleplay etc.)
gethttprequestforurl(str) - returns object finds an active http request with the given url 
gethttprequests
() - returns object
getlastfiledownloadtime
() - returns float the last time a file or a chunk of a file has been received from the Graal server 
getlastfilerequesttime
() - returns float the last time a file has been requested from the Graal server 
getlastwebdownloadtime
() - returns float the last time a file or a chunk of a file has been received from a web server 
getlastwebrequesttime
() - returns float the last time a file has been requested from a web server
getutctime
() - returns integer get's the local time in seconds since 1970, is the same as int(timevar2) on server-side
isstringutf8(str) - returns boolean - checks if a text is in correct UTF8 format (unicode)
rc4_cipher(str, str) - returns string - encrypts or decrypts data, parameters are the RC4 key and the data
rsa_decrypt(str, str) - returns string - decrypts data, parameters are the private RSA key and the data 
rsa_encodesignature(str) - returns string - encodes a signature in DER format with SHA1 container (for verification) 
rsa_encrypt(str, str) - returns string - encrypts data, parameters are the public RSA key and the data 
rsa_sign(str, str) - returns string - generates a signature, parameters are the private RSA key and the data, the data usual is a hash of the actual data 
rsa_verify(str, str, str) - returns boolean - verififies a signature, parameters are the public RSA key, the data and the signature
sha256(str) - returns string - calculates a sha256 hash on the specified string
saveimagetostring(str) - returns string - returns the raw image data, parameter is a filename to specify the image type (.png, .jpg, .bmp) 
saveimagetostring2(str, int) - returns string - returns the raw image data, parameter is a filename to specify the image type (.png, .jpg, .bmp), second parameter is the bitdepth (24 or 32)
gamefile - string (read only) - the data will be saved as gamefile under this filename 
lastdatatime - float (read only) - time when data has been received by the HTTP server 
sslcipherlist - string - sets the SSL encryption and integrity check (e.g. AES-128-MD5)
sslprotocol - string - sets the SSL protocol (SSLv3, TLSv1 etc.), but normally not needed 
sslverifycert - string - sets the SSL verification certificate or certificate chain (buffer not file) 
removed:

PHP Code:
putcomp(strfloatfloat
putnewcomp(strfloatfloatstrint
theres a couple of neat small things that would benefit servers that use default systems, but it looks like default compus baddies were removed even though stefan knew full well they are still used on un
__________________
This signature has been deleted by Darlene159.