Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   CoD Multiplayer (http://forum.fulqrumpublishing.com/forumdisplay.php?f=192)
-   -   Server commands (http://forum.fulqrumpublishing.com/showthread.php?t=21258)

Blackrat 04-14-2011 10:52 AM

Yeah, I know smokey, but I like to fiddle and get things working :)

Thee_oddball 04-14-2011 02:03 PM

Quote:

Originally Posted by Blackrat (Post 262519)
Nope timeout doesn't work as I hoped, I am assuming it gives a pause between commands in console.cmd

format is

timeout <timeout in ms> <command name> [<params>]

Typing in the dos box

timeout 60.000 missLoad mission.miss

Gives an error Command not found: missload mission.miss after 60 seconds, so the timeout is working with direct entry.

using the following in console.cmd file

missLoad 128Bobv1_3.mis
battle start
timeout 60.000
chat Mission changes in 1 minute ALL
timeout 60.000
battle stop
missLoad 128Bob.mis
battle start


Results in everything executing but no timeouts so it executes one line straight after the other. Frustrating or what, but then I am no IT programmer.

timeout 7200.00 missLoad basic40.mis does ot work as you know :( but

timeout 7200.00 f server.cmd does work :):) and inside that cmd is a missLoad that does work :):)

I have 2 cmd's that keep loading each other right now ( 2 maps) will make it five later :)

ATAG_Bliss 04-14-2011 02:14 PM

How are you getting the mission to end/destroy before moving on to the next one. The battle stop command only, well, stops the battle. For instance, it will error out unless you destroy the mission if you have AI in it.

For instance IL246 uses (example)

Quote:

mission END
mission DESTROY
mission LOAD Net/dogfight/pacific fighters/01.mis BEGIN
mission START
timeout 360000 mission_b.cmd
What's the command to destroy/end a mission with COD?

Blackrat 04-14-2011 02:18 PM

Yep, figured that too, now the next problem is when you start the next mission after using the battle stop command it gives errors of NOT Destroyed actor: then when the new mission starts a few AI are killed.

Each of these are in cmd files

console LOG on
console LOGTIME on
f mission1.cmd

missLoad 128Bobv1_5a.mis
battle start
timeout 420.000 f stop2.cmd

battle stop
timeout 10.000 f mission2.cmd

missLoad volcanic.mis
battle start
timeout 420.000 f stop1.cmd

...and so on calling separate files, I put the battle stop delay in to see if it destroyed the previous mission but it didn't.

So I get.....

[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actor: moqyW86qCGd0YltMOFi.fZCsxE6e8lPaI0tc2cJ
[14:10:00] NOT Destroyed actors = 19

and on start up of the next mission

Server: Pilot G.50 () (AI) was killed.
[14:10:05] Server: AI in a G.50 () collided with terrain.
[14:10:05] Server: Pilot G.50 () (AI) was killed.
[14:10:05] Server: AI in a G.50 () crashed.
[14:10:08] Server: Pilot Hurricane (DH 5-20) () (AI) was killed.
[14:10:08] Server: AI in a Hurricane (DH 5-20) () is no more.
[14:10:10] Server: Pilot Hurricane (DH 5-20) () (AI) was killed.
[14:10:10] Server: Hurricane (DH 5-20) () (AI) crashed.

Thee_oddball 04-15-2011 02:37 AM

one thing i am sure of is there will NO running a dedicated server off XP SP3 (used for testing) because i am getting to many errors that i dont when using win7 :(
The server started rotating maps every 5 minutes instead of 2 hours :( then the chat stopped showing up.

the "actors: not being destroyed explains why when i spawned a one of the bases there was an AA gun shooting his mates and then me ...lol...leftover from the map before :)

I cant believe that with all the functionality of the original IL2 dedicated server that they could put out a new MP server that is soooo ...neutered! :(

S!

p.s i have not yet found a way to get rid of the "actors" :(

Ataros 04-16-2011 08:07 AM

Quote:

Originally Posted by Blackrat (Post 262871)
Yep, figured that too, now the next problem is when you start the next mission after using the battle stop command it gives errors of NOT Destroyed actor: then when the new mission starts a few AI are killed.

It turns out that it is done on purpose because in CoD we can load one mission into another as developers kindly informed.
http://forum.1cpublishing.eu/showthread.php?t=21518

Probably you should load a mission with a script destroying all bots to clear the server of bots (or restart the server). Just guessing ))

Maybe people with C++ knowledge can answer how to create such a script based on the info in that topic.


All times are GMT. The time now is 05:25 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.