Forums Index >> Modding >> CODES
Page : <1> :
Copy message.cs to common/server/message.cs
Replace original cs. Or put at bottom?
OK, I did everything that you said. I renamed message.cs to message.cs.dso.sav...(was that correct to rename the actual file there?) and I replaced it's content with the script you provided. I then went to my prefs file, and added the line you put, inserting a password. It did nothing in game. Now am I assigned a password or something? Did I miss a step? Please let me know. I think either 1: I was not supposed to rename the file that way (by right clicking, and renaming. ) or I need to be assigned a pass--not make one. ??! (This is part of Ishbuu's project, correct?) ty
Does it have 2 be dedicated 2 work :S
Cadc (SA) (Leader)
**..::I am thoroughly...
amused:::..**
@Fil
This is not part of ishbuu's project Fil, you didn't follow the instructions, lol
Save a copy of your message.cs.dso file as message.cs.dso.sav
then copy the downloaded message.cs to common/server/message.cs
Then launch a dedicated server
Then join it
Then type /codes
this will list available codes
Then type /adm password
this will list available codes including admin codes
where password is whatever you have set in game/server/prefs.cs
$pref::Server::AdminPassword="YOUR PASSWORD HERE";
This is for admin on your server, the password is whatever you set it to be
anyone playing in your server can login as admin if you give them the password
I have given the password to several players I trust so people can manage my TT Server when I am not there
@ Cadc, I haven't tried non-dedicated, let me know
Good job dash, as always.
Oh yeah, I doubt its need to be dedicated server. Worked in non dedicated server fine for me atleast.
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
Ooo! Ok. I will wait for ish's thing then.
I'v hered Ish's is coming out in around a year so I would rethink that. ;)
I'v hered Ish's is coming out in around a year so I would rethink that.
Ive done beta testing on it, it should be out soon enough.
I think will get it Michael (_p yay!
Dash, you stole Ishbuu's script here, 90% of what this script is, is just stolen from Ishbuu's script.
And it doesn't work in a regular server, so let's all just wait for Ishbuu's!
@Nathan, that is rude. I asked ish for this stuff, he refused. I took common/server/message.cs from Torque demo dropped it into TT and then started editing.
I told ish where I got mine yesterday he probably stole from the same place I did, Torque demo. I have received zero code from ish I have however given
him some. If you modders would share source code you would all progress much faster and do bigger things.
Triv assures me it does work in a regular server and it is in use already, I am distributing the source not a lame.dso.
Choice is good, but smear campaigning is lame Nathan
I AM WAITING FOR ISH'S!!!! XO
If you modders would share source code you would all progress much faster and do bigger things.
Very true, but only you, me, 187, and so others think that. I'v been trying to tell them, but they don't listen. All most all of them have got info from others, but will not give any back.
Dash, the only issue I see with helping others is that a few "individuals" have double crossed me in the past taking full credit for my work. I have now decided that only people I really know and trust to give my code. Dash, this will eventually happen to you and you will see my, nathan's, and the other scripters point of view. I was once like you, and a guarentee as long as there are ammature modders, there will be those who will attempt to take credit for your work. One day they will suceed, and you will be sorry you shared. Now you know why I have my reasons for not sharing.
~Ishbuu
Am I one of those individuals? If so, What did I do?
Thank You dash I could really use this.
Did someone say "Code"? ;)
@ish,
I understand your position but I released my code without conditions.
I didn't care about credit, I wanted codes so that I could manage my servers.
and improve the quality of game play. I also believe that having the code widely
distributed will reduce team killing and bad behavior all over.
If you had given me that code I would have gave you credit.
Triv explained to me how to make terrains. I told everyone who asked me about it that he
did so. That is how I am.
You are right people should give credit where credit is due, that is just being nice.
But when I release code for general use I don't expect credit.
On the other hand I dont appreciate Nathan calling me a thief and I hope you can
help me clarify that with him.
I hope we can work on something together in the future, it would be fun. If we collaborate
I'll let you set the release/sharing terms.
You don't need 2 change common/server/message.cs.dso to common/server/message.cs.dso.sav XD
He said to do that for a backup genious
Well said dash
It doesn't overwrite it anyway XD
The silence code is way WAY better than ignorescript. :) XD
You know it!
It REWRITES your old message.cs.dso so if you ever needed to get rid of the system, you would just delete the cs and replace the current message.cs.dso with the.sav file. I know what im talking about.
Could you make it so the privet chat and all the other stuff a joined player can do, do this in a game where this file isn't in use. Like make seperet scripts. Thanks.
I'm sorry Bomber I can't chat messages are all controlled/moderated/routed thru the server. If the script is not installed on the server It won't work.
I think it's possible. Like ignore script make s privet script and/or a ping script. Then when someone downloads it then they can do a privet chat with some one els that does have script. They wouldn't be able to privet chat back, but they could download it then they could. Same with ping script. You could see someone elses ping, but they couldn't see your's untill they downloaded it. Also with all the other join player codes (whitch I forgot).
It couldnt be done with what we have to work with, it would be possible if TT shipped with a name to cadd tool, but it didnt, making it impossible for the srever to find the client if you type in their name.
I guess I shouldn't say can't. I'm sure if I beat my head against that wall long enough and If I got ish and others to bang
their heads against said wall with me we could do it. But I don't understand why you want this.
In a server running codes you can private and team chat and it wasn't that hard to make. Just bug the operators
of the servers you play on to install a codes implementation, ish's or mine doesn't matter.
On the other hand what your asking me to make seems hard and a duplication of functionality to boot
B-U-M-P !
You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.
Help! My chat dosen't appear at all now!
U 2 devestator?
I had the same problem, someone please help us!!!!!!!
R (SA)
How do I launch a dedicated server? :[
How do you do this //--- OBJECT WRITE BEGIN ---
//Created with ModWizard v1.3
//Please remember to put 'MOD' at the beginning of your server name.
new SimGroup(MissionGroup) {
musicTrack = "Frantic";
New ScriptObject(MissionInfo) {
name = "Parrots Playground";
author = "Ròóster©";
};
new MissionArea(MissionArea) {
area = "-512 -512 1024 1024";
flightCeiling = "300";
flightCeilingRange = "0";
floor = "130";
locked = "false";
};
new Sky(Sky) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
visibleDistance = "1000";
useSkyTextures = "1";
renderBottomTexture = "0";
SkySolidColor = "0.547000 0.641000 0.789000 0.000000";
fogDistance = "500";
fogColor = "0.250000 0.200000 0.600000 1.000000";
fogVolume1 = "1 1 1";
fogVolume2 = "1 1 1";
fogVolume3 = "40 1 140";
materialList = "game/data/skies/sky_day.dml";
windVelocity = "1 1 0";
windEffectPrecipitation = "1";
noRenderBans = "0";
fogVolumeColor1 = "128.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
cloudSpeed3 = "0.0003";
cloudSpeed1 = "0.0001";
cloudHeightPer0 = "0";
locked = "true";
cloudHeightPer2 = "0";
cloudHeightPer1 = "0";
cloudSpeed2 = "0.0002";
};
new Sun() {
direction = "0.57735 0.57735 -0.57735";
color = "1.000000 0.985000 0.960000 1.000000";
ambient = "0.600000 0.500000 0.400000 1.000000";
scale = "1 1 1";
locked = "true";
rotation = "1 0 0 0";
};
new TerrainBlock(Terrain) {
rotation = "1 0 0 0";
scale = "1 1 1";
detailTexture = "game/data/terrains/details/detail1";
terrainFile = "game/data/missions/D1.ter";
squareSize = "5";
tile = "1";
blockShift = "7";
locked = "false";
position = "-1024 -1024 0";
};
new SimGroup(PlayerDropPoints) {
new SimGroup(GreenPlayerDropPoints) {
};
new SimGroup(BluePlayerDropPoints) {
};
};
};
//--- OBJECT WRITE END ---
I dont understand how to do it can some one breifly explain plz
Not for you, no.
Sounky I thought u were a mung friend now ur just a punk I h8 u
Mung friend? Please clarify.
@fish
What do you mean by this:
How do you do this //--- OBJECT WRITE BEGIN ---
//Created with ModWizard v1.3
//Please remember to put 'MOD' at the beginning of your server name.
new SimGroup(MissionGroup) {
musicTrack = "Frantic";
New ScriptObject(MissionInfo) {
name = "Parrots Playground";
author = "Ròóster©";
};
new MissionArea(MissionArea) {
area = "-512 -512 1024 1024";
flightCeiling = "300";
flightCeilingRange = "0";
floor = "130";
locked = "false";
};
new Sky(Sky) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
visibleDistance = "1000";
useSkyTextures = "1";
renderBottomTexture = "0";
SkySolidColor = "0.547000 0.641000 0.789000 0.000000";
fogDistance = "500";
fogColor = "0.250000 0.200000 0.600000 1.000000";
fogVolume1 = "1 1 1";
fogVolume2 = "1 1 1";
fogVolume3 = "40 1 140";
materialList = "game/data/skies/sky_day.dml";
windVelocity = "1 1 0";
windEffectPrecipitation = "1";
noRenderBans = "0";
fogVolumeColor1 = "128.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
fogVolumeColor2 = "128.000000 128.000000 128.000000 0.000000";
fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
cloudSpeed3 = "0.0003";
cloudSpeed1 = "0.0001";
cloudHeightPer0 = "0";
locked = "true";
cloudHeightPer2 = "0";
cloudHeightPer1 = "0";
cloudSpeed2 = "0.0002";
};
new Sun() {
direction = "0.57735 0.57735 -0.57735";
color = "1.000000 0.985000 0.960000 1.000000";
ambient = "0.600000 0.500000 0.400000 1.000000";
scale = "1 1 1";
locked = "true";
rotation = "1 0 0 0";
};
new TerrainBlock(Terrain) {
rotation = "1 0 0 0";
scale = "1 1 1";
detailTexture = "game/data/terrains/details/detail1";
terrainFile = "game/data/missions/D1.ter";
squareSize = "5";
tile = "1";
blockShift = "7";
locked = "false";
position = "-1024 -1024 0";
};
new SimGroup(PlayerDropPoints) {
new SimGroup(GreenPlayerDropPoints) {
};
new SimGroup(BluePlayerDropPoints) {
};
};
};
//--- OBJECT WRITE END ---
If you mean launch I only kno how 2 do it in ded. Server:
1. Create a text file an change it to D1.bat
2. Right click and select EDIT
3. Copy this into it and save it:
cd..
ThinkTanks -dedicated -mission game/data/missions/D1.mis -game b
4. Launch D1.bat go 2 lan server and join it this is battlemode
Oh & for chat try pressing enter
Intruder
Last edited: Monday, August 23, 2004 at 2:08:35 PM
Don't listen to Ima Fish, he's a spammer.
Yo dash next time u see me can u help me make an admin code im having probs I need to to tell me in simple words where to put the file
zolt
This is too confuseing 8(
Page : <1> :
THIS THREAD IS OBSOLETE GET VERSION 0.03
Hi all I have written a codes implementation, I am releasing it now
DISCLAIMER: I am not responsible for any problems
you may have with this script. If it makes all your
hair fall out, too bad.
The following instructions assume you can find your thinktanks installation directory.
all instructions use this as an assumed base to work from.
Message.cs
----------
This is a drop in replacement for message.cs.dso
STEP 1: rename common/server/message.cs.dso to common/server/message.cs.dso.sav
STEP 2: copy message.cs to common/server/message.cs
STEP 3: Open game/server/prefs.cs and add this line
$pref::Server::AdminPassword="YOUR PASSWORD HERE";
please replace "YOUR PASSWORD HERE" with something difficult to guess
To login as admin from with the game
STEP 4: launch your dedicated server
STEP 5: Try out some codes
Type /adm YOUR PASSWORD HERE
To list available codes /codes
The list of codes displayed to admins and regular players is different
Player codes...
Team chat: / message
private chat: // name message
check ping: /ping name
Admin codes
kill all players: /nuke
all user stats: /stats lists out users in the format name, cadd,ping, ip
single user stats: /stat name
kick: /k name
silence: /s name
numerical kick: /nk CADD (get CADD from /stats it is the first number after player name
this is for use with those mangled names)
get the file here
Last edited: Sunday, August 08, 2004 at 3:37:07 PM