Golden Sun Hacking Community
August 18, 2017, 06:20:43 PM *
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 4093 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 91 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: 2337

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 2337

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 2337

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 2337

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 2337

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
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: 314

« 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: 2337

« 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
View Profile
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Cbox
Today at 12:18:56 PM
Fox: Welcome back!
Today at 09:12:43 AM
Luna_blade: back from vacation
Yesterday at 02:29:26 AM
Fox: That moment when you realize that there is a lot of chatting going on on Discord, that there is no point in trying to keep up. :P  Hm....
August 16, 2017, 04:50:22 AM
Fox: (Then again, just because posting is disabled, doesn't necessarily mean the buttons would be removed as well.)
August 16, 2017, 04:48:55 AM
Fox: (I mean, buttons I would expect to be similar to that.... rather than those specifically since I recall posting there to be disabled.)
August 16, 2017, 04:33:02 AM
Fox: Yeah... I like to think of it as a page loaded with ads. And it's not just the forum home page either... check the sub-forums/topics themselves. == New Topic/Reply/etc. buttons were affected.
August 15, 2017, 07:04:30 PM
Salanewt: Lol, nice. :P
August 15, 2017, 06:33:02 PM
Foxhttp://z9.invisionfree.com/Golden_Sun_Hacking/index.php? == Hahaha! GSHC Classic looks funny now that Photobucket killed the images. :P Anyway, how is everyone doing today?
August 14, 2017, 07:12:02 PM
Salanewt: So yeah, I'm typing up a non-academic essay on why GS2 was rushed; expect that sometime soon!
August 07, 2017, 05:53:11 AM
Fox: But anyway, such a hack mod is simply an idea, and I do not have any current plans to work on it at this time, so.....
August 07, 2017, 05:51:46 AM
Fox: Okay, cool. I think my idea works best without an ability to swap PCs (OR to just simply make that use it the PC's turn.) Hmmm... And with that, I question if a turn list is even needed with my approach. (Outside of maybe 1 entry, if that shortens the modifications.)
August 07, 2017, 05:13:26 AM
Salanewt: To be honest I've been thinking of expanding the battle turn section and also adding code for PCs to have more than two turns in the AI overhaul, but I probably won't allow anyone to have more than four.
August 06, 2017, 12:22:17 AM
Fox: Oh, and if that approach was taken = Would like to also have it so you select the spell to use when it is actually your turn rather than at round start.
August 06, 2017, 12:12:37 AM
Fox: Would take a lot of balancing, but I can see an adept being very slow, and yet very powerful.
August 06, 2017, 12:06:11 AM
Fox: And bosses can have an Agility that is above half of the maximum possible Agility. Mwahaha.
August 06, 2017, 12:04:14 AM
Fox: Hmm... What if Agility could be recodded to allow for multiple turns per round? Obvious, calculations could be made in a way that depending on your Agility, you could like get a different number of turns each round. (eg. 1 turn this round, 2 the next, 1 turn again.) Obviously, To ensure 2 turns all the time, you should have at least double the opponent's agility,.... erm...something. So... you/or enmy could be so fast, the opponent can't even make a move, unless turns are capped.
August 05, 2017, 08:48:42 PM
Fox: ( That keeps search engines from indexing them... :) )
August 05, 2017, 08:45:44 PM
Fox: Also, it's not 100% public if Guests can't see them. (They can't), but who cares about Guests anyway. =P
August 05, 2017, 08:20:28 PM
Fox: @Clan forums: Mars clan has the most posts, and Venus clan has the most topics. So umm having 1k+ posts makes Mars.... interesting?
August 05, 2017, 08:16:43 PM
Fox: /and they're *

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.168 seconds with 22 queries.