new problem

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

new problem

Post by lav_coyote25 »

first off why all these warnings?

warning : [rebuildSearchPath] *Could not remove C:/data/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/share/warzone2100/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/data/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/share/warzone2100/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:\Warzone 2100\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/data/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/share/warzone2100/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/data/\, because No such entry in search path
warning : [rebuildSearchPath] *Could not remove C:/share/warzone2100/\, because No such entry in search path


and then - why this?

error : [scrStructureBuiltInRange] scrStructureBuiltInRange : invalid Y coord
error : [scrStructureBuiltInRange] Assert in Warzone: scriptfuncs.c:4300 (false), last script event: 'N/A'
You do not have the required permissions to view the files attached to this post.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: new problem

Post by Zarel »

Turn off debug mode? Use the release version? Trunk's been unusable ever since the SQL stuff's been committed, anyway.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: new problem

Post by lav_coyote25 »

Latest releases
Stable / 2.1.1 / 2009-01-11
Windows Installer (Debug) ~42 MiB
Mac OS X Universal Binary ~46 MiB
Source code ~43 MiB


ok - this is the latest one right?
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: new problem

Post by lav_coyote25 »

ok - now this is strange.

everything loads fine - i can have trucks building and being produced in the factory.... timer says 59 seconds and ctd at 60. same error as above. O_o

i have gone so far as to move things around on the map and take out gateways and recompile and still the same problem.
User avatar
whippersnapper
Regular
Regular
Posts: 1183
Joined: 21 Feb 2007, 15:46

Re: new problem

Post by whippersnapper »

.

- Maybe you should attach a .rar of your map file(s) for running in game so that one of the developers
can try it and see if they can duplicate the problem.

- If you wanna do more analysis on your own without benefit of being a coder I would recommend
downloading the Trial version of IBMs Rational PurifyPlus for Windows (trial is free and only limited
by actual line level code itself in the reports.. w/o that one limit the app costs $15,000.00, btw...ouch !!!).
I think it's a kwel software diagnostic tool myself.

- Get it here: http://www-01.ibm.com/software/awdtools/purifyplus/win/

- Also.... Have you tried replacing your MS V C++ Runtime Package ? It's quite possible your registry
for this may have become corrupted. See this for some insight: http://www.errornerd.com/system-2.php?s ... time-Error

- That's about all I can think of.

-- Regards, whipper :)
.
"I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction." Anthem

"Art is the selective recreation of reality according to the artist's metaphysical value judgments." A. Rand
.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: new problem

Post by lav_coyote25 »

actually - it was something to do with structures or gateways. got rid of all structures and gateways - replaced them in about the same places. recompiled the map and had a 1.5 hour game - saved game... will go back and see if it loads back later. another weird problem solved. not code related but map editor related ( going from one to the other i think is what did it.) oh well live and learn - take note other map makers. xD
User avatar
whippersnapper
Regular
Regular
Posts: 1183
Joined: 21 Feb 2007, 15:46

Re: new problem

Post by whippersnapper »

lav_coyote25 wrote:actually - it was something to do with structures or gateways. got rid of all structures and gateways - replaced them in about the same places. recompiled the map and had a 1.5 hour game - saved game... will go back and see if it loads back later. another weird problem solved. not code related but map editor related ( going from one to the other i think is what did it.) oh well live and learn - take note other map makers. xD
- Kwel. Good to hear you got it solved. I know how frustrating these probs can be when you're all enthused to create something new and you
end up having all that energy sucked into trouble-shooting.

- Map Makers beware, indeed.... AND also anyone using WDG Explorer to decompile old maps to port to the latest WRP game binary. Sounds
like they are gonna have to open up the old .lnd files in 32EW and remove all the gateways. Of course one has to ask if that had to be done with
all the stock Pumpkin MP-SKI maps and even the Campaign maps... I dunno.

- Btw... have you done any Edge Brush work yet ? Some issues came up with 'em a few months back that were causing CTDs for some....

--Regards, whipper :)
.
"I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction." Anthem

"Art is the selective recreation of reality according to the artist's metaphysical value judgments." A. Rand
.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: new problem

Post by Buginator »

whippersnapper wrote: - Kwel. Good to hear you got it solved. I know how frustrating these probs can be when you're all enthused to create something new and you
end up having all that energy sucked into trouble-shooting.

- Map Makers beware, indeed.... AND also anyone using WDG Explorer to decompile old maps to port to the latest WRP game binary. Sounds
like they are gonna have to open up the old .lnd files in 32EW and remove all the gateways. Of course one has to ask if that had to be done with
all the stock Pumpkin MP-SKI maps and even the Campaign maps... I dunno.

- Btw... have you done any Edge Brush work yet ? Some issues came up with 'em a few months back that were causing CTDs for some....

--Regards, whipper :)
Just a FYI, use WDGload for the map conversions. (It was posted on the ML)
The only thing that must be done is just to make sure everything is lowercase, and to use unix style paths, not dos style. (/ vs \)
No need to touch anything else.

All the gateway stuff is just skipped right now.

Coyote, next time, just post/pm/e-mail the .lnd file, and when I am around, I can check it out better.

And if we had $15k to get PurifyPlus, while it may help a bit, the bigger issue is that, that only works on windows... linux people use valgrind, but that is so freaking slow! Hmm, donation drive for $15k to buy PurifyPlus? :D lol
and it ends here.
User avatar
whippersnapper
Regular
Regular
Posts: 1183
Joined: 21 Feb 2007, 15:46

Re: new problem

Post by whippersnapper »

