Run code in multiplayer server?
Moderator: Moderators
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Run code in multiplayer server?
is there anyway to use the code consol, or something similar to run code in multiplayer on a server besides user_scripts?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: multiplayer
You answered your own question. Use the code console. Input code directly in.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: multiplayer
im not talking about a game hosted off of my PC, rather a real server that uses black bag ops.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: multiplayer
We weren't supposed to inject any code into the game in the first place.
For a dedicated server, you can use a user_script, BlackBagOp's remote manager, or the direct swbf2 commands sent through network communication. I don't know what the format of those commands are, but I'd assume everything useful is already included in the remote manager. If you do find a way to inject code through net commands, you'll destroy MP.
The only thing I know how to send to the server from a client is which unit to boot. Everything else is server to client communication.
For a dedicated server, you can use a user_script, BlackBagOp's remote manager, or the direct swbf2 commands sent through network communication. I don't know what the format of those commands are, but I'd assume everything useful is already included in the remote manager. If you do find a way to inject code through net commands, you'll destroy MP.
The only thing I know how to send to the server from a client is which unit to boot. Everything else is server to client communication.
