Author Topic: dim3 v3.0 Beta 15  (Read 1968 times)

ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #75 on: July 30, 2010, 06:09:33 AM »
Please notify me again and early enough so I can make the missing icons. :)


Oh yeah, the reason I haven't pinged you yet is I'm still designing and moving things around, and I hate to make you do work that ends up not getting used.  I'm not quite yet what I want to be in or out, but if there's any icon that bugs you, feel free to replace it and send me the pic.

[>] Brian

.Minimum

  • Sr. Member
  • ****
  • Posts: 360
    • View Profile
Re: dim3 v3.0 Beta 15
« Reply #76 on: July 31, 2010, 09:49:03 PM »
I don't know if this helps, but I don't get any crashes. I'm on an old macbook; with a "2 Ghz Inter Core Duo" and "Version 10.5.8" according to "About This Mac".
OK ODDITY

c^5

  • Hero Member
  • *****
  • Posts: 951
  • c^5=ccccc
    • View Profile
Re: dim3 v3.0 Beta 15
« Reply #77 on: August 05, 2010, 06:29:43 PM »
http://dim3.pastebin.com/Nhdj57NZ
I got a crash in the engine, it could be my fault I'm not really sure.
Quote from: Brian Barnes
What's mine is mine, and what's steve belongs to me.


ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #78 on: August 06, 2010, 12:54:25 PM »
Coming up in the next version -- and something I've had on my list forever -- a clean up of the camera code.  For most everybody (who is doing fpp work), nothing will really change.  Other things will be made more obvious and easier to deal with.  The best part is each map will have a set of camera controls which you can edit in Editor.  If you still use a script, it'll just override what you put in Editor (therefore everything still works at it should.)

This should fix another glaring thing that makes it a bit harder to edit maps and cameras, and make camera more obvious.  Again, nothing changes in the script, and can still be controlled/changed/etc from there.

[>] Brian

c^5

  • Hero Member
  • *****
  • Posts: 951
  • c^5=ccccc
    • View Profile
Re: dim3 v3.0 Beta 15
« Reply #79 on: August 07, 2010, 08:51:10 AM »
Small request---some way to find out the id of the polygon an object has collided with.
Quote from: Brian Barnes
What's mine is mine, and what's steve belongs to me.


c^5

  • Hero Member
  • *****
  • Posts: 951
  • c^5=ccccc
    • View Profile
Re: dim3 v3.0 Beta 15
« Reply #80 on: August 07, 2010, 09:14:02 PM »
obj.hit.weaponName crashes the engine.
http://dim3.pastebin.com/fxfs73KX
[EDIT]Some of the other obj.hit APIs do this too.
Quote from: Brian Barnes
What's mine is mine, and what's steve belongs to me.


jesseoffy

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
    • Email
Re: dim3 v3.0 Beta 15
« Reply #81 on: August 08, 2010, 08:47:06 AM »
Does dim3 do atmospheric effects? (like distance haze, fog, etc.)
-Jesse O.

"Good artists copy; Great ones steal." -Picasso

ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #82 on: August 08, 2010, 10:45:35 AM »
Does dim3 do atmospheric effects? (like distance haze, fog, etc.)


Yes, you can set all that through the map menu -> settings in Editor.

[>] Brian

ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #83 on: August 08, 2010, 10:46:26 AM »
obj.hit.weaponName crashes the engine.
http://dim3.pastebin.com/fxfs73KX
[EDIT]Some of the other obj.hit APIs do this too.


Thanks c^5, I found and fixed these.

[>] Brian

  • Eye am the strongest!
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 571
    • View Profile
Re: dim3 v3.0 Beta 15
« Reply #84 on: August 11, 2010, 04:29:08 AM »
Could I get some feedback on this? http://klinksoftware.net/forum/index.php?topic=875
I just want to know what you think and if this could be added in the near future.

