Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [REQUEST] Team remix on/off plugin
[REQUEST] Team remix on/off plugin [message #483013] Thu, 08 August 2013 10:58 Go to next message
Hypnos is currently offline  Hypnos
Messages: 683
Registered: August 2009
Location: Scotland
Karma: 0
Colonel
Would it be possible to create a plugin that upon a command such as !remix on and !remix off could modify the srvr_config to enable/disable team remix? It would certainly help for community war games where communities want to have an internal community war and don't want to have to assign team captains, and it will also help the lobby war community as well.

http://i33.tinypic.com/2ls7bzb.png

Caveman wrote on Fri, 21 January 2011 08:26

Well this topic is still going on. I have to say I haven't watched much Anime recently (maybe a year or so) the last thing I saw was GITS (for the third time)

Im not too sure whether I just dont enjoy Anime anymore or whether its just I dont have time really to shit and watch it.






Re: [REQUEST] Team remix on/off plugin [message #483014 is a reply to message #483013] Thu, 08 August 2013 12:07 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

Why not just change the settings and restart? Generally you want different settings for a war anyways...

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [REQUEST] Team remix on/off plugin [message #483016 is a reply to message #483014] Thu, 08 August 2013 12:46 Go to previous messageGo to next message
Hypnos is currently offline  Hypnos
Messages: 683
Registered: August 2009
Location: Scotland
Karma: 0
Colonel
EvilWhiteDragon wrote on Thu, 08 August 2013 20:07

Why not just change the settings and restart? Generally you want different settings for a war anyways...


That's not always possible when there is nobody online to change the server settings, thus it would be easier if a script like this was created.

The main purpose of this is to jump between lobby wars and clanwars easily, even if a server restart is required it would be much more useful if it was an automated process without requiring someone to manually do it.


http://i33.tinypic.com/2ls7bzb.png

Caveman wrote on Fri, 21 January 2011 08:26

Well this topic is still going on. I have to say I haven't watched much Anime recently (maybe a year or so) the last thing I saw was GITS (for the third time)

Im not too sure whether I just dont enjoy Anime anymore or whether its just I dont have time really to shit and watch it.






Re: [REQUEST] Team remix on/off plugin [message #483017 is a reply to message #483013] Thu, 08 August 2013 12:52 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

I guess you could hack such thing in place with PHP exec, a webserver, and a tool like BIAPPMGR for autorestarting the server.

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [REQUEST] Team remix on/off plugin [message #483018 is a reply to message #483013] Thu, 08 August 2013 14:19 Go to previous messageGo to next message
Lazy5686 is currently offline  Lazy5686
Messages: 254
Registered: November 2007
Karma: 0
Recruit
Or have a simple mIRC script to run a batch file to kill the process, open and modify the file and then restart the server.

The Scruffy, AngryCanadian with Vuvuzelas
-Jelly Games admin
http://i.imgur.com/7RiVG.jpg
Re: [REQUEST] Team remix on/off plugin [message #483019 is a reply to message #483013] Thu, 08 August 2013 14:37 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Do you also want to set the remix team setting the FDS is using when a player executes one of those commands? I mean, if you type a command in it will immediately apply the setting on the server and save it to the config. Or do you just want to save the setting to the config and have the running FDS use the old setting?

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [REQUEST] Team remix on/off plugin [message #483020 is a reply to message #483013] Thu, 08 August 2013 15:13 Go to previous messageGo to next message
Hypnos is currently offline  Hypnos
Messages: 683
Registered: August 2009
Location: Scotland
Karma: 0
Colonel
Update the FDS as well I think.

http://i33.tinypic.com/2ls7bzb.png

Caveman wrote on Fri, 21 January 2011 08:26

Well this topic is still going on. I have to say I haven't watched much Anime recently (maybe a year or so) the last thing I saw was GITS (for the third time)

Im not too sure whether I just dont enjoy Anime anymore or whether its just I dont have time really to shit and watch it.






Re: [REQUEST] Team remix on/off plugin [message #483157 is a reply to message #483020] Mon, 19 August 2013 23:02 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Just flip RemixTeams in svrcfg_cnc.ini, the settings change will load on map win.

All you'd have to do is make a simple 5 line chunk of code to load and write the file back out with that one flag flipped.


Re: [REQUEST] Team remix on/off plugin [message #483159 is a reply to message #483013] Tue, 20 August 2013 00:58 Go to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Or you can just call cGameDataCnc::Save_To_Server_Config(void)

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Tue, 20 August 2013 00:59]

Report message to a moderator

Previous Topic: Renegade MP demo v1.05 hacked EXE
Next Topic: [Map] Alpine_Night
Goto Forum:
  


Current Time: Mon Nov 04 13:32:40 MST 2024

Total time taken to generate the page: 0.00765 seconds