[HELP] Too many characters in constant

Results 1 to 11 of 11
  1. #1
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    note [HELP] Too many characters in constant

    Hey everyone

    I add new lootbox but error
    Last edited by asd4129; 29-01-17 at 12:38 PM.


  2. #2
    Member zsh7954 is offline
    MemberRank
    May 2016 Join Date
    81Posts

    Re: [HELP] Too many characters in constant

    else if(m_Item.itemID == 301138) this

  3. #3
    Moderator GigaToni is offline
    ModeratorRank
    Aug 2009 Join Date
    GER / FRLocation
    2,329Posts

    Re: [HELP] Too many characters in constant


  4. #4
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    Re: [HELP] Too many characters in constant

    Quote Originally Posted by zsh7954 View Post
    else if(m_Item.itemID == 301138) this
    working but lootbox is not spawn

    PhysX Warning (warning): 'PxScene::addActor(): Dynamic actor with zero moment of inertia added to scene; defaulting inertia to (1,1,1). Call PxRigidBodyExt::updateMassAndInertia() to set mass properties from geometry with a specific density.' at file ..\..\PhysX\src\NpScene.cpp, line 871

  5. #5
    Account Upgraded | Title Enabled! Oosmar02 is offline
    MemberRank
    Sep 2013 Join Date
    FranceLocation
    893Posts

    Re: [HELP] Too many characters in constant

    Disable physics

  6. #6
    Member zsh7954 is offline
    MemberRank
    May 2016 Join Date
    81Posts

    Re: [HELP] Too many characters in constant


  7. #7
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    Re: [HELP] Too many characters in constant

    This is not the problem

    Server join and crash
    PhysX Warning (warning): 'PxScene::addActor(): Dynamic actor with zero moment of inertia added to scene; defaulting inertia to (1,1,1). Call PxRigidBodyExt::updateMassAndInertia() to set mass properties from geometry with a specific density.' at file ..\..\PhysX\src\NpScene.cpp, line 871
    This is the problem

  8. #8
    Member zsh7954 is offline
    MemberRank
    May 2016 Join Date
    81Posts

    Re: [HELP] Too many characters in constant

    Do you want a box that can be opened in the map?
    That, I will not.

  9. #9
    Retired. Don't PM. SecretsOThePast is offline
    DeveloperRank
    Jan 2009 Join Date
    643Posts

    Re: [HELP] Too many characters in constant

    The PhysX error is a red herring, and a warning at most. Your issue is you're surrounding all of the loot boxes with single quotes. You need to use double quotes for strings, and just plain ol' integers for everything else.

    Beyond that - if you're getting crashes, you need attach a debugger to the process in question or find the dump file from when the server segmentation faulted. It will show you the exact line of the error.

    You can use the "Debug" category at the top of your Visual Studio instance and attach to the process in question.

  10. #10
    Valued Member asd4129 is offline
    MemberRank
    Dec 2012 Join Date
    Loose, Germany,Location
    146Posts

    Re: [HELP] Too many characters in constant

    Quote Originally Posted by SecretsOThePast View Post
    The PhysX error is a red herring, and a warning at most. Your issue is you're surrounding all of the loot boxes with single quotes. You need to use double quotes for strings, and just plain ol' integers for everything else.

    Beyond that - if you're getting crashes, you need attach a debugger to the process in question or find the dump file from when the server segmentation faulted. It will show you the exact line of the error.

    You can use the "Debug" category at the top of your Visual Studio instance and attach to the process in question.
    WarZ.Sln


    WarZ_Server.Sln

    Last edited by asd4129; 13-01-17 at 04:04 PM.

  11. #11
    Retired. Don't PM. SecretsOThePast is offline
    DeveloperRank
    Jan 2009 Join Date
    643Posts

    Re: [HELP] Too many characters in constant

    As I said before, the warning is unrelated. You will need to do the steps I listed above. Plus, you didn't make the changes I mentioned.



Advertisement