Buginator wrote:
Just a FYI, use WDGload for the map conversions. (It was posted on the ML)
The only thing that must be done is just to make sure everything is lowercase, and to use unix style paths, not dos style. (/ vs \)
No need to touch anything else.

All the gateway stuff is just skipped right now.

Coyote, next time, just post/pm/e-mail the .lnd file, and when I am around, I can check it out better.

And if we had $15k to get PurifyPlus, while it may help a bit, the bigger issue is that, that only works on windows... linux people use valgrind, but that is so freaking slow! Hmm, donation drive for $15k to buy PurifyPlus? :D lol
- WDGload... kwel.... ML= Mailing List ? Be nice if there was a dedicated Tool-Editor page... Ditto Maps and Mods and AIs with Voting and
Commenting mechanisms for the fans. Think I recall reading that Zarel was considering doing something like that on his server.

- When you say "All the gateway stuff is just skipped right now." does that mean if they are on a map they will have no negative consequences ?

- I've heard of Valgrind but I have never used it. There is indeed a Linux version of Rational Purify Plus and a Free Trial Version with that one itti-bitty restriction on reports from the paid version which goes for $6K - big diff from $15K... But here is the thing about those prices - in the USA Tax Code those are write-offs for a business.... meaning you give the Gov't $15K (or $6K) in tax liability out of profits and have nothing to show for it OR you buy Purify PLus, write the cost off your tax liability and have the software to use in your business - definitely something over giving it
to the Gov't to spend on pork-barrel projects like bridges to nowhere or a museum built & dedicated to the history of hamburgers and french fries..Here is the Linux version of PurifyPlus: http://www-01.ibm.com/software/awdtools ... plus/unix/

- It would be interesting to benchmark-compare the utility of Valgrind to the Linux Rational PurifyPlus.... If I ran Linux I would do it just out of curiosity. I have no OS allegiance - just use whatever works best for me personally and in biz and I've used plenty different over the decades

-- Regards, whipper :)
.
"I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction." Anthem

"Art is the selective recreation of reality according to the artist's metaphysical value judgments." A. Rand
.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: new problem

Post by Buginator »

whippersnapper wrote: - WDGload... kwel.... ML= Mailing List ? Be nice if there was a dedicated Tool-Editor page... Ditto Maps and Mods and AIs with Voting and
Commenting mechanisms for the fans. Think I recall reading that Zarel was considering doing something like that on his server.

- When you say "All the gateway stuff is just skipped right now." does that mean if they are on a map they will have no negative consequences ?

- I've heard of Valgrind but I have never used it. There is indeed a Linux version of Rational Purify Plus and a Free Trial Version with that one itti-bitty restriction on reports from the paid version which goes for $6K - big diff from $15K... But here is the thing about those prices - in the USA Tax Code those are write-offs for a business.... meaning you give the Gov't $15K (or $6K) in tax liability out of profits and have nothing to show for it OR you buy Purify PLus, write the cost off your tax liability and have the software to use in your business - definitely something over giving it
to the Gov't to spend on pork-barrel projects like bridges to nowhere or a museum built & dedicated to the history of hamburgers and french fries..Here is the Linux version of PurifyPlus: http://www-01.ibm.com/software/awdtools ... plus/unix/

- It would be interesting to benchmark-compare the utility of Valgrind to the Linux Rational PurifyPlus.... If I ran Linux I would do it just out of curiosity. I have no OS allegiance - just use whatever works best for me personally and in biz and I've used plenty different over the decades

-- Regards, whipper :)
Yes, ML = mailing list.
Here is the link I had for those that are curious: https://mail.gna.org/public/warzone-dev ... 00031.html

You can still place the gateway stuff on the map, and this binary ignores the extra info, and nothing bad comes from having it there.
I tend to think, if you want the map to work on 1.x & 2.x, then you need to place the gateway stuff, you just need different versions of EW to compile the map to make it work ok with 2.x.

For the PurifyPlus, I think they do it with code injection, which is allot faster... but don't have the time to play with it. :(
and it ends here.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: new problem

Post by Per »

Note that the AI still uses the gateway information to build strategically placed defenses on the map. We completely ignore zone information, though.
bandaid
New user
Posts: 4
Joined: 29 Jan 2009, 01:15

Re: new problem

Post by bandaid »

error : [scrStructureBuiltInRange] scrStructureBuiltInRange : invalid Y coord
error : [scrStructureBuiltInRange] Assert in Warzone: scriptfuncs.c:4300 (false), last script event: 'N/A'

There's some problem with those thingamajiggies.

xD xD xD yep! but to be more exact it was for some reason reading the co ordinates wrong. as soon as i had deleted all the strctures that i had placed - and checked the gateways - replaced the structures and recompiled the map - the problem went away. still not sure if it was because of going between the warzone 2200 and the warzone 2100 wrp versions of the editor that caused this. for now everything seems to be working.


still cant believe you said thingamajiggies. xD xD xD
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: new problem

Post by lav_coyote25 »

really annoying problem.
You do not have the required permissions to view the files attached to this post.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: new problem

Post by Buginator »

lav_coyote25 wrote:really annoying problem.
Can you update to 2.1.2?
What were you doing at the time?

Looks like a script crash.
What does your stderr.txt say?
and it ends here.
User avatar
lav_coyote25
Professional
Professional
Posts: 3434
Joined: 08 Aug 2006, 23:18

Re: new problem

Post by lav_coyote25 »

didnt see the new download - prior to post... seems to have cleared up ... but - i would like to know what the heck it was.... if it comes back. just finished a 2hr+ game with new 212 and is good. xD