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
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
Reply
#4
Update 0.2
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: @ITERATOR@ (1)
[2019-08-12 21:15:29] + integer: char (108)
[2019-08-12 21:15:29] + integer: @INDEX@ (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: @INDEX@ (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: @ITERATOR@ (1)
[2019-08-12 21:15:29] + integer: char (50)
[2019-08-12 21:15:29] + integer: @INDEX@ (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: @INDEX@ (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: @ITERATOR@ (1)
[2019-08-12 21:15:30] + integer: char (108)
[2019-08-12 21:15:30] + integer: @INDEX@ (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: @INDEX@ (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: @ITERATOR@ (1)
[2019-08-12 21:15:30] + integer: char (50)
[2019-08-12 21:15:30] + integer: @INDEX@ (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: @INDEX@ (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.
[Image: i5evbvJ.png]
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: @ITERATOR@ (1)
[2019-08-12 23:02:45] + integer: char (51)
[2019-08-12 23:02:45] + integer: @INDEX@ (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: @INDEX@ (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.
[Image: i5evbvJ.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Client] Version check Quarchodron 2 4,010 25.08.2019, 14:06
Last Post: Quarchodron
  [New G2O][Client-Side] bindKey Patrix 6 8,970 14.11.2018, 02:32
Last Post: Patrix
  [0.1.4.*] [client/server] Simple anty-cheat Profesores 8 10,244 20.03.2018, 19:16
Last Post: Patrix
  [0.1.3] [client/server] BotCreator HammelGammel 22 26,563 08.02.2018, 22:02
Last Post: HammelGammel
  [0.1.3] [client/server] Utility Scripts HammelGammel 1 5,253 27.01.2018, 14:03
Last Post: HammelGammel
  [New G2O][Client-Side] Key Combination Patrix 1 3,784 23.12.2017, 13:16
Last Post: Patrix
  [CLIENT]Draw(Line/Color) Tommy 0 3,118 19.12.2017, 04:23
Last Post: Tommy
  [G2O v.0.1.0][Client-Side] Notice Board Quarchodron 0 3,140 27.06.2017, 14:28
Last Post: Quarchodron
  GUI Editor | Version 3.0 Kladvey 3 5,537 18.08.2016, 14:02
Last Post: Yzibz

Forum Jump:


Users browsing this thread: 1 Guest(s)