Thread: Got idea but is this possible?

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    132

    Got idea but is this possible?

    Hmm an idea just came to my head.

    i have got a fighting game for mIRC and i just realized it kinda uses the same stuff as C++. like Variables, Functions etc...

    Would it be possible to use a mIRC code but convert it to C++ langauge, and code the mIRC server chat room into the C++ version of it so it will work like it did in mIRC apart from people will not be able to read the code.

    just an idea, not sure how possible it would be but oh well.

    Hugo.

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Better idea. Forget mIRC and code it in C++

  3. #3
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Lock up sockets and network programming. And once you get that it is fairly easy.
    Woop?

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Most IRC bots (and all of the good ones) are coded in some higher level programming language compared to IRC scripts. Back in the day I wrote an RPG bot (in IRC scripting) that was about 10 times longer than it would be if it was programmed in C++. This is not only due to the fact that I was simply a worse programmer at the time but also because IRC scripts require some workarounds in order to do more advanced programming. As prog-bman said, look into socket programming. You can also go onto the chatroom in his sig and ask him nicely to turn on his IRC bot written in C++.
    Sent from my iPadŽ

  5. #5
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    shhhh Sly don't tell people I know how to program for IRC.

    Wait I just told people I do. I am retarded.
    Woop?

  6. #6
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    lol. cheers guys.

    i just wondered because someone i know made a huge online wrestling game in mIRC that people actualy buy stuff for it. like more wrestlers, moves etc... and it works awsome. but hes got it into 1 .EXE file and i wondered if he re wrote it in C++, like converted the code, or if he has a program that can make a whole mIRC folder into 1 working .exe file.

    i was half way thru a fighting game in mirc but gave up so i was just wondering lol

  7. #7
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    I couldn't say whether he wrote it in C++, but I'd feel safe saying it's not mIRC scripts.
    Sent from my iPadŽ

  8. #8
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    but i know its mirc scripts.

    he wrote it in mirc originaly, and then all of a sudden theres the exact same game but in C++ but using the same server and everything;

    one min hes saying he doesnt know C++ and then all of a sudden he has a EXE of mirc program.

    strange.

  9. #9
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Well it's not entirely impossible that there exists a freeware program that converts IRC syntax to C++ syntax. It would work no different than a compiler converting C++ to assembly code. I haven't seen it, though. Did you try to google it?

    It's also possible that he simply had someone do the conversion for him.
    Sent from my iPadŽ

  10. #10
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    mIRC Script - it makes intercal look good!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  11. #11
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    ill try looking it up.

    good point, maybe the faggot lied to make him self look clever lol. prolly paid someone to do it for him. dunno. he wont tell me cuz hes a tite arse.

    cheers. hugo.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. project idea ???
    By gemini_shooter in forum C Programming
    Replies: 2
    Last Post: 06-09-2005, 09:56 AM
  2. Have an idea?
    By B0bDole in forum Projects and Job Recruitment
    Replies: 46
    Last Post: 01-13-2005, 03:25 PM
  3. A little problem about an idea, help please
    By louis_mine in forum C++ Programming
    Replies: 3
    Last Post: 09-10-2004, 09:52 PM
  4. totally screwed up idea
    By iain in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 08-17-2001, 12:09 PM