PtokaX forum

Stuff => Offtopic => Topic started by: c h i l l a on 06 January, 2004, 10:59:55

Title: to compile or not to compile
Post by: c h i l l a on 06 January, 2004, 10:59:55
I think compiled scripts, suck, I mean where is the spirit, of sharing ideas, sharing knowledge...
Better we all start compiling our scripts, so we don't have to fear, that someone will be inspired by ones script, and use ones idea, for a greater better script.
Title:
Post by: Optimus on 06 January, 2004, 12:57:53
Chilla m8, you can have mine if you want to?  :D
Title:
Post by: kepp on 06 January, 2004, 13:22:02
Yep... I don't understand why either... ?

I can make the worst bot / script ever... compile it so no-one can see how it's built... otherwise, why don't share the full script with others..
Title:
Post by: SaintSinner on 06 January, 2004, 13:37:25
I agree,
I dont like it either.
Title:
Post by: Modul4 on 06 January, 2004, 13:39:34
ptokax whith compiled script = yhub,and that is faster and much better
Title:
Post by: NightLitch on 06 January, 2004, 13:42:53
I agree to.

But My big Master I don't know if I want you guys to see it...

Its really messy luckely I can find my way in it... :-p

But it will come out... just a couple of big bugs left...

but to the subject, What is the idea to compile and sharing it with
others...

Yeah if the script now is "bug free" and you are not a scripter
then maybe...

But we the one's that seek ideas and knowlege, won't get it from
compiled scripts...

(hehe a little messy text to)  :-)

have a good one yall
Title:
Post by: Optimus on 06 January, 2004, 13:45:29
QuoteI can make the worst bot / script ever... compile it so no-one can see how it's built

Silly argument, i think your talking about your self. lol
Title:
Post by: pHaTTy on 06 January, 2004, 13:52:45
well when i first started i would have agreed with chilla, but long time changed that and there is many reasons for it, set aside that it is effiecent, but one of the big points is that people are just to lazy, this forum is to ask questions and to get help, not to copy and paste code, its just lazy, it can be said that lua can die for ptokax when there is not enough scripters, i have also talked about the same thing with another scripter, i say no name but you's know him very well....but like i said...that is one of the bigger reasons.....

if someone wants to know how to spin the reels on my bot, then they need to not be lazy and ask, its simple to ask a question, but everyone has there opinion.....
Title:
Post by: MrZ on 06 January, 2004, 14:05:44
Hia:))

Want my opinion?,,, hehe il give it to u anyway :))

Share the script uncompiled WITH the compilator and a batchfile that does the jobb.
That way you have the best of both, we can do mods ourself and the script is effiecent.

Skrolster did that once, i liked the way.

btw, still have his  luac.exe and batch file

Z ya
Title:
Post by: BlazeXxX on 06 January, 2004, 14:07:20
I sometimes disagree with Compiling and at times i feel its the way it shud be.

Reasons for Compiling:

1) ppl modify and remove credits most of the time
2) They mess it up and come back asking stupid Q
3) Better, Secure

Reasons for the UnCompiled Version:

1) I can take bits and pieces and learn from it
2) I can do the small changes that i might want, than bugging the org scripter
3) Always customisable

I prefer Robocop and Gekko to be compiled versions, since they are awesome. If a scripter wants to take the idea from those packages, they can ask the scripter for the source, like i did with opti.

No point of giving the uncompiled to some LUA noob , who wud mess the script up and come back to us and give us headache.
Title:
Post by: kepp on 06 January, 2004, 14:12:45
QuoteOriginally posted by Optimus
QuoteI can make the worst bot / script ever... compile it so no-one can see how it's built

Silly argument, i think your talking about your self. lol

Why would that be silly...?

2: I may not know the Language very well, But atleast im trying

What i mean is, I know you are a great scripter, No Doubt.
But other scripters can't see how you're thinking, They can't come up with better solutions on a task, You've have probably heard that 2 cooks on one soup is not so very well, while on the other hand 2-3 scripters on a script only can turn out to be good.