Bored much?

ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #85 on: August 11, 2010, 06:11:13 AM »
Could I get some feedback on this? http://klinksoftware.net/forum/index.php?topic=875
I just want to know what you think and if this could be added in the near future.


I'll be thinking about this.  I might try a couple things out and we can see what works.

[>] Brian

ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #86 on: August 11, 2010, 08:07:05 PM »
Quick Update:

Still working on a "real" release, but here's another drop for those on the bleeding edge.  Included in this is camera settings by map (you'll need to delete your camera settings from the course javascript or they will override, as they should), improved chooser (a dynamic API coming soon), bug fixes and some camera fixes.

Note that stories have been removed; use choosers instead.

Next up, I'll work some more on editor, multiple weapon improvements, and further on cinematics, which I've started on.

(edit) Look in the changes.txt for chooser example XML. (edit)

Code: [Select]
Editor
 * added per-map camera settings
 * map media can auto-launch choosers instead of stories
 * creating meshes with no selection would create them in a bad place
 * fixed a bug where first view wouldn't retain it's position

Engine
 * cameras can now be preset by maps
 * some slight re-writes in how camera work
 * fixed a crashing bug when calling interface elements that didn't exist, and better error messages
 * eyeline mesh-to-mesh obscure only works in fpp cameras
 
GUI
 * removed story interfaces
 * fixed a problem where chooser could clip long pieces of text
 * choosers can have background colors
 * choosers support models
 * choosers support goto
 * choosers support templates
 * network settings show player models instead of portraits
 
Scripting
 * added iface.console.open();
 * removed projection type, and any frustum constants (like left, right, top, bot)
 * removed camera.chaseOffset (chase_static works with angle/distance, like regular chase)
 * removed camera.chaseAngle (use camera.angle)
 * moved chaseSlop under chase (camera.chase.slop)
 * removed camera.chase.size (now automatic)
 * fixed some crashing bugs in obj.hit.xxx APIs

Download: http://www.klinksoftware.com/download/dim3_3_Beta_16c.zip

[>] Brian

Alexander Smith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 999
  • Cold Fusion Games
    • AOL Instant Messenger - coldfusiongames
    • View Profile
    • Cold Fusion Games
    • Email
Re: dim3 v3.0 Beta 15
« Reply #87 on: August 12, 2010, 07:52:53 AM »
Sorry for being so out of it in the past month. I've been doing other things, like playing SC2. :P

Anyway, I tried out this latest version of dim3, and I deleted my empty "Application Support/dim3" folder first. It went like this.

I opened the engine. It was defaulted to Window-640x480. I couldn't click any buttons at all. I tried clicking to the desktop and clicking back to dim3 several times... nothing. I then tried clicking to the desktop and then clicking back to dim3 but on the windowed dim3 top bar thingy. That worked, and I was able to change settings and whatnot. Changing the engine from windowed to fullscreen resulted in a completely black screen that did not change. I couldn't quit except by force quitting. When I got back into the engine, it was full screen, and worked fine.

I then opened the editor, and loaded up a map. I was able to start the map, but the whole engine screen was 100% grey. I could shoot and all that because the sounds played, but I couldn't see anything. Clicking back and forth from desktop to the engine did nothing.

I checked RAM consumption between using and not using the engine, and there was only a very minor change.

I am currently running Mac OS X 10.6.3 on my iMac 2.4Ghz, Radeon 2600HD Pro, with 2GB of RAM. I'd really appreciate a fix for this, because right now, I can't do any game work at all.

In case you don't remember, this happened as a result of me deleting the dim3 folder in my App Support folder. Even when I created a new one and copied it back, it did nothing though.
—Alex

(\_/)
(O.o)
(> <) ...A bunny wabbit!

ggadwa

  • Administrator
  • Hero Member
  • *****
  • Posts: 753
    • View Profile
    • Klink! Software
