Author Topic: DM Command console Help needed.  (Read 2188 times)

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« on: March 27, 2011, 11:52:33 pm »


                Hello there! this forum seems to be the most active one i can find so here goes my first post here!!

  Plain and simple, im having an issue working with the regular console commands as a DM.
First off, the server i main DM on is a .69 server with no CEP, PCR, additional tools, mods etc . That is to say all that is required to play on it is the regular updated nwn modual with all expansions.

  In addition to this, the developers are very limited in what they can produce for DM's as far as scripted tools go. So this leaves us DM's with alot of limitations on what we can do. we have a basic scripted tool mainly for monitoring different aspects of the server and the more fancy feature being able to set weather on a map between 3 options..   in anycase, the most useful resource we have at our disposal is the console command interface along with regular DM abilities and creativity with both. Point is, command console is what i have to work with.

  That said, im currently having an issue in reguards to factions and faction management. Whenever a dm spawns an npc and isnt careful of what faction they choose, should the player need to attack the said npc, it messes with their faction reputation.  For example, more often then not they attack a patrol guard or spawned npc and the next thing they know all merchants and several NPC's whom are plot related go hostile. Thier faction cannot be reset by dying and is only reset when the server itself reboots on its regular bi daily schedual.

  Clearly this is an issue.

 Ive been trying offline to figure out how to work with the in game factions that have been set and readjusting them/fixing/.setting them  for player characters..

 Mainly, im trying to use the dm_getfactionreputation <faction1>  <faction2>   aswell as the dm_setfactionreputation etc etc to reset player factions.

 issue is, i cant seem to get either to work,   its to my knowlege there are different factions such as defender, hostile, commoner, merchant etc aswell as our servers own custom factions.   I've tried to just get a grasp on getting the commands to work even remotely to no avail.   Ive tried useing   PC, Defender, Commoner, Merchant variables to NO success.  Id also presume that when online as a dm and setting a players faction there should be more to the pc variable than just pc, as each player would have its own faction correct?


 i have no idea how to get these commands to work and have found no help on the matter despite my best efforts of online research. so! how do i simply get the "dm_getfactionreputation" command to work for starters in relation to an individual PC and general faction such as Defender?

 DM Swulf
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
DM Command console Help needed.
« Reply #1 on: March 28, 2011, 12:17:23 am »


               This is actually a common issue. Your Builder(s) need to create an NPC or two on the pallette that uses a custom faction. Have the faction set as a local one and make it neutral to all other factions.
               
               

               
            

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« Reply #2 on: March 28, 2011, 12:53:46 am »


               and that helps... how?  sorry i just dont follow how a new faction will make a difference with getting the console commands to work or give me feed back on faction reputations...  please explain more?

~DM Swulf
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
DM Command console Help needed.
« Reply #3 on: March 28, 2011, 01:42:24 am »


               When possessing a NPC, that NPC's faction can have global reprecushions, even if set as a local one. So possessing a defender faction and attacking or being attacked by PCs will cause aqll other defender faction NPCs to now hate the PC(s). Because said defenders are allied with merchant and commoners often, those too will then be out for blood.

Having a custom NPC faction set so it is neutral to all other factions and they to it solves this.

My own PW uses 72 custom factions. Even though all are local and not global, a DM possing one can cause serverwide issues. We've fixed this with the addition of another NPC faction as above.
               
               

               


                     Modifié par kalbaern, 28 mars 2011 - 12:42 .
                     
                  


            

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« Reply #4 on: March 28, 2011, 02:06:15 am »


               The issue isnt with the factions themselves. we already have seperate factions for npcs and dms to use etc to avoid the issue, but it still happens when players attack a patrol guard or black guard or merchant or a dm is careless etc.  Im simply looking for not of a means of preventing it, but dealing with the issue once it happens. Im just looking to get the commands working so i can ajust how an npc faction feels towards a player/ eachother one way or the other in game.

DM Swulf
               
               

               
            

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« Reply #5 on: March 30, 2011, 02:21:25 pm »


               Does anyone know how to get these console commands working as a DM?  Even remotely?
               
               

               
            

Legacy_kalbaern

  • Hero Member
  • *****
  • Posts: 1531
  • Karma: +0/-0
DM Command console Help needed.
« Reply #6 on: March 31, 2011, 01:06:26 am »


               Not sure the console is the answer. If its a matter of a broken standard faction though, killing the PC (DM Kill Button) and then casting (not using the DM Raise/Heal button) raise or reserection usually fixes those.
               
               

               
            

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« Reply #7 on: March 31, 2011, 03:42:53 am »


               Nah, its been a long standing issue, normally the player has to wait till reboot, but we have recently cut the reboots down to twice a day instead of four times. Its more a matter of our in ability to work with the factions we've created as opposed to how the factions interact. None of our factions are "broken".  we also have our own custom respawn system and persistant faction reputation up till reboot. So death solves nothing.

