[HELP] Arena compile

Results 1 to 8 of 8
  1. #1
    RoRivals gaby001 is offline
    MemberRank
    Aug 2011 Join Date
    RomaniaLocation
    386Posts

    ! [HELP] Arena compile

    hello so i mange to compile arena bins from source code
    but in got a a litle isue with the arena field

    i put #define ARENA
    in content.h

    i compile the file all ok and worck but the field its openig for 3 sec and after that close
    i check the the ports in map.cfg and amap.cfg al its ok
    .. so i have a question wht the arena field close after 3 sec its not loading
    so here its the logs any Hint to help me
    Code:
    05-15 04:30:04|[Notify] elapsed time after turn on !!  4Day 14h:38m:35s 05-15 04:30:04|Arena Field Server Start
    
    
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[   16] PoolCnt[ 4608] CommitSize[   73728] vectorSize[1] Address Range(0x7E8B0000 ~ 0x7E8C2000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[   20] PoolCnt[ 7577] CommitSize[  151552] vectorSize[1] Address Range(0x7E880000 ~ 0x7E8A5000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[   36] PoolCnt[ 1592] CommitSize[   57344] vectorSize[1] Address Range(0x7E870000 ~ 0x7E87E000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[   48] PoolCnt[22528] CommitSize[ 1081344] vectorSize[1] Address Range(0x7E760000 ~ 0x7E868000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[  144] PoolCnt[30008] CommitSize[ 4321280] vectorSize[1] Address Range(0x7E340000 ~ 0x7E75F000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[  192] PoolCnt[15018] CommitSize[ 2883584] vectorSize[1] Address Range(0x7E080000 ~ 0x7E340000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[  520] PoolCnt[ 3001] CommitSize[ 1560576] vectorSize[1] Address Range(0x7DF00000 ~ 0x7E07D000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[ 1508] PoolCnt[ 1002] CommitSize[ 1511424] vectorSize[1] Address Range(0x7DD80000 ~ 0x7DEF1000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[ 1528] PoolCnt[  101] CommitSize[  155648] vectorSize[1] Address Range(0x7DD50000 ~ 0x7DD76000)
    05-15 04:30:04|CVMem::AllocVMem VirtualAlloc() success, TypeSize[ 1552] PoolCnt[15001] CommitSize[23281664] vectorSize[1] Address Range(0x7C710000 ~ 0x7DD44000)
    05-15 04:30:04|  [Notify] CAtumSJ::LoadAllLetterList, Total letter [     0]counts
    05-15 04:30:04|  [Notify] LoadConfiguration Success !, GetIPLocal(127.0.0.1), IPLogServer(127.0.0.1), IPPreServer(127.0.0.1), IPIMServer(127.0.0.1)
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x120D748) SockH(324) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2AAC8A8) SockH(320) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2AAD560) SockH(328) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2AAE218) SockH(332) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2AAEED0) SockH(336) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2AAFC98) SockH(340) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2954B38) SockH(344) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x29557F0) SockH(348) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x29574B0) SockH(352) 
    05-15 04:30:04|  [Notify] connected to LogServer !, CLogWinSocket(0x2958168) SockH(356) 
    05-15 04:30:04|  [Notify] connected to PreServer ! 
    05-15 04:30:04|  [Notify] connected to IMServer ! 
    05-15 04:30:04|  [Notify] CFieldGlobal::InitServerSocket# Starting...
    I se no error just this its not loading maps and anyfing bicouse its not connect so what can be the problem and why it`s close aftter 3 sec ??? so any one cand tel me whyy?


  2. #2
    struct { int:-!!(1); } Aesir is offline
    MemberRank
    May 2015 Join Date
    MadnessLocation
    279Posts

    Re: [HELP] Arena compile

    "Debug" is not a medicine, you know?

  3. #3
    RoRivals gaby001 is offline
    MemberRank
    Aug 2011 Join Date
    RomaniaLocation
    386Posts

    Re: [HELP] Arena compile

    i know i debug may time but stil the saime so how to fix
    Unhandled exception at 0x00413c54 in AFieldServer.exe: 0xC0000005: Access violation reading location 0x00000000
    Screenshot by Lightshot

  4. #4
    [HELP] Arena compile St34lth4ng3l is offline
    MemberRank
    Apr 2013 Join Date
    __FILE__Location
    899Posts

    Re: [HELP] Arena compile

    Quote Originally Posted by gaby001 View Post
    0x00000000
    Nullpointer somewhere

    Code:
    00413C3E   pop            esi
    So, esi get popped and this seems to be a 0, so when the pointer in esi (0 aka 0x00000000) gets moved into eax you run into a nullpointer exception, because dword ptr [0x00000000] points to invalid memory @DragonLord correct me if i'm wrong :P

  5. #5
    [HELP] Arena compile Future is offline
    LegendRank
    Dec 2011 Join Date
    2,265Posts

    Re: [HELP] Arena compile

    The assembly code here is not that important....
    A nullpointer should be clearly visible in code debug mode which is a shitload easier to read...

    Clearly some pointer is null and it's content can't be moved into the "eax" register cus 0x00000000 is no valid memory position.

    Again, switch to code view and it will be more than clear what's going on...
    Last edited by Future; 19-05-16 at 11:52 AM.

  6. #6
    RoRivals gaby001 is offline
    MemberRank
    Aug 2011 Join Date
    RomaniaLocation
    386Posts

    Re: [HELP] Arena compile

    OK some how i fix the field problem but now anouther problem
    Code:
     CFieldIOCP::LoadQuestInfo() =========================================================> End
    
    
    
    05-22 17:57:09|  [Notify] CFieldIOCP::IOCPInit# success to LoadQuestInfo 
    05-22 17:57:09|  [Notify] CFieldIOCP::IOCPInit# success to CheckQuestMatchingAndItemMatching 
    05-22 17:57:09|  [Notify] CFieldIOCP::IOCPInit# success to InitDropItemManager 
    05-22 17:57:09|  [Notify] CFieldIOCP::IOCPInit# success to InitCityWarManager 
    05-22 17:57:09|  [Notify] CFieldIOCP::IOCPInit# End 
    05-22 17:57:09|  [Notify] CFieldIOCP::IOCPInit# End 
    05-22 17:57:09|########################    Server IOCPInit        ########################
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  7664, 0x1DF0)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  7916, 0x1EEC)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  3820, 0xEEC)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  7856, 0x1EB0)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  7356, 0x1CBC)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  7408, 0x1CF0)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  8060, 0x1F7C)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  4036, 0xFC4)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  7720, 0x1E28)
    05-22 17:57:09|CIOCP::Worker_ WorkerThread,                      ThreadID(  6688, 0x1A20)
    05-22 17:57:09|CIOCP::Writer_ WriterThread,                      ThreadID(  7740, 0x1E3C)
    05-22 17:57:09|CIOCP::Writer_ WriterThread,                      ThreadID(  2812, 0xAFC)
    05-22 17:57:09|CIOCP::Listen_ ListenerThread,                  ThreadID(  4936, 0x1348)
    05-22 17:57:09|[Notify] CFieldGlobal::InitServerSocket_ send to PreServer !!, Service map counts(  4), Send Bytes(90)
    05-22 17:57:09|[Notify] CFieldGlobal::InitServerSocket_ send to IMServer !!, Service map counts(  4), Send Bytes(38)
    05-22 17:57:09|  [Notify] CFieldGlobal::InitServerSocket# Started 
    05-22 17:57:09|[Notify] HappyHourEvent reload !!
    05-22 17:57:29|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 17:58:00|[Notify] HappyHourEvent Start !!, InfluenceType(255) Day(Sunday:0) Period(2016-05-22 00:00:00 ~ 2016-05-22 23:59:00) ExpRate(240.00) SPIRate(100.00) ExpRepireRate(0.00) DropItemRate(100.00) DropRareItemRate(100.00) WarPointRate(90.00) MinLevel(  1) MaxLevel(123)
    05-22 17:58:00|[Notify] CGameEventManager::StartGameEvent !!, InfluenceType(           AllNation) EventType(Experience point) PlusRate(240.00) TimeMinute(1439) MinLevel(1) MaxLevel(123) GameEventGroup(0) MapIndex(0)
    05-22 17:58:00|[Notify] CGameEventManager::StartGameEvent !!, InfluenceType(           AllNation) EventType(            SPI) PlusRate(100.00) TimeMinute(1439) MinLevel(1) MaxLevel(123) GameEventGroup(0) MapIndex(0)
    05-22 17:58:00|[Notify] CGameEventManager::StartGameEvent !!, InfluenceType(           AllNation) EventType(      Item drop) PlusRate(100.00) TimeMinute(1439) MinLevel(1) MaxLevel(123) GameEventGroup(0) MapIndex(0)
    05-22 17:58:00|[Notify] CGameEventManager::StartGameEvent !!, InfluenceType(           AllNation) EventType( Rare item drop) PlusRate(100.00) TimeMinute(1439) MinLevel(1) MaxLevel(123) GameEventGroup(0) MapIndex(0)
    05-22 17:58:00|[Notify] CGameEventManager::StartGameEvent !!, InfluenceType(           AllNation) EventType(      War Point) PlusRate( 90.00) TimeMinute(1439) MinLevel(1) MaxLevel(123) GameEventGroup(0) MapIndex(0)
    05-22 17:58:04|Socket Connect SocketIndex[200] PeerIP[127.0.0.1] Port[17463]
    05-22 17:58:04|  [Notify] Close all UDP Socket for NPCServer!! 
    05-22 17:58:04|  UDP Opened for NPC_Server_0(MapIndex[2001] IP[127.0.0.1], Port[7855])
    05-22 17:58:04|  UDP Opened for NPC_Server_1(MapIndex[2002] IP[127.0.0.1], Port[7865])
    05-22 17:58:04|  UDP Opened for NPC_Server_2(MapIndex[9101] IP[127.0.0.1], Port[7875])
    05-22 17:58:04|  UDP Opened for NPC_Server_3(MapIndex[9200] IP[127.0.0.1], Port[7885])
    05-22 17:58:04|  [Notify] Open all UDP Socket for NPCServer!! Count(  4)
    05-22 17:58:05|  [Notify] UDP Socket ready for NPC Server!! MapIndex(2001) SockIdx(   0) 
    05-22 17:58:06|  [Notify] UDP Socket ready for NPC Server!! MapIndex(2002) SockIdx(   1) 
    05-22 17:58:06|  [Notify] UDP Socket ready for NPC Server!! MapIndex(9101) SockIdx(   2) 
    05-22 17:58:06|  [Notify] UDP Socket ready for NPC Server!! MapIndex(9200) SockIdx(   3) 
    05-22 18:02:29|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:07:39|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:12:49|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:17:59|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:23:09|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:28:19|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:33:29|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:38:29|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:43:39|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:48:49|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:53:59|[ERROR] F2L send to LogServer all fail !!, ArraySize(10) 
    05-22 18:59:09|[ERROR] F2L send to LogServer all fail !!, ArraySize(10)
    ALog server problem now what i ned to do what cause the problem ?? so what mean
    Code:
    , ArraySize(10)
    plese some how some one can help me amd to be more explicit where to recode the log file
    to fix problems bicouse no one make a hint how to make arena and how to compile i mange my self i try and i manage and i will share with you..iff i dont make good you can corect mee ..so with mi problem someone cant help me and where to edit the file in source i will apreciate ..im a bighiner off visual basic and C++

  7. #7
    struct { int:-!!(1); } Aesir is offline
    MemberRank
    May 2015 Join Date
    MadnessLocation
    279Posts

    Re: [HELP] Arena compile

    As has been already said, debug the source code on your own.
    We've said all what you need for fix your problem, you can't expect others to fix it.

  8. #8


Advertisement