Jump to content



Photo

AutoIt as a DLL


  • Please log in to reply
13 replies to this topic

#1 m0nk3yI3unz

m0nk3yI3unz

    Wayfarer

  • Active Members
  • Pip
  • 93 posts

Posted 03 December 2007 - 06:47 PM

I think it would be great if you could make autoit scripts into DLLs. I am currently working on an MMO with some friends, and I have been put in charge of the servers. Some of the commands that autoit uses are only compatible with other autoit features (mainly the TCP functions).

What Im trying to get at is that Autoit would be incredible if it could be turned into a DLL.


Just a thought.

-Monkey
Monkeh.







#2 Manadar

Manadar

    Taking a REST.

  • MVPs
  • 10,714 posts

Posted 03 December 2007 - 06:53 PM

I think it would be great if you could make autoit scripts into DLLs. I am currently working on an MMO with some friends, and I have been put in charge of the servers. Some of the commands that autoit uses are only compatible with other autoit features (mainly the TCP functions).

What Im trying to get at is that Autoit would be incredible if it could be turned into a DLL.


Just a thought.

-Monkey

AutoItX?

#3 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 03 December 2007 - 06:57 PM

AutoItX?

Furthermore, what do you mean by:
Some of the commands that autoit uses are only compatible with other autoit features (mainly the TCP functions).


#4 Manadar

Manadar

    Taking a REST.

  • MVPs
  • 10,714 posts

Posted 03 December 2007 - 07:01 PM

I think it would be great if you could make autoit scripts into DLLs. I am currently working on an MMO with some friends, and I have been put in charge of the servers. Some of the commands that autoit uses are only compatible with other autoit features (mainly the TCP functions).

Well, if you are going to write the servers.. What language are you going to use? You could write a server in a different language then the MMO.

If you think AutoIt would be the right language for the job, then just write this in AutoIt.. Otherwise, choose a different language that has tcp functions...

#5 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,716 posts

Posted 03 December 2007 - 07:02 PM

I think the OP is asking to compile to dll. It's a "too lazy to learn a compiled language" request.

#6 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,409 posts

Posted 03 December 2007 - 08:24 PM

Compile AU3 script into DLL is not possible because AutoIt is interpreted language (needs internal runtime module).

#7 m0nk3yI3unz

m0nk3yI3unz

    Wayfarer

  • Active Members
  • Pip
  • 93 posts

Posted 04 December 2007 - 03:54 AM

Hmm. Well okay then, what if I want a C# program or something to send messages to a port being listened upon using AutoIt? And how would the script interpret it?
Monkeh.

#8 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 04 December 2007 - 05:50 AM

Hmm. Well okay then, what if I want a C# program or something to send messages to a port being listened upon using AutoIt? And how would the script interpret it?

I don't know. That depends on how you format the data and how you choose to handle it. Because it is your responsibility.

Whether you want my honest opinion or not, here it is. You're in charge of the server? Don't deceive your friends any further. Tell them you're in over your head and ask for something simpler to do. You clearly don't have even a drop of the knowledge necessary to write a server. You clearly don't know even the most basic things about sockets.

#9 Manadar

Manadar

    Taking a REST.

  • MVPs
  • 10,714 posts

Posted 04 December 2007 - 09:04 AM

I don't know. That depends on how you format the data and how you choose to handle it. Because it is your responsibility.

Whether you want my honest opinion or not, here it is. You're in charge of the server? Don't deceive your friends any further. Tell them you're in over your head and ask for something simpler to do. You clearly don't have even a drop of the knowledge necessary to write a server. You clearly don't know even the most basic things about sockets.

Harsh words, but you are right. Writing a server is a big responsibility and comes along with a lot of planning-ahead. It is important that you know the database-model up ahead, or else you will have to rewrite huge parts of your server and trust me, that is true pain.

Edit: If you still want to go ahead with it, which I can understand.. You may want to start using some server-client examples by AutoIt Smith.. I started using those examples and worked my way up using databases and combining the two. That way, I am now able to write full server systems.. but it took me a lot, lot of time..

Edited by Manadar, 04 December 2007 - 09:06 AM.


#10 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,716 posts

Posted 04 December 2007 - 08:01 PM

