Modbot to Help You Run Games: Now With A Votecounter Demo!
-
-
Flubbernugget Survivor
- Survivor
- Survivor
- Posts: 11751
- Joined: June 26, 2014
-
-
Flubbernugget Survivor
-
-
Flubbernugget Survivor
- Survivor
- Survivor
- Posts: 11751
- Joined: June 26, 2014
-
-
Flubbernugget Survivor
- Survivor
- Survivor
- Posts: 11751
- Joined: June 26, 2014
I don't have much more time tonight to continue working on this, but I am willing to give this a shot at a later date.In post 123, GreenLiquid wrote:Right, sorry, I meant... is it possible to get it out of its state of not sending PMs by exiting and re-launching the application? Just to see if it's something within that session or not. Might help narrow down the cause.
So something like this?
Code: Select all
-> Send pm to 13 users. Fail! -> Send pm to 13 users. Press CTRL+C. Program terminates. -> Send pm to 13 users. Pass!
-
-
GreenLiquid Mafia Scum
-
-
northsidegal Survivor
- Survivor
- Survivor
- Posts: 11587
- Joined: August 23, 2017
It seems that trying to input a value greater than 60 for the pagetopping tool gave me a "ValueError: invalid literal for int() with base 10: '' error.
It also seems that sometimes the counter goes into negative numbers instead of resetting when hitting zero.-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
I think I know what this is.
1. The input field that you're storing the counter has type=text, it should be type=number
2. JavaScript has problems representing floating point numbers
3. Shit hits the fan when you're trying to multiply it by 1 in the setInterval() function
suggestion (optional): since I don't think people will be staring at the pagetopper page constantly, instead of setInterval(), use setTimeout() and use the counter as the timeout should probably be cleaner
Edit: probably should not be converting string into numbers by multiplying it with 1, use parseInt() instead-
-
Flubbernugget Survivor
- Survivor
- Survivor
- Posts: 11751
- Joined: June 26, 2014
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
Flubbernugget Survivor
- Survivor
- Survivor
- Posts: 11751
- Joined: June 26, 2014
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
im guessing this is never fixedIn post 64, Psyche wrote:me and radiantcowbells found a bug in getNumberOfPosts() that makes it fail when there are unread posts in the thread. disgusting.-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
ok so, I fix the bug mentioned above, because that's needed for the pagetopper to work
also finished a prototype for the pagetopper. It takes care of the scheduling part in python, so effectively eliminating the need to do it on the client side /w JavaScript.
to run it, you need to initialize it with a thread, and the current page number of the thread, then call the run() function
I'm currently testing in a game im modding so we'll see how that goes lol
pedit: are you sure?-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
-
-
Psyche he/theySurvivorhe/they
- Survivor
- Survivor
- Posts: 10750
- Joined: April 28, 2011
- Pronoun: he/they
- Happy Scumday!
-
-
yessiree heMafia Scumhe
- Mafia Scum
- Mafia Scum
- Posts: 4389
- Joined: June 6, 2013
- Pronoun: he
Copyright © MafiaScum. All rights reserved.