This is my opinion, I also agree with Phatty that many people are lazy.
Title:
Post by: MrZ on 06 January, 2004, 14:14:14
We will keep being NOOBS if you dont let us look and understand.

By sharing your knowledge you will keep the LUA scripting alive!!

The best ive seen is "someone" that told us, after a req,,, "I did change this and this.." and he pasted the line.

I take my hat of for that person :))

Z ya
Title:
Post by: kepp on 06 January, 2004, 14:15:54
^^ HOYA :D
Title:
Post by: pHaTTy on 06 January, 2004, 14:19:29
well there you have it, lazy, no offence to no one, but alot of ppl are lazy, they only want the code to mess with it, tell me some good reasons why we shud give you the code, instead of asking how something is done?
Title:
Post by: pHaTTy on 06 January, 2004, 14:23:31
For example, the How-To's i wrote ppl may use them, but all they are doing is copying and pasting, they were original ment so you can understand the code, and then write it yourselves, but ppl cut and paste, altho they do ok as ppl ask questions, maybe i shud just goto talking about it, and let all doobs write it, and then they can learn to fix there mistakes instead of leaving them and not realising

alot of ppl were the same, when i first kicked off, if Guibs had not pushed me to use forum, i probably would still be noob, guibs used to write little bits of code, but he got sick and said ask in forum and ill help ;)

after that i got very good answers from scripters, even if i did not know such langages as vb, c++ etc, i think i still wud have had this amazing head start :)

hope i get my point across
Title:
Post by: BlazeXxX on 06 January, 2004, 14:29:11
True point Phatty ! I know ppl who just cut and paste and call the script as their own ones.. No way they learning i agree on that. But like MrZ said, it will be good to release uncompiled version, while there are only countable no of ppl who is scripting for LUA in this board.

I came here without no knowledge of LUA and a full noob to ptokax, but now i can modify and rewrite the scripts to my wish or to my needs.. Its all cuz i cud see the example codes.. But for the past months , i hardly get to see main package's codes  and learn from it.

It would be better for the future of LUA board to bring more scripters than reducing them. Just a thought.
Title:
Post by: plop on 06 January, 2004, 14:32:40
QuoteOriginally posted by (uk-kingdom)pH?tt?
well when i first started i would have agreed with chilla, but long time changed that and there is many reasons for it, set aside that it is effiecent, but one of the big points is that people are just to lazy, this forum is to ask questions and to get help, not to copy and paste code, its just lazy, it can be said that lua can die for ptokax when there is not enough scripters, i have also talked about the same thing with another scripter, i say no name but you's know him very well....but like i said...that is one of the bigger reasons.....

if someone wants to know how to spin the reels on my bot, then they need to not be lazy and ask, its simple to ask a question, but everyone has there opinion.....
i agree for 120%, you don't learn from copy/paste.
you learn by trail and error.
i hate it when some1 gives me a straigth answer, i want hints so i not only learn the correct way but also the bad way's and why it is a bad or good way 2 do so.
this simply means i learn 3x as much then by getting it on a silver plate.
like they say, you learn from your mistakes so make as much mistakes as posible.
and a.i. whill be compiled now and when public, many of the small scripts i post here are straigth stripped things from it.
just i don't want some1 messing it up, it has it's own personalety and i want 2 keep it that way.
for blazexxx point number 1, i allready seen my userinfo bot come by where the credits were stripped and that sucks big time.
took me a couple day's back then 2 make it, seeing it like that hurts.
and finaly, sharing knowledge is more then sharing sources.

plop
Title:
Post by: kepp on 06 January, 2004, 14:34:40
QuoteOriginally posted by BlazeXxX

Reasons for Compiling:

1) ppl modify and remove credits most of the time
2) They mess it up and come back asking stupid Q
3) Better, Secure

Reasons for the UnCompiled Version:

1) I can take bits and pieces and learn from it
2) I can do the small changes that i might want, than bugging the org scripter
3) Always customisable


Like BlazeXxX explained... There are ofcorse People that will mess it up, Come to the forums and ask why they can't get it to work, And i understand that must be a pain.

A Compiled script has its good things, while a uncompiled also has its good things, 50 / 50