Thanks for the advice but really the only answers im lookin for is how to get the console commands working.. Given that they are console commands i dont see any reason for them not to and player issues or not DM's should be able to ajust faction reputations on the fly .. it would be a big aid in everything from issue control to events.

 DM Swulf
               
               

               
            

Legacy_Gregor Wyrmbane

  • Sr. Member
  • ****
  • Posts: 324
  • Karma: +0/-0
DM Command console Help needed.
« Reply #8 on: May 04, 2011, 05:20:10 am »


                Howdy,

I've just recently become interested in this topic. I've only been able to afford a couple of hours of research into it so far, but from what I'm seeing the unfortunate answer is the command console is not available on a dedicated server... period. If someone else knows how to make it work when you start up a dedicated server by using the nwserver.exe program from the NWN directory, I'd sure like to hear how it's done.

However, while I was looking into this, I discovered something that might solve your particular issue. Unfortunately, I don't remember right now where I saw it. The gist of it is this; if you know how to script, you can assign a script macro to a quickslot while logged in on the DM client to do exactly what you're trying to accomplish with the faction changes.
               
               

               
            

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« Reply #9 on: June 01, 2011, 08:11:01 pm »


               Oh, id like to hear more about using scripts as macro's in game before o.o

and ive never had an issue using the Command console within a dedicated server, aside from some commands simply not working. Mind you, ofcoruse you have to be on as a DM, you cannot enable the command console as a player. And if you're unable to access the command console as a DM then the only thing i can think of is that it has been disabled within the module by one of the server's developers.  If there is a way to use or create a simple script i to set the faction reputation of players that would also be helpful.. this macro thing has me very curious..
               
               

               
            

Legacy_Gregor Wyrmbane

  • Sr. Member
  • ****
  • Posts: 324
  • Karma: +0/-0
DM Command console Help needed.
« Reply #10 on: June 07, 2011, 04:55:24 am »


               

Swulf wrote...

Oh, id like to hear more about using scripts as macro's in game before o.o

and ive never had an issue using the Command console within a dedicated server, aside from some commands simply not working. Mind you, ofcoruse you have to be on as a DM, you cannot enable the command console as a player. And if you're unable to access the command console as a DM then the only thing i can think of is that it has been disabled within the module by one of the server's developers.  If there is a way to use or create a simple script i to set the faction reputation of players that would also be helpful.. this macro thing has me very curious..


Yeah, my problem was trying to access the DM commands as a player while playing in dedicated server mode. I don't believe it's possible.

I can't find the post I saw before that detailed how to use a quickslotted macro to run a script. But I did experiment a little with the DM client while logged onto a dedicated server. You don't have to use the "DebugMode=1" command to use the DM commands while logged in on the DM client. I made a Macro in a quickslot and found that it will run any of the DM commands by simply prefacing the specific command with "##". As an example, it would look like this:  "## dm_setDEX 18". Without the quotations marks, obviously. You should be able to use the "dm_setfaction <faction>"  command, or even "dm_runscript <script>", as well. You just have to preface it in the macro with "##". When you click on the quickslot, then you'll get the target pointer. You place the target pointer on whichever PC or NPC you want to run the command on, and click on them. Pretty simple. 

Hope that helps.
               
               

               
            

Legacy_Swulf

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
DM Command console Help needed.
« Reply #11 on: June 15, 2011, 02:14:14 pm »


               Hey thanks anyhow.
1. Yes you dont need to use debugmode 1 as a dm.
2. Already know how to make macro's for dm commands, it saves alot of headache when running events
3. The problem im having is the command function simply DOES NOT SEEM TO WORK. I think im using it wrong or missing something. Nothing ive tried will get it to work the way its supposed to if at all.
               
               

               
            

Legacy_Pigron

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
DM Command console Help needed.
« Reply #12 on: October 24, 2011, 07:38:51 am »


               From your first post it looks luike you may be missing an integer

Try from the connsole: > dm_setfactionreputation <faction1>  <faction2> 100

We use a tool in game that changes reputation through an in-game conversation. It lists a value from 70 (make friendly) to -70 (make hostile)
               
               

               


                     Modifié par Pigron, 24 octobre 2011 - 06:39 .
                     
                  


            

Legacy_AlfredMEvans

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
DM Command console Help needed.
« Reply #13 on: November 08, 2011, 03:25:25 am »


               I'm also having trouble with these commands specifically the dm_getfactionreputation. I've tried typing in  different combinations of faction names while in DebugMode 1 and get nothing.Please help! How should the names be typed in? Is it case sensitive and do I need any punctuation or space between the two names?
               
               

               
            

Legacy_SuperFly_2000

  • Hero Member
  • *****
  • Posts: 1292
  • Karma: +0/-0
DM Command console Help needed.
« Reply #14 on: November 09, 2011, 01:18:00 am »


               AlfredMEvans,
have you tried DMFI?

It has something with faction settings.

Personally I think faction setting in the fly is too advanced. I even avoid doing it when building in general. I'm content with the avaliable faction settings...