Jump to content

bekolay1

Inactive Member
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by bekolay1

  1. 1023 16:55:22017 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/back_dot.prb
    
    1023 16:55:22034 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/box04.prb
    
    1023 16:55:22043 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/wall_lantern.prb
    
    1023 16:55:22044 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/vent06.prb
    
    1023 16:55:22044 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/vent04.prb
    
    1023 16:55:22044 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/vent03.prb
    
    1023 16:55:22044 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/vent01.prb
    
    1023 16:55:22045 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/ropeset03.prb
    
    1023 16:55:22046 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/rope03.prb
    
    1023 16:55:22046 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/right.prb
    
    1023 16:55:22047 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/steerhandle.prb
    
    1023 16:55:22047 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/rail_crack05.prb
    
    1023 16:55:22048 :: CProperty::ReadFromMemory: File format error after FourCC: property/defensewave/rail_crack02.prb


    error ploblem

  2. 2 hours ago, BadGrecee said:

    stdafx.h open and search

    #ifndef __GAME_SRC_STDAFX_H__
    #define __GAME_SRC_STDAFX_H__

    ADD:

    #include <cstring>

    #include <iostream>

     

     

     

    Thank you, I solved this problem, but this time there was a problem in the client part.

     

    Error	81	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	82	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	83	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	84	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    	85	IntelliSense: identifier "TargetPacket" is undefined	c:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1520	6	UserInterface
    Error	86	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	87	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	88	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	89	error C2065: 'TargetPacket' : undeclared identifier	C:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1520	1	UserInterface
    Error	90	error C2228: left of '.bAlliance' must have class/struct/union	C:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1520	1	UserInterface
    Error	91	error C2065: 'TargetPacket' : undeclared identifier	C:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1522	1	UserInterface
    Error	92	error C2228: left of '.dwVID' must have class/struct/union	C:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1522	1	UserInterface
    Error	93	error C2228: left of '.iAllianceMinHP' must have class/struct/union	C:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1522	1	UserInterface
    Error	94	error C2228: left of '.iAllianceMaxHP' must have class/struct/union	C:\Users\Administrator\Desktop\03. Client Source\source\UserInterface\PythonNetworkStreamPhaseGame.cpp	1522	1	UserInterface
    Error	95	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	96	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	97	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	98	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	99	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	100	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	101	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	102	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	103	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	104	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	105	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	106	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	107	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	108	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	109	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	110	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	111	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	112	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	113	error C2143: syntax error : missing ';' before ','	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	114	error C2238: unexpected token(s) preceding ';'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface
    Error	115	error C2146: syntax error : missing ';' before identifier 'iAllianceMinHP'	c:\users\administrator\desktop\03. client source\source\userinterface\Packet.h	1990	1	UserInterface

     

    Error products like this. I tried many ways and couldn't solve the error in the code. I removed , and did ; and it didn't work. int64_t iAllianceMinHP, iAllianceMaxHP; your code

    int iAllianceMinHP;
    int iAllianceMaxHP; I did, it didn't work.

  3. 14 hours ago, bekolay1 said:
    ShipDefense.cpp: In constructor 'CShipDefense::CShipDefense(long int, DWORD)':
    ShipDefense.cpp:514:2: error: 'memset' is not a member of 'std'
      std::memset(&m_lpBarrier, 0, sizeof(m_lpBarrier));
      ^
    ShipDefense.cpp:514:2: note: suggested alternative:
    In file included from ../../libthecore/include/stdafx.h:89:0,
                     from stdafx.h:12,
                     from ShipDefense.cpp:15:
    /usr/include/string.h:67:7: note:   'memset'
     void *memset(void *, int, size_t);
           ^
    ShipDefense.cpp: In member function 'virtual void CShipDefense::Destroy()':
    ShipDefense.cpp:542:2: error: 'memset' is not a member of 'std'
      std::memset(&m_lpBarrier, 0, sizeof(m_lpBarrier));
      ^
    ShipDefense.cpp:542:2: note: suggested alternative:
    In file included from ../../libthecore/include/stdafx.h:89:0,
                     from stdafx.h:12,
                     from ShipDefense.cpp:15:
    /usr/include/string.h:67:7: note:   'memset'
     void *memset(void *, int, size_t);
           ^
    gmake: *** [.obj/ShipDefense.o] Error 1

    it gives an error like this

    +1 problem pls 

  4. ShipDefense.cpp: In constructor 'CShipDefense::CShipDefense(long int, DWORD)':
    ShipDefense.cpp:514:2: error: 'memset' is not a member of 'std'
      std::memset(&m_lpBarrier, 0, sizeof(m_lpBarrier));
      ^
    ShipDefense.cpp:514:2: note: suggested alternative:
    In file included from ../../libthecore/include/stdafx.h:89:0,
                     from stdafx.h:12,
                     from ShipDefense.cpp:15:
    /usr/include/string.h:67:7: note:   'memset'
     void *memset(void *, int, size_t);
           ^
    ShipDefense.cpp: In member function 'virtual void CShipDefense::Destroy()':
    ShipDefense.cpp:542:2: error: 'memset' is not a member of 'std'
      std::memset(&m_lpBarrier, 0, sizeof(m_lpBarrier));
      ^
    ShipDefense.cpp:542:2: note: suggested alternative:
    In file included from ../../libthecore/include/stdafx.h:89:0,
                     from stdafx.h:12,
                     from ShipDefense.cpp:15:
    /usr/include/string.h:67:7: note:   'memset'
     void *memset(void *, int, size_t);
           ^
    gmake: *** [.obj/ShipDefense.o] Error 1

    it gives an error like this

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.