View unanswered posts | View active topics It is currently Thu Mar 28, 2024 12:17 pm



Reply to topic  [ 113 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
 Lord Tim's "IRC Scene" 
Author Message
User avatar

Joined: Thu Jan 15, 2009 7:41 pm
Posts: 52
Reply with quote
Post Re: Lord Tim's "IRC Scene"
I sooooo want this for mac god dammit...


Sun Mar 15, 2009 3:43 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lord Tim's "IRC Scene"
In case you didn't know, Tim is not a mac developer.

Really, only a lua using mac dev could port this to a mac due to complicated things involving libraries.


Sun Mar 15, 2009 4:42 am
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Who says I'm not a mac developer?

I'm not, but still.

Anyways, this can be ported to mac if you recompile the C code from the LuaSocket people into whatever mac people use for dlls.


Sun Mar 15, 2009 9:37 pm
Profile
User avatar

Joined: Wed Jan 14, 2009 7:12 pm
Posts: 1525
Location: In between your sister's legs, showing her how to use a... PS3 controller!
Reply with quote
Post Re: Lord Tim's "IRC Scene"
So what Do they use? Because I'd really like to use this.


Sun Mar 15, 2009 10:07 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lord Tim's "IRC Scene"
They use .dylib

Or .so in rare cases.


Sun Mar 15, 2009 11:46 pm
Profile
User avatar

Joined: Wed Jan 14, 2009 7:12 pm
Posts: 1525
Location: In between your sister's legs, showing her how to use a... PS3 controller!
Reply with quote
Post Re: Lord Tim's "IRC Scene"
'Kay. Because I don't have a compiler I would worship as a god anyone who can compile the lua socket files into a .dylib format.


Sat Mar 21, 2009 9:46 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Compilers are free.

For the mac, xcode has the gcc compiler.

So, who here has Lua on C++ Mac development experience?


Sat Mar 21, 2009 10:10 pm
Profile
User avatar

Joined: Wed Jan 14, 2009 7:12 pm
Posts: 1525
Location: In between your sister's legs, showing her how to use a... PS3 controller!
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Okay. I will get the compiler, but a step-by-step as to WTFHOW would be nice.


Sat Mar 21, 2009 10:54 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Should be similar to windows compiling:

    1. Get xcode for mac.
    1a. Get lua compile libraries.
    2. Get Eclipse, an IDE which should simplify things.
    3. Get the source code.
    4. Load the source code into Eclipse
    5. Configure Ellipse to compile into a dylib. <- Hardest part
    6. Compile <- Second hardest part
    7. PROFIT!!!

Or if you like the command line,

    1.Get xcode
    1a. Get lua compile libraries.
    2. Get source code
    3. Configure xcode to make dylibs <- Hardest.
    4. Use the makefile to compile <- Second hardest.
    5. PROFIT!!!

Or if anybody has cross-compiling experience, try use this for win/nix. Linux is somewhat easier due to the more code-oriented nature.

    1. Get an IDE and a cross-compiler. Please note that MinGW as far as I know does not cross compile. GCC is recomended.
    1a. Get Win/nix lua libs and mac core libs + mac lua libs.
    2. Get source code.
    3. Load code into your IDE.
    4. Configure IDE to cross compile into a dylib. <- Very hard
    5. Compile <- You might have some difficulties.
    6. PROFIT!!


Sun Mar 22, 2009 6:29 pm
Profile
User avatar

Joined: Sat Jan 24, 2009 12:16 am
Posts: 76
Location: Define: location.....
Reply with quote
Post Re: Lord Tim's "IRC Scene"
hey if this works the way i think it does ,(dont flame me), wouldnt it be possible to do something like* multiplayer?




*i say like because you could like affect eachothers game, like !nuke would send a nuke at one of there bases.


Tue Mar 24, 2009 1:12 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lord Tim's "IRC Scene"
Yes.

But there is no synchronization, so it's more like one of those mp tetris game where combos send blocks to the other guys.

It might work in a more suitable way if data gives lua access to game speed, the rng and control interface(aka having all the games on the same rng, same speed and shared controlls).


Tue Mar 24, 2009 1:43 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Lord Tim's "IRC Scene"
we do have access to setting the psuedo-random generator's seed with today's lua.


Tue Mar 24, 2009 1:46 am
Profile WWW
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Lord Tim's "IRC Scene"
What function?

Also, is it the lua rng or the physics rng?


Tue Mar 24, 2009 2:02 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Lord Tim's "IRC Scene"
i assume both, but i havnt tested it.. actually, it looks more like it would just be the lua generator.
math.randomseed(seed) is the syntax...


Tue Mar 24, 2009 3:00 am
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Lord Tim's "IRC Scene"
That's the Lua rng function, guaranteed.

Allegro (well, C++, actually) has it's own rand(); and srand(); functions.


Tue Mar 24, 2009 3:15 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 113 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.118s | 15 Queries | GZIP : Off ]