Forums Index >> Modding >> Dedicated Server Terminal Codes



Page : <1> :


I host Monkeemans MODs. In terminal I can see people Join my server my stuff like that, What I want is Loads of different Scripts I can put into Terminal so I can Change settings without going into the game, Maybe even ban people from terminal.

If you know any short scripts that work can you please post them.

 

 

 

 

Sunday, May 08, 2005 at 2:08:37 PM

Hmmm, you know what, you'd need a.cs to be able to ban ppl from terminal :)

Well, here are mine:

 

                                        
function unlockserver()
{
$Pref::Server::Password = "";
echo("The Server Has Been Unlocked");
}
Function lockserver(%password)
{
$Pref::Server::Password = %password;
echo("The Server Has Been Locked With The Pass: "@%password);
}
Function servernamechanger(%newname)
{
$Pref::Server::Name = %newname;
echo("The Server Name Has Been Changed To: "@%newname);
}

 

Well, to kick ppl from terminal u need to get the cadd and then use CADD.delete();


Monday, May 09, 2005 at 6:43:22 AM

So To kick people : (CADD HERE).delete();

So if the CADD was 15628.delete(); and that will kick the person

 

 

 

 

Monday, May 09, 2005 at 12:00:59 PM

Yea, to use my codes put it into the consoleutilities.cs file and then use nameoffunctionhere("any variable like server name here");


Monday, May 09, 2005 at 1:13:33 PM

Thanks Art, Also, when will your admin Script be releaed, BETA tester here<<<

 

 

 

 

Monday, May 09, 2005 at 1:27:13 PM

Well, I still have to finish the last part
Visit my dev. Blog for more info:
Here


Tuesday, May 10, 2005 at 8:53:50 AM

Wow, Looks pretty good, I like the invisibility!

P.S - Im wondering also If this would work CADD.ban(); So 1524.ban(); Would that ban someone?

 

 

 

 

Last edited: Tuesday, May 10, 2005 at 9:07:38 AM

Tuesday, May 10, 2005 at 9:03:01 AM
b20

Make someone a dictator? Isin't that a little evil? :P

- b20

Tuesday, May 10, 2005 at 4:24:49 PM

^ lol BUT.... You DONT have clone all.....

if this makes you take longer on the admin script Someone please put ducktape on my mrgupphh

EDIT: cant you edit the centerprinting??

Last edited: Tuesday, May 10, 2005 at 9:58:38 PM

Tuesday, May 10, 2005 at 9:57:54 PM

You can make it bottom print so it shows up were everyone else types but in white

 

 

 

 

Tuesday, May 10, 2005 at 10:14:31 PM

It does have clones, and I have good news, im finished! Oh Pedro, invisibility code wont be released, its really buggy and may crash the client using it, I'll keep it for myself and repent :P


Wednesday, May 11, 2005 at 8:21:00 AM

OK..... Can You send the script to pedro.tranda@gmail.com Please :D Beta Tester for Mac OS 10.3.9

Also What is the Function to Restart my server, Because instead of closing it and re writing everything again, which takes quite a while is there just a function that just restarts the server....

 

 

 

 

Wednesday, May 11, 2005 at 8:23:39 AM

Just wondering, will your admin script have text admin as well as GUI?

Wednesday, May 11, 2005 at 8:28:58 AM

Art Crazyİ

I'm still interested in testing your admin scripts. If your looking for beta testers please send me your creation to napalm_tt@yahoo.com

Thanks!

 

Wednesday, May 11, 2005 at 12:26:06 PM

@Pedro
I'll see if I include ya in the list :)
Oh try writing cyclegame(); in console
That wont restart the server but will cycle the mission, that cleans the server

@Racer
Yea it will :)

@Napalm
I thought u knew I was already in the list :)


Wednesday, May 11, 2005 at 2:01:31 PM

Thanks Art.

P.S - When I try entering my own server it comes up (Invalid Packet) The Map is my own map made in TGE and then MODDED in ModWiz, Do you know why I cant enter my own server and it comes up with that error, the message comes up half way through the loading of the Mission Lighting

 

 

 

 

Wednesday, May 11, 2005 at 2:11:30 PM

Normally that happens cos of some error in the.mis file...
Not sure about it


Wednesday, May 11, 2005 at 2:14:14 PM

Ok, I will scan the.mis file

 

 

 

 

Wednesday, May 11, 2005 at 2:39:39 PM

Good! I find text faster than GUI.

Does the code you mention go in Codes.cs or in it's own.cs?

Thursday, May 12, 2005 at 2:37:55 PM

The code I mention goes in consoleutilities.cs, as I also mentioned in another post :P


Friday, May 13, 2005 at 8:02:24 AM

^ Thanks man. I didn't see that post at first.

Trying to come up with an in-game code to activate them.

Last edited: Friday, May 13, 2005 at 10:08:29 AM

Friday, May 13, 2005 at 10:05:44 AM

Herm, those functions are taken of my admin script, it has em as code and as a console utility :P


Last edited: Friday, May 13, 2005 at 10:16:22 AM

Friday, May 13, 2005 at 10:15:54 AM

Ill beta test too Got a Mac ;)
e-mail: Spark3@povvideo.com
thanks

Saturday, May 14, 2005 at 8:36:45 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald