Run code in multiplayer server?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Run code in multiplayer server?

Post by myers73 »

is there anyway to use the code consol, or something similar to run code in multiplayer on a server besides user_scripts?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: multiplayer

Post by Maveritchell »

:?

You answered your own question. Use the code console. Input code directly in.
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: multiplayer

Post by myers73 »

im not talking about a game hosted off of my PC, rather a real server that uses black bag ops.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: multiplayer

Post by [RDH]Zerted »

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.
Post Reply