[RELEASE] ResourceCreator | Create Your Resource in seconds! | LUA

( if someone wants to move this to the releases section, I’ll be glad :smiley: )

What does this Resource?

It creates a client script / server script and resource script in seconds.
The only thing you need to do is:
1: type in a resource name (this is also the path)
2: accept a few things… done!

Where do / could I need it?

It speeds up the whole thing in creating resources, everytime you want to create one, you need to create several files, this resource does this all itself and safes a lot of time.

How does it work?

video:
2020-01-14 16-38-18.mkv (22.0 MB)

alternative: https://streamable.com/3k4c3

what’s comming next?

  • custom mode (including to make more than one client / server file, create html files / js files
  • your ideas

download

v.1.2
RS-creator.bat (6.5 KB)

v.1.1
RS-creator.bat (6.2 KB)

  • added esx / vrp compatibility | thanks @Jager_Bom for the suggestion!
  • added key table (can be added)
  • changed __resource.lua to fxmanifest.lua | @AshiroDev thanks for mentioning

v.1.0
RS-creator.bat (1.5 KB)
antivirus proove: link to virustotal

7 Likes

Good share, simple but usefull.

1 Like

thanks :smiley:

1 Like

Great Job Keep going !!

1 Like

you should add manifest in ressourcdze file,

have option vpr esx standalone with basic input like

esx get shared object, keys
vrp tunnel, keys
standalone: keys

2 Likes

This is a awesome suggestion! Only thing I don’t know are keys…

But I will update it most likely tomorrow :handshake:

1 Like

here are the most used keys:

Keys = {
	["ESC"] = 322, ["F1"] = 288, ["F2"] = 289, ["F3"] = 170, ["F5"] = 166, ["F6"] = 167, ["F7"] = 168, ["F8"] = 169, ["F9"] = 56, ["F10"] = 57, 
	["~"] = 243, ["1"] = 157, ["2"] = 158, ["3"] = 160, ["4"] = 164, ["5"] = 165, ["6"] = 159, ["7"] = 161, ["8"] = 162, ["9"] = 163, ["-"] = 84, ["="] = 83, ["BACKSPACE"] = 177, 
	["TAB"] = 37, ["Q"] = 44, ["W"] = 32, ["E"] = 38, ["R"] = 45, ["T"] = 245, ["Y"] = 246, ["U"] = 303, ["P"] = 199, ["["] = 39, ["]"] = 40, ["ENTER"] = 18,
	["CAPS"] = 137, ["A"] = 34, ["S"] = 8, ["D"] = 9, ["F"] = 23, ["G"] = 47, ["H"] = 74, ["K"] = 311, ["L"] = 182,
	["LEFTSHIFT"] = 21, ["Z"] = 20, ["X"] = 73, ["C"] = 26, ["V"] = 0, ["B"] = 29, ["N"] = 249, ["M"] = 244, [","] = 82, ["."] = 81,
	["LEFTCTRL"] = 36, ["LEFTALT"] = 19, ["SPACE"] = 22, ["RIGHTCTRL"] = 70, 
	["HOME"] = 213, ["PAGEUP"] = 10, ["PAGEDOWN"] = 11, ["DELETE"] = 178,
	["LEFT"] = 174, ["RIGHT"] = 175, ["TOP"] = 27, ["DOWN"] = 173,
	["NENTER"] = 201, ["N4"] = 108, ["N5"] = 60, ["N6"] = 107, ["N+"] = 96, ["N-"] = 97, ["N7"] = 117, ["N8"] = 61, ["N9"] = 118
}
1 Like

isn’t that all the keyboard controls lol.

1 Like

Not to be rude, but it took me longer to watch the video of what this does then it would for me to manually make the files. lol I guess this could be useful if you’re making a bunch of resources in one day I suppose :man_shrugging:

2 Likes

I agree with that, i was like aight this is cool in the first instance, then i checked the clip, and looked at the code, to find out it doesn’t really do anything superb.

The __resource file is also, missing the manifestation not that that matters since were using fxmanifest.lua soon right?

1 Like

No dont do this please, just confusing and everyone dosent have it exatctly like this and the keys wont match up as expected.

New Update!

Update v.1.1 has been released! thanks for all suggestions!

Found any bugs? please share them! :wink:

1 Like

Hello there,
About vRP modules is not right, it should be like this:

Server

local Tunnel = module("vrp", "lib/Tunnel")
local Proxy = module("vrp", "lib/Proxy")

vRP = Proxy.getInterface("vRP")
vRPclient = Tunnel.getInterface("vRP","test_server")

Client

vRP = Proxy.getInterface("vRP") 

if you wanna add a tunnel btw server and client you would use the following:


Server

local Tunnel = module("vrp", "lib/Tunnel")
local Proxy = module("vrp", "lib/Proxy")

vRP = Proxy.getInterface("vRP")
vRPclient = Tunnel.getInterface("vRP","test_server")

vRPtest = {}
Tunnel.bindInterface("test_server",vRPtest )

Client

TestS = Tunnel.getInterface("test_server","test_server")
vRP = Proxy.getInterface("vRP")

Hope to help, keep your good work mate!

1 Like

Thanks for letting us know, but mention the correct version then aswell :stuck_out_tongue_winking_eye:
This is VRP1.

it does, you need to have correct keyboard layout :thinking:

And what happens if someone decides to change their keybinding to another key? :thinking:

Well, Anyways do whatever you prefer. I’m just saying that to help you down the road.

When creating a resource called “default” with everything you need inside and just copy / paste / rename it is so difficult… lol

1 Like

Works for all vRP 0.5 and 1.0

vrp2 does not use the same syntaxes for linking client/server and creating modules.

right