Real war with LOKMO

Other talk that doesn't fit elsewhere.
This is for General Discussion, not General chat.
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Real war with LOKMO

Post by themac »

Please tell me where to put in the .wz file in the Windows version, so I can have a look if I find a similar folder on my Mac!
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: Real war with LOKMO

Post by DylanDog »

themac wrote:Please tell me where to put in the .wz file in the Windows version, so I can have a look if I find a similar folder on my Mac!
In windows you put the mod in "mods/multiplay" folder and then on the command line (or shortcut) you specifiy --mod_mp dydo-ai.wz
See also theseinstructions.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Real war with LOKMO

Post by Zarel »

themac wrote:Hello DylanDog,

I would be happy to try the new AI. Please tell me how I can use it in the MacOs version of Warzone 2100. I am often a bit confuse in how to configure it when using new maps or mods.
...you do realize there's an FAQ for this kind of stuff, right? It's literally the third question: http://wz2100.net/faq
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Real war with LOKMO

Post by themac »

Yes, zarel, I know, But I was looking for the Search tab in the forum and I haven´t found it O.o
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Real war with LOKMO

Post by themac »

Hello LOKMO,

now I try a skirmish play with your new AI. I am curious how it will be playing. Is there anything I should now about or test in special?

Cheers, themac
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

new AI crashes

Post by themac »

The new AI mod crashes often with this crash data:

Process: Warzone [810]
Path: /Applications/Warzone.app/Contents/MacOS/Warzone
Identifier: net.wz2100.Warzone
Version: ??? (1.0)
Code Type: X86 (Native)
Parent Process: bash [717]

Date/Time: 2009-10-30 08:24:14.766 +0100
OS Version: Mac OS X 10.6.1 (10B504)
Report Version: 6

Interval Since Last Report: 1388430 sec
Crashes Since Last Report: 19
Per-App Interval Since Last Report: 248499 sec
Per-App Crashes Since Last Report: 11
Anonymous UUID: E43FEA7E-8A12-496E-92B8-DB6DBE5ACB02

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Application Specific Information:
abort() called

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libSystem.B.dylib 0x9397b912 __kill + 10
1 libSystem.B.dylib 0x9397b904 kill$UNIX2003 + 32
2 libSystem.B.dylib 0x93a0eb99 raise + 26
3 libSystem.B.dylib 0x93a24c50 abort + 93
4 net.wz2100.Warzone 0x0017570d __eprintf + 77
5 net.wz2100.Warzone 0x000fe50a scrOrderDroidObj + 341
6 net.wz2100.Warzone 0x00173f6c interpRunScript + 6276
7 net.wz2100.Warzone 0x0001ecc3 eventProcessTriggers + 324
8 net.wz2100.Warzone 0x000b9f2f gameLoop + 173
9 net.wz2100.Warzone 0x000bb5be mainLoop + 362
10 net.wz2100.Warzone 0x000bc219 SDL_main + 2548
11 net.wz2100.Warzone 0x00174e82 -[SDLMain applicationDidFinishLaunching:] + 76
12 com.apple.Foundation 0x908bd2fc _nsnote_callback + 345
13 com.apple.CoreFoundation 0x984b3c29 __CFXNotificationPost + 905
14 com.apple.CoreFoundation 0x984b365a _CFXNotificationPostNotification + 186
15 com.apple.Foundation 0x908b2120 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
16 com.apple.Foundation 0x908bf4fd -[NSNotificationCenter postNotificationName:object:] + 56
17 com.apple.AppKit 0x973828f2 -[NSApplication _postDidFinishNotification] + 125
18 com.apple.AppKit 0x97382802 -[NSApplication _sendFinishLaunchingNotification] + 74
19 com.apple.AppKit 0x974d9565 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 274
20 com.apple.AppKit 0x974d9185 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 101
21 com.apple.Foundation 0x908f246c -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 511
22 com.apple.Foundation 0x908f2230 _NSAppleEventManagerGenericHandler + 228
23 com.apple.AE 0x955cbde6 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 166
24 com.apple.AE 0x955cbce5 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 43
25 com.apple.AE 0x955cbbf2 aeProcessAppleEvent + 197
26 com.apple.HIToolbox 0x90df7381 AEProcessAppleEvent + 50
27 com.apple.AppKit 0x97352ed2 _DPSNextEvent + 1420
28 com.apple.AppKit 0x9735250a -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 156
29 com.apple.AppKit 0x9731469b -[NSApplication run] + 821
30 net.wz2100.Warzone 0x00175683 main + 1702
31 net.wz2100.Warzone 0x0000366a _start + 216
32 net.wz2100.Warzone 0x00003591 start + 41

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x9394103a kevent + 10
1 libSystem.B.dylib 0x93941768 _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x93940bf9 _dispatch_queue_invoke + 183
3 libSystem.B.dylib 0x9394098a _dispatch_worker_thread2 + 234
4 libSystem.B.dylib 0x93940401 _pthread_wqthread + 390
5 libSystem.B.dylib 0x93940246 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x9391a8ee mach_wait_until + 10
1 libSystem.B.dylib 0x939a2be5 nanosleep + 345
2 com.yourcompany.SDL 0x00cf0611 SDL_Delay + 84
3 com.yourcompany.SDL 0x00cf0653 RunTimer + 45
4 com.yourcompany.SDL 0x00cef691 SDL_RunThread + 61
5 com.yourcompany.SDL 0x00ceff68 RunThread + 17
6 libSystem.B.dylib 0x93947f39 _pthread_start + 345
7 libSystem.B.dylib 0x93947dbe thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x9391a83a semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x939483c1 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x93977208 pthread_cond_timedwait_relative_np + 47
3 com.apple.audio.CoreAudio 0x94c06ec1 CAGuard::WaitFor(unsigned long long) + 219
4 com.apple.audio.CoreAudio 0x94c09ef3 CAGuard::WaitUntil(unsigned long long) + 289
5 com.apple.audio.CoreAudio 0x94c077f0 HP_IOThread::WorkLoop() + 1892
6 com.apple.audio.CoreAudio 0x94c07087 HP_IOThread::ThreadEntry(HP_IOThread*) + 17
7 com.apple.audio.CoreAudio 0x94c06f9e CAPThread::Entry(CAPThread*) + 140
8 libSystem.B.dylib 0x93947f39 _pthread_start + 345
9 libSystem.B.dylib 0x93947dbe thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x9391a8ee mach_wait_until + 10
1 libSystem.B.dylib 0x939a2be5 nanosleep + 345
2 com.yourcompany.SDL 0x00cf0611 SDL_Delay + 84
3 net.wz2100.Warzone 0x0007fbd1 fpathThreadFunc + 301
4 com.yourcompany.SDL 0x00cef691 SDL_RunThread + 61
5 com.yourcompany.SDL 0x00ceff68 RunThread + 17
6 libSystem.B.dylib 0x93947f39 _pthread_start + 345
7 libSystem.B.dylib 0x93947dbe thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x93a24bff ecx: 0xbfffe42c edx: 0x9397b912
edi: 0x00000000 esi: 0xa037fb10 ebp: 0xbfffe448 esp: 0xbfffe42c
ss: 0x00000023 efl: 0x00000286 eip: 0x9397b912 cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0xb010300c
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: Real war with LOKMO

