Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Client] GUI Creator
#1
GUI Creator

Client side script to fast for quick positioning draws and textures. It is very unstable version of code. ( 
This thread will be completed after i repair all bugs you guys report me in this topic. 

Quick tutorial 



F12 - Open manager.
Drag the card by pressing by the top.
Drag the corners of the current element to change the size of texture.



GIT: https://gitlab.com/PMalin/gui-creator

Changes: (10.05.2019)
-- add new button (COPY).
-- some small fixes.
Changes: (11.05.2019)
-- add new button (MOVE UP).
-- some small fixes.
-- and some other small stuff.

Preview: 
https://s5.ifotos.pl/img/Beztytulu_qshaqss.png
https://s6.ifotos.pl/img/Beztytulu_qshaqaa.png
[Image: Quarchodr_sheqnnr.png]
Reply
#2
IMO you should start (so do i) making more git repositories.
Maybe this would help to encourage others to develop your script, and make it even more better.
Reply
#3
https://gitlab.com/PMalin/gui-creator
[Image: Quarchodr_sheqnnr.png]
Reply
#4
Update 0.2
[Image: Quarchodr_sheqnnr.png]
Reply
#5
Do you still work on this script?
Code:
[2019-08-12 21:15:29] [squirrel] Error runtime: 'GM/GUI/CREATOR/Server/file.nut' (Ln: 28): the stream is invalid
[2019-08-12 21:15:29] -== Stack Dump: ==-
[2019-08-12 21:15:29] 1: Function: 'saveString' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 75
[2019-08-12 21:15:29] 2: Function: 'packetHandler' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 48
[2019-08-12 21:15:29]
-== Local varaiable: ==-
[2019-08-12 21:15:29] + integer: @[email protected] (1)
[2019-08-12 21:15:29] + integer: char (108)
[2019-08-12 21:15:29] + integer: @[email protected] (0)
[2019-08-12 21:15:29] + string: text (local text = Texture(6206,-32,2000,2000,"Map_NewWorld.TGA");
)
[2019-08-12 21:15:29] + instance: this
[2019-08-12 21:15:29] + string: val (local text = Texture(6206,-32,2000,2000,"Map_NewWorld.TGA");)
[2019-08-12 21:15:29] + integer: @[email protected] (0)
[2019-08-12 21:15:29] + instance: resultFile
[2019-08-12 21:15:29] + table: this
[2019-08-12 21:15:29] + integer: id (292)
[2019-08-12 21:15:29] + instance: packet
[2019-08-12 21:15:29] + integer: pid (0)
[2019-08-12 21:15:29] + table: this
[2019-08-12 21:15:29] [squirrel] Error runtime: 'GM/GUI/CREATOR/Server/file.nut' (Ln: 28): the stream is invalid
[2019-08-12 21:15:29] -== Stack Dump: ==-
[2019-08-12 21:15:29] 1: Function: 'saveTemplate' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 85
[2019-08-12 21:15:29] 2: Function: 'packetHandler' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 57
[2019-08-12 21:15:29]
-== Local varaiable: ==-
[2019-08-12 21:15:29] + integer: @[email protected] (1)
[2019-08-12 21:15:29] + integer: char (50)
[2019-08-12 21:15:29] + integer: @[email protected] (0)
[2019-08-12 21:15:29] + string: text (2000 2000 6206 -32 255 255 255 Map_NewWorld.TGA 0 255 0 0 0 500 500
)
[2019-08-12 21:15:29] + instance: this
[2019-08-12 21:15:29] + string: val (2000 2000 6206 -32 255 255 255 Map_NewWorld.TGA 0 255 0 0 0 500 500)
[2019-08-12 21:15:29] + integer: @[email protected] (0)
[2019-08-12 21:15:29] + instance: resultFile
[2019-08-12 21:15:29] + table: this
[2019-08-12 21:15:29] + integer: id (295)
[2019-08-12 21:15:29] + instance: packet
[2019-08-12 21:15:29] + integer: pid (0)
[2019-08-12 21:15:29] + table: this
[2019-08-12 21:15:30] [squirrel] Error runtime: 'GM/GUI/CREATOR/Server/file.nut' (Ln: 28): the stream is invalid
[2019-08-12 21:15:30] -== Stack Dump: ==-
[2019-08-12 21:15:30] 1: Function: 'saveString' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 75
[2019-08-12 21:15:30] 2: Function: 'packetHandler' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 48
[2019-08-12 21:15:30]
-== Local varaiable: ==-
[2019-08-12 21:15:30] + integer: @[email protected] (1)
[2019-08-12 21:15:30] + integer: char (108)
[2019-08-12 21:15:30] + integer: @[email protected] (0)
[2019-08-12 21:15:30] + string: text (local text = Texture(6206,-32,2000,2000,"Map_NewWorld.TGA");
)
[2019-08-12 21:15:30] + instance: this
[2019-08-12 21:15:30] + string: val (local text = Texture(6206,-32,2000,2000,"Map_NewWorld.TGA");)
[2019-08-12 21:15:30] + integer: @[email protected] (0)
[2019-08-12 21:15:30] + instance: resultFile
[2019-08-12 21:15:30] + table: this
[2019-08-12 21:15:30] + integer: id (292)
[2019-08-12 21:15:30] + instance: packet
[2019-08-12 21:15:30] + integer: pid (0)
[2019-08-12 21:15:30] + table: this
[2019-08-12 21:15:30] [squirrel] Error runtime: 'GM/GUI/CREATOR/Server/file.nut' (Ln: 28): the stream is invalid
[2019-08-12 21:15:30] -== Stack Dump: ==-
[2019-08-12 21:15:30] 1: Function: 'saveTemplate' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 85
[2019-08-12 21:15:30] 2: Function: 'packetHandler' File: 'GM/GUI/CREATOR/Server/creator.nut' Line: 57
[2019-08-12 21:15:30]
-== Local varaiable: ==-
[2019-08-12 21:15:30] + integer: @[email protected] (1)
[2019-08-12 21:15:30] + integer: char (50)
[2019-08-12 21:15:30] + integer: @[email protected] (0)
[2019-08-12 21:15:30] + string: text (2000 2000 6206 -32 255 255 255 Map_NewWorld.TGA 0 255 0 0 0 500 500
)
[2019-08-12 21:15:30] + instance: this
[2019-08-12 21:15:30] + string: val (2000 2000 6206 -32 255 255 255 Map_NewWorld.TGA 0 255 0 0 0 500 500)
[2019-08-12 21:15:30] + integer: @[email protected] (0)
[2019-08-12 21:15:30] + instance: resultFile
[2019-08-12 21:15:30] + table: this
[2019-08-12 21:15:30] + integer: id (295)
[2019-08-12 21:15:30] + instance: packet
[2019-08-12 21:15:30] + integer: pid (0)
[2019-08-12 21:15:30] + table: this

Also, yes, all the paths to scripts are correct, and I did not change anything inside. It worked perfectly until I "saved", and closed the creator. Then I couldn't turn it back on, and the only thing left was the last draw I created.
Reply
#6
the stream is invalid

That means, that propably script can't create a file, because the given directory doesn't exists.
Reply
#7
I created the directory. Now it shows a similar error, but with different script.
Code:
[2019-08-12 23:02:45] [squirrel] Error runtime: 'GM/Server/file.nut' (Ln: 81): the stream is invalid
[2019-08-12 23:02:45] -== Stack Dump: ==-
[2019-08-12 23:02:45] 1: Function: 'saveTemplate' File: 'GM/Module/GUI/CREATOR/Server/creator.nut' Line: 85
[2019-08-12 23:02:45] 2: Function: 'packetHandler' File: 'GM/Module/GUI/CREATOR/Server/creator.nut' Line: 57
[2019-08-12 23:02:45]
-== Local varaiable: ==-
[2019-08-12 23:02:45] + integer: @[email protected] (1)
[2019-08-12 23:02:45] + integer: char (51)
[2019-08-12 23:02:45] + integer: @[email protected] (0)
[2019-08-12 23:02:45] + string: text (39 7659 255 255 255 0 FONT_OLD_10_WHITE_HI.TGA 0 255 F8 - Animacje
)
[2019-08-12 23:02:45] + instance: this
[2019-08-12 23:02:45] + string: val (39 7659 255 255 255 0 FONT_OLD_10_WHITE_HI.TGA 0 255 F8 - Animacje)
[2019-08-12 23:02:45] + integer: @[email protected] (0)
[2019-08-12 23:02:45] + instance: resultFile
[2019-08-12 23:02:45] + table: this
[2019-08-12 23:02:45] + integer: id (295)
[2019-08-12 23:02:45] + instance: packet
[2019-08-12 23:02:45] + integer: pid (0)
[2019-08-12 23:02:45] + table: this

The issue has been resolved.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [New G2O][Client] Free Camera Patrix 2 1,760 06.05.2020, 17:53
Last Post: Patrix
  [Client] Version check Quarchodron 2 1,695 25.08.2019, 13:06
Last Post: Quarchodron
  [New G2O][Client-Side] bindKey Patrix 6 4,650 14.11.2018, 01:32
Last Post: Patrix
  [New G2O][Client-Side] OOP Camera Movement Patrix 1 2,148 20.10.2018, 13:22
Last Post: Patrix
  [0.1.4.*] [client/server] Simple anty-cheat Profesores 8 4,984 20.03.2018, 18:16
Last Post: Patrix
  [0.1.3] [client/server] BotCreator HammelGammel 22 13,207 08.02.2018, 21:02
Last Post: HammelGammel
  [0.1.3] [client/server] Utility Scripts HammelGammel 1 2,828 27.01.2018, 13:03
Last Post: HammelGammel
  [New G2O][Client-Side] Key Combination Patrix 1 1,942 23.12.2017, 12:16
Last Post: Patrix
  [CLIENT]Draw(Line/Color) Tommy 0 1,652 19.12.2017, 03:23
Last Post: Tommy
  [G2O v.0.1.0][Client-Side] Notice Board Quarchodron 0 1,614 27.06.2017, 13:28
Last Post: Quarchodron

Forum Jump:


Users browsing this thread: 1 Guest(s)