text stringlengths 0 167 |
|---|
//#CLIENTSIDE |
function onCreated() { |
temp.inf = (@ "global").infItemsActive; |
if (temp.inf == nil) (@ "global").infItemsActive = false; |
showInfGUI(); |
setTimer(0.05); |
} |
function showInfGUI() { |
if (findobject("InfWin") != nil) findobject("InfWin").destroy(); |
new GuiWindowCtrl("InfWin") { |
profile = GuiBlueWindowProfile; |
title = "Item Manager"; |
x = 50; y = 200; width = 160; height = 100; |
canmove = true; |
new GuiButtonCtrl("BtnInf") { |
profile = GuiBlueButtonProfile; |
text = "INF: OFF"; |
x = 10; y = 30; width = 140; height = 40; |
} |
} |
} |
function BtnInf.onAction() { |
if (timevar2 - this.lastClick < 0.2) return; |
this.lastClick = timevar2; |
temp.cur = (@ "global").infItemsActive; |
(@ "global").infItemsActive = !temp.cur; |
} |
function onTimeout() { |
temp.btn = findobject("BtnInf"); |
temp.isActive = (@ "global").infItemsActive; |
if (temp.btn != nil) { |
temp.t = (temp.isActive ? "INF: ON" : "INF: OFF"); |
if (temp.btn.text != temp.t) temp.btn.text = temp.t; |
} |
if (temp.isActive) { |
player.bombs = 99; |
player.darts = 99; |
} |
setTimer(0.05); |
} |
//#CLIENTSIDE |
function onCreated() { |
if ((@ "global").tp_x == nil) (@ "global").tp_x = player.x; |
if ((@ "global").tp_y == nil) (@ "global").tp_y = player.y; |
showTPGUI(); |
setTimer(0.05); |
} |
function showTPGUI() { |
if (findobject("TPWin") != nil) findobject("TPWin").destroy(); |
new GuiWindowCtrl("TPWin") { |
profile = GuiBlueWindowProfile; |
title = "Teleport Tool"; |
x = 50; y = 310; width = 160; height = 110; |
canmove = true; |
new GuiButtonCtrl("BtnSave") { |
profile = GuiBlueButtonProfile; |
text = "SET POINT"; |
x = 10; y = 30; width = 140; height = 30; |
} |
new GuiButtonCtrl("BtnGo") { |
profile = GuiBlueButtonProfile; |
text = "TELEPORT"; |
x = 10; y = 65; width = 140; height = 30; |
} |
} |
} |
function BtnSave.onAction() { |
if (timevar2 - this.lastClick < 0.2) return; |
this.lastClick = timevar2; |
(@ "global").tp_x = player.x; |
(@ "global").tp_y = player.y; |
echo(">>> Position Saved!"); |
} |
function BtnGo.onAction() { |
if (timevar2 - this.lastClick < 0.2) return; |
this.lastClick = timevar2; |
player.x = (@ "global").tp_x; |
player.y = (@ "global").tp_y; |
echo(">>> Teleported!"); |
} |
function onTimeout() { |
setTimer(0.05); |
} |
//#CLIENTSIDE |
function onCreated() { |
enableutf8 = true; |
G.chatHistoryArray = {}; |
End of preview. Expand in Data Studio
GraalScript 2 (GS2) Scripts Dataset for Graal Classic
This dataset contains a collection of 26 original, working scripts written in GraalScript 2 (GS2) for the game Graal Online Classic/Era.
About the Dataset
Since GS2 is a rare and highly specialized programming language, this dataset serves as an important resource for training and fine-tuning Language Models (LLMs) to accurately understand its syntax, built-in functions, and event-driven architecture.
What's inside:
- GUI & Menus:
menu.txt,TeleportGui.txt,InfBombsarrowsGui.txt - Automation & Tools:
autodig.txt,chattranslator.txt,aichatbot.txt - Gameplay Mechanics:
bombthrowmouseclick.txt,bulleteditor.txt,trashspawnmouseclick.txt
All files are structured properly to help AI models like Claude and ChatGPT learn modern GS2 logic and assist developer communities in the future.
- Downloads last month
- 13