Re: dim3 v3.0 Beta 15
« Reply #88 on: August 12, 2010, 08:30:18 AM »
Sorry for being so out of it in the past month. I've been doing other things, like playing SC2. :P

Anyway, I tried out this latest version of dim3, and I deleted my empty "Application Support/dim3" folder first. It went like this.

I opened the engine. It was defaulted to Window-640x480. I couldn't click any buttons at all. I tried clicking to the desktop and clicking back to dim3 several times... nothing. I then tried clicking to the desktop and then clicking back to dim3 but on the windowed dim3 top bar thingy. That worked, and I was able to change settings and whatnot. Changing the engine from windowed to fullscreen resulted in a completely black screen that did not change. I couldn't quit except by force quitting. When I got back into the engine, it was full screen, and worked fine.

I then opened the editor, and loaded up a map. I was able to start the map, but the whole engine screen was 100% grey. I could shoot and all that because the sounds played, but I couldn't see anything. Clicking back and forth from desktop to the engine did nothing.

I checked RAM consumption between using and not using the engine, and there was only a very minor change.

I am currently running Mac OS X 10.6.3 on my iMac 2.4Ghz, Radeon 2600HD Pro, with 2GB of RAM. I'd really appreciate a fix for this, because right now, I can't do any game work at all.

In case you don't remember, this happened as a result of me deleting the dim3 folder in my App Support folder. Even when I created a new one and copied it back, it did nothing though.


OK, I'm on this, more info when I have it ... hopefully I can recreate.

[>] Brian

War Minister

  • Jr. Member
  • **
  • Posts: 84
  • Coffee is the lifeblood of the Empire!
    • View Profile
    • Email
Re: dim3 v3.0 Beta 15
« Reply #89 on: August 12, 2010, 06:39:06 PM »
The new elements are very interesting; I look forward to seeing where this goes....

I have found the following bugs:

Weapons do not work properly in third person; I can switch to them, but I can't fire them. Switching back into first person solves the problem until I switch again. Also, there are no weapons sound effects when in third person, but if you fire a weapon and then switch to first person the sound effects play (but only in first person).

When hosting a game, menu items that are grayed out are still clickable

When hosting a game, the engine crashes when I try to quit; here is the crash log:

Code: [Select]
PID:    280
Thread: 3

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x10182c2c

Thread 0:
0   libSystem.B.dylib              0x9002c0b8 semaphore_wait_trap + 8
1   libSystem.B.dylib              0x9005ef88 pthread_join + 436
2   SDL                            0x3002bef0 SDL_WaitThread + 32 (SDL_thread.c:271)
3   com.klinksoftware.dim3.engine 0x000b6d14 0x1000 + 744724
4   com.klinksoftware.dim3.engine 0x000944a4 0x1000 + 603300
5   com.klinksoftware.dim3.engine 0x0008f8d8 0x1000 + 583896
6   com.klinksoftware.dim3.engine 0x0008fe84 0x1000 + 585348
7   com.klinksoftware.dim3.engine 0x00002f34 0x1000 + 7988
8   com.apple.Foundation          0x92bf5e1c _nsnote_callback + 180
9   com.apple.CoreFoundation      0x90805ec0 __CFXNotificationPost + 368
10  com.apple.CoreFoundation      0x907fdf20 _CFXNotificationPostNotification + 684
11  com.apple.Foundation          0x92be0224 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
12  com.apple.AppKit              0x937a3be8 -[NSApplication _postDidFinishNotification] + 112
13  com.apple.AppKit              0x937a3ad4 -[NSApplication _sendFinishLaunchingNotification] + 92
14  com.apple.AppKit              0x937a361c -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 264
15  com.apple.AppKit              0x937a31c4 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 92
16  com.apple.Foundation          0x92bf6e28 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 380
17  com.apple.Foundation          0x92bf6c88 _NSAppleEventManagerGenericHandler + 92
18  com.apple.AE                  0x91500960 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 208
19  com.apple.AE                  0x915007fc dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
20  com.apple.AE                  0x91500654 aeProcessAppleEvent + 284
21  com.apple.HIToolbox            0x932bf2e0 AEProcessAppleEvent + 60
22  com.apple.AppKit              0x937a190c _DPSNextEvent + 856
23  com.apple.AppKit              0x937a13f8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
24  com.apple.AppKit              0x9379d93c -[NSApplication run] + 472
25  com.klinksoftware.dim3.engine 0x00003688 0x1000 + 9864
26  com.klinksoftware.dim3.engine 0x00002bec 0x1000 + 7148
27  com.klinksoftware.dim3.engine 0x000028f0 0x1000 + 6384

