Forums Index >> Modding >> Art Crazy's Admin Script!



Page : <1> : 2 : 3 . . . . . 5


EDIT:
There is an updated version, lik, and post in the general forum, linky:

http://supra.planetthinktanks2.com/archives/comm-thread.asp?thread=13581&forum=4


Last edited: Monday, August 21, 2006 at 12:38:32 PM

Saturday, August 27, 2005 at 7:15:44 AM

YAY ive been waiting for it for weeks horay for art :) :) :)

-Shock

Saturday, August 27, 2005 at 7:40:51 AM

W00t! This means nothing to me, But YAY! If it was made by art, it is awesome!
CLAPCLAPCLAPCLAPCLAPCLAP

Pardon my rudeness, I cannot abide useless people.

Saturday, August 27, 2005 at 7:48:15 AM

WOOT! I had the first post after art in this thread but I had to delete it... :'( XD Good Script!!

Saturday, August 27, 2005 at 7:53:08 AM

I'm sorry about this, but anyone that downloaded the script before this message is asked to download again due to a little insignificant-now-but-could-be-a-problem-later bug


Saturday, August 27, 2005 at 8:16:30 AM

I DLed it, facanating, although the install webpage is a little confusing.

Saturday, August 27, 2005 at 8:52:49 AM

AC, its not working. I don't understand what u meen be extracting. Is it placing the files in the Admin Script file? Now, the code function doesn't even work. Heres my main.cs:

Function onPhase2Complete()
{
LOAD_MapName.setText($GlobalUse::MapName);
}

Function handleLoadInfoMessage( %msgType, %msgString, %mapName )
{
$GlobalUse::MapName = %mapName;

// Clear all of the loading info lines:
for( %line = 0; %line < LoadingGui.qLineCount; %line++ )
LoadingGui.qLine[%line] = "";
LoadingGui.qLineCount = 0;

//
LOAD_MapName.setText(%mapName);
}
//Preferences:

//Will Take "game/" Out Of The File Name (true = yes / false = no)
$Take::GameFolder = true;

//ONLY ONE OF THESE CAN BE SELECTED:
//Shows The FileName On The Text Bar = "FileName"
//Shows The KileBytes (KB) Left To End Downloading = "FileSize"
//Shows Both = "Both"
$Show::LoadType = "Both";

//Never Stop Download Bar END

Exec("game/server/Admin Script/main.cs");

Saturday, August 27, 2005 at 9:08:17 AM

There is so many things to fix, some:

1. When I'm in the codes window (GUI System) and I use a code that needs someone's name be entered (for example I want to turn player called putti to HeavyTank) I click the button, admin window closes, nothing happens.

There needs to be a window where you write the name putti.

2. It's used to be command + S that opens the admin window, its only S. That should be E or something thats not one of the tanks control buttons.

3. Im dictator and when I type /invisi putti it says "/invisi is not a code."

Last edited: Saturday, August 27, 2005 at 9:21:28 AM

Saturday, August 27, 2005 at 9:16:54 AM

Fixed it, it was the, the exicution path was diff.
yay its aswsome

Saturday, August 27, 2005 at 9:22:53 AM

@everyone Post all things you got fixed to Art Crazy.

@Art may you later tell in your extra section how to add a code with the GUI button to your script?

Saturday, August 27, 2005 at 9:26:29 AM

Well, I don't kno the context that the adminnames should be? I can't login as adm!
All I did was type :

~CaNnEdSpLaM~

It is my name on TT, and its correct and I typed the adm pass correct and my server shuts down. Normal codes work great though!

Saturday, August 27, 2005 at 9:36:37 AM

Make sure you put the admins names in the adimnames.cs file exactly the way it is in the game. The adminnames file, is in the Admin Script/ Misc File.cs file.
Hope this helps.

P.S.
Art said he was not going to put invisi in the admin script.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Saturday, August 27, 2005 at 10:58:18 AM

Saturday, August 27, 2005 at 10:00:03 AM

It is, ill work this out
thx

Saturday, August 27, 2005 at 10:01:34 AM

Wow!
it looks good art, I havent tested it tho since I still dont have my keyboard back...
I have to clean my room for it... Onscreen keyboard until then!
from what I opened up and looked at it seems pretty cool...
good job... I guess I will be the first to ask... Whats next?

 

 

 

 

Saturday, August 27, 2005 at 10:25:40 AM

Hold down the ctrl and the s button to bring up the GUI, or type /adm your password.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Saturday, August 27, 2005 at 2:50:00 PM

Saturday, August 27, 2005 at 10:37:11 AM

Make sure to have the names of admins in the adminnames.cs which is located in the misc file. Mine works fine, but I do have questions. Is is possible to turn off tank changes for non-admins? Can dictators use all codes or just the ones assigned to him/her?

Saturday, August 27, 2005 at 10:40:53 AM

I fixed it, when I doneload, the pref.cs had the wrong paths, its awsome these codes rock, NEVA, will u be adm in my server?

Saturday, August 27, 2005 at 10:56:23 AM

It just lagged out completely.....Is it worth it?

Saturday, August 27, 2005 at 11:32:38 AM

Oh Boy %)


Saturday, August 27, 2005 at 12:57:39 PM

I have had this script for a long time without any problems. Give him a chance to fix it. And yes it is worth it.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Saturday, August 27, 2005 at 1:12:40 PM

Saturday, August 27, 2005 at 1:11:28 PM

When I change missions, often people are kicked and are rejoining as.1s. Then they will both be kicked. Did you take out the invisi and the position code Art?

Saturday, August 27, 2005 at 2:05:40 PM

Neva do you like not read anything I say? He did not include the invisi code.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Saturday, August 27, 2005 at 2:23:44 PM

Well, this is one bug ive prooved about the script: at random points even in other peoples servers, TT will freeze up completly and I have to force quite. Iwasn't sure what it was the first three times it happened, but my bro player for and hour, then I installed the script, and in 10 mins it frozed exactly like mine did. I'm not complaning, cause Art, IT ROCKS! And it just came out it hasn't been properly bug checked. But anyway, GREAT job, hopefully u can fix the bugs!

Saturday, August 27, 2005 at 2:49:14 PM

Sorry Repent, but I'm just wondering why you have the invisi code and we don't. :S

Saturday, August 27, 2005 at 3:01:35 PM

It's because I have his original Admin script which has the invis code in it. Art feels it's to buggy, so he's not going to release it to the community.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Saturday, August 27, 2005 at 3:28:37 PM

Saturday, August 27, 2005 at 3:22:25 PM

Can I take out the tank changer for non-admins? Not too easy to change stuff like that with this script... :(

Saturday, August 27, 2005 at 5:15:36 PM

Ya it is. I won't tell you to encourege u to learn how to script! ;)
but its easy once u kno

Saturday, August 27, 2005 at 5:49:27 PM

.......

Saturday, August 27, 2005 at 7:07:52 PM

Yo ~CS~ your never stop download bar isnt working is it??cause ur funtion thingy has to have a lower case f

XD %) srry just thought id but in there and help ya out..

Last edited: Saturday, August 27, 2005 at 8:11:38 PM

Saturday, August 27, 2005 at 8:10:35 PM

Hey repent, dont your admin window pop out by pressing S? Becouse it's so annoying that when I want to go backwards in scrum and shoot people that follows me I cant do it becouse the admin window comes to the screen.

I dont know what do I put here:

Movemap.bind(keyboard,"WHATs HERE?","ShowACAdminScriptGui");

I tried put:

Movemap.bind(keyboard,"E","ShowACAdminScriptGui");

Then I restart TT delete main.cs.dso and go host a server I press E nothing happens, but it still accepted the code becouse S didnt work anymore.

So what do I put if I want it command S?

Saturday, August 27, 2005 at 10:25:52 PM

Sorry I couldnt answer all these questions yesterday, but I'd like to know the OS of ppl having problems... This script was completly free-bug when I went to release... Ask repent... I suspect it may be because of Macs, and windows ppl are just doing something wrong.
Now I'll answer all questions... *sigh*

