It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
adaliabooks: Guilty as charged :P
avatar
HypersomniacLive: I'm happy you're a nerd, these scripts come very handy, and not only in the mafia games. ;-)

Cheers.
No problem :)

If I had any more knowledge of Javascript I'd make a full fledged forum search, but for now if you have a basic knowledge of Javascript you could modify them and use them for general forum searching too :)
I wonder if you will manage to mod game only by using scripts and maybe to automatize it wholly.
You will just write them, leave and then return to accept congratulations for well-hosted game.

(Yes, I am alive)
avatar
Vitek: I wonder if you will manage to mod game only by using scripts and maybe to automatize it wholly.
You will just write them, leave and then return to accept congratulations for well-hosted game.

(Yes, I am alive)
Sounds like an excellent plan. What's the worst that could happen??
avatar
Vitek: I wonder if you will manage to mod game only by using scripts and maybe to automatize it wholly.
You will just write them, leave and then return to accept congratulations for well-hosted game.

(Yes, I am alive)
What can I say, I'm really lazy :P

Good to see you back, hope your absence wasn't due to anything too serious.
Comment that should in no way be perceived as intruding in the current game, I just heard someone calling my name.
@HypersomniacLive
That "that big town tell" in flub's game did weed out 2 scum (lx and Twilight) right from the very beginning. Just saying.
avatar
Vitek: I wonder if you will manage to mod game only by using scripts and maybe to automatize it wholly.
You will just write them, leave and then return to accept congratulations for well-hosted game.

(Yes, I am alive)
That would need a script for automatic vote counts first...

actually that would be helpful. Is there a way to filter out all posts that contain a bold face vote ?
avatar
Vitek: I wonder if you will manage to mod game only by using scripts and maybe to automatize it wholly.
You will just write them, leave and then return to accept congratulations for well-hosted game.

(Yes, I am alive)
avatar
Lifthrasil: That would need a script for automatic vote counts first...

actually that would be helpful. Is there a way to filter out all posts that contain a bold face vote ?
The script above that finds posts with bolded text above is a start, but I can modify it tonight to find actual votes if you like.
avatar
Lifthrasil: That would need a script for automatic vote counts first...

actually that would be helpful. Is there a way to filter out all posts that contain a bold face vote ?
avatar
adaliabooks: The script above that finds posts with bolded text above is a start, but I can modify it tonight to find actual votes if you like.
That would be great. I tried combining the :has() statement with a :contains() statement via a logical AND, but it didn't work.
avatar
DarkoD13: Comment that should in no way be perceived as intruding in the current game, I just heard someone calling my name.
@HypersomniacLive
That "that big town tell" in flub's game did weed out 2 scum (lx and Twilight) right from the very beginning. Just saying.
Hahaha, I only saw this by pure accident.

I'm not saying that it didn't do its job, just that it was something that I had spotted myself but didn't consider a major thing; you had me rereading the thread and wondering what on earth was it that stood out so much to you.


EDIT: Hope it's ok that we're chatting here. Lifthrasil?
Post edited March 06, 2015 by HypersomniacLive
avatar
HypersomniacLive: EDIT: Hope it's ok that we're chatting here. Lifthrasil?
Yes. But be careful not to discuss anything relevant to the running game. That should be confined to the game thread proper. However, you are free to talk about past games (but keep the references to the current game minimal) or about anything not related to the current game of course.
avatar
Lifthrasil: Yes. But be careful not to discuss anything relevant to the running game. That should be confined to the game thread proper. However, you are free to talk about past games (but keep the references to the current game minimal) or about anything not related to the current game of course.
Cheers, duly noted! :-)
avatar
Lifthrasil: That would be great. I tried combining the :has() statement with a :contains() statement via a logical AND, but it didn't work.
As promised, vote filter script:

jQuery('.spot_h').remove()
for (var i = 17; i > 0; i--)
{
var threadURL = "/forum/general/gog_mafia_26_stalker_the_dangers_of_the_zone/page" + i + " .spot_h"
var $newdiv = $( "<div class='page" + i + "posts'/>" )
$( ".list_h" ).prepend($newdiv)
$( ".page" + i + "posts").load(threadURL, function() {
jQuery('.post_text_c:not(:has(span.bold:contains(vote)))').parents('.spot_h').remove();
})
}

It's not perfect, it finds posts that quote vote posts too, but it's a good start for tallying votes :)

Edit: I had to look it up, but you were on the right track, just the :contains goes within the :has rather than connected with an AND as it might in other languages...
Post edited March 06, 2015 by adaliabooks
avatar
adaliabooks: As promised, vote filter script:

jQuery('.spot_h').remove()
for (var i = 17; i > 0; i--)
{
var threadURL = "/forum/general/gog_mafia_26_stalker_the_dangers_of_the_zone/page" + i + " .spot_h"
var $newdiv = $( "<div class='page" + i + "posts'/>" )
$( ".list_h" ).prepend($newdiv)
$( ".page" + i + "posts").load(threadURL, function() {
jQuery('.post_text_c:not(:has(span.bold:contains(vote)))').parents('.spot_h').remove();
})
}

It's not perfect, it finds posts that quote vote posts too, but it's a good start for tallying votes :)

Edit: I had to look it up, but you were on the right track, just the :contains goes within the :has rather than connected with an AND as it might in other languages...
Ha, cheers!
avatar
HypersomniacLive: Ha, cheers!
No problem :)
avatar
adaliabooks:
It works! Thank you very much!