No matter what, Let's say you release another bot Compiled, You will get questions how things are done.

If you release a bot which is not Compiled you will get questions about things they have messed up.
So it's 50 / 50

OK, Sure i understand, Credits can be removed and so on, So it's up to the Owner of the script to decide weather it's suposed to be Compiled / uncompiled. :)
Title:
Post by: BlazeXxX on 06 January, 2004, 14:48:13
Hmm isnt it possible to script like this?

Compile the .lua file which only has credit information and leave the rest as uncompiled?

Like lets say we got 5 lua files and one of them is only for credits.

Will it work that way? if it is, then the scripter will still have the credits he shud get and the learners can learn from the codes.

I am pointing out to opti abt Spudman's request few weeks back. I cud have helped with his little adjustment but since the source code is compiled, i was not able to.

This will surely reduce the pain of scripters who has to modify for wat the user is asking always.
Title:
Post by: pHaTTy on 06 January, 2004, 14:54:02
no because ppl can just remove the dofile for credits
Title:
Post by: Optimus on 06 January, 2004, 14:57:02
Well i agree on the point? The more scripters the better.

Because lately there ain't that much scripters as it use tobe many good scripters are no longer with us any more.

lately me haven't seen anything new or interresting to learn or what ever.

Me miss Rabid and others  ;)

* But i like the Challenge me get better from that... It takes me further then i can think of.
Title:
Post by: c h i l l a on 06 January, 2004, 15:09:32
thanks for the many replies, and for the ideas why to compile and why not.

I understand that one rellay gets pissed off, when someone sees ones script, but he isn't mentioned in it anymore, since we all do this for free, all we want is our name in it, right.
To those who only copy paste, well, they mess things up, and sooner or later they have to dig into it...
I know we humans are all lazy, so if we get it on a  silver plate, then we will use it. But these people won't come far.
So what I am saying is, I wouldn't mind anybody messing a script of mine... I know how the original looks like, and I am the only who will be able to put it on my site ( I hope ). Well so when they ask about errors then one finds out quite fast if it was ones own script or not.
If not then don't help em'.

But I like uncompiled scripts, because I also like to know what the script does. See if I take a game bot, for exsample, and I find things that I don't like, like messages on restart scripts, or on user disconnects, I will modify it. but I wouldn't remove a command like  +gameinfo  where one can see the author and such.

So its up to us, to share, what we have got, or to let some guys, block our progress in making better scripts.
Because no one can say, he would have learned as much till now, if all scripts where in compiled version.
When I first started with LUA scrpting, I couldn't even cut and paste. I didn't even understand a non compiled script, now I understand the non compiled ones, and now I need to find ways to see the compiled ones.

Another thing... I know compiled scripts are faster.. but dunno we are talking about a few hundred processor ticks, I know that if ptaczek would built a non supporting script Hub, it would be the fastest of all. So no comparison to yhub please, it's another, lets say Hubphilosophy.
Title:
Post by: c h i l l a on 06 January, 2004, 15:15:55
blazeXxX,  nice idea,  I thaugth about it a second.. but it would be a little work,

what about having 2 files
one is the Lua file  where you have all your, Ptokax functions in it, and the second is your ad script file where you have  your extra functions in it.
this way you could compile the Lua code, and leave the other readable.
But its some work. And I actualy want the script as open as can be.
So I guess... we will take different directions, some will take the comipled, and other the open.
My phylosophy sorta, is, If I can help someone make a better script, out of a open code, then I already don't even care about those who just take it and mess with it. And thise who take the messed up version, well I hope they become unhappy with it.
Title:
Post by: Modul4 on 06 January, 2004, 17:11:09
is there still a hub soft called ptokax ??
is a long time there was a hubsoft that worked
Title:
Post by: BlazeXxX on 06 January, 2004, 18:02:01
Modul4,
I think u are in the wrong place ! If you don't remember Ptokax, why do u need to be in an LUA forum reading this thread?

Pls don't post irrelevant stuffs in here and show that u not using ptokax.
Title:
Post by: SaintSinner on 06 January, 2004, 18:34:33
seems to be a heated topic,
i understand both sides of the argument

