Golden Sun Hacking Community
May 21, 2018, 11:05:11 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Cbox ringer  (Read 5425 times)
0 Members and 1 Guest are viewing this topic.
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« on: May 30, 2014, 04:07:10 AM »

Well. Its done in parts...
I just need to find something that makes this script run everytime goldensunhacking.net is open, but if you copy and paste the script in the browser javascript console its gonna run just for this page.


-------------------------- EDIT - 2 -----------------------

now the script has the fb msger box like. just click the Cbox title to decrease the box size.

the script is attached, cause this message system modifies the code.


-----------------------------------
EDIT:

100% working with tampermonkey (chrome).
If It works with tampermonkey, almost sure that also works with greasemonkey (firefox)


* cbox.user.js (2.51 KB - downloaded 134 times.)
« Last Edit: June 02, 2014, 12:14:27 AM by jjppof » Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #1 on: May 30, 2014, 04:08:34 AM »

Sounds like something that might work with GreaseMonkey! (Haven't tried your script yet.)

Thanks!
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #2 on: May 30, 2014, 04:09:56 AM »

Sounds like something that might work with GreaseMonkey! (Haven't tried it yet.)

Thanks!

yeaaah... let me try the greasemonkey, well remembered!

------------------------------------------------------------
100% working with tampermonkey (chrome).
If It works with tampermonkey, almost sure that also works with greasemonkey (firefox)

Dont know in greasemonkey, but in tampermonkey when setting the match, put the url like this:
http://*.goldensunhacking.net/*
to get all pages


-----------------------------------------------------------

maybe, if you guys think is interesting, theres a way to make the cbox float in the page corner, like FB...
« Last Edit: May 30, 2014, 05:22:50 AM by jjppof » Logged

View Profile WWW
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 533

« Reply #3 on: May 30, 2014, 05:40:00 AM »

Nice! I didn't know you also did other programming jjppof.
Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #4 on: May 30, 2014, 06:23:18 AM »

Tampermonkey? That sounds new(?) to me...

So now I shall see if I can get this to work... (It says it's running, but doesn't seem to do anything.. hmmm...)

Quote
maybe, if you guys think is interesting, theres a way to make the cbox float in the page corner, like FB...
Sounds useful!
« Last Edit: May 30, 2014, 06:29:39 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #5 on: May 30, 2014, 01:17:47 PM »

for who thinks the levelup sound is a bit exaggerated, here is another:
http://static1.grsites.com/archive/sounds/cartoon/cartoon008.mp3

------------------------------------------------

for those that wanna test the script before mess with grease/tampermonkey, just copy everything and paste at your browser javascript console. But its gonna work till you press F5.

-----------------------------------------------
Installing in chrome:

1- Install the tampermonkey:
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo

2- Follow the image:


3- Enter in a gshc page and it is done, if I didnt miss any step  Happy
« Last Edit: May 30, 2014, 02:59:18 PM by jjppof » Logged

View Profile WWW
Luna_blade
The last member of the Luna clan
Luna Clan

Great Member
*

Coins: 0
Offline Offline

I am: Timeless. As in, i don't have much free time.
Posts: 533

« Reply #6 on: May 30, 2014, 04:29:25 PM »

Wow dude nice tutorial.
Logged

++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #7 on: May 30, 2014, 06:04:39 PM »

Quote from: ME
Thanks! It works now!

Didn't even need the tutorial either? (Unless the bottom center text box actually needed editing.) I just simply needed to copy/paste the attachment you provided into the textbox.

There's still a design problem, though... I'm typing in the Quick Post box, and if my lines reach to the right,
the text goes behind the cbox, and I can't see what I'm typing?  (Unless you collapse the box, but not sure if that's worth doing everytime.)

There!
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #8 on: May 30, 2014, 09:33:57 PM »

Quote from: ME
Thanks! It works now!

Didn't even need the tutorial either? (Unless the bottom center text box actually needed editing.) I just simply needed to copy/paste the attachment you provided into the textbox.

There's still a design problem, though... I'm typing in the Quick Post box, and if my lines reach to the right,
the text goes behind the cbox, and I can't see what I'm typing?  (Unless you collapse the box, but not sure if that's worth doing everytime.)

There!

you can put this:

conteudo.style.height = "0px";

just after this:

var conteudo = document.getElementById(document.querySelectorAll("[id*='shout_']")[0].id).parentNode;

With this, you set the cbox to start compressed in every page load.
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #9 on: May 31, 2014, 02:41:08 AM »

@compressed: Not sure, but I think collapse might be a better word? (Just saying this in case you were looking for a proper word, but 'compressed' will do as well.)

What if I perfer it to keep it open? Would be somewhat difficult to see what people post if it's always collapsed, right?

(I was thinking a mod to change the width of the quick reply box would do.)
« Last Edit: May 31, 2014, 02:43:16 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #10 on: May 31, 2014, 02:44:20 AM »

@compressed: Not sure, but I think collapse might be a better word? (Just saying this in case you were looking for a proper word, but 'compressed' will do as well.)
`

Yes, hahahahah... I was looking for it...


What if I perfer it to keep it open? Would be somewhat difficult to see what people post if it's always collapsed, right?


The sound is there for it... just a suggestion too.

Quote
(I was thinking a mod to change the width of the quick reply box would do.)

Where's this hell? hahahaha

-----------------------

And by curiosity, which sound effect are you using? hahahahah
« Last Edit: May 31, 2014, 02:48:51 AM by jjppof » Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #11 on: May 31, 2014, 02:59:45 AM »

>Yes, hahahahah... I was looking for it...
Good!

>The sound is there for it... just a suggestion too.
Okay... might would be a little cooler if the box re-opened when it makes the sound as well. (Or does it already?)

>Where's this hell? hahahaha
I was hoping that it would be a one-line snippet of code.

When I inspect the textbox element, I see this:
Quote
<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea>
Just need to edit that width, somehow? (And perhaps height, as well, since a taller box would be nicer, as well.)
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
jjppof
Modafoca

Regular Member
**

Coins: 0
Offline Offline

Gender: Male
Posts: 105

« Reply #12 on: May 31, 2014, 03:12:50 AM »

>The sound is there for it... just a suggestion too.
Okay... might would be a little cooler if the box re-opened when it makes the sound as well. (Or does it already?)

making this now... nice idea

-------------edit-----------------
above:

playSound.playclip();

put:

if(conteudo.style.height == "0px"){
    conteudo.style.height = "245px";
}
« Last Edit: May 31, 2014, 03:18:34 AM by jjppof » Logged

View Profile WWW
Lord Wolfram
The Lone Wolf
Mars Clan

I am the Angel of darkness and I am back.

Regular Member
*

Coins: 2
Offline Offline

Gender: Male
I am: fine!
Posts: 316

« Reply #13 on: May 31, 2014, 04:37:27 AM »

Can someone explain what is this Cbox ringer?
Still haven't understood...
Logged
View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2411

« Reply #14 on: May 31, 2014, 04:41:26 AM »

Simple. It's a userscript to improve the cbox. (By docking and auto-refreshing.)

To get it, you must get TamperMonkey, and install the attachment he has in his first post to it. (Then refresh the page.)
Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Cbox
May 09, 2018, 12:35:37 AM
KyleRunner: The "Start In" field is not editable... I'll try making new shortcuts
May 08, 2018, 09:51:08 PM
Fox: If all else fails, you canmake new Shortcuts to do the same thing.
May 08, 2018, 09:49:53 PM
Fox: Export Properties > Shortcut (Tab) > Target / Start In ; Target (for Export) should be: (filename) 0 , and for Import: (filename) 1
May 08, 2018, 08:52:00 PM
KyleRunner: I can't change the path in properties menu...
May 08, 2018, 01:27:19 AM
Fox: You may need to edit something in properties, though... so it uses the exe file in the same directory.
May 08, 2018, 01:24:59 AM
Fox: It is suppose to be a shortcut, yes.
May 03, 2018, 11:48:05 PM
KyleRunner: Fox, the "export" function in your text editor is just a shortcut... Could you please fix it?
May 02, 2018, 09:53:45 PM
KyleRunner: I come here everyday. I'm working on a Portuguese translation, and the people here help me a lot.
May 02, 2018, 08:56:07 AM
Drake baku: My feel as well, I posted a little as well since my return, but silence was all that followed... At least the forum is a great source for data when hacking GS/ GS2, currently looking for something I have read a long time ago cause my PP recovery psy is not working
May 01, 2018, 09:58:04 AM
Fox: I am thinking a lot of this might be because of Discord?
May 01, 2018, 09:56:08 AM
Fox: Yeah, this forum is more dead than ever before.  February and April have 0 new topics. (All other months prior have more.) And March has lowest number of new posts. (It'd be dumb to count the very first month this site was created.)
April 25, 2018, 09:02:13 PM
Fox: Yes. The best tool is a hex editor. Well.... VBA, VBA-SDL-H, no$gba Debugger, GBATEK, and my documentation.... to use these to learn how the code/data works. Best method because it maximizes your editing ability... and then there is my program gsmagic that I was working on. Still in its early stages, though. (Even after year(s).)
April 25, 2018, 04:21:58 PM
Xendrox D: *exept tla editor.
April 25, 2018, 04:21:29 PM
Xendrox D: is there any other tool for hacking gs?
April 23, 2018, 09:26:27 PM
Atrius: Rarely, but not never.
April 23, 2018, 08:01:48 AM
Drake baku: Can it be, the god who created the editor, atrius. I heard you never came back online here anymore
April 20, 2018, 02:46:36 PM
KyleRunner: Atrius!!
April 19, 2018, 11:29:46 PM
Atrius: @Fox, I tried, but for some reason Mario Golf won't boot, and Mario Tennis crashes when you patch out the text compression, and I'm not sure why...  The normal text loading functions in them are basically the same as the ones in the Golden Sun games.
April 16, 2018, 07:44:36 AM
Drake baku: So it took about halve a hour of letting my lap stay off for it to suddenly work again
April 16, 2018, 07:31:28 AM
Drake baku: All of a sudden fox his editor gets errors. When trying to start it, thing worked fine yesterday...

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.091 seconds with 22 queries.