mod debug - attach process

extolloextollo Ping Blip Join Date: 2010-07-16 Member: 72457Members
1 start mod from decoda without debugging
2 switch to mod & get things setup for my scenario
3 attach debugger to running process
4 breakpoints dont work.

why #4?

i'm trying to bypass the long startup with debugging enabled from the start.

advice required.

Comments

  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    it's part 3 that doesn't seem to work...

    No way around it as far as I have found, long horrible debugging is the only way....
  • extolloextollo Ping Blip Join Date: 2010-07-16 Member: 72457Members
    <!--quoteo(post=1984181:date=Sep 28 2012, 12:10 PM:name=Soul_Rider)--><div class='quotetop'>QUOTE (Soul_Rider @ Sep 28 2012, 12:10 PM) <a href="index.php?act=findpost&pid=1984181"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->it's part 3 that doesn't seem to work...

    No way around it as far as I have found, long horrible debugging is the only way....<!--QuoteEnd--></div><!--QuoteEEnd-->

    soul rider you make me sad.

    It really gets slow at the server browser

    is there a way to hop directly to the map..

    map <mapname> param isnt working when i do the -game <gamename> param
  • JimWestJimWest Join Date: 2010-01-03 Member: 69865Members, Reinforced - Silver
    open the console and type map mapname,
    its even working with mods.
  • extolloextollo Ping Blip Join Date: 2010-07-16 Member: 72457Members
    ^ thx.. didnt think of doing console from menu. but it would be nice to hop in directly from launch.
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    You can use launch parameters:

    NS2.exe map yourmap -game yourgame

    btw, nothing's missing from there, NS2 doesn't use any + or - characters for the console parameters to execute on startup...
  • extolloextollo Ping Blip Join Date: 2010-07-16 Member: 72457Members
    edited September 2012
    <!--quoteo(post=1984195:date=Sep 28 2012, 01:03 PM:name=Mendasp)--><div class='quotetop'>QUOTE (Mendasp @ Sep 28 2012, 01:03 PM) <a href="index.php?act=findpost&pid=1984195"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->You can use launch parameters:

    NS2.exe map yourmap -game yourgame

    btw, nothing's missing from there, NS2 doesn't use any + or - characters for the console parameters to execute on startup...<!--QuoteEnd--></div><!--QuoteEEnd-->
    ??

    Still just goes to the menu not directly to the map.

    using map <mapname> from menu loads but ...

    now i get authenticating errors lol.

    edit: reloaded steam & ns2 - now i get past the auth errors, but still not direct launch from decoda project settings command arguments using map <mapnam>
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    In you project files, do you have the map folder in the correct structure, as ns2 does?

    Shot in the dark but hey...
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    edited September 2012
    In Project Settings using:

    map ns2_summit -game "D:\NS2Mods\MyMod"

    In the Command Arguments field worked for me, it launched NS2 directly loading my mod & map. Are you doing something different?
  • extolloextollo Ping Blip Join Date: 2010-07-16 Member: 72457Members
    <!--quoteo(post=1984226:date=Sep 28 2012, 02:28 PM:name=Mendasp)--><div class='quotetop'>QUOTE (Mendasp @ Sep 28 2012, 02:28 PM) <a href="index.php?act=findpost&pid=1984226"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->In Project Settings using:

    map ns2_summit -game "D:\NS2Mods\MyMod"

    In the Command Arguments field worked for me, it launched NS2 directly loading my mod & map. Are you doing something different?<!--QuoteEnd--></div><!--QuoteEEnd-->

    just like this. opens to menu. idk.
    from menu - i can use the console map command fine, so i can deal with it.
Sign In or Register to comment.