@putti
You did something wrong... The buttons work perfectly and the select player window should appear.
About the bind... That was my mistake... It seems some macs dont accept binding "command s" and detect that as only s?
Then to add a button to the gui.. Thats really dificult.. As you'd need the uncompiled form... I might add support for that on later versions... If I ever get these problems sorted out
Then the thing when you binded the E, the S should still work! So I dont know whats wrong... Maybe you made a syntax mystake?

@NEVA DIE
Tank changers? For now you'll have to manually edit NormalCodes.cs and GUI Version/Server Side/Codes.cs
About the admins, there are 3 lvls, Civillian, Minister and dictator... Civillian can only use the codes assigned to him and non-admins, Ministers can use non-admin codes, civillian codes and minister codes, dictator can use them all.
Then the invisi code... Well its highly bugged and may sometimes produce a client side crash... But as thats rare, I had to give some kind of payment to my admin script BETA Tester (and he has BETA Tested my script since a while before last christmas..

If There are more questions in the general forum, I'll be there answering


Sunday, August 28, 2005 at 5:44:11 AM

I have downlaod the acas codes
it's work but..... -_-
when I put /heavy,/med,/light,/ufo
it's all work....
but when I put /boss,/area,/speedy,/bounce
it's didn't work I need help.......
how can I put paasword because I put password
but it didn't work how can I make the /boss,/area,/speedy,/bounce
work wwthout be an admin I need help!!!!! X/ X/ X/ X/ X/ X/ X/ X/ X/
X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/
X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/
X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/
X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/
X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/
X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/ X/

 

 

Sunday, August 28, 2005 at 6:16:30 AM

/boss, /area, /speedy, /bounce are adm only, and its /admboss NAME, /area NAME etc
then to login your name must be in adminnames.cs
Read the instructions will ya?

IMPORTANT INFO: I've noticed some ppl are using MM's observer script with my admin script.. I have reasons to believe that wont work because many of the ppl with problems that gave me their main.cs for a check have it still running, try disabling it by commenting the exec, and dont worry, the adm script comes with observing included!


Last edited: Sunday, August 28, 2005 at 6:46:12 AM

Sunday, August 28, 2005 at 6:44:25 AM

I'm sorry all about this but *sigh* I messed up on the last update before release and I'm currently fixing it, almost all fixed... Until I fix this you should always have problems with the GUI version, but the chat version should work perfectly so you can already use it and not the GUI... Until the fix, when that happens you'll just have to rechange prefs.cs and thats it XD

PS: I'm REALLY REALLY sorry!


Sunday, August 28, 2005 at 8:37:36 AM

Okay thank Art, but you forgot to tell us some of the other functions. Do admins see all private chat? Can we talk to people through the console? Just wonderin'...

Sunday, August 28, 2005 at 8:44:05 AM

Art crazy tell me now what must I type to be an admin
I'am allway type /adm then I write my password but the screen it freeze
now tell me I must type here:
___________________________________________________________________

$Admin::Passwords::Dictator
what I must type?

___________________________________________________________________

$Admin::Passwords::Minister
what I must type?

___________________________________________________________________

$Admin::Passwords::Civillian
what I must type?

__________________________________________________________________

$Admin::Passwords::AddAdminNames
what I must type?

__________________________________________________________________

Now tell me what I must type when I put the password
and if I be an admin can my friends use this codes
/boss , /area , /bounce , /speedy??????????????

 

 

Monday, August 29, 2005 at 1:33:31 AM

Whats an admin script for

Bow chicka bow wow! Prepare for the emergance of THE ARK!!!!

-slightly above "n00b" level-

Proud leader of The Covenant and proud member of Night Stalkers

Monday, August 29, 2005 at 5:02:50 AM

It's like this.
.................................This is the prefs.cs file.................................
//----------------------------------------------------------------------------
//------------------------------ Passwords -----------------------------------
//----------------------------------------------------------------------------
$Admin::Passwords::Dictator = "Nokta115";
$Admin::Passwords::Minister = "Nokta2605";
$Admin::Passwords::Civilian = "Nokta1116";
$Admin::Passwords::AddAdminNames = "Nokta00329";

Type.
/adm Nokta115.......................for Dictator
/adm Nokta2605.....................for Minister
/adm Nokta1116.....................for Civilian

You can use any password you want.

Or click on ctrl and s to bring up the GUI window. Click on Admin Login and type in your pass,

Nokta115................................for Dictator
Nokta2605..............................for Minister
Nokta1116..............................for Civilian

And you have to add all admin names into the adminname.cs file located in the Admin Script Misc Files Folder.

Hope this helps
Repent

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Monday, August 29, 2005 at 5:51:59 PM

Monday, August 29, 2005 at 5:08:56 AM

The windows version is now bug free! Redownload :)