but i guess i am leaning more towards
not compiling

why
becouse i cant read the code, i like to look at it and see how it works,
 and what if and now this is a BIG WHAT IF,
lets say a angry scripter comes here and releases a
compiled script, with malicious code, no way of telling
of his malicious intent with a compiled script.
and not to say any of you guys will do it, I think you
guys are kewl. but something to think about.
Title:
Post by: c h i l l a on 06 January, 2004, 19:26:41
well, I think its up to all of us.
I will never give out a compiled script,  well maybe yes, but only as add..  for those who like compiled better.

I see compiling a little like, consoring a script. And from my point of view censoring hasn't taken us far till now.

We could start a test..
One forum with open scripts, and one with closed.
And see whitch one will have more progress.

But well its up to oneself,

Some wize words.

"Your mind is like a parachute it has to be open to work"

you can interprete it as you want, in my case I replaced the word mind with community.
Title:
Post by: plop on 06 January, 2004, 20:24:59
QuoteOriginally posted by c h i l l a
Some wize words.

"Your mind is like a parachute it has to be open to work"

you can interprete it as you want, in my case I replaced the word mind with community.
some more wise words.

programming is 20% knowledge, 80% creativety.

if you have a couple brainy ppl with no creativety working on a open source project they can easely be beaten by a couple creative ppl working on a closed source project.
same can happen for a group competing with a loner, the group can work faster but extra troubles can appear on conflicts on pieces from the other persons.
a loner mostly knows what he done and where so again he can win.
it's all like a stock market, can go everyway any moment.
i used channelbot 0.9 as base for my a.i. but more then 80% is or rewriten or writen from scratchs (freeslots/whois isn't done by me).
i like a puzzle, mostly the hub owners/ops/users tell me an idea and i want 2 find a way 2 do it myself.
and everytime i try 2 do it different.
and in the mean time i still have an open parachute (just like all the other scripters who compile there script) by helping others with the problems or making standalone scripts.
you might not be able 2 see the full source of a.i. but still by putting all scripts 2gether i posted here you can see all the tricks i use.
dc is a communety of sharing indeed but compiling or not, sharing still happens.
for me a.i. is and whill be the only compiled only script.

plop
Title:
Post by: pHaTTy on 06 January, 2004, 21:05:18
well, heres one for you, which is more sucessfull

Microsoft windows, or Linux

pretty simple Windows, and why, because they stick to themselves, if other companies started writing windows and releasing it, it would be chaos, and they are not open source.....
Title:
Post by: NotRabidWombat on 06 January, 2004, 21:17:18
WOW. On what basis are you assuming Windows is more successful than Linux (or other nix distros)? Look at the major servers online with almost 100% uptime. They are primarily a BSD distro running apache. Both are open source and free.

Compiling a lua script does not add any security to it. It's still pretty easy to reverse engineer it and make alterations. In fact, the lua compiler is open source making it easier to reverse ;-). The only benifit to compiling lua is speed.

-NotRabidWombat
Title:
Post by: pHaTTy on 06 January, 2004, 21:22:33
well i prefere linux, but windows has been the most longest sucessfull OS running and u know it ;)

the reason really is because its newbie friendly...
Title:
Post by: SaintSinner on 06 January, 2004, 21:25:59
QuoteOriginally posted by (uk-kingdom)pH?tt?
well, heres one for you, which is more sucessfull

Microsoft windows, or Linux

pretty simple Windows, and why, because they stick to themselves, if other companies started writing windows and releasing it, it would be chaos, and they are not open source.....

but you measure sucess as a monetary thing
will you start selling scripts...lol
who would you rather have programing for you
shady windowz
or
all out there linux
more people use windows becouse they have to
i use windows at work becouse i have to
but when i get home
i use redhat or suse linux
only one cpu has winblows
becouse nix is better and more stable
more and more people are using linux and the numbers keep growing,
yes winblows is sucesfull in building its own destruction.
Title:
Post by: pHaTTy on 06 January, 2004, 21:28:33
yep i totally prefere linux like i said, but its just an example ;)
Title:
Post by: pHaTTy on 06 January, 2004, 21:32:07
another example is ptokax, scripters of some scripts dont want there script to be taken and sent in different directions, hence i release a lot of script in open source apart from Gekko and BaNDiT, but i hvae quite a few different reasons for this, but if someone wants to know how todo somthing in that script i will help and show them, its easier to be shown how something works then being given some code....and you also learn more ;)

