Erroare Esarfe VegaS

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
Moș [UniQue]
Utilizator interzis !

Utilizator interzis !
Mesaje: 631
Membru din: 24 Mai 2014, 12:57
Server: OldBattle2
Regat: Jinno
Aprecieri: 4  
Mulţumiri: 8  
 Contact:
Medalii

Salut, am cumparat niste esarfe de la Vegas dar imi da erroare la compilare GAME..
el a zis ca are fixurile sa rezolve aceste errori dar nu a vrut sa mi le dea ... ciudat .. cu toate ca i-am dat bani

Uitati erroarea

Cod: Selectaţi tot

root@host:~ # cd /usr/src/mainline/Srcs/Server/game/src
root@host:/usr/src/mainline/Srcs/Server/game/src # gmake clean
root@host:/usr/src/mainline/Srcs/Server/game/src # gmake -j20
compile acce.cpp
compile BattleArena.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
compile banword.cpp
compile arena.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_horse.cpp
compile char_change_empire.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
char.cpp:7222:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
   return 2500000000;
   ^
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
acce.cpp: In function 'void FN_remove_material(CItem**, DWORD, int, int)':
acce.cpp:87:7: warning: unused variable 'count' [-Wunused-variable]
  int  count = 0;
       ^
acce.cpp: In member function 'void ACCE_DATA::remove_material(LPCHARACTER, int)':
acce.cpp:222:11: warning: variable 'end_index' set but not used [-Wunused-but-set-variable]
  DWORD i, end_index;
           ^
acce.cpp: In function 'bool Acce_InformationInitialize()':
acce.cpp:943:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s_acce_proto.size(); ++i)
                                        ^
compile PetSystem.cpp
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
compile constants.cpp
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:776:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (GetLevel() - pkAttacker->GetLevel() >= -10)
      ^
In file included from ../../libthecore/include/stdafx.h:141:0,
                 from stdafx.h:9,
                 from char_item.cpp:1:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper::TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define _countof(_Array) sizeof(*__countof_helper(_Array))
                                                          ^
belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
   if (level >= _countof(beltGradeByLevelTable))
                ^
char.cpp: In member function 'void CHARACTER::PointsPacket()':
char.cpp:1612:14: error: 'POINT_PRESTIGE_LEVEL' was not declared in this scope
  pack.points[POINT_PRESTIGE_LEVEL] = GetPrestigeLevel();
              ^
char.cpp:1612:55: error: 'GetPrestigeLevel' was not declared in this scope
  pack.points[POINT_PRESTIGE_LEVEL] = GetPrestigeLevel();
                                                       ^
compile crc32.cpp
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp:2004:41: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
      std::vector <LPITEM> item_gets(NULL);
                                         ^
char_item.cpp:2068:40: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
     std::vector <LPITEM> item_gets(NULL);
                                        ^
