DP command line problem

Discuss anything not covered by any of the other categories.
Post Reply
Wazat
Posts: 771
Joined: Fri Oct 15, 2004 9:50 pm
Location: Middle 'o the desert, USA

DP command line problem

Post by Wazat »

When I run the latest version of DP with these options:

darkplaces -game conquest +skill 2 +cd off -nojoy +sv_cheats 1 +map e1m1

and then type "notarget" or other cheats so I can test my code, it won't let me, because I have to restart the map before the change to sv_cheats takes place. The old DP version works fine, but the new one makes me reset the map before I can use cheats. This is very annoying.

Is there something I'm doing wrong?
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
LordHavoc
Posts: 322
Joined: Fri Nov 05, 2004 3:12 am
Location: western Oregon, USA
Contact:

Post by LordHavoc »

Not doing anything wrong, there are a few issues with +map (and a few other commands like +maxplayers) that I don't yet understand, I need to somehow review the whole set of console commands carefully and figure out what I can do to fix this.
Tei
Posts: 193
Joined: Mon Oct 25, 2004 12:22 pm

Re: DP command line problem

Post by Tei »

Wazat wrote:When I run the latest version of DP with these options:

darkplaces -game conquest +skill 2 +cd off -nojoy +sv_cheats 1 +map e1m1

and then type "notarget" or other cheats so I can test my code, it won't let me, because I have to restart the map before the change to sv_cheats takes place. The old DP version works fine, but the new one makes me reset the map before I can use cheats. This is very annoying.

Is there something I'm doing wrong?
maybe you type

darkplaces -game conquest +skill 2 +cd off -nojoy +sv_cheats 1 +map e1m1

but DP understand this:

darkplaces -game conquest +map e1m1 +skill 2 +cd off -nojoy +sv_cheats 1
LordHavoc
Posts: 322
Joined: Fri Nov 05, 2004 3:12 am
Location: western Oregon, USA
Contact:

Post by LordHavoc »

LordHavoc wrote:Not doing anything wrong, there are a few issues with +map (and a few other commands like +maxplayers) that I don't yet understand, I need to somehow review the whole set of console commands carefully and figure out what I can do to fix this.
I think I have finally resolved these issues in the 20050506beta1 build I just posted. (It involved a rewrite of much of the init process)

Let me know.
Wazat
Posts: 771
Joined: Fri Oct 15, 2004 9:50 pm
Location: Middle 'o the desert, USA

Post by Wazat »

Very cool, thanks LH. I'll try to remember to test it as soon as I can.

I'm currently finishing up college (early) and looking for a job, so if I get busy and forget, make sure you remind me.
When my computer inevitably explodes and kills me, my cat inherits everything I own. He may be the only one capable of continuing my work.
Post Reply