so anyways ptokax, and open dchub, opendchub is open source of course, and it aint very popular, it there for ppl to work on but still not, ptokax is closed, and its powerful and lotsa peeps use it, sanp with YHub....it is also closed but very well known and used.....
Title:
Post by: NotRabidWombat on 07 January, 2004, 00:32:31
What about DC++? Do you consider that popular? How about Netscape? Opera? GAIM? Privoxy?  MySQL? PHP? Even lua is open source. I could go on and on with open source projects and their success stories.

The fact remains... compiling lua script does not secure it from being *stolen* (it's hard to steal what someone gives away for free). Compiling lua script will only make it faster.

-NotRabidWombat
Title:
Post by: BlazeXxX on 07 January, 2004, 00:36:12
Phew a hot discussion going on here  :O

OK lets release compiled versions of scripts like others doing now and lets look in the future..

Lets say for e.g. Optimus,plop,phatty and other countable scripts who are here leaves after a period of time. Where would u be able to continue the work of others left and get the ideas from them and carry on from it to keep lua alive?

If Amutex compiled all of his scripts and posted in forum and said Good bye to everyone, would it be useful for others to learn from ?

If ptaczek leave us with the current TD 4 version , which is not widely used.. wouldn't another person with some knowledge want to carry on from where he left ?

If DC++ was taken that way, where would u see oDC++, DCK++, PDC++,RevConnect? and so on?

We are not asking all scripters to give up their rights, but i am sure if someone thinks how to compile, they can surely think how to protect credits within a script package?

I only disagree of uncompiled version cuz ppl can remove the credits, but if someone does like i said find a way to make the credits chaning impossible?

Phatty mentioned that they can remove the DoFiles? What if u have some sort of setting within that file which requires to run this whole file?

Like for programs, we got Serial code which authorises user?

Something like
Activatekey=8HS7DT5AS5TD78HST845
Author="BlazeX"

So when someone runs a script and they remove the Dofile like phatty said, are they goign to go thru the whole lines and find where its requiring activate key and remove it and use it?

If someone can do that, they will surely be someone who can program. So out of 100 it will be only 1 or 2 who wud go this far.

Please consider this type of idea in order to keep Lua and ptokax alive and much intresting.
Title:
Post by: kepp on 07 January, 2004, 00:45:05
^^
From what i've heard Compiling scripts only makes it slower... but hey...  that's only what i've heard!
Title:
Post by: NotRabidWombat on 07 January, 2004, 00:47:56
No. Compiling will make Lua scripts run faster. It will not affect memory usage at all.

It's unlikely a serial will protect a script. I've gone and tried to find a way to secure scripts for lua but have found nothing (you would need the module support of Lua 5.0).

Guys, these are just scripts... for a hub software. Don't get to worried if credits get removed. It's happened to all of us ;-)

-NotRabidWombat
Title:
Post by: c h i l l a on 07 January, 2004, 00:59:09
true...  once one takes things to serious, one get pissed oof too fast, looses track of the aim, and creativity, and plop,
as I said, we need to do the test, one forum open other closed (compiled),
then we'll see.

so I think i will get a reverse compiler for LUA 4.0 and thats it..

other thing how much faster is a lets say big lua script for ptokax,  around 100kb.
Title:
Post by: pHaTTy on 07 January, 2004, 14:21:53
well, for those that are willing to r4everse compile etc etc, must have knowledge of lua, and most ppl that remove credits and so on, have not much knowledge of lua, so if you willing todo that, then be my guest but please w8 until the actually release and not beta releases....

for example, my new gamebot, i have many things to add, i cud have just w8ed to release it, then done so, or i could have done what i did, and let ppl have a sneak preview, if i go spend all my time adding something and someone else has done it b4 me, i will get real pissed off at the fact ive been wasting my time......