Post by DylanDog »

I am sorry but I cannot really provide support for MAC, I have devloped the AI and tested it on Windows only and it never crashes. It only crashes with windows if I let DyDo play against AIvolution, but in that case the issue is on the AIvolution script.

Possibly this is the bug which causes the game to crash when playing with MAC, if I manage to fix it (I need the help of some WZ developed though) possibly the AI can be used on the MAC too.
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Real war with LOKMO

Post by Zarel »

By the way, you mean "Mac", not "MAC". "MAC" means either Media Access Control or Message Authentication Code.
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: Real war with LOKMO

Post by DylanDog »

I obviously mean "Mac OS", the operating system...
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Real war with LOKMO

Post by stiv »

Zarel wrote:By the way, you mean "Mac", not "MAC". "MAC" means either Media Access Control or Message Authentication Code.
Generally speaking, it is considered bad manners to correct the spelling and grammar of strangers. You have given new meaning to the word 'pedantic'. I'm impressed, but not in a good way.
themac
Trained
Trained
Posts: 415
Joined: 17 Jul 2009, 19:14
Location: Germany

Re: Real war with LOKMO

Post by themac »

Peace! :)
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Real war with LOKMO

Post by Zarel »

DylanDog wrote:I obviously mean "Mac OS", the operating system...
Normally, I don't bother to correct typos, since they were on accident. Your typing of "MAC" probably wasn't a typo, but a misremembering of how the word is meant to be capitalized. Since I doubt it's any more difficult for you to say "Mac" than "MAC", I thought you'd appreciate a friendly reminder (as most of my friends usually would in such a situation). Apologies if my post lead you to interpret otherwise.

By the way, I'd say we're, at worst, at least a bit better acquainted than strangers; wouldn't you? :P
User avatar
DylanDog
Code contributor
Code contributor
Posts: 347
Joined: 08 Apr 2009, 15:15
Location: Germany

Re: Real war with LOKMO

Post by DylanDog »

Zarel wrote: Apologies if my post lead you to interpret otherwise.
this is fine, I am sure the your intentions are ok...my answer was in that direction too. No problem! :)
My Warzone 2100 mods:
Download DyDo-AI for Warzone skirmish/multiplayer games.
Download A2C-HM (Alpha 2 Campaign - Hard Mode).
Download A3C-HM (Alpha 3 Campaign - Hard Mode).