Bungie.net Community
This topic has moved here: Subject: Script Central>New: Old Scripts are new again!
  • Subject: Script Central>New: Old Scripts are new again!
Subject: Script Central>New: Old Scripts are new again!

Posted by: jmh9072
You're using Word as a text editor?? That's a travesty in the programming world...

I'm going to pretend that I did not read that.

>_>
<_<

Get a real text editor.

The following note I now realize is irrelevent, I thought it said notepad, not word. However, you don't need a fancy editor. Notepad works perfectly for all sorts of programming, you don't even need a spiffy version like notepad++

Original misinterpreted post:
Hey, I use notepad! (Actually, I use a linux equivalent, but it's essentially a notepad with a few annoying bugs fixed). It's nice working without any hints, a really good way to test if you know the language you're working with. If you can do it without syntax highlighting and intellisense then doing it with becomes easier and you don't use intellisense/highlighting to prop you up as much.

[Edited on 02.13.2009 7:29 PM PST]

  • 02.13.2009 7:27 PM PDT

Hmm. I used notepad since it was free. Free rocks!1!

Well, it's not working. I must have messed up somewhere. I installed it and all. Nothing happened though. Ah well, I tried! I'll keep tinkering with it. Never got anywhere by giving up!

  • 02.13.2009 7:29 PM PDT

"Once Bungie takes over the world, The Marty Army will take over Bungie and then we'll really have some fun."
-Marty O'Donnell

"Condemnant quod non intellegunt."

Make Bungie.net More Enjoyable: Read & Follow

To burrito:

Get the executable files.

Now, for me, one of the hardest things is getting set up. I want to be able to make a change in the text editor, hit save, reload the page, and see my changes.

Here's how I do that:
1. I have a grand, all-consuming Halo folder in documents (which is actually more like a Bungie folder). In that folder, I have Bungie.net. In Halo\Bungie.net, I have Greasemonkey. It helps to be this organized. Whenever I create a new script, I create a folder named scriptName in Halo\Bungie.net\Greasemonkey.
2. In order for a script to work under GM, the file name need to have the extension '.user.js' instead of '.js'. It wont work otherwise. The second thing you need is the special set of headers at the top. These headers are what tells Firefox about the script, its name, author, etc. It's not efficient to memorize the specific syntax for these headers, so I suggest you download a script and copy and paste it from there. Obviously change 'paulmarv' to 'burritosenior' and 'FooterCollapse' to 'Burrito's awesome script'.

3.Drag that user.js file into firefox. Now here's where it gets tricky. From here, after you make any changes to the script, you'd have to drag it back in every time you make a change. This is because Firefox stores the scripts at some random temporary directory, and those script files are the ones that get read executed, and not the ones in the Bungie.net folder.

So I edit them instead, and copy the contents into the script file in Bungie.net/Greasemonkey every now and then. How do you open the true script file, you ask? Go into Tools-Greasemonkey-(Select Script)-Edit.
It will open it up with the selected editor. If that editor isn't the editor you want to use, find out where the true script file is located. Maybe try 'save as' to see the directory they are stored in.

4. I open the script up in Dreamweaver and get started. You can use Notepad++, which is what I would recommend for anybody that's new, but if you ever get serious, get Dreamweaver.

I hope this helps you.

  • 02.13.2009 7:38 PM PDT

Posted by: Firebird347
Posted by: jmh9072
You're using Word as a text editor?? That's a travesty in the programming world...

I'm going to pretend that I did not read that.

>_>
<_<

Get a real text editor.

The following note I now realize is irrelevent, I thought it said notepad, not word. However, you don't need a fancy editor. Notepad works perfectly for all sorts of programming, you don't even need a spiffy version like notepad++

Original misinterpreted post:
Hey, I use notepad! (Actually, I use a linux equivalent, but it's essentially a notepad with a few annoying bugs fixed). It's nice working without any hints, a really good way to test if you know the language you're working with. If you can do it without syntax highlighting and intellisense then doing it with becomes easier and you don't use intellisense/highlighting to prop you up as much.
In all honesty, I've never touched Notepad++. I do know a couple people who use it, though.

We use Textpad in my Java programming class at school, and it's pretty nice. I actually use KWrite in Linux. The only thing I don't like is the awkward tabbing that it does, but other than that, it's awesome.

  • 02.13.2009 7:50 PM PDT

sorry. Questions, hah.

OK, I made a 'Bungie Scripts' folder inside the notepad ++ one. Now whenever I type save it as something like... 'myscript.user.js', the .js disappears. Then it's just 'user'. Is that supposed to happen? If it helps, the picture next to the file is like a little yellow scroll.

the second thing you need is the special set of headers at the top. These headers are what tells Firefox about the script, its name, author, etc. It's not efficient to memorize the specific syntax for these headers, so I suggest you download a script and copy and paste it from there. Obviously change 'paulmarv' to 'burritosenior' and 'FooterCollapse' to 'Burrito's awesome script'.
Do you mean the:
// ==UserScript==
// @name XXXXXXXX
// @namespace XXXXXXX
// @description XXXXXXX
// @include address to site
// @include address to site
// @include address to site
// ==/UserScript==


Also, I saved it as a javascript, which is the file type that had .js after it. That's right? Still nothing. I also copied it from the Bungie folder to the firefox one unles .js and still nothing. Trying uploading both.

I know it's nothing wrong because I've checked my edits (it was to a script that already did pretty much what I wanted- and I know it works fine)... it's some technical thing, not a typo. If I ever figure this out it'll be a good laugh. Til then... ugh.

Edit: Haha. I just modified a Bungie.net script and got it to work with my changes. Uploaded it and saved it as my own, and it works fine. OK, so it's something weird with the one I'm trying to do is all...

maybe I know the problem .a quick fix might do it. Let's see...
Nope. Ah well. It's late. I'll work on my failures tomorrow. Cheers.

[Edited on 02.13.2009 8:27 PM PST]

  • 02.13.2009 7:59 PM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

If you really want to have help learning javascript, then download the firebug extension.

You can then go into the command line at the bottom, and type in some javascript commands, like: alert(""), and you can mess around all day with it.

[Edited on 02.13.2009 8:43 PM PST]

  • 02.13.2009 8:42 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

How do you add a link to your member title?

  • 02.13.2009 9:33 PM PDT
  •  | 
  • Exalted Legendary Member

Posted by: burritosenior
OK, I made a 'Bungie Scripts' folder inside the notepad ++ one. Now whenever I type save it as something like... 'myscript.user.js', the .js disappears. Then it's just 'user'. Is that supposed to happen? If it helps, the picture next to the file is like a little yellow scroll.

It's still a .js. Microsoft, when it knows the extension, makes it invisible to you. for example, in a Word Document called Untitled.doc, you only see "Untitled" in the file browser because Windows doesn't show the extension if it knows it. ".user" in the ".user.js" isn't actually part of the extension, but the naming structure is required for Greasemonkey to recognize the script as a userscript.

  • 02.13.2009 10:08 PM PDT

#101111011110111100001# is a '7'.
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
Greasemonkey Scripts
●▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬●
Posted by: Alec9224
Indeed. I haven't had XBL for a long time, but I still come on her everyday.

Posted by: Sharkslayer1138
How do you add a link to your member title?
<a href='link right hur'>title right hur</a>

  • 02.13.2009 10:10 PM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

You can set your preferences to display file types.

Um, I don't know where to edit it, now that I think of it.

  • 02.13.2009 10:12 PM PDT
  • gamertag:
  • user homepage:
  • last post: 01.01.0001 12:00 AM PDT

Posted by: robby118
Posted by: Sharkslayer1138
How do you add a link to your member title?
<a href='link right hur'>title right hur</a>
Muchos gracias.

  • 02.13.2009 10:33 PM PDT

HATERS GONNA' HATE

Who thinks I should change my look? I promise it will be just as smexy.

  • 02.14.2009 12:22 AM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

You do need a new look, the newgrounds tank is stale now.

  • 02.14.2009 12:25 AM PDT

KOTOR
Also: Swine Flu
Posted by: Achronos
We don't need a rule for every single freaking thing someone thinks is spam.

Yes, use the animated tank I made for you last year. . . Or was it this year?

  • 02.14.2009 12:37 AM PDT

HATERS GONNA' HATE

Posted by: Omnicent
Yes, use the animated tank I made for you last year. . . Or was it this year?

Wait... You made me an animated tank? Thanks.
...But I didn't know.


Anyways, I have some thoughts rolling around in my head for my new look. Fret not, for it shall be sexy, and it shall steal thy girlfriend.

  • 02.14.2009 12:43 AM PDT

KOTOR
Also: Swine Flu
Posted by: Achronos
We don't need a rule for every single freaking thing someone thinks is spam.

Posted by: A Celtic Tiger
Posted by: Omnicent
Yes, use the animated tank I made for you last year. . . Or was it this year?

Wait... You made me an animated tank? Thanks.
...But I didn't know.


Anyways, I have some thoughts rolling around in my head for my new look. Fret not, for it shall be sexy, and it shall steal thy girlfriend.


Yes, steal my ex, take her far, far away. Please, pretty please. OH FOR THE LOVE OF GOD TAKE IT AWAY!!!

Also. . .
http://i499.photobucket.com/albums/rr351/Omnicent_Pie/newgrou ndstankblueanim-01.gif

  • 02.14.2009 12:57 AM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

Hey mr Omnicent. I r ignore you nao... k?

lol

  • 02.14.2009 1:00 AM PDT

KOTOR
Also: Swine Flu
Posted by: Achronos
We don't need a rule for every single freaking thing someone thinks is spam.

Posted by: Iggyhopper
Hey mr Omnicent. I r ignore you nao... k?

lol


No u.

  • 02.14.2009 1:27 AM PDT

AV=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif
BG=http://avatar.coolclip.ru/albums/Avatars/Avatars%2090x90/A vatars_90x90_022.gif

Posted by: Omnicent
Posted by: Iggyhopper
Hey mr Omnicent. I r ignore you nao... k?

lol


No u.
u do.

  • 02.14.2009 1:44 AM PDT

KOTOR
Also: Swine Flu
Posted by: Achronos
We don't need a rule for every single freaking thing someone thinks is spam.

Posted by: Iggyhopper
Posted by: Omnicent
Posted by: Iggyhopper
Hey mr Omnicent. I r ignore you nao... k?

lol


No u.
u do.
HA-HA! Gotcha!

If I was blocked you wouldn't be able to see my post, LULz!

  • 02.14.2009 2:53 AM PDT

"Once Bungie takes over the world, The Marty Army will take over Bungie and then we'll really have some fun."
-Marty O'Donnell

"Condemnant quod non intellegunt."

Make Bungie.net More Enjoyable: Read & Follow

Posted by: Iggyhopper
You can set your preferences to display file types.

Um, I don't know where to edit it, now that I think of it.

Windows Explorer (Win+E) -> Tools -> Folder Options -> View -> Uncheck 'Hide extentions for known file types'.

In Vista, you need to press Alt for the menu to appear.

  • 02.14.2009 9:03 AM PDT

OK, the script is working... but not as I intended it. So I'm messing with it to figure out how to change it.

I'm close :).

  • 02.14.2009 12:19 PM PDT

I'm sorry, Dave. I'm afraid I can't do that.

Where's the script that allows me to stab people in the face through their monitors?

I'll settle of the ignoring script... but I can't seem to find it >_<

  • 02.14.2009 12:32 PM PDT

Posted by: Halcylon
I'll settle of the ignoring script... but I can't seem to find it >_<

3rd post, page 186.

  • 02.14.2009 12:40 PM PDT
Subject: Script Central>New: Old is New again! Restraint; Ignore User; He...

I'm sorry, Dave. I'm afraid I can't do that.

Posted by: burritosenior
Posted by: Halcylon
I'll settle of the ignoring script... but I can't seem to find it >_<

3rd post, page 186.
Thanks.
One down, one to go... come on face stab =P

[Edited on 02.14.2009 1:00 PM PST]

  • 02.14.2009 1:00 PM PDT