-phatty
Title:
Post by: pHaTTy on 07 January, 2004, 14:25:07
btw i never did say i wud not ever release source code for this script, if you read thru first posts you will see it was only beta, so...... i noticed this thread only appeared since i posted that script, maybe its over greed, or just pure laziness, you all want to take and copy code, instead of asking how todo something, really...how simple is it to ask....."how did you make it spin the reels?" or something like that, you will find out so much more as you will get bits of that code, and get to hear of what i went thru writing it etc etc
Title:
Post by: pHaTTy on 07 January, 2004, 14:28:59
btw i put it down to laziness, someone on my network, used to try write scripts, until he found this forum, then he got lazy and stopped because he thought whats the point if the code is copy and paste, so if u deeply look at it, we are losing scripters, not gaining them, i think you all shud keep to yourselves, not complain for what you get, if you want the code to learn from then ask them, if they say sure there ya go m8, or if they say, no way, then thats not a problem, just leave them alone, like i said in a earlier post, i was talking with guibs about the same thing, i honestly can see lua going down hill when there a few scripters left, and a load of lazy asses sitting copying and pasting code.........

pffff
Title:
Post by: pHaTTy on 07 January, 2004, 14:32:08
and one more thing cause i aint got time for you sort of ppl, beta and uncooked are similar,

you use the code from beta it can turn out bad, you eat roar food then you'll end up bad, w8 until its fully cooked b4 eating it.........
Title:
Post by: pHaTTy on 07 January, 2004, 14:36:42
and one more thing cause i aint got time for you sort of ppl, beta and uncooked are similar,

you use the code from beta it can turn out bad, you eat roar food then you'll end up bad, w8 until its fully cooked b4 eating it.........

and chilla, thought you were a calm sort of guy, but now i see the oposite side, not just him but i can see greed in alot of these posts, like as if they NEED THE CODE NOW, if some comes to me and says they need something thats not the ned of the world, then ill telll them what they can go do......$?$?....if someone comes and asks me can i have then thats a complete differ story and chilla if you are willing to go decompile it, i can see more greed then the lot put together, and Rabid i can go on for ever too with loads of sucessfull compiled projects ;)

if you lot learn to w8, then maybe you would learn more, but you are just like a angry mob, btw, i told u long time ago, when i leave i would be leaving you all something, have you ever thought what it was, to tell u the truth i think i might not now, i think ill just let you all struggle to decompile it, as its pretty much pissed me off reading thru these
Title:
Post by: c h i l l a on 07 January, 2004, 14:48:16
phatty, me intends are not evil, I respect the work,
really, and I was just a little upset, I have nor reverse compiler...  would like one though, and your game scripts its really cool...
the idea, but it can be coded by anyone who has a little knowledge, dunno I could, but I like yours, so why should i, and removing credits isn't my type.
so no worries.

I am scripter too, I don't want my credits to be removed.
Title:
Post by: pHaTTy on 07 January, 2004, 14:51:47
but you if you read back, and ppl muct be patient, the whole point of it being compiled was so once i finished modding it to death, then you wud all get a nice suprise with soem nice code to try make better, and learn from, but i think ppl just go to far, and i see i do not belong here afterall, ppl dont go asking for alient versus predator to be open source do they...thats where i belong, gaming, and i always have, i help, as much as i can, if i get questions about a function in a game, i will help, but releasing the source is giving them an easy task, honestly its not always about the credits, and yes its nice to have open source, i have released loads of open source projects, but i do not release open source beta.....
Title:
Post by: c h i l l a on 07 January, 2004, 14:52:43
now i read it all, you think its all about your script, well..


okey, see i found a few compiled scripts lately, and then yours...  didn't excpect you to give out a compopiled ever, that why I got  alittle pissed,  and started this thread, but I see there are some reasons, why, I mean okey you want your game bot, okey it can be reversed but only by a few, so I guess you have yours.

but I still think, that open is nicer, and I think those who copy paste get lazy well, we humans all are, but only those who can do will be able to go on, and bring to code what is in their heads.
Title:
Post by: c h i l l a on 07 January, 2004, 14:59:54
I mean your game bot is really good. And I'd take it also if its compiled ;).