char_item.cpp:2428:162: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
           sprintf(buf, "Inc %ds by item{VN:%d SOC%d:%d}", ret, item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
                                                                                                                                                                  ^
char_item.cpp:2432:159: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
           sprintf(buf, "Inc %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
                                                                                                                                                               ^
char_item.cpp:2444:159: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
           sprintf(buf, "No change by item{VN:%d SOC%d:%d}", item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
                                                                                                                                                               ^
char_item.cpp:2448:156: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
           sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
                                                                                                                                                            ^
char_item.cpp:2475:163: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
          sprintf(buf, "Increase %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
                                                                                                                                                                   ^
char_item.cpp:2483:155: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
          sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
                                                                                                                                                           ^
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:2894:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
      if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
                                                         ^
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
char.cpp:3102:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (amount < 0 && exp < -amount)
                              ^
char_item.cpp:3653:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
          std::vector <LPITEM> item_gets(NULL);
                                             ^
char_item.cpp:3657:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
          if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
                                                     ^
char_item.cpp:3677:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
          std::vector <LPITEM> item_gets(NULL);
                                             ^
char_item.cpp:3681:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
          if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
                                                     ^
char_item.cpp:3700:45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
          std::vector <LPITEM> item_gets(NULL);
                                             ^
In file included from ../../libthecore/include/stdafx.h:141:0,
                 from stdafx.h:9,
                 from char_item.cpp:1:
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define _countof(_Array) sizeof(*__countof_helper(_Array))
                                                          ^
char_item.cpp:5140:31: note: in expansion of macro '_countof'
     if (item->GetSocket(0) >= _countof(aApplyInfo))
                               ^
char_item.cpp:1706:6: warning: variable 'iLimitTimerBasedOnWearFlagIndex' set but not used [-Wunused-but-set-variable]
  int iLimitTimerBasedOnWearFlagIndex = -1;
      ^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5358:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
  if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
                      ^
char_item.cpp:5212:7: warning: unused variable 'wDestCell' [-Wunused-variable]
  WORD wDestCell = DestCell.cell;
       ^
char_item.cpp:5213:7: warning: unused variable 'bDestInven' [-Wunused-variable]
  BYTE bDestInven = DestCell.window_type;
       ^
char_item.cpp: In member function 'bool CHARACTER::EquipItem(LPITEM, int)':
char_item.cpp:6213:141: warning: array subscript has type 'char' [-Wchar-subscripts]
     long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
                                                                                                                                             ^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(LPITEM)':
char_item.cpp:6294:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
                                                                               ^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(LPITEM)':
char_item.cpp:6306:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
                                                                               ^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5104:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
                             ^
compile cube.cpp
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(LPITEM, const TItemPos&, const TItemPos&)':
char_item.cpp:7596:7: warning: unused variable 'itemType' [-Wunused-variable]
  BYTE itemType = item->GetType();
       ^
char_item.cpp:7597:7: warning: unused variable 'itemSubType' [-Wunused-variable]
  BYTE itemSubType = item->GetSubType();
       ^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6289:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
                                                 ^
compile db.cpp
compile desc.cpp
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER, bool)':
char_skill.cpp:2489:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
                                                  ^
char_skill.cpp:2595:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim)
                                                                                                ^
cmd_gm.cpp:2121:9: warning: multi-character character constant [-Wmultichar]
    case 'acce':
         ^
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:679:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
compile desc_client.cpp
gmake: *** [OBJDIR/char.o] Error 1
gmake: *** Waiting for unfinished jobs....
constants.cpp:301:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2150000000, // 110
  ^
constants.cpp:302:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2160000000,
  ^
constants.cpp:303:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2170000000,
  ^
constants.cpp:304:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2180000000,
  ^
constants.cpp:305:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2190000000,
  ^
constants.cpp:306:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2200000000, // 115
  ^
constants.cpp:307:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2210000000,
  ^
constants.cpp:308:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2220000000,
  ^
constants.cpp:309:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2230000000,
  ^
constants.cpp:310:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2240000000,
  ^
constants.cpp:311:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2250000000, // 120
  ^
constants.cpp:312:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2251500000,
  ^
constants.cpp:313:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2253000000,
  ^
constants.cpp:314:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2254500000,
  ^
constants.cpp:315:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2256000000,
  ^
constants.cpp:316:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2257500000, // 125
  ^
constants.cpp:317:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2259000000,
  ^
constants.cpp:318:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2260500000,
  ^
constants.cpp:319:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2262000000,
  ^
constants.cpp:320:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2263500000,
  ^
constants.cpp:321:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2265000000, // 130
  ^
constants.cpp:322:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2266500000,
  ^
constants.cpp:323:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2268000000,
  ^
constants.cpp:324:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2269500000,
  ^
constants.cpp:325:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2271000000,
  ^
constants.cpp:326:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2272500000, // 135
  ^
constants.cpp:327:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2274000000,
  ^
constants.cpp:328:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2275500000,
  ^
constants.cpp:329:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2277000000,
  ^
constants.cpp:330:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2278500000,
  ^
constants.cpp:331:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2280000000, // 140
  ^
constants.cpp:332:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2281800000,
  ^
constants.cpp:333:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2283600000,
  ^
constants.cpp:334:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2285400000,
  ^
constants.cpp:335:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2287200000,
  ^
constants.cpp:336:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2289000000, // 145
  ^
constants.cpp:337:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2290800000,
  ^
constants.cpp:338:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2292600000,
  ^
constants.cpp:339:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2294400000,
  ^
constants.cpp:340:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2296200000,
  ^
constants.cpp:341:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2298000000, // 150
  ^
constants.cpp:342:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2299800000,
  ^
constants.cpp:343:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2301600000,
  ^
constants.cpp:344:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2303400000,
  ^
constants.cpp:345:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2305200000,
  ^
constants.cpp:346:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2307000000, // 155
  ^
constants.cpp:347:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2308800000,
  ^
constants.cpp:348:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2310600000,
  ^
constants.cpp:349:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2312400000,
  ^
constants.cpp:350:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2314200000,
  ^
constants.cpp:351:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2316000000, // 160
  ^
constants.cpp:352:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2317800000,
  ^
constants.cpp:353:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2319600000,
  ^
constants.cpp:354:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2321400000,
  ^
constants.cpp:355:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2323200000,
  ^
constants.cpp:356:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2325000000, // 165
  ^
constants.cpp:357:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2326800000,
  ^
constants.cpp:358:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2328600000,
  ^
constants.cpp:359:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2330400000,
  ^
constants.cpp:360:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2332200000,
  ^
constants.cpp:361:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2334000000, // 170
  ^
constants.cpp:362:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2335800000,
  ^
constants.cpp:363:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2337600000,
  ^
constants.cpp:364:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2339400000,
  ^
constants.cpp:365:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2341200000,
  ^
constants.cpp:366:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2343000000, // 175
  ^
constants.cpp:367:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2344800000,
  ^
constants.cpp:368:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2346600000,
  ^
constants.cpp:369:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2348400000,
  ^
constants.cpp:370:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2350200000,
  ^
constants.cpp:371:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2352000000, // 180
  ^
constants.cpp:372:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2353800000,
  ^
constants.cpp:373:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2355600000,
  ^
constants.cpp:374:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2357400000,
  ^
constants.cpp:375:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2359200000,
  ^
constants.cpp:376:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2361000000, // 185
  ^
constants.cpp:377:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2362800000,
  ^
constants.cpp:378:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2364600000,
  ^
constants.cpp:379:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2366400000,
  ^
constants.cpp:380:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2368200000,
  ^
constants.cpp:381:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2370000000, // 190
  ^
constants.cpp:382:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2371800000,
  ^
constants.cpp:383:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2373600000,
  ^
constants.cpp:384:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2375400000,
  ^
constants.cpp:385:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2377200000,
  ^
constants.cpp:386:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2379000000, // 195
  ^
constants.cpp:387:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2380800000,
  ^
constants.cpp:388:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2382600000,
  ^
constants.cpp:389:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2384400000,
  ^
constants.cpp:390:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2386200000,
  ^
constants.cpp:391:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2388000000, // 200
  ^
constants.cpp:392:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2389800000,
  ^
constants.cpp:393:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2391600000,
  ^
constants.cpp:394:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2393400000,
  ^
constants.cpp:395:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2395200000,
  ^
constants.cpp:396:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2397000000, // 205
  ^
constants.cpp:397:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2398800000,
  ^
constants.cpp:398:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2400600000,
  ^
constants.cpp:399:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2402400000,
  ^
constants.cpp:400:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2404200000,
  ^
constants.cpp:401:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2406000000, // 210
  ^
constants.cpp:402:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2407800000,
  ^
constants.cpp:403:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2409600000,
  ^
constants.cpp:404:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2411400000,
  ^
constants.cpp:405:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2413200000,
  ^
constants.cpp:406:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2415000000, // 215
  ^
constants.cpp:407:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2416800000,
  ^
constants.cpp:408:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2418600000,
  ^
constants.cpp:409:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2420400000,
  ^
constants.cpp:410:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2422200000,
  ^
constants.cpp:411:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2424000000, // 220
  ^
constants.cpp:412:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2425800000,
  ^
constants.cpp:413:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2427600000,
  ^
constants.cpp:414:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2429400000,
  ^
constants.cpp:415:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2431200000,
  ^
constants.cpp:416:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2433000000, // 225
  ^
constants.cpp:417:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2434800000,
  ^
constants.cpp:418:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2436600000,
  ^
constants.cpp:419:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2438400000,
  ^
constants.cpp:420:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2440200000,
  ^
constants.cpp:421:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2442000000, // 230
  ^
constants.cpp:422:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2443800000,
  ^
constants.cpp:423:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2445600000,
  ^
constants.cpp:424:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2447400000,
  ^
constants.cpp:425:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2449200000,
  ^
constants.cpp:426:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2451000000, // 235
  ^
constants.cpp:427:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2452800000,
  ^
constants.cpp:428:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2454600000,
  ^
constants.cpp:429:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2456400000,
  ^
constants.cpp:430:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2458200000,
  ^
constants.cpp:431:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2460000000, // 240
  ^
constants.cpp:432:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2461800000,
  ^
constants.cpp:433:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2463600000,
  ^
constants.cpp:434:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2465400000,
  ^
constants.cpp:435:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2467200000,
  ^
constants.cpp:436:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2469000000, // 245
  ^
constants.cpp:437:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2470800000,
  ^
constants.cpp:438:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2472600000,
  ^
constants.cpp:439:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2474400000,
  ^
constants.cpp:440:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2478000000,
  ^
constants.cpp:441:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2500000000, // 250
  ^
constants.cpp:442:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2500000000,
  ^
constants.cpp:443:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2500000000,
  ^
constants.cpp:444:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2500000000,
  ^
constants.cpp:445:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2500000000,
  ^
constants.cpp:446:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
  2500000000, // 255
  ^
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:803:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (!IsWalking() && !IsRiding())
      ^
char_state.cpp:901:17: warning: unused variable 'rider' [-Wunused-variable]
     LPCHARACTER rider = GetRider();
                 ^
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:247:7: warning: unused variable 'bDoMoveAlone' [-Wunused-variable]
  bool bDoMoveAlone = true;     // ?¦¦¦?¦ ¦¦¦¦¦¦ ¦¦¦ ¦¦ ?¦¦ ¦¦¦¦¦¦¦ ¦¦¦¦¦?¦¦¦ ¦¦¦¦ -_-;
       ^
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, LPITEM, const char*, bool, DWORD)':
PetSystem.cpp:553:8: warning: unused variable 'petVID' [-Wunused-variable]
  DWORD petVID = petActor->Summon(petName, pSummonItem, bSpawnFar);
        ^
config.cpp: In function 'void config_init(const string&)':
config.cpp:438:22: warning: NULL used in arithmetic [-Wpointer-arith]
    if (NULL != line[0])
                      ^
config.cpp:462:22: warning: NULL used in arithmetic [-Wpointer-arith]
    if (NULL != line[0])
                      ^
config.cpp:486:22: warning: NULL used in arithmetic [-Wpointer-arith]
    if (NULL != line[0])
                      ^
config.cpp:508:17: warning: unused variable 'line' [-Wunused-variable]
    const char * line = two_arguments(value_string, openid_host, sizeof(openid_host), openid_uri, sizeof(openid_uri));
                 ^
In file included from desc.cpp:8:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
cmd_gm.cpp: In function 'void do_set_stat(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:3931:17: warning: NULL used in arithmetic [-Wpointer-arith]
  if (*szName == NULL || *szChangeAmount == '\0')
                 ^
In file included from desc_client.cpp:7:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
cube.cpp: In function 'bool Cube_make(LPCHARACTER)':
cube.cpp:544:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (ch->GetGold() < cube_proto->gold)
                                  ^
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716:16: warning: unused variable 'npcVNUM' [-Wunused-variable]
   const DWORD& npcVNUM = iter->first;
                ^
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:783:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < s_cube_proto.size(); ++i)
                                        ^
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
desc_client.cpp:299:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (fForce || m_tLastChannelStatusUpdateTime+CHANNELSTATUS_UPDATE_PERIOD < t) {
                                                                             ^
cmd_gm.cpp: In function 'void do_mob_ld(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:871:6: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
   dir);
      ^
