[Help] New Source map bug??

Results 1 to 18 of 18
  1. #1
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    [Help] New Source map bug??

    added a new map, I go to the server and then I come not to spawn point and under Terrari
    Last edited by DNC; 16-06-14 at 07:58 PM.


  2. #2
    Alpha Member javaz97 is offline
    MemberRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: @DNC New Source map bug??

    fix by add data

  3. #3
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    Re: @DNC New Source map bug??

    add data?hmm??more information plz

  4. #4
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: @DNC New Source map bug??

    @java97 please leave more detailed explanations.
    I appreciate your helpfulness, but would appreciate even more if you could start leaving longer replies (at least a little more detail such as file names, area of code, something to show everyone where to go)
    Thank you

  5. #5
    Alpha Member javaz97 is offline
    MemberRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Help] New Source map bug??

    full detail

    -- open WZ\bin\Levels\WZ_XXXX\LevelData.xml
    -- find <object className="obj_Building" by notepad++
    -- compare file with WZ\bin\Data\ObjectsDepot (one by one)
    -- find a missing file.....


    WZ_XXXX = custommap

    - - - Updated - - -

    then unpack data by other private server for new data

  6. #6
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    Re: [Help] New Source map bug??

    lol?its not a problem!!i copy my standart Colarado map and change name and add all new name map ther are too dont spawn me normal!.

    - - - Updated - - -
    @DNC do you know what is this ?

  7. #7
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] New Source map bug??

    @Arman Avetisyan

    I didn't add the custom maps in that fashion for 2 reasons.

    1. There is code related to a few maps that will kill a player in "specifically hard coded locations". RaccoonCity for one (believe there 1 or 2 others).
    2. There are hard coded "height displacements" inside the code.

    Which brings me to why I don't support custom maps at this time. In the future on the version in development, but not on the current or previous releases.

    -------
    @javaz97

    The post with the detailed explanation, was exactly what I was hoping you would do.
    Thank you for taking the time to detail the steps required, it made reading it much easier to follow along with.
    ;0)

  8. #8
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    Re: [Help] New Source map bug??

    ther tut not working...

  9. #9
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] New Source map bug??

    Ok, that was freaking helpful. And PM'ing me -->LOL<-- in a subject about this issue, wont make it funnier when I get upset.

    Now, lets talk about detailed replies?
    Whose tutorial? What linked thread page? We (the few of us replying, which we might not if I keep seeing LOL everywhere), would like to continue helping. But first, you have to help yourself, by helping us to better understand what it is you are really trying to say.

    Notice the in-depth sentences? That actually state what I'm trying to convey?

    Monkey see, Monkey do... Repeat my method and reply without an LOL this time.

  10. #10
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    Re: [Help] New Source map bug??


  11. #11
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] New Source map bug??

    Now, if @pablos1234 would be kind enough to share (without your PM'ing him) his video on how he managed to add a map successfully.
    That would be wonderful.

    *edited my post*

    I've PM'd pablos1234 and requested he post the video here, hopefully he will.
    I would prefer to find a solution for everyone, as quickly as possible.

    Thank you
    Last edited by DNC; 17-06-14 at 09:42 PM.

  12. #12
    Valued Member pablos1234 is offline
    MemberRank
    Jan 2014 Join Date
    London, UnitedLocation
    124Posts

    Re: [Help] New Source map bug??

    https://www.youtube.com/watch?v=7za3Rtb8s5Y

    https://www.youtube.com/watch?v=UzXxTz9GW6k

    Arman give breathe for @DNC, I published how I adding maps.

    Second think, after see your screen i think you must something wrong add Like some elements to Data object, check you redlog all times,

    If you have error, check r3dlog, something not work ?, check r3dlogs, and logs your.. then you will be have answer for many question.

  13. #13
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] New Source map bug??

    When you review the video and if you have an issue with MAPID's.
    Pay close attention.

    Example code:
    NetPacketsGameInfo.h Example location follows:
    Code:
    struct GBGameInfo
    {
    	enum EMapId
    	{
    	  MAPID_Editor_Particles = 0,
    	  MAPID_ServerTest,
    	  MAPID_WZ_Colorado,
    -----> THERE WILL BE OTHERS HERE <-----
    -----> Your Map Goes Here <-----
    	  MAPID_WZ_TestMap, <----- Example WZ_TestMap entry
    	  // NOTE: do *NOT* add maps inside current IDs, add ONLY at the end
    	  // otherwise current map statistics in DB will be broken
    	  MAPID_MAX_ID,
    	};
    If your map name is not in the Proper Order in the above snippet of code, the MAPID, will not match properly.



    Then make sure you put the "new map entry" as in the video at the Bottom of the listing:
    Every time you add a map entry, it must be the LAST ONE above the Default "Case Statement"

    ServerGame.cpp Example location follows:
    Code:
    void PlayGameServer()
    {
      r3d_assert(gServerLogic.ginfo_.IsValid());
      switch(gServerLogic.ginfo_.mapId) 
      {
        default: 
          r3dError("invalid map id\n");
          break;
        case GBGameInfo::MAPID_Editor_Particles: 
          r3dGameLevel::SetHomeDir("WorkInProgress\\Editor_Particles"); 
          break;
        case GBGameInfo::MAPID_ServerTest:
          r3dGameLevel::SetHomeDir("WorkInProgress\\ServerTest");
          break;
        case GBGameInfo::MAPID_WZ_Colorado: 
          r3dGameLevel::SetHomeDir("WZ_Colorado"); 
          break;
    
    -----> THERE WILL BE OTHERS HERE <-----
    
        case GBGameInfo::MAPID_WZ_TestMap:     <---------- Whatever your map is (my example WZ_TestMap)
          r3dGameLevel::SetHomeDir("WZ_TestMap");     <---------- Whatever your map is (my example WZ_TestMap) 
          break;
      }


    Follow the video as there are Multiple locations.

  14. #14
    Alpha Member javaz97 is offline
    MemberRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: [Help] New Source map bug??

    void ServerGameLogic::GetStartSpawnPosition
    ....
    ....
    // Alive and logging back in game
    if(loadout.GameMapId && (loadout.GameMapId == ginfo_.mapId) && loadout.Alive == 1)
    {
    *pos = loadout.GamePos;
    *dir = loadout.GameDir;
    loadout.GamePos;
    return;
    }

    // Early Revive Spawn at location of Death
    if(loadout.GameMapId && loadout.Alive == 2)
    {
    *pos = loadout.GamePos;
    *dir = loadout.GameDir;
    loadout.GamePos;

    return;
    }

    ** spawn point **

  15. #15
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    Re: [Help] New Source map bug??

    i am test it wait.

    - - - Updated - - -

    yes i added alll.

  16. #16
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] New Source map bug??

    And?
    Did it work? Did it fail? If it failed, what was the error?

  17. #17
    Member Arman Avetisyan is offline
    MemberRank
    Jan 2014 Join Date
    71Posts

    Re: [Help] New Source map bug??

    not working:(

    - - - Updated - - -

    Nothing has changed! still in the under map

  18. #18
    Valued Member pablos1234 is offline
    MemberRank
    Jan 2014 Join Date
    London, UnitedLocation
    124Posts

    Re: [Help] New Source map bug??

    can you paste here you r3dlog ?, and logs from that maps what you use ?



Advertisement