Posts: 3,462
Threads: 72
Joined: Jun 2010
If there was no file named saved, then you would have to constantly be going through the startup screen (music, asking for screen ratio, full screen or not, and nickname). Is this happening, because that might be your problem.
Posts: 152
Threads: 20
Joined: Jul 2010
ok i ve look everywhere again and there is no file named saved.cfg and no other autoexec.cfg
i don't know how but i also don't go through first start menu everytime i launch AC...
i use Ubuntu so i beleive there me must be some different file where this must be written, but i can't locate it... :/:(
Posts: 4
Threads: 1
Joined: Aug 2010
(05 Aug 10, 11:48AM)Milandrag Wrote: ok i ve look everywhere again and there is no file named saved.cfg and no other autoexec.cfg
i don't know how but i also don't go through first start menu everytime i launch AC...
i use Ubuntu so i beleive there me must be some different file where this must be written, but i can't locate it... :/:( The Ubuntu file browser does not show hidden files or folders by default, only the files that your user has access to.If you hit Ctrl+H you will immediately see all the hidden files.If you would just prefer to make this be the default setting when using file browser, go to the Edit menu and select Preferences.Check the “Show hidden and backup files” checkbox, and you should now see the hidden files all of the time.
Posts: 152
Threads: 20
Joined: Jul 2010
OMG guys u trully are the best.
ive found the second autoexec.cfg beside saved.cfg
they were both hidden
so now scripts DO work... finally XD
tnx alot for all ur help
im really glad for your help
tnx a lot again XD
Posts: 2,841
Threads: 44
Joined: Jun 2010
05 Aug 10, 09:09PM
(This post was last modified: 05 Aug 10, 09:09PM by #M|A#Wolf.)
I have a feeling most if not all scripts from 1.0.4 won't work for 1.1 :/
Posts: 3,780
Threads: 33
Joined: Jun 2010
Any based on weapon index will need to be adjusted.
A few of the menus will need adjustment as well, to compensate for changes in variables.
I'll probably lend my time to that when I start playing 1.1 in earnest.
Posts: 2,841
Threads: 44
Joined: Jun 2010
13 Aug 10, 07:48AM
(This post was last modified: 13 Aug 10, 07:51AM by #M|A#Wolf.)
I have a script request. Could someone please make a quickban script for the 1.1 version? Though unlike the old script, make it so that you don't need to put the pass in the command /qb cn pass; since most big servers have passes with letters and numbers you usually have them in a bind/alias since you wouldn't remember it, therefore, make the script work only when you have admin. Also make it toggle the console before it takes the ss of the whois, and also probably make it so that we can add our reason like /qb cn OURREASON
Thanks :)
Posts: 1,331
Threads: 44
Joined: Jun 2010
13 Aug 10, 07:53AM
(This post was last modified: 13 Aug 10, 08:10AM by Bukz.)
Try this out (see below instead), you must already have admin, and you must enter a reason.
So:
Would work the way you want it to (I think :P).
Edit:
Use the version below instead, the sleeps need to be higher in order to get the IP in the screenshot - my mistake. :P - Also I think this script will only support 1 word reasons, I'll look into adding phrase support. :P
http://pastebin.com/Uyq8vGhw
Posts: 2,841
Threads: 44
Joined: Jun 2010
Thanks for the fast response :D
I'll have it and when it's needed I'll see if it works. Or I could also test it with a friend. I'll tell you if it works then.
Posts: 1,331
Threads: 44
Joined: Jun 2010
13 Aug 10, 09:09AM
(This post was last modified: 14 Aug 10, 12:15AM by Bukz.)
Try out this version |BC|Wolf: http://pastebin.com/8kD2rkRT
It's a bit hacked away at, concat would not work properly when trying to add phrase support to the reasons, so I had to settle for seperating words with an underscore and using concatword.
But, you can enter up to 3 words to describe the reason for kicking the victim, and the script will take care of the rest. :)
Improvements very much welcomed.
Edit:
http://pastebin.com/ydYNY11y
Up to 5 words anyone? :)
E.g. /qb 0 1 2 3 4 5 - would kick client number 0, with the reason: 1_2_3_4_5
Posts: 2,067
Threads: 11
Joined: Jun 2010
13 Aug 10, 09:22AM
(This post was last modified: 13 Aug 10, 09:52AM by Orynge.)
Created by me, then edited by Ronald_Reagan, and then fixed ( Not sure if it's fixed, the glitch exists on my PC but not on DrauL's O_o) by DrauL. It's an 8ball script :D
Yes, I know we haven't got all the answers down there.
8ballanswers = ["8ball: Meow, I'm a cat!" "8ball: Oh, please, PLEASE, make it stop!" "8ball: Who do you think I am, DiLL?" "8ball: Are you MAD?!" "8ball: Sure. Yeah. Exactly." "8ball: It is decidedly so." "8ball: Not on your life." "8ball: No." "8ball: Maybe so." "8ball: Absolutely not." "8ball: Yes."]
alias 8ball [say ($arg1); sleep 10 [8response]]
alias 8response [say (at $8ballanswers (rnd (listlen $8ballanswers)))]]
Posts: 1,438
Threads: 54
Joined: Jun 2010
13 Aug 10, 09:27AM
(This post was last modified: 13 Aug 10, 10:12AM by DrauL.)
It worked on mine. O.o
Premade Reasons for server admins
//Premade Reasons scripted by DrauL
//Note: "/btk 6" will ban cn 6 with reason: teamkiller.
//Custom
k1 = [kick ($arg1) "CUSTOM ANSWER HERE"]
k2 = [kick ($arg1) "CUSTOM ANSWER HERE"]
k3 = [kick ($arg1) "CUSTOM ANSWER HERE"]
b1 = [ban ($arg1) "CUSTOM ANSWER HERE"]
b2 = [ban ($arg1) "CUSTOM ANSWER HERE"]
b3 = [ban ($arg1) "CUSTOM ANSWER HERE"]
//Kick
kem = [kick ($arg1) "Edited Map"]
kbn = [kick ($arg1) "inapporiate nickname"]
ks = [kick ($arg1) "spam"]
kva = [kick ($arg1) "vote abuse"]
kn = [kick ($arg1) "noob"]
ktk = [kick ($arg1) "teamkiller"]
//Ban
btk = [ban ($arg1) "teamkiller"]
bva = [ban ($arg1) "vote abuse"]
bs = [ban ($arg1) "spam"]
bbn = [ban ($arg1) "inapporiate nickname"]
bem = [ban ($arg1) "Edited Map"]
Posts: 1,331
Threads: 44
Joined: Jun 2010
13 Aug 10, 10:39AM
(This post was last modified: 13 Aug 10, 11:53AM by Bukz.)
Thanks to DrauL for the original idea, here is a more streamlined version of his above script:
http://pastebin.com/HKFz1DqD
Rather than having to remember all those different commands, you now only have to type in:
for a ban, and:
for a kick...Depending on what argument you put in after the client number, the script will use a predetermined reason for that kick or ban automatically. :)
Edit:
Even better version, smarter, more lightweight below:
http://pastebin.com/RynGDhaN
Thanks to GreaseMonkey for the tips and GeneralDisarray for explaining to me what I was noobin. :D
Posts: 1,438
Threads: 54
Joined: Jun 2010
Posts: 119
Threads: 8
Joined: Jun 2010
Some of the scripts in this thread are not working for 1.1 :( . Why don't we start a new '1.1 scripts' thread with usefull scripts? Crappy (but funny) scripts will be here. What do you think scripters?
Posts: 1,331
Threads: 44
Joined: Jun 2010
13 Aug 10, 12:13PM
(This post was last modified: 13 Aug 10, 12:15PM by Bukz.)
From here on out my scripts will either be cross-compatible with 1.0.4 and 1.1, or I will provide two seperate versions of the script. There has not been enough time since 1.1's release for people to get all their scripts updated, I think you will start seeing a lot of posts in this thread in the next few weeks.
So IMO, there really is no need for *another* script thread, just expect some of the older posts in this thread to contain scripts that were written for 1.0.4 only, and therefore may not work in 1.1 until the author updates it, which they will likely post it here once they have anyways. :D
Posts: 1,438
Threads: 54
Joined: Jun 2010
Neh, all my scripts are made to work in 1.1 now anyway. If someone wants me to update my old scripts, they can ask me here or in a PM.
Posts: 3,780
Threads: 33
Joined: Jun 2010
I plan on updating my scripts to 1.1 compatibility and notifying y'all here.
Posts: 1,823
Threads: 20
Joined: Jun 2010
13 Aug 10, 10:49PM
(This post was last modified: 13 Aug 10, 10:50PM by Gibstick.)
alias chanceofyai [rnd 100]
bind f [ if $editing [solid 1] [quicknadethrow]]
bind q [ if $editing [ domodifier 1 ] [melee; attack]]
bind MOUSE3 [secondary; attack]
bind MOUSE1 [primary; attack; if (= (curweapon) 4) [if (= (chanceofyai) 4) [say AIYAIYAIYAIYAIYAIYAIYAI]]]
bind MOUSE2 [ if $editing [ showmenu editing ] [ altaction ] ]
The updated each-mouse-button-as-attack script. As an added bonus I included my chanceofyai thing!
Posts: 3,462
Threads: 72
Joined: Jun 2010
Also, people can just search for key commands that may of changed, such as curprimary and such. Though there are new commands put into 1.1
Posts: 3,780
Threads: 33
Joined: Jun 2010
14 Aug 10, 07:31AM
(This post was last modified: 14 Aug 10, 08:04AM by V-Man.)
http://forum.cubers.net/thread-567.html
Going through each of my Akimbo scripts in the light of 1.1, I've updated a few and confirmed compatibility with others.
OK, here goes:
Exponent - Already 1.1 compatible!
rewind - Already 1.1 compatible!
average - Already 1.1 compatible!
config execute menu - Already 1.1 compatible!
Friends - Already 1.1 compatible!
Smoothzoom - Already 1.1 compatible!
Assault Your Ears - Already 1.1 compatible! But... Should I add a "preload" option (i.e., who would use it)?
Quote generator updated for 1.1
RapidFire screenshot script updated for 1.1
Seconds Remaining updated for 1.1
Rave script menu updated for 1.1
sbwrapper - will be updated when "connectadmin" command is de-noobed (how'd those get in there?!).
Accuracy - will not be updated for 1.1 due to changes (more armor, more armor effectiveness) making it even less accurate!
SkinSwitch - will not be updated for 1.1 due to its shamefully kludgy, red-headed-step-child nature.
Automatic - Made obsolete by the 1.1 scripts.cfg - check it out!
Posts: 1,823
Threads: 20
Joined: Jun 2010
I CBA to download and un-zip your quote generator, what's changed? I've been using it fine in 1.1.
Posts: 3,780
Threads: 33
Joined: Jun 2010
15 Aug 10, 07:10AM
(This post was last modified: 15 Aug 10, 07:11AM by V-Man.)
I made it so that it uses the new default script "add2alias" to tack quotes onto the end of your current start_intermission native alias instead of completely taking it over. In this light, I also removed the automatic [say "gg"] in each quote, so you get to choose whether "gg" is automatically said (add2alias start_intermission [say "gg"]) or not.
EDIT: don't "CBA" to get your own quotes, though. :-P
Posts: 1,331
Threads: 44
Joined: Jun 2010
15 Aug 10, 11:01AM
(This post was last modified: 15 Aug 10, 12:03PM by Bukz.)
A rather simple say weapon statistics script...
/saystats 1 // Shows only your primary weapon info
/saystats 2 // Shows both your primary and secondary weapon info
/saystats 3 // Shows primary weapon, secondary weapon, and grenade info
/saystats -1 // Shows a more compact version of /saystats 3
Simply copy and paste the script into your autoexec.cfg, save, and you're ready to rock! Built for 1.1, enjoy! :)
Edit:
Say info to teamates only version here...
"Headphones volume mode" script for 1.1...
/hdp 1 // Enables (applies) your predefined headphones volume level
/hdp 0 // Disables (applies) your OLD soundvol before you entered /hdp 1
Don't forget to read the install directions if you're not sure what you're doing. :P
Posts: 3,780
Threads: 33
Joined: Jun 2010
Sorry if anyone downloaded my new quote generator and accidentally spammed all over the place.
I fixed it so it doesn't keep iterating itself.
:D
Posts: 1,438
Threads: 54
Joined: Jun 2010
Just so everyone knows, i will be only editing my old scripts to make them compatable for 1.1 on request.
Posts: 1,823
Threads: 20
Joined: Jun 2010
(17 Aug 10, 04:44AM)DES|V-Man Wrote: Sorry if anyone downloaded my new quote generator and accidentally spammed all over the place.
I fixed it so it doesn't keep iterating itself.
:D If you want it done right, do it yourself :P
Mine was working fine ahehahea.
Posts: 137
Threads: 2
Joined: Jun 2010
17 Aug 10, 06:28PM
(This post was last modified: 17 Aug 10, 06:30PM by Kirin.)
fyi V-Man (and all accuracy lovers), 1.1.0.2 (atm) is going to have a accuracy [1|0] switch :)
@V-Man (and other cubescripters) and also:
checkalias X (returns 1 if X is defined)
conline (represents last console line)
delalias X (completely removes X alias)
+= X number (makes X equal to X+number)
-= X number (makes X equal to X-number)
strstr X Y (returns 1 if Y can be found in X, X&Y are strings not necessarely variables)
execdir X (executes *.cfg in directory X, it can easy deployment/organization of scripts)
c X (command to put color ascii codes in a clean way like /echo (c 0) green (c X) purple)
Posts: 1,823
Threads: 20
Joined: Jun 2010
(17 Aug 10, 06:28PM)Kirin Wrote: fyi V-Man (and all accuracy lovers), 1.1.0.2 (atm) is going to have a accuracy [1|0] switch :)
@V-Man (and other cubescripters) and also:
checkalias X (returns 1 if X is defined)
conline (represents last console line)
delalias X (completely removes X alias)
+= X number (makes X equal to X+number)
-= X number (makes X equal to X-number)
strstr X Y (returns 1 if Y can be found in X, X&Y are strings not necessarely variables)
execdir X (executes *.cfg in directory X, it can easy deployment/organization of scripts)
c X (command to put color ascii codes in a clean way like /echo (c 0) green (c X) purple)
Er, I'll go change my underwear now.
Posts: 1,331
Threads: 44
Joined: Jun 2010
18 Aug 10, 02:23AM
(This post was last modified: 18 Aug 10, 05:36PM by Bukz.)
http://desbukz.pastebin.com/dEQ3m0RS
Updated shorthand kick/ban script. It now works in conjunction with grenadier's claimadmin script, and will automatically set admin, whois, screenshot, kick/ban client, and write a predefined reason to the serverlog for reference from owner(s)/admin(s) later on. After the script has "taken care of business" it will automatically drop admin status.
Here are some examples of the script in action:
Example Client Log
Example Server Log
Example Server Log #2
Example Server Log #3
Pay special attention to the highlighted lines. The idea of this script was to provide the public with a generic reason for kicking/banning - "admin", while giving owners and admins of servers specific details as to why an admin performed the action. Writelog is a pretty cool overlooked feature. :)
P.S. Written for and tested on AC 1.1
|