Need help porting an MMORPG client
Raylborn Wrote:Hmmm this is weird. Ony my G4 the little paper with pencil thing wont open, on any program. Any idea whats wrong?
little paper with pencil thing
New Mac user?

[edit:]You can find the console in Applications/Utilities. Double click on the game and watch the text that appears in the console, then post it here.[/edit]
As the last guy wasn't too informative on what it was (no offence meant), the little paper with a pencil on it is an application. You don't open it with anything as it is a standalone app.
Im not exactly new, just wasn't exactly sure what is was called. Im 13 years old man
Well on my G3 I just double clicked on EL and it opened, no console or anything. But so I have to get into the console, then open EL? What will that do, and then post what it says? I'll do it tommorow but why post what it says?
Well on my G3 I just double clicked on EL and it opened, no console or anything. But so I have to get into the console, then open EL? What will that do, and then post what it says? I'll do it tommorow but why post what it says?
Raylborn Wrote:Im not exactly new, just wasn't exactly sure what is was called. Im 13 years old manWell on my G3 I just double clicked on EL and it opened, no console or anything. But so I have to get into the console, then open EL? What will that do, and then post what it says? I'll do it tommorow but why post what it says?
OK, as snakey said, that icon is the application and all you need to do is to double click on it. If it doesn't start, some information that could indicate why will be written to the log files. The Console is one simple way to check the contents of said logs, so if you look at the text that is written to the log when the app fails to load, you'll see some error message. If you are not sure what it means, post it here.
BTW, what OS version do you have on the G4?
Raylborn Wrote:Im 13 years old manSo am I, check my profile.
In my personal experience, OS X is extremely slow with G3s (we have loads) and can't work with half the apps... The console is standard for finding out what is wrong with it, then to hopefully fix it...
Check the program in /Applications/Utilities called Console.
Corun, are you still around? I tried to reach you via e-mail but I am not sure you got my e-mail.
We just updated the game, we have a new version now, with a LOT of improvements.
Would it be possible to compile it for OSX and send us the binary?
Thanks!
We just updated the game, we have a new version now, with a LOT of improvements.
Would it be possible to compile it for OSX and send us the binary?
Thanks!
The latest version of Eternal Lands has many changes from Corun's build. SDL, OpenGL, and OpenAL are all used (among many other libraries). I have made many attempts to compile from CVS (dual G5 10.3.9), so far to no avail. Please look here and here for my progress. While the program will compile, with some hefty Makefile editing, I get bus error while running it. From gdb:
From the error log:
I do all this from the command line, since I am not familiar with Xcode, and I just care to have it run under X11 for now. I am unfamiliar with Carbon and Cocoa. This new client version DOES NOT use GLUT, while Corun's build did IIRC. Does anyone have an idea why libGL.dylib might be failing? Does anyone have simple example code that uses SDL and OpenGL without GLUT?
Code:
Program received signal EXC_BAD_ACCESS, Could not access memory.
0x909156b4 in glMatrixMode ()
(gdb) bt
#0 0x909156b4 in glMatrixMode ()
#1 0x0002ec18 in resize_root_window () at gl_init.c:773
#2 0x0002ec18 in resize_root_window () at gl_init.c:773
#3 0x0001e0b4 in change_projection_float (var=0x1701, value=0xbfffd780) at elconfig.c:437
#4 0x0001e6e8 in check_var (str=0x1701 "%\213�*\004ÛÔÄ", type=INI_FILE_VAR) at elconfig.c:697
#5 0x00020314 in read_el_ini () at elconfig.c:1100
#6 0x00034f58 in read_config () at init.c:192
#7 0x00035b58 in init_stuff () at init.c:531
#8 0x0003fa38 in SDL_main (argc=5889, argv=0xbfffd780) at main.c:227
#9 0x0000388c in -[SDLMain applicationDidFinishLaunching:] ()From the error log:
Code:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000a40
Thread 0 Crashed:
0 libGL.dylib 0x909156b4 glMatrixMode + 0x2c
1 el_osx.exe 0x0002ec18 resize_root_window + 0x3c (gl_init.c:774)
2 el_osx.exe 0x0001e0b4 change_projection_float + 0x14 (elconfig.c:438)
3 el_osx.exe 0x0001e6e8 check_var + 0x370 (elconfig.c:698)
4 el_osx.exe 0x00020314 read_el_ini + 0x50 (elconfig.c:1100)
5 el_osx.exe 0x00034f58 read_config + 0xa8 (init.c:192)
6 el_osx.exe 0x00035b58 init_stuff + 0x34 (init.c:534)
7 el_osx.exe 0x0003fa38 SDL_main + 0x3c (main.c:229)
8 el_osx.exe 0x0000388c -[SDLMain applicationDidFinishLaunching:] + 0x68 (crt.c:300)
...
28 dyld 0x8fe1a278 _dyld_start + 0x64
PPC Thread State:
srr0: 0x909156b4 srr1: 0x0000d030 vrsave: 0x00000000
cr: 0x22002448 xer: 0x00000000 lr: 0x90915690 ctr: 0x90915688
r0: 0x0002ec18 r1: 0xbfffd4c0 r2: 0x00000000 r3: 0x00001701
r4: 0xbfffd7c0 r5: 0x00000003 r6: 0x80808080 r7: 0x00000065
r8: 0x00000065 r9: 0x000ce3b8 r10: 0x0001d714 r11: 0x9092b14c
r12: 0x90915688 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0xbfffe640 r18: 0x00000000 r19: 0x00000000
r20: 0x062278e0 r21: 0x0d9a1072 r22: 0x0000000d r23: 0x0620c194
r24: 0x00000000 r25: 0x0620c180 r26: 0xa2e75180 r27: 0x00000002
r28: 0xa090f004 r29: 0x00001701 r30: 0xbfffd4c0 r31: 0x90915690
...
Binary Images Description:
0x1000 - 0xcdfff el_osx.exe ./el_osx.exe
0x5215000 - 0x521afff libvorbisfile.3.dylib /opt/local/lib/libvorbisfile.3.dylib
0x5227000 - 0x5229fff libogg.0.dylib /opt/local/lib/libogg.0.dylib
0x5277000 - 0x528dfff libvorbis.0.dylib /opt/local/lib/libvorbis.0.dylib
0x6008000 - 0x60b5fff libcal3d.11.dylib /usr/local/lib/libcal3d.11.dylib
0x30000000 - 0x3004bfff SDL 1.2.9 /Library/Frameworks/SDL.framework/Versions/A/SDL
...
0x9090f000 - 0x90929fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib
...I do all this from the command line, since I am not familiar with Xcode, and I just care to have it run under X11 for now. I am unfamiliar with Carbon and Cocoa. This new client version DOES NOT use GLUT, while Corun's build did IIRC. Does anyone have an idea why libGL.dylib might be failing? Does anyone have simple example code that uses SDL and OpenGL without GLUT?
Sorry, Yeah I am around. I'm pretty busy at the moment. I've got exams in January. I'll try and get that done sometime before january. Make sure you email me repeatedly or I'll probably forget about it. I've got a lot of stuff on my mind at the mo. Just email me once every few days and I'll get it done eventually.
Corun,
You do not have your iDev account setup to let me e-mail you. So, maybe you can fire an e-amil to me so that things get rolling. Did you see any openGL issues with your original port? IIRC, you did not use X11, so which path did you take, Carbon, Cocoa, other?
You do not have your iDev account setup to let me e-mail you. So, maybe you can fire an e-amil to me so that things get rolling. Did you see any openGL issues with your original port? IIRC, you did not use X11, so which path did you take, Carbon, Cocoa, other?
Well, with the help of OneSadCookie, I was able to fix some final issues with this port. Woohoo!
The code still uses SDL and GLUT. I traced some calls that were not Mac-friendly and fixed them. Work is keeping me a little busy right now, but I have started some pseudo-beta testing with volunteers. Stay tuned for a completed product.
The code still uses SDL and GLUT. I traced some calls that were not Mac-friendly and fixed them. Work is keeping me a little busy right now, but I have started some pseudo-beta testing with volunteers. Stay tuned for a completed product.
Just to let you know, we now have a semi stable version for public testing, located here: http://www.other-life.com/osx
Thanks everyone for your help!
Thanks everyone for your help!
FYI, the location of the EternaL Lands port has been moved to a new location.
Looks like a neat game, but uhm, what does it do?
I mean I read the help and the read me and I can move the camera around, but there's not a word about how to move the character!
None of the keys seem to do anything, mouse, alt-mouse, control mouse, command mouse, none of those do anything (well alt mouse pivots camera).
Maybe command click is broken on MacIntels?
I mean I read the help and the read me and I can move the camera around, but there's not a word about how to move the character!
None of the keys seem to do anything, mouse, alt-mouse, control mouse, command mouse, none of those do anything (well alt mouse pivots camera).
Maybe command click is broken on MacIntels?
igame3d Wrote:Looks like a neat game, but uhm, what does it do?It works as well on my MacIntel (MacBook Pro) as it does on the dual G5 I have at work. Not sure why you are having issues though. You left click on the environment to move around in the game. Did you ask others in game for help? You can also look at the game's forums (http://www.eternal-lands.com/forums).
I mean I read the help and the read me and I can move the camera around, but there's not a word about how to move the character!
None of the keys seem to do anything, mouse, alt-mouse, control mouse, command mouse, none of those do anything (well alt mouse pivots camera).
Maybe command click is broken on MacIntels?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| P2P or Client/Server? | TokyoDan | 2 | 4,263 |
Aug 3, 2009 06:15 AM Last Post: georgiph |
|
| Client side prediction in a networked top-down game | AndyKorth | 0 | 3,327 |
Jun 30, 2009 08:35 AM Last Post: AndyKorth |
|
| how does bind() work in relation to a client. | BinarySpike | 3 | 3,827 |
Aug 23, 2006 02:44 PM Last Post: OneSadCookie |
|
| Subversion Client | BeyondCloister | 8 | 3,676 |
Jun 7, 2006 01:04 PM Last Post: ravuya |
|
| host-client matchmaking "server"... | dave05 | 3 | 3,992 |
Sep 15, 2005 04:03 PM Last Post: Steven |
|

