-
Posts
46 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by semoka10
-
-
56 minutes ago, WeedHex said:
What you need to do? Reduce/remove the POINT_CASTING_SPEED from the skill ComputeCooltime formulation?
No, I want it to work differently. Now, if you have +100% casting speed, cooldown goes down by 50%, if you have +400% casting speed, cooldown goes down by 80% etc. I want to change it so that if you have +40% casting speed, cooldown is reduced by 40%, or if you have +70% casting speed, cooldown is reduced by 70% (obviously, it should never reach 100%). I changed the formula but no changes happened in game after compiling
-
On 6/4/2020 at 1:02 AM, WeedHex said:
Utils.cpp
int CalculateDuration(int iSpd, int iDur)
I tried changing the ComputeCooltime function but nothing happens in game, it is the same as before. Any idea why?
-
54 minutes ago, WeedHex said:
Utils.cpp
int CalculateDuration(int iSpd, int iDur)
I found it
Quoteint CalculateDuration(int iSpd, int iDur)
{
int i = 100 - iSpd;if (i > 0)
i = 100 + i;
else if (i < 0)
i = 10000 / (100 - i);
else
i = 100;return iDur * i / 100;
}
edit : Realised I shouldn't modify CalculateDuration because it is used for calculating more things, not only the cooldown of skills, so I should instead modify ComputeCooltime
So, in order for it to work like cooldown reduction (as in, you have +60% casting speed, skill cooldown is reduced by 60%), I think I should modify it like this
Quoteint CHARACTER::ComputeCooltime(int time)
{
if(GetPoint(POINT_CASTING_SPEED) - 100 <= 100) // subtracting 100 from casting speed because the base amount is 100(or I think it is), and I only want the leftover from item bonus
return time * (100 - (GetPoint(POINT_CASTING_SPEED) - 100)) / 100;
else
return time; // just in case it somehow got above 100% which shouldn't happen
}Do you think it is fine? Sorry for spamming questions, but I'm beginner at both metin and coding and I doubt it is this easy to do, and 99% there is something I didn't consider
-
49 minutes ago, WeedHex said:
char_skill.cpp
int CHARACTER::ComputeCooltime(int time) { return CalculateDuration(GetPoint(POINT_CASTING_SPEED), time); }
I can't seem to find what ComputeCooltime does, only its declaration. Can you please tell me where I can find its definition so I can change it?
-
-
Version of Files : XXX
[[ Hi / Hello / Hey... ]]
[[ It is a template to help you with your problem... ]]
1. Description of the problem / Question :
Does anyone know where I can find the formula for the casting speed bonus? I want to change it(if possible) so it reduces the cooldown of skills by that percentage. Or, if I can't change it, does anyone know how I can add a new bonus that does that?
Thanks, Sincerly,
[[ Username ]] -
Does anyone know how to fix the bug where you can't move 2/3 slot items up or down by only 1 or 2 slots? For example, moving a sword 1 slot up. (Note: If it matters, I have the 4 inventory change and, for some reason, only in the first inventory, I can move items 1 slot down just fine, but not up, and not in any other inventory.)
-
I used a gmake clean and gmake -j20 to compile a source, but I get a lot of errors. Any fix?
SpoilerIn file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
c_string' has not been declared
basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
^~~~~~~~~~~~
arena.cpp:156:54: error: invalid type argument of unary '*' (have 'int')
(CArena*)(*iter)->GetStartPointA().x, (CArena*)(*iter)->GetStartPointA().y,
^~~~
ssary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from /usr/local/lib/gcc8/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
^
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from n file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from building.cpp:8:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: un../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
1mchar.h:4,
from char_affect.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
_M_truename_size = __tn.size();
^~~~
arena.cpp:157:16: error: invalid type argument of unary '*' (have 'int')
(CArena*)(*iter)->GetStartPointB().x, (CArena*)(*iter)->GetStartPointB().y);
^~~~
1mchar.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __tn = __np.truename();
^~~~~~~~~~~~
necessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '__ct '
_M_truename_size = __tn.size();
^~~~
__ct
arena.cpp:157:54: error: invalid type argument of unary '*' (have 'int')
(CArena*)(*iter)->GetStartPointB().x, (CArena*)(*iter)->GetStartPointB().y);
^~~~
In file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __fn = __np.falsename();
^~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from n file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::StartDuel(LPCHARACTER, LPCHARACTER, int, int)':
arena.cpp:181:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from castle.cpp:21:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: unnIn file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
1mdesc_manager.h:4,
from char_battle.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __tn = __np.truename();
^~~~~~~~~~~~
ecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from n file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
1mchar.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
_M_truename_size = __tn.size();
^~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from n file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
arena.cpp:181:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '__ct '
_M_truename_size = __tn.size();
^~~~
__ct
1mchar.h:4,
from char_affect.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
_M_falsename_size = __fn.size();
^~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from arena.cpp:185:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __fn = __np.falsename();
^~~~~~~~~~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
_M_falsename_size = __fn.size();
^~~~
_S_in
1mdesc_manager.h:4,
from char_battle.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
_M_truename_size = __tn.size();
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'void CArenaMap::EndAllDuel()':
arena.cpp:523:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '__ct '
_M_truename_size = __tn.size();
^~~~
__ct
arena.cpp:523:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from battle.cpp:19:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from char.cpp:6:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
const basic_string<_CharT>& __fn = __np.falsename();
^~~~~~~~~~~~
arena.cpp:527:21: error: invalid type argument of unary '*' (have 'int')
CArena *pArena = *iter;
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from n file included from /usr/local/lib/gcc8/include/c++/string:39,
from /usr/local/lib/gcc8/include/c++/stdexcept:39,
from /usr/local/lib/gcc8/include/c++/array:39,
from /usr/local/lib/gcc8/include/c++/tuple:39,
from /usr/local/lib/gcc8/include/c++/bits/stl_map.h:63,
from /usr/local/lib/gcc8/include/c++/map:61,
from stdafx.h:21,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stringfwd.h:71:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
class basic_string;
^~~~~~~~~~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'int CArenaMap::GetDuelList(lua_State*, int)':
arena.cpp:606:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char.cpp:6:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
1mchar.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
_M_falsename_size = __fn.size();
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
template <class charT, class traits, class Allocator> class basic_string;
^~~~~~~~~~~~
arena.cpp:606:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from char.cpp:6:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from castle.cpp:21:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
_M_falsename_size = __fn.size();
^~~~
_S_in
In file included from /usr/local/lib/gcc8/include/c++/bits/locale_facets.h:2651,
from /usr/local/lib/gcc8/include/c++/bits/basic_ios.h:37,
from /usr/local/lib/gcc8/include/c++/ios:44,
from /usr/local/lib/gcc8/include/c++/ostream:38,
from /usr/local/lib/gcc8/include/c++/iterator:64,
from ../../../Extern/include/boost/detail/iterator.hpp:54,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from arena.cpp:610:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_affect.cpp:5:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warning: n file included from building.cpp:8:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from castle.cpp:12:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
1mdesc_manager.h:4,
from char_battle.cpp:5:
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
_M_falsename_size = __fn.size();
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::CanAttack(LPCHARACTER, LPCHARACTER)':
arena.cpp:670:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char.cpp:6:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
Kunnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from building.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from castle.cpp:21:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
/usr/local/lib/gcc8/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
_M_falsename_size = __fn.size();
^~~~
_S_in
arena.cpp:670:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from building.cpp:8:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from castle.cpp:21:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
arena.cpp:674:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from building.cpp:8:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from castle.cpp:12:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::OnDead(LPCHARACTER, LPCHARACTER)':
arena.cpp:711:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from building.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from castle.cpp:21:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp:711:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warningIn file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from building.cpp:8:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp:715:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
In file included from ../../../Extern/include/boost/mpl/aux_/na_assert.hpp:23,
from ../../../Extern/include/boost/mpl/arg.hpp:25,
from ../../../Extern/include/boost/mpl/placeholders.hpp:24,
from ../../../Extern/include/boost/iterator/iterator_categories.hpp:17,
from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/mpl/assert.hpp: At global scope:
../../../Extern/include/boost/mpl/assert.hpp:154:21: warninIn file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::AddObserver(LPCHARACTER, WORD, WORD)':
arena.cpp:879:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
g: unnecessary parentheses in declaration of 'assert_arg' [-Wparentheses]
failed ************ (Pred::************
^
arena.cpp:879:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
../../../Extern/include/boost/mpl/assert.hpp:159:21: warning: unnecessary parentheses in declaration of 'assert_not_arg' [-Wparentheses]
failed ************ (boost::mpl::not_<Pred>::************
^
arena.cpp:883:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'MEMBER_IDENTITY CArenaMap::IsMember(DWORD)':
arena.cpp:932:11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
arena.cpp:932:11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
arena.cpp:936:21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from char_affect.cpp:5:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::EndDuel(DWORD)':
arena.cpp11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
arena.cpp11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from char_affect.cpp:5:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from char_change_empire.cpp:4:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
In file included from stdafx.h:40,
from arena.cpp:1:
arena.cpp: In member function 'bool CArenaMap::RegisterObserverPtr(LPCHARACTER, DWORD, WORD, WORD)':
arena.cpp11: error: 'm_listArena' was not declared in this scope
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
arena.cpp11: note: suggested alternative: 'listen'
itertype(m_listArena) iter = m_listArena.begin();
^~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
arena.cpp21: error: invalid type argument of unary '*' (have 'int')
CArena* pArena = *iter;
^~~~
In file included from char_change_empire.cpp:4:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_change_empire.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
gmake: *** [Makefile:189: .obj/battle.o] Error 1
gmake: *** [Makefile:189: .obj/castle.o] Error 1
In file included from char_affect.cpp:16:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_affect.cpp:2:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
gmake: *** [Makefile:189: .obj/arena.o] Error 1
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_affect.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
char_change_empire.cpp: In member function 'int CHARACTER::ChangeEmpire(BYTE)':
char_change_empire.cpp:41:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery(szQuery));
^~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/memory:80,
from ../../../Extern/include/boost/unordered/unordered_map_fwd.hpp:14,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:16,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
In file included from battle.h:4,
from char_battle.cpp:10:
char.h:963:9: error: reference to 'list' is ambiguous
const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
^~~
char_change_empire.cpp:118:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SQLMsg> msg(DBManager::instance().DirectQuery(szQuery));
^~~~~~~~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'CAffect* CHARACTER::FindAffect(DWORD, BYTE) const':
char_affect.cpp:56:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from /usr/local/lib/gcc8/include/c++/memory:80,
from ../../../Extern/include/boost/unordered/unordered_map_fwd.hpp:14,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:16,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
char_affect.cpp:56:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
char_change_empire.cpp: In member function 'void CHARACTER::SetChangeEmpireCount()':
char_change_empire.cpp:186:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr<SQLMsg> pmsg(DBManager::instance().DirectQuery(szQuery));
^~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/memory:80,
from ../../../Extern/include/boost/unordered/unordered_map_fwd.hpp:14,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:16,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char_change_empire.cpp:4:
/usr/local/lib/gcc8/include/c++/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
char_affect.cpp:60:27: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAffect = *it++;
^~
In file included from battle.h:4,
from char_battle.cpp:10:
char.h:969:3: error: reference to 'list' is ambiguous
std::list<CAffect *> m_list_pkAffect;
^~~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::ClearAffect(bool)':
char_affect.cpp:173:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
char_affect.cpp:173:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:177:22: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAff = *it;
^~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'int CHARACTER::ProcessAffect()':
char_affect.cpp:265:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it;
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:265:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it;
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:271:12: error: invalid type argument of unary '*' (have 'int')
pkAff = *it;
^~
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::SaveAffect()':
char_affect.cpp:338:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
gmake: *** [Makefile:189: .obj/char_change_empire.o] Error 1
char_affect.cpp:338:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:342:24: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAff = *it++;
^~
char_affect.cpp: In member function 'void CHARACTER::LoadAffect(DWORD, TPacketAffectElement*)':
char_affect.cpp:489:3: error: 'm_list_pkAffect' was not declared in this scope
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
char_affect.cpp:489:3: note: suggested alternative: 'AttackAffect'
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
AttackAffect
char_affect.cpp: In member function 'bool CHARACTER::AddAffect(DWORD, BYTE, long int, DWORD, long int, long int, bool, bool)':
char_affect.cpp:580:3: error: 'm_list_pkAffect' was not declared in this scope
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
char_affect.cpp:580:3: note: suggested alternative: 'AttackAffect'
m_list_pkAffect.push_back(pkAff);
^~~~~~~~~~~~~~~
AttackAffect
In file included from stdafx.h:40,
from char_affect.cpp:2:
char_affect.cpp: In member function 'void CHARACTER::RefreshAffect()':
char_affect.cpp:627:11: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:627:11: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_affect.cpp:631:24: error: invalid type argument of unary '*' (have 'int')
CAffect * pkAff = *it++;
^~
char_affect.cpp: In member function 'bool CHARACTER::RemoveAffect(CAffect*)':
char_affect.cpp:675:2: error: 'm_list_pkAffect' was not declared in this scope
m_list_pkAffect.remove(pkAff);
^~~~~~~~~~~~~~~
char_affect.cpp:675:2: note: suggested alternative: 'AttackAffect'
m_list_pkAffect.remove(pkAff);
^~~~~~~~~~~~~~~
AttackAffect
In file included from char_battle.cpp:23:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char_battle.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from desc_manager.h:4,
from char_battle.cpp:5:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from char.cpp:43:
target.h:66:38: error: template argument 2 is invalid
std::map<DWORD, std::list<LPEVENT> > m_map_kListEvent;
^
target.h:66:38: error: template argument 4 is invalid
gmake: *** [Makefile:189: .obj/building.o] Error 1
gmake: *** [Makefile:191: .obj/char_affect.o] Error 1
In file included from char.cpp:49:
arena.h:82:2: error: reference to 'list' is ambiguous
std::list<CArena*> m_listArena;
^~~
In file included from /usr/local/lib/gcc8/include/c++/list:63,
from stdafx.h:20,
from char.cpp:1:
/usr/local/lib/gcc8/include/c++/bits/stl_list.h:563:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
class list : protected _List_base<_Tp, _Alloc>
^~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
from ../../../Extern/include/boost/functional/hash.hpp:6,
from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
from ../../../Extern/include/boost/unordered_map.hpp:16,
from char.h:4,
from char.cpp:6:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
template <class T, class Allocator> class list;
^~~~
In file included from stdafx.h:40,
from char_battle.cpp:1:
char_battle.cpp: In member function 'void CHARACTER::Dead(LPCHARACTER, bool)':
char_battle.cpp12: error: 'm_list_pkAffect' was not declared in this scope
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_battle.cpp12: note: suggested alternative: 'AttackAffect'
itertype(m_list_pkAffect) it = m_list_pkAffect.begin();
^~~~~~~~~~~~~~~
typedef.h:105:29: note: in definition of macro 'itertype'
#define itertype(v) typeof((v).begin())
^
char_battle.cpp38: error: invalid type argument of unary '*' (have 'int')
SendAffectAddPacket(GetDesc(), *it++);
^~
gmake: *** [Makefile:189: .obj/char.o] Error 1
gmake: *** [Makefile:189: .obj/char_battle.o] Error 1
root@:/usr/src/Server/game/src # -
As everybody knows if you keep the game tabbed for a while, when you re open it, it will be very laggy/frozen or just a black screen, and you have to exit the game. Can someone tell me why this happens, give a link for some documentation(i'm sure there is info about this already, but I don't know how to find it) and perhaps some ways to fix it(if possible)?
-
Thanks for trying to help. The encoding was fine, apparently the program i used to depack the mob_proto was the problem, probably it was for an older version. I found one that works, so problem solved.
Edit: I don't know how to mark thread as solved.
-
Just started experimenting things using a server on hamachi. I can't seem to modify mob names/levels/ranks, only damage/hp. I changed all of these (name etc.) in the database, but only the changes on stats took place. I tried changing the info on the clientside as well, in locale/mob proto using some extracter I found, but when I try to log in the game crashes right after loading screen. So, do I need to change clientside info as well for everything to work? And if so, what am I doing wrong, why does it crash? (Note: changing item names/ stats worked fine, both in database and clientside)
-
Acum 45 minute, WeedHex a spus:
db config.txt
WELCOME_MSG = "DB Server has been started"
SQL_ACCOUNT = "localhost account core fliege 0"
SQL_PLAYER = "localhost player core fliege 0"
SQL_COMMON = "localhost common core fliege 0"
SQL_HOTBACKUP = "localhost homepage core fliege 0"
TABLE_POSTFIX = ""
BIND_PORT = 92378
DB_SLEEP_MSEC = 10
CLIENT_HEART_FPS = 10
HASH_PLAYER_LIFE_SEC = 600
BACKUP_LIMIT_SEC = 3600
PLAYER_ID_START = 100
PLAYER_DELETE_LEVEL_LIMIT = 126
PLAYER_DELETE_CHECK_SIMPLE = 1
LOCALE = latin1
NO_TXT = 1
ITEM_ID_RANGE = 2000000000 2100000000
MIN_LENGTH_OF_SOCIAL_ID = 6
#NAME_COLUMN = "gb2312name"
#LOCALE = "gb2312"
SIMPLE_SOCIALID = 1
Block "Y/QSB7omi36awq4ctpUxuiwRARM=" -
Acum 31 minute, IceShiva a spus:
Check your ITEM_ID_RANGE in db.conf
It says ITEM_ID_RANGE = 2000000000 2100000000 , what am I supposed to do with it?
-
On the Fliege serverfiles( this is what I got recommended when looking for clean sf), after I run the start command and it supposedly finishes starting the server, it goes into a loop. Anyone knows a fix? ( the server is only for testing, with hamachi ip)
SpoilerStart of pid: 9653
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_w20_sound.dat
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_w21_etc.dat
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_ds.dat
SYSERR: Jan 24 02:46:41 :: LoadPackageCryptInfo: [PackageCryptInfo] Failed to load package/cshybridcrypt_metin2_patch_dss_box.dat
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: SetMaxSpareItemID: ItemIDRange: FATAL ERROR!!! Spare ITEM ID RANGE is not set
SYSERR: Jan 24 02:46:42 :: Boot: not enough item id for spare contact your administrator!
SYSERR: Jan 24 02:46:43 :: pid_deinit:
End of pid
SpoilerWas moechtest du tun?
1 - (1) Server/Channel starten
2 - (2) Server/Channel schliessen
3 - (3) Logs loeschen
4 - (4) Quests reloaden
5 - (5) Nichts
Panel by Fliege
1
Startet die Datenbank ..
Real Server
Log OffAsyncSQL: connected to localhost (reconnect 1)
Success PLAYER
AsyncSQL: connected to localhost (reconnect 1)
Success ACCOUNT
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success COMMON
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
Success HOTBACKUP
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
socket: Address already in use
usage: sleep seconds
Kern1_Ch1 is not running
PUBLIC_IP: 25.88.213.100 interface em0
HOSTNAME: channel1
AsyncSQL: connected to localhost (reconnect 1)
CommonSQL connected
Setting Locale "germany" (Path: locale/germany)
Setting DB to locale latin1
AsyncSQL: connected to localhost (reconnect 1)
PlayerSQL connected
LogSQL connected
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_LEVEL 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_JOB 0 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 1 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 2 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 3 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 4 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 5 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 6 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 7 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
MAP ALLOW 5
MAP ALLOW 25
MAP ALLOW 45
MAP ALLOW 107
MAP ALLOW 108
MAP ALLOW 109
MAP ALLOW 61
MAP ALLOW 62
MAP ALLOW 63
MAP ALLOW 64
MAP ALLOW 65
MAP ALLOW 66
MAP ALLOW 351
PLAYER_MAX_LEVEL: 115
LocaleService locale/germany/locale_string.txt
Der Loginserver wurde gestartet.Serverstarter by Fliege
root@localhost:/usr/home/game # Neutraler_Server is not running
PUBLIC_IP: 25.88.213.100 interface em0
HOSTNAME: game99
AsyncSQL: connected to localhost (reconnect 1)
CommonSQL connected
Setting Locale "germany" (Path: locale/germany)
Setting DB to locale latin1
AsyncSQL: connected to localhost (reconnect 1)
PlayerSQL connected
LogSQL connected
AsyncSQL: connected to localhost (reconnect 1)
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_LEVEL 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
AsyncSQL: connected to localhost (reconnect 1)
SKILL_POWER_BY_JOB 0 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 1 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 2 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 3 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 4 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 5 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 6 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
SKILL_POWER_BY_JOB 7 0 5 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 50 52 54 56 58 60 63 66 69 72 82 85 88 91 94 98 102 106 110 115 125 125 125 125 125
-----------------------------------------------
TEST_SERVER
-----------------------------------------------
MAP ALLOW 81
MAP ALLOW 103
MAP ALLOW 105
MAP ALLOW 110
MAP ALLOW 111
MAP ALLOW 112
MAP ALLOW 113
MAP ALLOW 181
MAP ALLOW 182
MAP ALLOW 183
MAP ALLOW 208
MAP ALLOW 114
MAP ALLOW 118
MAP ALLOW 119
PLAYER_MAX_LEVEL: 115
LocaleService locale/germany/locale_string.txt
-
I figured it out, thanks for the information.
-
I'm new to this and I'm barely understanding the networking part of running a metin2 server. So i wanted to change FreeBSD 9.2 to 11.2 but I don't know how to configure the network settings. I tried mirroring the ones I had in 9.2 but I don't know what corresponds to what, also I can't put .localhost in hostname/domain ( the server is just for myself, to test things, made using hamachi). So can someone explain or give me a tutorial to configure FreeBSD 11.2 networking?
In the photo you can see my 9.2 settings
-
Hello, can someone tell me what server and client sources are, what they are used for and how I can use them?
-
Acum 33 minute, WeedHex a spus:
Nowadays -> $
The main goal is to do something myself and learn new things in the process, so it's not an option. Any other way?
-
I decided that I want to open my own Metin2 server because all the servers I played are repetitve/boring/identical to other and I think I have some good ideas.
I followed a tutorial for opening a server, but the problem is I don't understand what I'm doing exactly, and there are way too many unclear things(like people talking about where they can find a good serverfile, but I can't seem to find anyone telling me what a serverfile precisely is, what it does, what is the difference between 2 serverfiles) and I don't know where to start. So I'd appreciate if someone could answer my ( tons of ) questions or tell me where to look for answers/learn the basics.
My questions are related to what the client is, what does it do, how is it different compared with the serverfiles, is there any downside(like security) in using public serverfiles, why people use FreeBSD for servers, what are the basic commands to it, how to modify data in the database ( I tried changing the lvl, name etc of the lvl1 dog inside the database, nothing changed ingame, what is wrong with my approach?) , what programming languages should I focus on( I know a little C++ and even less Python), how do you figure which files to modify if you want to implement a new system ( for example, I saw a tutorial for doubling the size of shop space, and the guy said you have to add/change code in a few different files , how did he exactly know which files to modify? ), and finally do you actually need to have a full understanding of how the game was created and how every single file/line of code works if you want to change it, or you can do fine without even reading it? (asking because I got lost in the tons of functions I didn't understand, making probably easy code unintelligible to me)
change casting speed bonus formula / add cooldown reduction bonus
in Community Support - Questions & Answers
Posted
up