And as rabid says, lets just don't take it too serious, I will respect your needs, and won't bother, I should know that yo have your reasons...

but maybe still this thread will still persuade that open code is better...

I mean it can even happen that people read the code see what can be done better and post a solution... dunno.

But I can't persuade everybody to do it, and I won't.
Its just my feeling, when people give out free things its nice, and open is nicer, I mean this world is full of censoring and shit, well.. hope you get me.
Title:
Post by: Optimus on 07 January, 2004, 15:07:55
mm, Compiling a Package is so far, but Compiling every single script goes to far.. Yups

If i speak for me self i will only Compile my Package all other scripts i make/made or whatever i do it will be Uncompiled...

I think there is some compiling Fever inhere!!!

Yups, yups

L8trs Opti
Title:
Post by: SaintSinner on 07 January, 2004, 16:01:27
scripters want their credits protected and that is ok by me and the rest of us,
and i think the compiling could be done on the BIGGER scripts for speeds sake,  (if it really does help).
but how about compile the scripts but also add a text file with the code with some functions missing so its cant be ran, that way really interested scripters will ask how that was done.
This way credits are protected,
budding scripters can learn from your code,
and everyone is happy again.
Title:
Post by: BlazeXxX on 07 January, 2004, 16:38:09
Opti, Thx for agreeing the fact that there is a fever of compiling going on here...

If everyone starts compiling all their scripts, are we gonan get anything from it? Its a simple NO.

Phatty: I understand what u are saying, non of is asking to release uncompiled version of your scripts all the time.. but wen someone wants to learn isn't there a way of releasing uncompiled version after sometime ?

Like lets say, Robocop 5.0b is released as compiled version one week or two weeks back.. When opti release the next version, if he is satisfied that he made some major changes to this version of Robocop.. He might as well consider releasing the uncompiled version of 5.0b ?

Even if you guys release the uncompiled version late, or atleast give it to the ppl who wants to learn from it.. e.g. Chilla

If ChannelBot was compiled right at start, i bet there won't be any of those script packages available now...

I seen many features , or exact same features in most of the script packages as channelbot.. How did that happen ? If Guibs compiled it , would we be able to get ideas from his scripts?

And You guys gotta see that we don't have much of scripters here right now..

We missing major scripters.. Some names here: aMutex,Skrollster, RabidWombat,Piglja,KlownietKlowniet and many others..

They did a great work for LUA and ptokax and we all know their ability.. If they all thought abt these compiling every script they make.. It wudn't have got us so far to the success.

When someone requests for scripts, i search thru my colletion of scripts nowdays and see if its there.. If i find smilar one, i wud want to modify it and fulfill that user's request.

I am scared in 1 year time, when i try to complete someone's request.. I wud find all scripts in my collection as compiled ones.. cuz thats how its going rite now..

Please consider the Advantages and Disadvantages of compiling.

Hope the LUA scripters recognise this is going to be a major pbm in future wen its comes to less scripters...
Title:
Post by: pHaTTy on 07 January, 2004, 16:49:03
well for the record, gekko v2 upwards have always been wrote fromm scratch, i do not copy and paste unless i have asked in a thread, i do not see the point, like other day i signed up at a forum just to ask one question for direct x, once i got an answer, i left happy, altho i cud have simple downloaded some source and found it myself, but its not the same as learning ;)
Title:
Post by: [NL]Pur on 27 January, 2004, 12:06:19
i'm been very long time at this forum,

and i don't thing those ppl who are now saying that we should compile script have ever learnt how to script, if scripters earlier compiled there scripts.

The best way of learning scripting is read scripts from others, hear others how you can optimize them, improve them etc.

I think main idea of lua forum is too learn lua and have a good time.

And credits, you think you ever win a prize with your lua script or make money of it.  Credits are too respected you don't copy'en'paste a whole script and put your name on it. But i think every scripts using functions that are written by others, and some functions we just forgotten by whom they are written.

/Pur
Title:
Post by: AlwaysConnected on 27 January, 2004, 13:28:02
i noticed that complied scripts are working faster
and takes less cpu and mem of the main