Thread 1:
0   libSystem.B.dylib              0x9000af48 mach_msg_trap + 8
1   libSystem.B.dylib              0x9000ae9c mach_msg + 60
2   com.apple.CoreFoundation      0x907de9ac __CFRunLoopRun + 832
3   com.apple.CoreFoundation      0x907de2b0 CFRunLoopRunSpecific + 268
4   com.apple.audio.CoreAudio      0x91459524 HALRunLoop::OwnThread(void*) + 264
5   com.apple.audio.CoreAudio      0x914592c4 CAPThread::Entry(CAPThread*) + 96
6   libSystem.B.dylib              0x9002b908 _pthread_body + 96

Thread 2:
0   libSystem.B.dylib              0x90053f88 semaphore_timedwait_signal_trap + 8
1   libSystem.B.dylib              0x900707e8 pthread_cond_timedwait_relative_np + 556
2   com.apple.audio.CoreAudio      0x9146a6ac CAGuard::WaitFor(unsigned long long) + 204
3   com.apple.audio.CoreAudio      0x9146a5bc CAGuard::WaitUntil(unsigned long long) + 304
4   com.apple.audio.CoreAudio      0x91468800 HP_IOThread::WorkLoop() + 852
5   com.apple.audio.CoreAudio      0x91468498 HP_IOThread::ThreadEntry(HP_IOThread*) + 16
6   com.apple.audio.CoreAudio      0x914592c4 CAPThread::Entry(CAPThread*) + 96
7   libSystem.B.dylib              0x9002b908 _pthread_body + 96

Thread 3 Crashed:
0   com.klinksoftware.dim3.engine 0x000c5a5c 0x1000 + 805468
1   com.klinksoftware.dim3.engine 0x000deb3c 0x1000 + 908092
2   com.klinksoftware.dim3.engine 0x000b6b4c 0x1000 + 744268
3   SDL                            0x3002beb8 SDL_RunThread + 72 (SDL_thread.c:202)
4   SDL                            0x30039c58 RunThread + 16 (SDL_systhread.c:48)
5   libSystem.B.dylib              0x9002b908 _pthread_body + 96

Thread 3 crashed with PPC Thread State 64:
  srr0: 0x00000000000c5a5c srr1: 0x000000000200d030                        vrsave: 0x0000000080000000
    cr: 0x42000004          xer: 0x0000000000000000   lr: 0x00000000000deb3c  ctr: 0x00000000900013a0
    r0: 0x0000000080000000   r1: 0x00000000f0182bf0   r2: 0x0000000000000050   r3: 0x0000000000000000
    r4: 0x00000000f0182c30   r5: 0x0000000000000000   r6: 0x0000000000000000   r7: 0x00000000f0182c28
    r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x000000003006150c  r11: 0x00000000a00061ec
   r12: 0x00000000900013a0  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
   r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000000000  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000000000  r22: 0x0000000000000000  r23: 0x0000000000000000
   r24: 0x0000000000000000  r25: 0x0000000000000000  r26: 0x000000000191f400  r27: 0x00000000000b6ac0
   r28: 0x000000000000001f  r29: 0x0000000010182c24  r30: 0x00000000003a5b84  r31: 0x00000000003a5b84