I think understanding sockets should be the first step before even getting into data structure.

#11 m0nk3yI3unz

m0nk3yI3unz

    Wayfarer

  • Active Members
  • Pip
  • 93 posts

Posted 04 December 2007 - 10:39 PM

I know a lot about sockets. I am on the networking team at my technical charter school. I just dont know how AutoIt takes in the message. Is there any special formatting that it uses? Im sorry I didn't program the AutoIt language.... sheesh.

I don't know. That depends on how you format the data and how you choose to handle it. Because it is your responsibility.


Im aware of that. That I know all about, its not a big deal. But will there be a weird tag or something when a C# program connects to the IP and port and sends data? Or is it just regular text when you send something.

For the mopes who think I know nothing about AutoIt, I have been programming with it for over two years. I have made countless programs that use the network functions of AutoIt, even behind firewalls and routers (which isn't hard, but the average n00b wouldn't know how to port forward).


-Monkey
Monkeh.

#12 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 04 December 2007 - 11:07 PM

I know a lot about sockets. I am on the networking team at my technical charter school. I just dont know how AutoIt takes in the message. Is there any special formatting that it uses? Im sorry I didn't program the AutoIt language.... sheesh.

Have you thought about this, even for a second? If AutoIt did try to interpret or insert something into packets, don't you think it would be documented? Did you bother to think that it makes no sense for AutoIt to modify incoming/outgoing packets? Did you think to maybe test it?

I still don't think you know half as much as you want to think you do. You say a lot of dumb things like:

Im aware of that. That I know all about, its not a big deal. But will there be a weird tag or something when a C# program connects to the IP and port and sends data? Or is it just regular text when you send something.

Once again, it depends on what's being sent. Will there be a weird tag? Well, that depends on if the program sends a weird tag. Will it be regular text? Who knows, is the program you're connected to sending regular text? I don't know, I can't answer these, it's application defined. And it's basic knowledge for anybody who knows about sockets.

For the mopes who think I know nothing about AutoIt, I have been programming with it for over two years. I have made countless programs that use the network functions of AutoIt, even behind firewalls and routers (which isn't hard, but the average n00b wouldn't know how to port forward).

Another dumb thing, you're on about firewalls/routers/port forwarding. This doesn't demonstrate any competency in writing socket-aware applications, it just means you know how to configure your software/hardware to allow network traffic.

If your post was supposed to convince us you know about sockets, you failed.

#13 m0nk3yI3unz

m0nk3yI3unz

    Wayfarer

  • Active Members
  • Pip
  • 93 posts

Posted 05 December 2007 - 02:57 PM

If I seem so dumb to you, then why do you bother to reply? It seems as if you are only here to bring me down. Didn't your mother ever tell you that if you cant say anything nice, don't say anything at all? Obviously not.

My knowledge, or lack of, shouldn't hinder the fact that I am asking for help. If I ask if C# sends in a different format than AutoIt does is a simple question, but everyone here seems to think that that is a reason to bash someone. You know, the AutoIt forums are labeled for support, not for mindless flaming.

If you all insist on dismissing any intention of helping someone lower than you, then thats fine. It just makes you look like bastards. Not my problem.

-Monkey
Monkeh.

#14 Valik

Valik

    Former developer.

  • Active Members
  • PipPipPipPipPipPip
  • 18,879 posts

Posted 05 December 2007 - 03:10 PM

If I seem so dumb to you, then why do you bother to reply? It seems as if you are only here to bring me down. Didn't your mother ever tell you that if you cant say anything nice, don't say anything at all? Obviously not.

My knowledge, or lack of, shouldn't hinder the fact that I am asking for help. If I ask if C# sends in a different format than AutoIt does is a simple question, but everyone here seems to think that that is a reason to bash someone. You know, the AutoIt forums are labeled for support, not for mindless flaming.

-Monkey

So, should I add "Posting in the wrong forum" to the list of things that make you look less intelligent than you'd like? Because clearly, this is the feature request forum, not the support forum.

If you all insist on dismissing any intention of helping someone lower than you, then thats fine. It just makes you look like bastards. Not my problem.

I have never denied being a bastard and often warn people that I am a bastard.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users