cmd_gm.cpp:871:6: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
cmd_gm.cpp: In function 'void do_use_item(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:4356:41: warning: 'cell' may be used uninitialized in this function [-Wmaybe-uninitialized]
  LPITEM item = ch->GetInventoryItem(cell);
                                         ^
root@host:/usr/src/mainline/Srcs/Server/game/src #
Stie cineva cum pot rezolva?
Avatar utilizator
Mihawk
Nivel 5

Nivel 5
Mesaje: 879
Membru din: 29 Ian 2015, 21:14
Regat: Jinno
Aprecieri: 108  
Mulţumiri: 79  
Medalii

cea mai mare teapa e free pe net:))
RO: Buna ziua tin sa te anunt ca acum poti sa-ti promovezi serverul tau de metin2 la noi pe site on http://xtopmetin.com/ Te Asteptam!

EN: Hello, I want to announce that you can now promote your metin2 server to us on http://xtopmetin.com/ We are waiting for you!
Afișează semnătura
Avatar utilizator
Moș [UniQue]
Utilizator interzis !

Utilizator interzis !
Mesaje: 631
Membru din: 24 Mai 2014, 12:57
Server: OldBattle2
Regat: Jinno
Aprecieri: 4  
Mulţumiri: 8  
 Contact:
Medalii

Ce sa ii faci.. e si prost pe langa ( vegas )
Avatar utilizator
C.Mihai
Nivel 9

Nivel 9
Mesaje: 1875
Membru din: 26 Mai 2014, 13:57
Server: xGamer
Regat: Chunjo
Aprecieri: 24  
Mulţumiri: 7  
 Contact:
Medalii

-================-
Subiect inactiv de mai bine de 3 zile !
=================
Subiectul a fost ARHIVAH !
=================
:-h :-h
Nu iti poti trai viata pentru altii. Trebuie sa faci ceea ce e bine pentru tine, chiar daca astfel ii ranesti pe cei pe care ii iubesti. – Nicholas Sparks
Imagine
Cea mai bună firmă de HOSTING !
Afișează semnătura
Închis
Răspunsuri
3
Vizualizări
335
Răspunsuri
8
Vizualizări
749
Răspunsuri
3
Vizualizări
527

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Amazon [Bot] și 45 vizitatori