General Thread |
by Aardappel
on 01/05/2002 01:55, 15527 messages, last message: 03/01/2024 13:02, 12551304 views, last view: 11/05/2024 16:38 |
|
for questions, announcements etc.
|
|
Board Index
|
|
#11797: Message censored by administrator |
by mrsmes
on 03/10/2009 14:36
|
|
|
#11798: Message censored by administrator |
by mrsmes
on 03/10/2009 14:39
|
|
|
#11799: problems with standard library. |
by znora
on 03/10/2009 15:14
|
|
I get strange errors when I use std:list/map/vector with cube engine.
After some googling i figured out that cube engine reimplements vector in tools.h. That is fine by me, but not my (std::list dependant) libraries.
Is there any solution to the problem?
I use vista 64 bit, visual studio express 2008 and source code from sauerbraten 2008 06 20 CTF edition win32.
reply to this message
|
|
#11800: Re: problems with standard library. |
by znora
on 03/10/2009 15:17, refers to #11799
|
|
the error is:
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) protected: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Myptr(void)const " (__imp_?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IBEPBDXZ)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
1>main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z)
reply to this message
|
|
#11801: Re: problems with standard library. |
by eihrul
on 03/10/2009 15:23, refers to #11800
|
|
It would appear you are not adding the relevant libraries to your list of library dependencies.
reply to this message
|
|
#11802: Re: problems with standard library. |
by znora
on 03/10/2009 15:30, refers to #11801
|
|
It is std-library on visual studio. Do I really need to include anything?
reply to this message
|
|
#11803: .. |
by znora
on 03/10/2009 15:35
|
|
I "Ignoare all default libraries:" was on in the linking options.
I don't know if sauerbraten comes shipped with this.
reply to this message
|
|
#11804: .. |
by rafale
on 03/10/2009 20:02
|
|
how do i make some monster attack other monster?
reply to this message
|
|
#11805: Re: .. |
by MovingTarget
on 03/10/2009 20:37, refers to #11804
|
|
As far as I know... you can't.
reply to this message
|
|
#11806: Re: .. |
by SheeEttin
on 03/10/2009 21:56, refers to #11804
|
|
Monsters attack whoever they take enough damage from. If that damage is from another monster, they will attack that monster.
reply to this message
|
|
#11807: .. |
by rafale
on 03/11/2009 02:29
|
|
thanks..
can we made monster move toward other object? right now all the monster move towards player right?
reply to this message
|
|
#11808: Re: .. |
by Hirato Kirata
on 03/11/2009 02:30, refers to #11807
|
|
they move towards their enemy; though by default the player is the enemy.
and the answer to your question is no; unless you modify the ai to allow that
reply to this message
|
|
#11809: Re: HI |
by ZANK
on 03/11/2009 02:35
|
|
thankyouthankyouthankyou
reply to this message
|
|
#11810: Message censored by administrator |
by wl;djishdkljasiohi2y834
on 03/11/2009 03:22
|
|
|
#11811: Message censored by administrator |
by Quin
on 03/11/2009 09:07
|
|
|
#11812: changing defalt map |
by bruhja
on 03/11/2009 16:51
|
|
Hey all I'm new to the cube community and think the came/engine is really a great idea.
I do have 1 question though how do i change the default map from "metl4" when the game is started. I want to be able to have it load the current map im working on so i dont have to load my map through the console.
I have tried via autoexec.cfg and when cube starts its says its loading my custom map then after it finishes it loads "metl4".
What am i doing wrong?
reply to this message
|
|
#11813: Re: changing defalt map |
by bruhja
on 03/11/2009 16:53, refers to #11812
|
|
sorry for double post this is sauerbraten by the way.
reply to this message
|
|
#11814: Re: changing defalt map |
by tentus_
on 03/11/2009 18:32, refers to #11812
|
|
What specifically are you doing in autoexec? The more we know about what you've done, the more we can help.
Actually, scratch that. Just read this bit of the documentation for a howto (always read the docs first, before asking on the forum): http://sauerbraten.org/docs/config.html#_minus_ls
reply to this message
|
|
#11815: Adding Monsters |
by dimps620
on 03/12/2009 00:34
|
|
My son is learning how to use Cube2 engine. He has added many entities to his maps. When he tries to add a monster it shows the word monster on the map when in edit mode but when he puts it back into playing mode the monster is not there. If you exit back into edit mode it shows it as being there. What is he doing wrong. Any help greatly appreciated.
reply to this message
|
|
#11816: Re: Adding Monsters |
by SheeEttin
on 03/12/2009 00:47, refers to #11815
|
|
Monsters only appear in SP.
/savemap; sp MAP
reply to this message
|
|
|
Board Index
|
|