English Cs2d Lua Preprocessor (Jet) | Poll

19 replies
Goto Page
To the start Previous 1 Next To the start
Poll Poll
What do you thinks about Jet script project ?
Only registered users are allowed to vote
I will use it.
0.00% (0)
I will use it if you improve it.
50.00% (2)
I prefer to use normal lua.
50.00% (2)
4 votes cast
Up
_3yrus
User
Offline Off
Hello guys,
Its second time reviewers declined my upload, so i decided to share it with you to make it better and useful for cs2d coding, uploaded file adress : Jet Script.

Jet Script Code >


please just tell your idea for making this better. if its needed i completely change the code.
think of it , easy hooks, plugins , switching code without restart , custom hooks(to do), it would be great. maybe this project is bigger than I can do alone, so i need you.

i just want cs2d to advance, nothing else, so help me with this.

thanks in advance
edited 12×, last 01.08.17 01:37:08 pm
here we go !
31.07.17 05:21:16 pm
Up
Talented Doge
User
Offline Off
The code written in its logic seems to be clean, still it is not perfect.
Though I highly appreciate the efforts you have put into this framework.
31.07.17 05:30:21 pm
Up
Masea
Super User
Offline Off
user _3yrus has written:
Its second time reviewers remove my upload
They can't remove the files as far as I know.
Shit your pants: file cs2d Outlast II Mod (29) | Create your UI faster: CS2D UI Framework
31.07.17 05:35:34 pm
Up
Gaios
Security Supporter
Offline Off
OOP could be your friend. Contact me if you want to finish my framework.
31.07.17 05:36:56 pm
Up
Yates
Reviewer
Offline Off
user Masea has written:
They can't remove the files as far as I know.

Indeed we cannot.

The file is still reachable: file cs2d [_3yrus] Cs2d Jet Script V:1 (1)
31.07.17 06:04:30 pm
Up
_3yrus
User
Offline Off
user Masea has written:
user _3yrus has written:
Its second time reviewers remove my upload
They can't remove the files as far as I know.
you just noticed that part of my passage ?
here we go !
31.07.17 06:11:27 pm
Up
Avo
User
Offline Off
File reviewed negatively can still be accessed at author's profile.

@topic: I think you should try something different, your code isn't bad, but I don't think something like your Jet preproccesor is what we really need for CS2D scripting.
Trust me, I'm an engineer | user DC approved file cs2d Super extra mod for CS2D (64), yeah!
31.07.17 06:12:37 pm
Up
Bowlinghead
User
Offline Off
What about some kind of object orientated classes with methods, variables and constructor.
Similiar to:
Share time limited free games here
31.07.17 06:16:32 pm
Up
_3yrus
User
Offline Off
user Bowlinghead has written:
What about some kind of object orientated classes with methods, variables and constructor.
Similiar to:
i did't get u, sorry.
here we go !
31.07.17 06:17:58 pm
Up
Talented Doge
User
Offline Off
I would pretty much like to see something like this:

Code:
1
2
3
a++
a+=1
a*=1
31.07.17 06:30:23 pm
Up
Ajmin
User
Offline Off
Why because experienced coders will never even think about using your lua processor while newbies wont understand a thing about your lua processor or at least about lua. They also got a less varieties of examples for them.
so inorder to count you will have to come up with something really useful and unique.
31.07.17 07:55:25 pm
Up
_3yrus
User
Offline Off
user Talented Doge has written:
I would pretty much like to see something like this:

Code:
1
2
3
a++
a+=1
a*=1

added to my do to list, thanks.
--------------------------------------
guys whats ur idea about this hooks syntax :
Code:
1
2
3
4
5
6
7
8
9
On:say id,txt {

}

or 

On:say {

}
edited 2×, last 01.08.17 11:11:55 am
here we go !
01.08.17 11:23:55 am
Up
Masea
Super User
Offline Off
user _3yrus has written:
guys whats ur idea about this hooks syntax :
Code:
1
2
3
4
5
6
7
8
9
On:say id,txt {

}

or 

On:say {

}
Why you do not tell us? I honestly don't get why you waste your time with making hooks usable in a different way. And I don't know where would it help me at. Fewer lines? Not really. That just saves like 15-20~ letter and that's nothing.

Don't get me wrong, I admire and see the effort you are trying to put. However, if it can't be done, then do anything but it.
Shit your pants: file cs2d Outlast II Mod (29) | Create your UI faster: CS2D UI Framework
01.08.17 01:08:36 pm
Up
_3yrus
User
Offline Off
@user Masea:
you mean file File does not exist (17461) is a useful effort and file cs2d [_3yrus] Cs2d Jet Script V:1 (1) is useless (absolutely i admire your effort)
here we go !
01.08.17 02:22:15 pm
Up
Yates
Reviewer
Offline Off
This is my take on how I would like to see a shorter version of hooks:
Code:
1
2
3
@<hook> (<params>) {
     -- code
}

(Athook, get it? 10/10)


Example:
Code:
1
2
3
@say (id, text) {
     -- code
}


To me this seems the most clean and logical way of doing it. The problem is it doesn't look like normal Lua, and the curly brackets are really out of place.

Would I use it? Dunno, probably not - unless a lot of people start using it and there is syntax configuration written for my IDE of choice.
01.08.17 02:32:06 pm
Up
_3yrus
User
Offline Off
@user Yates: what if jet script create an normal lua output ? compiling .jet.lua to .lua instead of running the code.
i mean u just write script in for of jet , and then it save a file as .lua that contain ur normal lua, then u can use it anywhere.
here we go !
01.08.17 02:43:53 pm
Up
Yates
Reviewer
Offline Off
@user _3yrus: I don't see the point in that unless it creates a lot of benefits that normal Lua does not possess.
01.08.17 02:44:59 pm
Up
Gaios
Security Supporter
Offline Off
If you will rebuild Lua to C++ and PHP style, I will love you.
01.08.17 07:11:35 pm
Up
sheeL
User
Offline Off
I'll not use it, but I really appreciate your script engine. Keep working!
01.08.17 07:38:23 pm
Up
Bowlinghead
User
Offline Off
user _3yrus has written:
user Bowlinghead has written:
What about some kind of object orientated classes with methods, variables and constructor.
Similiar to:
i did't get u, sorry.


Dont you know UML (I learned it in school)? This.
Object orientated classes are like tables in lua. But way more organized.
Explanation >
Share time limited free games here
To the start Previous 1 Next To the start