- Mesaj
- 2.854
- Çözümler
- 299
- Beğeni
- 2.137
- Puan
- 1.850
- Ticaret Puanı
- 2
6 ve 7. efsunu sadece silahlara basılacak şekilde ayarladım zırha basmaya çalıştıgımızda verdigi game.core
syserr hatası
number_ex: number(): first argument is bigger than second argument 0 -> -1, item_attribute.cpp 411
411. satır
Kod:
(gdb)
#0 0x08186d7e in CItem::AddRareAttribute (this=0x7f7a4780)
at item_attribute.cpp:411
i = 99
count = 0
pos = <value optimized out>
nAttrSet = 1
avail = {<std::_Vector_base<int,std::allocator<int> >> = {
_M_impl = {<std::allocator<int>> = {<__gnu_cxx::new_allocator<int>> = {<No d ata fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
_M_end_of_storage = 0x0}}, <No data fields>}
nAttrLevel = <value optimized out>
pszIP = <value optimized out>
#1 0x080b5e23 in CHARACTER::UseItemEx (this=0x7f762000, item=0x7f7a3b40,
DestCell={window_type = 1 '\001', cell = 31}) at char_item.cpp:4391
item2 = 0x7f7a4780
iLimitRealtimeStartFirstUseFlagIndex = <value optimized out>
wDestCell = <value optimized out>
bDestInven = <value optimized out>
__FUNCTION__ = "UseItemEx"
b1 = {{count = 1000, prob = 302, vnum = 1}, {count = 10, prob = 150,
vnum = 27002}, {count = 10, prob = 75, vnum = 27003}, {count = 10,
prob = 100, vnum = 27005}, {count = 10, prob = 50, vnum = 27006}, {
count = 10, prob = 80, vnum = 27001}, {count = 10, prob = 50,
---Type <return> to continue, or q <return> to quit---vnum = 27002},Quit
syserr hatası
number_ex: number(): first argument is bigger than second argument 0 -> -1, item_attribute.cpp 411
411. satır
C++:
const TItemAttrTable& r = g_map_itemRare[avail[number(0, avail.size() - 1)]];