Page 1 of 1

creating projectile texture crash

Posted: 05 Oct 2012, 11:14
by iiztrollin
I'm trying to make a new unit using the instructions on the guide but it doesn't seem to be working for me. springlobby gets to were it starts to create the projectile texture and it crashes.

there is also an error after springlobby closes but it disappears to fast to see it.

i loaded the example mod from
http://springrts.com/wiki/The_Complete_ ... pring_Game
100% fine... but when i go to the mod im attempting to make it doesnt get past "creating projectile texture". i checked my resources and my bitmaps and both have the exact same files as listed. is there some small step im missing?

sorry its 4am


edit

i tried putting my unit into the example mod and changing the starting unit to it. It loads into the game there but crashes when the counter reaches 0.

Re: creating projectile texture crash

Posted: 05 Oct 2012, 13:35
by abma
can you attach infolog.txt please?

Re: creating projectile texture crash

Posted: 05 Oct 2012, 23:27
by iiztrollin
abma wrote:can you attach infolog.txt please?

done

Re: creating projectile texture crash

Posted: 06 Oct 2012, 00:35
by Beherith

Re: creating projectile texture crash

Posted: 06 Oct 2012, 01:40
by zerver
??#L0 0x76AC43DF
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/basic_string.h#L236 0x006D269D
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/ext/atomicity.h#L78 0x00840E69
https://github.com/spring/spring/tree/9 ... .cpp#L1491 0x0083A634
https://github.com/spring/spring/tree/9 ... r.cpp#L300 0x00885947
https://github.com/spring/spring/tree/9 ... .cpp#L3576 0x0057FA6F
https://github.com/spring/spring/tree/9 ... nc.cpp#L68 0x00A0CF28
https://github.com/spring/spring/tree/9 ... m.cpp#L475 0x00A08F31
https://github.com/spring/spring/tree/9 ... em.cpp#L88 0x00A0D290
https://github.com/spring/spring/tree/9 ... i.cpp#L364 0x009FB501
https://github.com/spring/spring/tree/9 ... o.cpp#L302 0x00A0CA5A
https://github.com/spring/spring/tree/9 ... o.cpp#L264 0x00A0CAD9
https://github.com/spring/spring/tree/9 ... i.cpp#L556 0x009FB34A
https://github.com/spring/spring/tree/9 ... .cpp#L2971 0x005224F4
https://github.com/spring/spring/tree/9 ... e.cpp#L441 0x0052261D
https://github.com/spring/spring/tree/9 ... .cpp#L2091 0x0052F107
https://github.com/spring/spring/tree/9 ... r.cpp#L721 0x008BDE97
/slave/mingwlibs/include/boost/smart_ptr/detail/shared_count.hpp#L305 0x0043068A
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/ext/new_allocator.h#L105 0x0046469E
https://github.com/spring/spring/tree/9 ... e.cpp#L886 0x00431245
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/basic_ios.h#L452 0x00936241
/usr/lib/gcc/i586-mingw32msvc/4.4.4/include/c++/bits/stl_vector.h#L741 0x0093DB5B
https://github.com/spring/spring/tree/9 ... f.cpp#L213 0x00924261
https://github.com/spring/spring/tree/9 ... f.cpp#L368 0x009247C4
https://github.com/spring/spring/tree/9 ... f.cpp#L379 0x009248E1
https://github.com/spring/spring/tree/9 ... ble.h#L140 0x009C1B99
/root/mingw/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/crt1.c#L237 0x004010B4
/root/mingw/mingw32-runtime-3.15.2/build_dir/src/mingwrt-3.15.2-mingw32/crt1.c#L271 0x00401128
??#L0 0x755E339A
??#L0 0x77B09EF2
??#L0 0x77B09EC5

Re: creating projectile texture crash

Posted: 06 Oct 2012, 03:17
by abma
@Beherith:

oops, service wasn't started, should work now.

more readable translation: http://paste.springfiles.com/view/7d25f179

Re: creating projectile texture crash

Posted: 06 Oct 2012, 03:21
by abma
@iiztrollin:

what file type/extension does the model have? it seems like spring crashes when it loads your model.

Re: creating projectile texture crash

Posted: 06 Oct 2012, 03:43
by iiztrollin
abma wrote:@iiztrollin:

what file type/extension does the model have? it seems like spring crashes when it loads your model.
in unit texture

.png
.tga

in unit

.lua

in obj3ds

.3ds
.3so

in bitmaps .tga

i put them all in so it would work i was hoping

wait i think i know what i did, does the tga in unittexture need to be in bitmaps?

Re: creating projectile texture crash

Posted: 06 Oct 2012, 12:12
by knorke
Is the texture still assigned to the model?
Upspring "forgets" that whenever you load and save your model.
For units missing texture should just result in a white model but I think for projectiles and features it can crash.
See http://springrts.com/wiki/Upspring#Text ... the_engine for fix.

ps:
There is another example mod, it is a bit more up to date:
http://springrts.com/wiki/SpringTutorialGame

Re: creating projectile texture crash

Posted: 06 Oct 2012, 15:48
by SinbadEV
iiztrollin wrote:
abma wrote:@iiztrollin:

what file type/extension does the model have? it seems like spring crashes when it loads your model.
in unit texture

.png
.tga

in unit

.lua

in obj3ds

.3ds
.3so

in bitmaps .tga

i put them all in so it would work i was hoping

wait i think i know what i did, does the tga in unittexture need to be in bitmaps?
I hope he means s3o

Re: creating projectile texture crash

Posted: 07 Oct 2012, 00:18
by iiztrollin
SinbadEV wrote:
iiztrollin wrote:
abma wrote:@iiztrollin:

what file type/extension does the model have? it seems like spring crashes when it loads your model.
in unit texture

.png
.tga

in unit

.lua

in obj3ds

.3ds
.3so

in bitmaps .tga

i put them all in so it would work i was hoping

wait i think i know what i did, does the tga in unittexture need to be in bitmaps?
I hope he means s3o
yes i ment s3o

Re: creating projectile texture crash

Posted: 26 Oct 2012, 01:36
by abma
can you provide all unit related files? it seems something with the s3o file is weird?