Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Graal API? (https://forums.graalonline.com/forums/showthread.php?t=134260493)

RobinX 09-09-2010 07:58 PM

Graal API?
 
I apologize in advance if this is a silly question or I overlooked documentation regarding my question. Long time coder in various other scripting languages, but new to gscript :noob:.

For now I'm thinking I would like to make a web application with a "Server Player Stats / Leader Board" (something simple for now) using data from the specific PlayerWorld I contribute to. I'm at a loss as to what the best way to approach this would be, Is there an API? Anyone able point me to any documentation regarding this? Thanks in advance for any information! :D

Cubical 09-09-2010 08:14 PM

Search the forums for tsocket, im on a phone or else i'd do it for you.

12171217 09-09-2010 08:14 PM

You can use PHP for this, Graal has some functionality with sockets and sending http requests.

Cubical 09-09-2010 08:16 PM

Hopped on a computer for you. Here's some code Chris posted a while ago which helped me figure it out.
http://forums.graalonline.com/forums...hlight=tsocket

RobinX 09-09-2010 09:01 PM

Perfect! Thank you!

cbk1994 09-09-2010 10:58 PM

See also: http://forums.graalonline.com/forums...74&postcount=6

There are also some handy tools which return XML on http://statistics.graal.us/


All times are GMT +2. The time now is 01:39 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.