NTW broken [still/again]?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
troymc
Greenhorn
Posts: 7
Joined: 02 May 2009, 00:22

NTW broken [still/again]?

Post by troymc »

NTW seems broken in both 2.2 & trunk.

It appears to be this bug: http://developer.wz2100.net/ticket/865

plato:~/warzone/trunk$ ./src/warzone2100 --cheat --mod_mp=ntw.wz
** DEBUG MODE UNLOCKED! **
info |11:08:29: [main] mod_mp (ntw.wz) is enabled
warning |11:08:41: [mapLoad] tileset not loaded, using arizona (map preview?)
error |11:09:04: [scrAllianceExistsBetween] Invalid player parameters 3 and -1
error |11:09:04: [scrAllianceExistsBetween] Assert in Warzone: scriptfuncs.c:4210 (i < MAX_PLAYERS && j < MAX_PLAYERS && i >= 0 && j >= 0), last script event: 'N/A'
warzone2100: scriptfuncs.c:4210: scrAllianceExistsBetween: Assertion `i < 8 && j < 8 && i >= 0 && j >= 0' failed.
Saved dump file to '/tmp/warzone2100.gdmp-Kskkr6'
If you create a bugreport regarding this crash, please include this file.
Aborted


Troy
troymc
Greenhorn
Posts: 7
Joined: 02 May 2009, 00:22

Re: NTW broken [still/again]?

Post by troymc »

hmm, so I tried manually applying the fixes from that bug report, but the game still CTDs later on with a different, apparently unrelated error. I tried resuming from saved games, but the CTDs become more & more frequent. I've got one saved game that CTDs less than 30 secs after loading.

Without NTW the game plays flawlessly - is NTW just plain broke right now?

This is with a totally fresh svn build: trunk revision 8328
ubuntu jaunty - amd65 - geforce 9800gt

philosoph@plato:~/warzone/trunk$ ./src/warzone2100 --cheat --mod_mp=ntw.wz
** DEBUG MODE UNLOCKED! **
info |10:56:05: [main] mod_mp (ntw.wz) is enabled
error |10:57:05: [interpGetArrayVarData] interpGetArrayVarData: Array index for dimension 0 out of range (passed index = 80, max index = 80)
error |10:57:05: [interpRunScript] interpRunScript: could not get array var data
error |10:57:05: [interpRunScript] interpRunScript: *** ERROR EXIT *** (CurEvent=33)
error |10:57:05: [interpRunScript] Original event ID: 33 (of 100)
error |10:57:05: [interpRunScript] Current event ID: 33 (of 100)
error |10:57:05: [interpRunScript] Call depth : 0
error |10:57:05: [scrOutputCallTrace] *** Script call trace: ***
error |10:57:05: [scrOutputCallTrace] 0: N/A (current event)
error |10:57:05: [interpRunScript] interpRunScript: error while executing a script
error |10:57:05: [interpRunScript] Assert in Warzone: interpreter.c:946 (!"error while executing a script"), last script event: 'N/A'
warzone2100: interpreter.c:946: interpRunScript: Assertion `!"error while executing a script"' failed.
Saved dump file to '/tmp/warzone2100.gdmp-mYzg5t'
If you create a bugreport regarding this crash, please include this file.
Aborted


Any other similar mods I can try? I like NTWs new weapons & tech.

Troy
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: NTW broken [still/again]?

Post by Buginator »

All the mods are in the mod or showcase forum sections.

As for the errors, you may want to open a ticket and tell Delphinio about it. He is the one that packaged that mod together.

http://developer.wz2100.net/newticket
and it ends here.
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: NTW broken [still/again]?

Post by Delphinio »

NTW Mod works without debug/cheat mode only.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: NTW broken [still/again]?

Post by Per »

Delphinio wrote:NTW Mod works without debug/cheat mode only.
Are you sure you don't mean that it only works with asserts turned off?

Debug/cheat mode being on or off by itself cannot cause such issues.

I would also like to point out that failing asserts is not acceptable for mods included in the default distribution.
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: NTW broken [still/again]?

Post by Delphinio »

better i change the ai again and good :rolleyes:
for me... ntw mod dont work anymore if i write --cheat in the parameter.
troymc
Greenhorn
Posts: 7
Joined: 02 May 2009, 00:22

Re: NTW broken [still/again]?

Post by troymc »

Thanks, guys!
Buginator wrote:As for the errors, you may want to open a ticket and tell Delphinio about it. He is the one that packaged that mod together.
I tried to re-open that original ticket [http://developer.wz2100.net/ticket/865] but it wouldn't let me.
Delphinio wrote:NTW Mod works without debug/cheat mode only.
Thanks, I didn't know that. That does seem to fix the initial CTD due to the AI, but I still see the other CTD constantly -- I've never gotten a trunk-NTW game to play longer than ~45mins before the first CTD.

I tried removing my entire source tree to build a completely fresh instance, but trunk is completely broken now with http://developer.wz2100.net/ticket/1040.

I'll wait awhile & when trunk is build-able again, I'll try it out & open a new ticket if I still see the same CTDs.


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

Re: NTW broken [still/again]?

Post by Zarel »

troymc wrote:I tried to re-open that original ticket [http://developer.wz2100.net/ticket/865] but it wouldn't let me.
I reopened it for you.
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: NTW broken [still/again]?

Post by Delphinio »

i put the old ai back in and hope its realy fixed now.
test it, and set the ticket #865 to fixed on your own.
if you cant, then ask here in the forum again.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: NTW broken [still/again]?

Post by Buginator »

Delphinio wrote:i put the old ai back in and hope its realy fixed now.
test it, and set the ticket #865 to fixed on your own.
if you cant, then ask here in the forum again.
ok, I closed the ticket. If you got problems, just post in that ticket, and we can reopen again.

Delphinio, which AI did you use this time? I didn't see a mention of it in the logs?
and it ends here.
User avatar
Delphinio
Art contributor
Posts: 446
Joined: 21 Jan 2007, 06:04

Re: NTW broken [still/again]?

Post by Delphinio »

the old ai is GK.