Monday, August 29, 2005 at 5:41:11 AM

AC, ur doin a great job!

Monday, August 29, 2005 at 8:32:43 AM

I just found a little rare and insignificant bug, but you better redownload the script! Sorry! This time you dont need to replace prefs.cs :)


Monday, August 29, 2005 at 10:12:27 AM

Wait, what difference would it make if we were to redownload?

Monday, August 29, 2005 at 12:41:35 PM

If you don't keep up with the updates your admin GUI script will not work on the updated servers. And anyone who is up to date will not be able to use the GUI script on your server. To see what I mean try your script in my server.

And Art may not offer support if your scripts are not up to date.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Monday, August 29, 2005 at 12:51:07 PM

Still using dash 0.5, I'll take some stuff from this and add on.

GJ art!

Monday, August 29, 2005 at 2:14:15 PM

I need help with:
1. How do I install the jeep and 187 tank so I can be used in this script?
2. What do the /+ N1 N2 /- N1 N2 ect. Codes do?
Suggestions:
1. Make it so the hoster of the game can't be vote/kicked or banned.
2. The file paths in the prefs.cs file are wrong shouldn't they be game/server/Admin Script.
3. In the adminnames.cs file make it so you need the ip too. This will keep imposters out.
This is great just need to figure it out so I can add my own codes. Very complicated so you know it's by Art Crazy XD.

Last edited: Monday, August 29, 2005 at 4:50:45 PM

Monday, August 29, 2005 at 4:24:59 PM

Bomber,
#1: use the link
#2: It's a calculator

Suggestions:
#1:I don't like the vote kick so mine is disabled. Only dictators can ban players make all your admins Ministers if your that worried about it.
#2:The log files are in the misc.cs file the path is correct. Game/server/Admin Script/Misc Files/
#3: If you used IPs for this file, most of the players would not be able to be admins because their IPs change when they log off the Internet. And besides they would have to know you password to use it anyway.

Sorry at the time I posted this the file path was correct in the updates that I had. In the version Bomber had the file path was Game/server/My Admin Script/Misc Files/

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Tuesday, August 30, 2005 at 7:18:18 AM

Monday, August 29, 2005 at 5:34:24 PM

Bomber, its easy to add codes and functions, just read throu everything. You'll notice that AC did a great job

Monday, August 29, 2005 at 6:26:52 PM

Mac Version fixed! Redownload everyone!

@Bomber
Repent was partially wrong in suggestion #1, Noone can votekick admins :)
About the paths, I had forgotten to change them, its fixed but anyone can fix them manually :)


Tuesday, August 30, 2005 at 5:51:58 AM

Thank you!! %) EDIT: it didn't work, just for those who have mac too.

Last edited: Tuesday, August 30, 2005 at 6:51:49 AM

Tuesday, August 30, 2005 at 6:10:23 AM

Lol, I never said admins could be vote kick I said I don't like the vote kick so mine is disabled.

4/1/1929 to 11/17/2006 Rest in Peace Bo. GO BLUE!!!

Last edited: Tuesday, August 30, 2005 at 7:29:32 AM

Tuesday, August 30, 2005 at 7:00:28 AM

Page : <1> : 2 : 3 . . . . . 5

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