PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: Exile on 08 January, 2005, 01:31:59

Title: Development of a secret Project (LUA Based Program :D)
Post by: Exile on 08 January, 2005, 01:31:59
I am currently developing a program with a few suprises built into it :D can't go into much detail as my girlfriend thinks its boring :) all I want people to do is pick out main functions in typical LUA scripts i.e.

Function Main()

Function DataArrival()

etc... anything anyone uses frequently, u'll like the suprise, and it will be downloadable as soon as i think theres enough in it to release, no point releasing a half hearted effort :P

Any special requests that are reasonable will be taken into consideration and may be added into the project :D

Truly,

Exile
Title:
Post by: ??????Hawk?????? on 08 January, 2005, 04:45:13
hehehe

QuoteAny special requests that are reasonable will be taken into consideration and may be added into the project :D

How can we Request anything for something we know Nothing about  ?(  ?(  ?(  ?(  ?(


Quotecan't go into much detail as my girlfriend thinks its boring


LOL
Title:
Post by: enema on 08 January, 2005, 07:37:28
Exile, have you ever made lua script before?
Title:
Post by: Tw?sT?d-d?v on 08 January, 2005, 09:46:18
mmmm.........maybe if u give us some idea into what sort of script you are working on then we might be able to request somthing!!!!!!!
Title:
Post by: Herodes on 08 January, 2005, 09:50:08
whatever that secret thingie is It is surely gonna need a Timer function ... look at the Ptx api for details ;)

ooh and pls tell us the details ...
Title:
Post by: Ubikk on 08 January, 2005, 10:10:00
I personally dont think it will be such a wonderfull script... it will probably be just like the others...  :rolleyes:
Title:
Post by: Herodes on 08 January, 2005, 13:08:04
Wrong reply ;)

He is talking about a LUA based program .. not a script ..

anyhow .. I dont know how you feel so comfortable discouraging ppl when you arent doing anything ..
Title: About my Project
Post by: Exile on 08 January, 2005, 14:27:45
I am not actually a LUA programmer myself. I am working on a LUA editor which should help LUA scripters when making Ptokax bots. All I need is a list of functions that are frequently used in Hub Bots such as...

function Main()

function DataArrival()

Etc...
Title: More...
Post by: Exile on 08 January, 2005, 14:29:19
Basically this program I am developing will cut down the time you spend typng scripts by quite a lot  8) I know I dont enjoy typing and there are a lot of other people that feel the same way :D
Title:
Post by: ??????Hawk?????? on 08 January, 2005, 15:06:14
hi m8  

you might want to take a look   HERE (http://czdcplusplus.no-ip.org/PtokaX/)

 :))
Title:
Post by: LiqUiD~TrolL on 08 January, 2005, 16:16:33
hmm i think it s great stuff , but is this gonna help a newbie in start fixing lua easyer??
Title:
Post by: NightLitch on 08 January, 2005, 18:05:33
So basiclly this is an atempt to build a stand-alone lua-program where you "customize" your own bot ???

With your functions ?

Am I right ???

/NL
Title:
Post by: piglja on 08 January, 2005, 19:15:41
If this will be done - I will say - great job;)
Title:
Post by: ??????Hawk?????? on 08 January, 2005, 19:43:53
sounds  like a great idea ..  especially if it will support the Lua 5   functions.. :))
Title: More Again...
Post by: Exile on 08 January, 2005, 21:23:58
My project is a LUA editor, which has functions which has buttons which inserts predefined text, which makes typing scripts take less time...thats basically it
Title:
Post by: kepp on 08 January, 2005, 21:29:52
Multi Document Interface?
Coloring?
Title: need to know more...
Post by: Exile on 08 January, 2005, 21:32:19
what sort of colouring? I have added a basic colour changing utility, black on white or white on black, my preference being the later as I find it easier to read white on black.

Multi document, u mean working on 2 documments at the same itme?

so like running 2 notepads?
Title:
Post by: Herodes on 08 January, 2005, 22:29:09
Check out SciTe, EditPlus, EmEditor, and many more other editors be4 you continue ... decide your route and define milestones ( major points of development ) in your project based on features of other editors you encouter and features that come up ...

SciTe also supports lua scripting amonsgt other thingies if I am not mistaken .. it is also open source ..

[*edit*] links to visit
Lua Users Wiki list of Editors ... (http://lua-users.org/wiki/LuaEditorSupport)

filtered ...
Title:
Post by: NightLitch on 08 January, 2005, 23:27:50
Ehmm... Your project sounds like my allready finished wxLua editor for Lua 4, Lua 5, PtokaX and bcdc++ programming. but it is still in beta stage until I have finished some things.

Now typhoon with others you understand why I want to be able to compile my wxLua into an func. .EXE

But Exile don't make my talk out stop you from doing your work, love to see it. Just as herodes said, check out the coloring for functions, comments, commands etc.

Cheers // NL
Title: Thanks...
Post by: Exile on 08 January, 2005, 23:48:42
I didn't actually know any of those editors existed Herodes, lol. I think I'm just going to keep this a personal project for a while, as the ones you have mentioned are a lot more advanced than the one I have started developing is...I will release when I think theres enough in it but atm its only basic. Theres a drop down box that has the main functions used in Ptokax bots i.e

function Main()
frmHub:RegBot(Botname)
function NewUserConnected(user)
etc...etc

when these are clicked, they automatically appear in the script that is being written, I've bin using it myself and I can verify that it shortens the time spent typing quite a lot :D, still don't think it's anywhere near ready even for a Beta release but it's moving on swiftly, I'm going to set this project aside for a while and get some more inspiration and ideas...for now I am working on Evil-Eye, my first full blown Ptokax hub bot, isn't going oto well atm as I only started learning LUA 2 days ago and haven't really got that far :| I'll post with problems for sure :P c ya around

Truly,

Exile
Title:
Post by: bastya_elvtars on 08 January, 2005, 23:51:04
make a toolbar with pop-up windows that get the variable.

for instance:

i click "Reg a bot"

then a window comes up, asking for botname, i enter "Johnny" or BotName

and it puts to cursor position:

frmHub:RegBot(BotName) or frmHub:RegBot("Johnny")
Title: Nice Idea...
Post by: Exile on 09 January, 2005, 02:54:18
was working on that, i managed to add it to the

function OpConnected() button making the () into anything you wanted i.e. (user) or (op)

working on the others now ;) nice idea :)

Truly,

Exile