but indead open scripts are better

but the builder of the scripts can do whit it what he wants
Title:
Post by: ((UKSN))shad_dow on 27 January, 2004, 14:01:29
hello all

to those whoknow me on here , i newbee .. and yse i do ask about bits of scripts , even learn alot for the How to.. section :)

but i agree with boths sides .. here i trie to explaian from a newbee (which i am)

yes open code is better if ur willing to learn , i like to ask for code esplicay if the systex errors in like xxx = nil ,etc

yes i like compiled scripts too , cos yes ur protecting ya code and creadits .....

as for cut & paste from my point of veiw id very hard as its not easy just to cut say Kick fuction from 1 script and get it to work on with another script , reason way becouse u all use diffent strsub arreys , if it were that easy to cut and paste then it would be easy to put 10 scripts togher which it aint and we have a fourm full of scripters..

every scripter here as a style and diffent way of codeing lua , which i prefer over VB anyday..

now to the point of this post , yes it would be nice if u sayare at versio 4 of ur bt and its complied , to relse version 1s code ,but if u i rather have some bits missing from it that when ran i can read the stsex and try and work out why it dont work ,then after many hrs i go ask in here for help , and as for copyrights , i all ways keep them in ,now that i know what i have to do with the copyrights (big thx for the scripters in here who point that bit out to me)

basicly if u wont ppl like me to learn then give us open code from very earily versions of ur scripts (whith bits missing so we can @ least try and learn our selfs before having to ask)

pps . sorry if thsi is long winded and mis-spelt , but thats how i see from being a newbee , all we wont is help were needed

pps .. sorry if i offend any one here , dident mean too
Title:
Post by: [NL]Pur on 27 January, 2004, 14:35:40
Quotei noticed that complied scripts are working faster
and takes less cpu and mem of the main

but indead open scripts are better

but the builder of the scripts can do whit it what he wants

well yes it's a bit faster and yes the builder can do what ever he wants. I'm just sharing my view, and why i have it.

Maby some ppl will change, by giving both compiled and sourcecode too the board.

I come here for the source code not for the compiled scripts :P
Title:
Post by: NotRabidWombat on 27 January, 2004, 15:34:44
Brrrr... why don't you people have your cake and eat it too. Take all of your open source scripts that you downloaded and compile them when you want to use them! Here's a link the the lua 4.0x compiler I compiled a while back (only for Windows). http://students.dwc.edu/cbarber/luac.exe. Perhaps someone else can host it on some scripting page.

NOTE: The scripts must still have the lua file extension. I recommend something like scriptname-c.lua.

-NotRabidWombat
Title:
Post by: plop on 27 January, 2004, 17:11:42
QuoteOriginally posted by NotRabidWombat
Here's a link the the lua 4.0x compiler I compiled a while back (only for Windows). http://students.dwc.edu/cbarber/luac.exe. Perhaps someone else can host it on some scripting page.

NOTE: The scripts must still have the lua file extension. I recommend something like scriptname-c.lua.

-NotRabidWombat
the scripts archive maby ??
optimus go 2 work. lol

plop
Title:
Post by: ((UKSN))shad_dow on 27 January, 2004, 20:14:56
QuoteFor example, the How-To's i wrote ppl may use them, but all they are doing is copying and pasting, they were original ment so you can understand the code, and then write it yourselves, but ppl cut and paste, altho they do ok as ppl ask questions, maybe i shud just goto talking about it, and let all doobs write it, and then they can learn to fix there mistakes instead of leaving them and not realising

yes and no phatty , i for 1 would rather have code of u lot that makes me check with ptokax for errors ,which makes think about sorting it , before comeing  and  asking ( as some of u know i do) ...

as for cut & paste if it were that easy how come there are not 5000 bots and 100 + scripters them ???????

look i dont wont to upset / flame or piss any one off , like i said way to do it when robocop 6 or mean machaine 5 is relesed as compiled , then i think its fair for the scripters to release the robocop 1 and mean machine 1 code as this will not have as much as the lastes version , and ppl like me can at least look and learn who u got from V1 to V6