Author |
Message |
shelleyerest
Joined: Thu Jan 15, 2009 7:41 pm Posts: 52
|
Re: Lord Tim's "IRC Scene"
I sooooo want this for mac god dammit...
|
Sun Mar 15, 2009 3:43 am |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
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 |
|
|
Flammablezombie
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!
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Lord Tim's "IRC Scene"
They use .dylib
Or .so in rare cases.
|
Sun Mar 15, 2009 11:46 pm |
|
|
Flammablezombie
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!
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Flammablezombie
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!
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Spartan M43
Joined: Sat Jan 24, 2009 12:16 am Posts: 76 Location: Define: location.....
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
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 |
|
|
|