Creation/Dev/Script/Helpful Posts: Difference between revisions

From Graal Bible
No edit summary
No edit summary
Line 5: Line 5:


== Control Structures ==
== Control Structures ==
* [http://forums.graalonline.com/forums/showpost.php?p=1493584&postcount=7 For loop]
* [http://forums.graalonline.com/forums/showpost.php?p=1493584&postcount=7 For and foreach loop]


== Serverside and Clientside ==
== Serverside and Clientside ==
* [http://forums.graalonline.com/forums/showpost.php?p=1579584&postcount=6 Explanation of serverside and clientside, introduction to triggers]
* [http://forums.graalonline.com/forums/showpost.php?p=1579584&postcount=6 Explanation of serverside and clientside, introduction to triggers]
* [http://forums.graalonline.com/forums/showpost.php?p=1555017&postcount=4 Good trigger examples (both ways)]
* [http://forums.graalonline.com/forums/showpost.php?p=1555017&postcount=4 Good trigger examples (both ways)]
* [http://forums.graalonline.com/forums/showpost.php?p=1541241&postcount=9 Triggering database NPCs from level NPCs]


== Object/Data Types ==
== Object/Data Types and Structures ==
* [http://forums.graalonline.com/forums/showpost.php?p=1619921&postcount=4 Arrays]
* [http://forums.graalonline.com/forums/showpost.php?p=1619921&postcount=4 Arrays]
* [http://forums.graalonline.com/forums/showpost.php?p=1579340&postcount=16 Custom object types]
* [http://forums.graalonline.com/forums/showpost.php?p=1555673&postcount=1 Comparing arrays]
* [http://forums.graalonline.com/forums/showpost.php?p=1555673&postcount=1 Dynamic variable names]
* [http://forums.graalonline.com/forums/showpost.php?p=1552270&postcount=8 Checking for objects in arrays]
* [http://forums.graalonline.com/forums/showpost.php?p=1621132&postcount=3 Sorting arrays]


== Player ==
== Player ==
Line 18: Line 24:
* [http://forums.graalonline.com/forums/showpost.php?p=1601364&postcount=3 Timeouts in the player object]
* [http://forums.graalonline.com/forums/showpost.php?p=1601364&postcount=3 Timeouts in the player object]
* [http://forums.graalonline.com/forums/showpost.php?p=1600645&postcount=3 Player classes and reusable public functions]
* [http://forums.graalonline.com/forums/showpost.php?p=1600645&postcount=3 Player classes and reusable public functions]
* [http://forums.graalonline.com/forums/showpost.php?p=1589587&postcount=2 Getting actual level name on a GMAP]
* [http://forums.graalonline.com/forums/showpost.php?p=1555673&postcount=1 Passing parameters along with attributes]
* [http://forums.graalonline.com/forums/showpost.php?p=1544204&postcount=1 Offline player manipulation]
* [http://forums.graalonline.com/forums/showpost.php?p=1543673&postcount=11 Player latency measuring]


== Misc ==
== GUIs ==
* [http://forums.graalonline.com/forums/showpost.php?p=1592332&postcount=7 Opening PM windows]
* [http://forums.graalonline.com/forums/showpost.php?p=1579340&postcount=16 Resizable GUIs]
* [http://forums.graalonline.com/forums/showthread.php?t=134257984 GUI Explorer]
* [http://forums.graalonline.com/forums/showpost.php?p=1367596&postcount=9 Making controls not steal focus]
 
== Client ==
* [http://forums.graalonline.com/forums/showpost.php?p=1482479&postcount=17 Generating commands.rtf]


== SQLite ==
== SQLite ==
* [http://forums.graalonline.com/forums/showpost.php?p=1580831&postcount=2 SQL injection]
* [http://forums.graalonline.com/forums/showpost.php?p=1580831&postcount=2 SQL injection]
* [http://forums.graalonline.com/forums/showpost.php?p=1557272&postcount=17 Using and adding multiple SQLite databases]
* [http://forums.graalonline.com/forums/showthread.php?t=134256319 SQL Explorer]


== iOS and Flash ==
== iOS and Flash ==
* [http://forums.graalonline.com/forums/showpost.php?p=1547963&postcount=1 Multi-touch demo]
* [http://forums.graalonline.com/forums/showpost.php?p=1547963&postcount=1 Multi-touch demo]
== NPC-Control and Script Types ==
* [http://www.youtube.com/watch?v=Fa40kRUBqI0 Using NPC-Control (video)]
* [http://forums.graalonline.com/forums/showpost.php?p=1544448&postcount=5 Triggering public functions in weapons from level NPCs]


== Code Gallery ==
== Code Gallery ==
Line 36: Line 57:
* [http://forums.graalonline.com/forums/showthread.php?t=134257103 Debugger]
* [http://forums.graalonline.com/forums/showthread.php?t=134257103 Debugger]
* [http://forums.graalonline.com/forums/showthread.php?t=134264034 Screenshots]
* [http://forums.graalonline.com/forums/showthread.php?t=134264034 Screenshots]
* [http://forums.graalonline.com/forums/showpost.php?p=1544204&postcount=1 Offline player manipulation]


== NPC-Control ==
== Misc ==
* [http://www.youtube.com/watch?v=Fa40kRUBqI0 Using NPC-Control (video)]
* [http://forums.graalonline.com/forums/showpost.php?p=1592332&postcount=7 Opening PM windows]
* [http://forums.graalonline.com/forums/showpost.php?p=1574459&postcount=6 Keycode constants]
* [http://forums.graalonline.com/forums/showpost.php?p=1573674&postcount=6 Communicating with external web servers]


== Other Useful Resources ==
= Other Useful Resources =
* [http://public.zodiacdev.com/index.php?title=Fowlplay4 Jer's Scripting Guide]
* [http://public.zodiacdev.com/index.php?title=Fowlplay4 Jer's Scripting Guide]
* [http://gscript.graal.net GScript Wiki]
* [http://gscript.graal.net GScript Wiki]
* [http://gs2.graalstudios.com/ Twinny's GS2 Resource]
* [http://gs2.graalstudios.com/ Twinny's GS2 Resource]

Revision as of 01:19, 28 September 2011

Under Construction.png

This article is currently being written or rewritten by Chris Vimes.


This article contains an incomplete list of helpful scripting snippets, mostly from the Graal Forums, but also from other websites. Please edit this page to add more links as you come across them.

Control Structures

Serverside and Clientside

Object/Data Types and Structures

Player

GUIs

Client

SQLite

iOS and Flash

NPC-Control and Script Types

Code Gallery

This list contains widely-used tools and code snippets that demonstrate a particular skill or technique. For a complete listing of scripts, see the Code Gallery.

Misc

Other Useful Resources