View Full Version : The BUMP Thread
scragar
August 19th, 2008, 08:40 AM
dbl bump
poopy, fscking 20 sec delay.
Canis familiaris
August 19th, 2008, 08:40 AM
Bump for joy
koji042
August 19th, 2008, 08:41 AM
Morning. :)
I didn't miss 7k. xD
BUMP!
Canis familiaris
August 19th, 2008, 08:41 AM
Drat I lost! BUMP!
lukjad007
August 19th, 2008, 08:42 AM
Kill the autoBUMPs! - One more autoBUMP from you and it is lights out.
koji042
August 19th, 2008, 08:42 AM
Now for 8k! :lolflag:
BUMP!
lukjad007
August 19th, 2008, 08:42 AM
Kill the autoBUMPs! - STOP autoBUMPing!
Canis familiaris
August 19th, 2008, 08:43 AM
I didnt autobump after 6990.
lukjad007
August 19th, 2008, 08:43 AM
Kill the autoBUMPs! - If I had a million dollars from every time I liked one of your autoBUMPs, I would be a poor man.
Canis familiaris
August 19th, 2008, 08:43 AM
Kill the autoBUMPs! - STOP autoBUMPing!
You are autobumping right now. Aren't you?
lukjad007
August 19th, 2008, 08:43 AM
Kill the autoBUMPs! - You are asking for some serious bashing BUMPage!
scragar
August 19th, 2008, 08:43 AM
autoBUMP - 7011 - too lazy to post for a while
koji042
August 19th, 2008, 08:43 AM
Bump!
scragar
August 19th, 2008, 08:44 AM
autoBUMP - 7014 - autoBUMP FTW
lukjad007
August 19th, 2008, 08:44 AM
Kill the autoBUMPs! - To BUMP or not to BUMP. That is the question. The answer is to BUMP, but not to autoBUMP.
lukjad007
August 19th, 2008, 08:45 AM
I get home and miss the 7k by 2 min because I decided to close my computer while I was away. :(
scragar
August 19th, 2008, 08:45 AM
autoBUMP - 7017 - too lazy to post for a while
koji042
August 19th, 2008, 08:45 AM
@lukjad007: You are autoBUMPing... right? o.o
BUMP!
Canis familiaris
August 19th, 2008, 08:45 AM
Kill the autoBUMPs! - To BUMP or not to BUMP. That is the question. The answer is to BUMP, but not to autoBUMP.
Stop it! I know you are autoBUMPING this.
scragar
August 19th, 2008, 08:45 AM
autoBUMP - 7019 - BBL
lukjad007
August 19th, 2008, 08:45 AM
No now.
scragar
August 19th, 2008, 08:46 AM
autoBUMP - 7022 - autoBUMP FTW
lukjad007
August 19th, 2008, 08:46 AM
Soon yes.
koji042
August 19th, 2008, 08:46 AM
BUMP for confuddlement!
Canis familiaris
August 19th, 2008, 08:46 AM
All Right I will also start Autobumping now.
I guess I am due for 8k.
scragar
August 19th, 2008, 08:46 AM
autoBUMP - 7026 - BBL
lukjad007
August 19th, 2008, 08:47 AM
I' am back. BUMP! On to 8k.
scragar
August 19th, 2008, 08:47 AM
autoBUMP - 7028 - autoBUMP FTW
koji042
August 19th, 2008, 08:47 AM
Bump! :p
scragar
August 19th, 2008, 08:47 AM
autoBUMP - 7030 - BBL
koji042
August 19th, 2008, 08:48 AM
BUMP for breakfast! :)
scragar
August 19th, 2008, 08:48 AM
autoBUMP - 7032 - too lazy to post for a while
Canis familiaris
August 19th, 2008, 08:48 AM
I am not Autobumping.
scragar
August 19th, 2008, 08:48 AM
autoBUMP - 7034 - autoBUMP FTW
koji042
August 19th, 2008, 08:49 AM
BUMP for uhh...
Bored BUMP!
scragar
August 19th, 2008, 08:49 AM
autoBUMP - 7036 - BBL
adam_kimber
August 19th, 2008, 08:49 AM
What is the point in this? Bumping anyway ;)
scragar
August 19th, 2008, 08:49 AM
autoBUMP - 7038 - autoBUMP FTW
lukjad007
August 19th, 2008, 08:50 AM
I'm going to autoBUMP for a while. Let's see how close to 8k we get.
scragar
August 19th, 2008, 08:50 AM
autoBUMP - 7040 - autoBUMP FTW
Canis familiaris
August 19th, 2008, 08:50 AM
I am not Autobumping
koji042
August 19th, 2008, 08:52 AM
Is everyone autoBUMPing now? ^(o.O)^
BUMP!
scragar
August 19th, 2008, 08:52 AM
autoBUMP - 7043 - too lazy to post for a while
Canis familiaris
August 19th, 2008, 08:52 AM
I am not Autobumping!
scragar
August 19th, 2008, 08:52 AM
autoBUMP - 7045 - autoBUMP FTW
koji042
August 19th, 2008, 08:52 AM
Bump! ^(@_@)^
scragar
August 19th, 2008, 08:53 AM
autoBUMP - 7047 - too lazy to post for a while
Canis familiaris
August 19th, 2008, 08:53 AM
bump
scragar
August 19th, 2008, 08:53 AM
autoBUMP - 7049 - autoBUMP FTW
koji042
August 19th, 2008, 08:54 AM
That's a very fast acting autoBUMP scragar's using. o.o
BUMP!
scragar
August 19th, 2008, 08:54 AM
autoBUMP - 7051 - autoBUMP FTW
scragar
August 19th, 2008, 08:55 AM
That's a very fast acting autoBUMP scragar's using. o.o
BUMP!
version 1.4.1 :p
BUMP
koji042
August 19th, 2008, 08:55 AM
Getting hard to keep up. xD
BUMP!
scragar
August 19th, 2008, 08:55 AM
autoBUMP - 7054 - autoBUMP FTW
Canis familiaris
August 19th, 2008, 08:58 AM
This is BUMP#
scragar
August 19th, 2008, 08:59 AM
ooh, anyone else notice a mem leek on the script, or is it my edits? - turn on simulate and run it.
BUMP
Canis familiaris
August 19th, 2008, 09:00 AM
I am not AutoBUMPing
Canis familiaris
August 19th, 2008, 09:00 AM
ooh, anyone else notice a mem leek on the script, or is it my edits? - turn on simulate and run it.
BUMP
I didn't
scragar
August 19th, 2008, 09:01 AM
I'm gonna fix it anyway, I was just wondering what was causing it.
BUMP
Canis familiaris
August 19th, 2008, 09:02 AM
I am not AutoBUMPing;
Canis familiaris
August 19th, 2008, 09:06 AM
Bump
Canis familiaris
August 19th, 2008, 09:10 AM
Double Bump
Canis familiaris
August 19th, 2008, 09:11 AM
Triple Bump
scragar
August 19th, 2008, 09:11 AM
autoBUMP - 7064 - autoBUMP FTW
Canis familiaris
August 19th, 2008, 09:11 AM
Quadruble Bump
scragar
August 19th, 2008, 09:11 AM
autoBUMP - 7066 - autoBUMP FTW
Canis familiaris
August 19th, 2008, 09:12 AM
autoBUMP - 7064 - autoBUMP FTW
Fine! I;ll AutoBUMP again.
scragar
August 19th, 2008, 09:16 AM
autoBUMP - 7068 - too lazy to post for a while
Canis familiaris
August 19th, 2008, 09:16 AM
I am not AutoBUMPing:
lukjad007
August 19th, 2008, 09:22 AM
Kill the autoBUMPs! - Head for the hills!
koji042
August 19th, 2008, 09:23 AM
Bump!
scragar
August 19th, 2008, 09:24 AM
huh, I can't work out what the leek is, could it be my usage of RegExps?
BUMP
scragar
August 19th, 2008, 09:29 AM
autoBUMP - 6535 - autoBUMP FTW
scragar
August 19th, 2008, 09:30 AM
autoBUMP - 6535 - BBL
scragar
August 19th, 2008, 09:31 AM
autoBUMP - 6535 - too lazy to post for a while
lukjad007
August 19th, 2008, 09:32 AM
Here are a few additions that I thought may be useful.
Canis familiaris
August 19th, 2008, 09:32 AM
I am not AutoBUMPing:
koji042
August 19th, 2008, 09:33 AM
Bump! ^(._.)^
lukjad007
August 19th, 2008, 09:33 AM
I am now autoBUMPing.
scragar
August 19th, 2008, 09:33 AM
autoBUMP - 7080 - BBL
lukjad007
August 19th, 2008, 09:33 AM
Bump!
lukjad007
August 19th, 2008, 09:34 AM
Only a few dozen more pages left! BUMP!
koji042
August 19th, 2008, 09:34 AM
:lolflag:
BUMP!
Canis familiaris
August 19th, 2008, 09:34 AM
Here are a few additions that I thought may be useful.
Gosh you are careless.
You have GIVEN the password. Quick Change for password. Quick!
Unless you've already changed it.
lukjad007
August 19th, 2008, 09:35 AM
What password?
BUMP!
lukjad007
August 19th, 2008, 09:36 AM
Why should I change my password? I like it! I don't want to change my password.
Canis familiaris
August 19th, 2008, 09:37 AM
What password?
BUMP!
In that bump file.
user name: lukjad007
password: <censored by self for privacy. I can PM you your password LOL>
scragar
August 19th, 2008, 09:37 AM
autoBUMP - 7088 - autoBUMP FTW
scragar
August 19th, 2008, 09:38 AM
autoBUMP - 6535 - too lazy to post for a while
lukjad007
August 19th, 2008, 09:38 AM
I... you mean... that...
Oh, well, I trust you. You sound honest.
lukjad007
August 19th, 2008, 09:39 AM
No one will notice.
scragar
August 19th, 2008, 09:39 AM
erm... that wasn't supposed to happen.
Canis familiaris
August 19th, 2008, 09:41 AM
Dont trust me. Dont trust ANYONE in the internet.
For god sake remove that file at least. Please.
lukjad007
August 19th, 2008, 09:42 AM
Who would want to harm me? I haven't done anything?
Canis familiaris
August 19th, 2008, 09:42 AM
I am not AutoBUMPing;
lukjad007
August 19th, 2008, 09:43 AM
Good for you.
lukjad007
August 19th, 2008, 09:43 AM
So. What do you people think of my suggested changes?
scragar
August 19th, 2008, 09:47 AM
Here are a few additions that I thought may be useful.
as to a few comments:
I really think that it would be useful if we could use the ' and " int the text.
you can, like so:
'comments with a double quote: " see, that poses no problems.',
'a comment with a single quote, this is escaped \' that means it has a little left slash infront of it :P'
(Note to self: Remove password before distributing.)
yeah, I'd listen to yourself. I changed my forums password so if I accidentaly posted a password containing version no-one would get anything more than access to my account in the forums.
fields => {message => ''.$BUMPtext # This is where you show that you are autoBUMPing
I never made an attempt to hide that, it's just that with multiple bumps in the file the text size adds up to quite a bit.
Canis familiaris
August 19th, 2008, 09:48 AM
I am not AutoBUMPing;
Drat I must stop this script
lukjad007
August 19th, 2008, 09:49 AM
Just to make sure everyone knows, this is not my real password, never has been, and is never going to be. I will edit the file so that people son't get worried for my sake. thanks to all who posted regarding this matter.
BUMP!
lukjad007
August 19th, 2008, 09:51 AM
Sorry for the worry I caused. I really thought that the joke was painfully obvious.
Canis familiaris
August 19th, 2008, 09:52 AM
I am not AutoBUMPing,
scragar
August 19th, 2008, 09:53 AM
any more edits before I finish up my edits on 1.5?
notes on 1.5: better commented source, for those of you that want to read it.
memory leek solved by unsetting a few variables and cleaning up the WWW object between loops, this unfortunatly causes a constant re-logging in process, I shall set the reset to every 5 or 6 loops in the next release over(program still uses about 13-14M<B of ram towards the end of the loop though, heavy or what?).
more function broken code, for those of you that want to steal parts of it, overall text size decrease as well(the logging code was a hack, forgive it).
random numbers aren't rounded off anymore, they are floored, it's a slightly more random method.
no bugs as far as I know this time around, I fixed as much as I could.
Canis familiaris
August 19th, 2008, 09:55 AM
I think I need to learn Perl next. :D
lukjad007
August 19th, 2008, 09:57 AM
misser, I never thought that you were trying to hide the place that shows the autoBUMP message, I just thought that since I wanted to change it and in some times remove it I would prefer to have a message to remind me what it does.
lukjad007
August 19th, 2008, 09:59 AM
Bump!
koji042
August 19th, 2008, 10:01 AM
Bump! :)
Canis familiaris
August 19th, 2008, 10:01 AM
Bump!
lukjad007 banned for pretending to be careless enough to give his password via text files and causing an uproar.
lukjad007
August 19th, 2008, 10:02 AM
If my autoBUMP bother you, PM me and I will think about stopping them.
Canis familiaris
August 19th, 2008, 10:03 AM
I am not AutoBUMPing!
lukjad007
August 19th, 2008, 10:03 AM
One minute since the last BUMP. Shameful.
lukjad007
August 19th, 2008, 10:03 AM
Anurag_panda banned for caring so much. (Thanks)
koji042
August 19th, 2008, 10:03 AM
Bored BUMP!
lukjad007
August 19th, 2008, 10:04 AM
Can you feel the BUMP tonight.
koji042
August 19th, 2008, 10:04 AM
Well, it's morning here... xD
BUMP!
lukjad007
August 19th, 2008, 10:05 AM
I got a million of these. BUMPs that is!
koji042
August 19th, 2008, 10:05 AM
Bump!
lukjad007
August 19th, 2008, 10:06 AM
We are Linux. Resistance is measured in Ohms.
koji042
August 19th, 2008, 10:07 AM
Yay for Physics! :)
BUMP!
lukjad007
August 19th, 2008, 10:09 AM
People disagree with me. I just BUMP them off.
koji042
August 19th, 2008, 10:11 AM
I BUMPed into the wall. -.o
lukjad007
August 19th, 2008, 10:11 AM
We are Linux. Resistance is measured in Ohms.
lukjad007
August 19th, 2008, 10:12 AM
Is this autoBUMPer going to loop?
scragar
August 19th, 2008, 10:12 AM
no-one got any last minute idea's then?
shame on you all.
I'm doing my last few checks, then it'll get posted, anyone wanna help with documenting it? It's not too different in terms of the user bits from 1.4, I'll post the config bit here, so you can comment on it anyway:
#########################
#
# USER SETTINGS
#
########################
$settings = {
### DEBUG OPTIONS ###
logging => 1, # log output to the terminal, 1 is on, 0 is off
simulate => 0, # when set to 1 no bump is posted
### BUMP WHAT ###
url => 'http://ubuntuforums.org', # the forum to bump a thread on
threadId => 520091, # the thread ID
### AS WHO ###
username => "username here", # username
password => "password here", # password
### BEHAVIOUR ###
avoidDbl => 1, # double bumps should be: 1 avoided, 0 posted
loopTimer => 5, # loop every X seconds
loops => 0, # 0 = always, 1 or above = loop that many times, this does not mean post that many times BTW
};
### MESSAGE(s) ###
################################################## #####
# {ppNo} = previous post number #
# {cpNo} = current post numer #
# {abNo} = autoBUMP number #
################################################## #####
@messages = ('this is post {cpNo}', # this can be cut down to a single value:
'the post above is {ppNo}', # @messages = ('some message');
'autoBUMP number {abNo}'); # if required, max of 254 values
# before problems occur, just so ya know.bump
lukjad007
August 19th, 2008, 10:12 AM
How can you live with yourself if you take so long to post?
Canis familiaris
August 19th, 2008, 10:13 AM
I am not AutoBUMPing:
lukjad007
August 19th, 2008, 10:13 AM
If I did all these BUMPs in a row, it would be boring and still give me BUMPs. Now I can see my work being done as I relax.
scragar
August 19th, 2008, 10:14 AM
How can you live with yourself if you take so long to post?
because I want a little feedback, so I know what can be done better, forgive me for not just keeping version 1.0 and letting it get old.
BUMP
lukjad007
August 19th, 2008, 10:14 AM
One minute since the last BUMP. Shameful.
koji042
August 19th, 2008, 10:14 AM
Confuddled BUMP! @.@
Who's autoBUMPing?
lukjad007
August 19th, 2008, 10:15 AM
People disagree with me. I just BUMP them off.
scragar
August 19th, 2008, 10:15 AM
pinky and panda I think.
lukjad007
August 19th, 2008, 10:16 AM
Killing my autoBUMP script...
I think that a cool feature to add in the next version would be one that grabs the last poster's name and includes it into the message.
koji042
August 19th, 2008, 10:18 AM
That sounds like something that would be good for the Banning Game too. xD
BUMP!
scragar
August 19th, 2008, 10:18 AM
Killing my autoBUMP script...
I think that a cool feature to add in the next version would be one that grabs the last poster's name and includes it into the message.
can't add that this version round, too much work for a peice of code that's just about ready for release, once I get feedback on the settings section, so I know if anything needs changing.
koji042
August 19th, 2008, 10:19 AM
Bump!
lukjad007
August 19th, 2008, 10:21 AM
I know. I just was answering your request. And, yes, it would be fun for the banning game, it has already started. Anurag_panda had introduced this bumper. I would like to mention that a new thread for this auto BUMPer would be very useful.
Canis familiaris
August 19th, 2008, 10:23 AM
I am not AutoBUMPing;
koji042
August 19th, 2008, 10:25 AM
Bump! <(._.)< <(._.)^ ^(._.)^ ^(._.)> >(._.)>
scragar
August 19th, 2008, 10:28 AM
version 1.5 out.
like all the previous versions, install libwww-mechanize-perl if it's not already on your system, then edit the top of the thread for your needs, make it executable from the properties box or however, then run it, simple as.
BUMP
EDIT: fixed.
Canis familiaris
August 19th, 2008, 10:34 AM
I am not AutoBUMPing
YoDaddeh
August 19th, 2008, 10:38 AM
I didn't think there was such a thing as AUTOBUMPing. I thought it was all BUMPing
scragar
August 19th, 2008, 10:39 AM
I didn't think there was such a thing as AUTOBUMPing. I thought it was all BUMPing
see sig.
BUMP
koji042
August 19th, 2008, 10:40 AM
Bump! :p
scragar
August 19th, 2008, 10:41 AM
Bump!
Canis familiaris
August 19th, 2008, 10:44 AM
I am not AutoBUMPing
lukjad007
August 19th, 2008, 10:47 AM
Bump!
YoDaddeh
August 19th, 2008, 10:49 AM
never thought such a thing would exist hahah. i'll have to get it going here in a bit.
BUMPAGE
lukjad007
August 19th, 2008, 10:49 AM
Real, live BUMP!
scragar
August 19th, 2008, 10:52 AM
bumpy.
I recon we should make our own free forum using something like hyperboards or proboards/watever for testing and experimenting with the script, what do ya say?
Canis familiaris
August 19th, 2008, 10:54 AM
I am not AutoBUMPing.
scragar
August 19th, 2008, 10:59 AM
real, legit bump.
lukjad007
August 19th, 2008, 11:02 AM
autoBUMP - We are Linux. Resistance is measured in Ohms.
lukjad007
August 19th, 2008, 11:03 AM
autoBUMP - If I did all these BUMPs in a row, it would be boring and still give me BUMPs. Now I can see my work being done as I relax.
lukjad007
August 19th, 2008, 11:03 AM
autoBUMP - How many BUMPs are there?
koji042
August 19th, 2008, 11:03 AM
Making an autoBUMP forums sounds interesting. I thought your script only worked with ubuntuforums.org though? Or did I miss a very big update? o.o
BUMP!
lukjad007
August 19th, 2008, 11:04 AM
autoBUMP - Are these BUMPs witty or boring?
Canis familiaris
August 19th, 2008, 11:04 AM
I am not AutoBUMPing,
koji042
August 19th, 2008, 11:05 AM
Bump!
lukjad007
August 19th, 2008, 11:06 AM
I would like to have our own forum. How?
koji042
August 19th, 2008, 11:07 AM
Probably just simple free one. There are a ton of websites that offer free forum hosting.
BUMP!
Canis familiaris
August 19th, 2008, 11:09 AM
I would like to have our own forum. How?
You have mine.(i'm its admin., it doesn't have ANY user though except me)
http://amitech.smfforfree.com/
The SMF gives its forums for fee just like wordpress.
scragar
August 19th, 2008, 11:09 AM
I would like to have our own forum. How?
http://hyperboards.com/ or http://www.proboards.com/ are the 2 I know of.
Making an autoBUMP forums sounds interesting. I thought your script only worked with ubuntuforums.org though? Or did I miss a very big update?
actually it's always worked on any PHPbb based forum, provided the URL is correct, for example some forums would need: http://somesite.com/forum or something similar.
BUMP
lukjad007
August 19th, 2008, 11:09 AM
misser now has 900 BUMPs.
lukjad007
August 19th, 2008, 11:11 AM
901, now that he hit refresh faster than I.
scragar
August 19th, 2008, 11:11 AM
misser now has 900 bumps.
902 :p
bump
koji042
August 19th, 2008, 11:13 AM
How many people have done only a single BUMP? xD
BUMP!
lukjad007
August 19th, 2008, 11:13 AM
I have posted 451 BUMPs
scragar
August 19th, 2008, 11:14 AM
lots bump
Canis familiaris
August 19th, 2008, 11:15 AM
I am not AutoBUMPing;
koji042
August 19th, 2008, 11:15 AM
Bump! ^($.$)^ :)
lukjad007
August 19th, 2008, 11:17 AM
autoBUMP - Do BUMPs talk?
lukjad007
August 19th, 2008, 11:18 AM
autoBUMP - If I did all these BUMPs in a row, it would be boring and still give me BUMPs. Now I can see my work being done as I relax.
lukjad007
August 19th, 2008, 11:18 AM
autoBUMP - We are Linux. Resistance is measured in Ohms.
scragar
August 19th, 2008, 11:18 AM
Bump
koji042
August 19th, 2008, 11:18 AM
Bump!
scragar
August 19th, 2008, 11:19 AM
Bump!
lukjad007
August 19th, 2008, 11:19 AM
autoBUMP - If my autoBUMP bother you, PM me and I will think about stopping them.
lukjad007
August 19th, 2008, 11:19 AM
autoBUMP - How can you live with yourself if you take so long to post?
lukjad007
August 19th, 2008, 11:20 AM
autoBUMP - I am now autoBUMPing.
lukjad007
August 19th, 2008, 11:20 AM
autoBUMP - I wish I had a splel checker. :(
koji042
August 19th, 2008, 11:20 AM
That's a lot of autoBUMPing. ._.
BUMP!
lukjad007
August 19th, 2008, 11:21 AM
autoBUMP - In this stupid autoScript you cannot use the apostrophe. Very annoying. BUMP!
lukjad007
August 19th, 2008, 11:21 AM
autoBUMP - I know this BUMP like the back of my hand. *Looks at hand* Hey, I never noticed that before!*
lukjad007
August 19th, 2008, 11:22 AM
autoBUMP - How many BUMPs are there?
lukjad007
August 19th, 2008, 11:22 AM
autoBUMP - What would you do with your free time if there was a BUMP shortage?
scragar
August 19th, 2008, 11:22 AM
did you turn off dblbump or something?
BUMP
lukjad007
August 19th, 2008, 11:23 AM
autoBUMP - How do we work in an apostrophe in this problem? Is there any way to make a do not abbreviation?
lukjad007
August 19th, 2008, 11:23 AM
autoBUMP - We are Linux. Resistance is measured in Ohms.
koji042
August 19th, 2008, 11:23 AM
Bump!
lukjad007
August 19th, 2008, 11:24 AM
autoBUMP - If my autoBUMP bother you, PM me and I will think about stopping them.
lukjad007
August 19th, 2008, 11:25 AM
autoBUMP - I got a million of these. BUMPs that is!
Canis familiaris
August 19th, 2008, 11:25 AM
I am not AutoBUMPing,
scragar
August 19th, 2008, 11:25 AM
autoBUMP - How do we work in an apostrophe in this problem? Is there any way to make a do not abbreviation?
don\'t
or replace the single quotes with double quotes:
@messages = ("a message you don't want to miss");
lukjad007
August 19th, 2008, 11:25 AM
autoBUMP - People disagree with me. I just BUMP them off.
lukjad007
August 19th, 2008, 11:25 AM
autoBUMP - Can you feel the BUMP tonight.
koji042
August 19th, 2008, 11:26 AM
It's the autoBUMP invasion!
Manual BUMP!
lukjad007
August 19th, 2008, 11:26 AM
autoBUMP - I wish I had a splel checker. :(
lukjad007
August 19th, 2008, 11:27 AM
autoBUMP - Are these BUMPs witty or boring?
koji042
August 19th, 2008, 11:28 AM
This BUMP is not a duplicate of any BUMP in the last 5 minutes I was BUMPing in the BUMP Thread. :)
lukjad007
August 19th, 2008, 11:30 AM
Whoa! What went wrong? I leave my autoBUMPer on with instructions to not double BUMP and what happens? QuadBUMPing. o.0
koji042
August 19th, 2008, 11:31 AM
A bug?
BUMP!
lukjad007
August 19th, 2008, 11:32 AM
The amount of people who BUMPed once is as of now, 545 or less.
scragar
August 19th, 2008, 11:32 AM
A bug?
BUMP!
I'm looking, but nothing to do with that setting's changed since the older versions, so I'm having a hard time finding out what it is.
lukjad007
August 19th, 2008, 11:32 AM
A bug?
BUMP!
Looks like. Or maybe I did something.
lukjad007
August 19th, 2008, 11:34 AM
Looks like. Or maybe I did something.
#!/usr/bin/perl
###################
#
# autoBUMP 1.5 by scragar
#
# install dependency:
# libwww-mechanize-perl
#
###################
use WWW::Mechanize;
#########################
#
# USER SETTINGS
#
########################
$settings = {
### DEBUG OPTIONS ###
logging => 1, # log output to the terminal, 1 is on, 0 is off. leave off for general use.
simulate => 0, # when set to 1 no bump is posted, for testing surrounding code only.
### BUMP WHAT ###
url => 'http://ubuntuforums.org', # the forum to bump a thread on
threadId => 520091, # the thread ID
### AS WHO ###
username => "lukjad007",# username
password => "letmein", # password
### BEHAVIOUR ###
avoidDbl => 1, # double bumps should be: 1 avoided, 0 done
loopTimer => 5, # loop every X seconds
loops => 0, # 0 = always, 1 or above = loop that many times, this does not mean post that many times BTW
};
### MESSAGE(s) ###
################################################## #####
# {ppNo} = previous post number #
# {cpNo} = current post numer #
# {abNo} = autoBUMP number #
################################################## #####
@messages = (#'this is post {cpNo}', # this can be cut down to a single value:
#'the post above is {ppNo}', # @messages = ('some message');
#'autoBUMP number {abNo}'); # if required, max of 254 values
# before problems occur, just so ya know.
'I am now autoBUMPing.',
'Can you feel the BUMP tonight.',
'If my autoBUMP bother you, PM me and I will think about stopping them.',
'I know this BUMP like the back of my hand. *Looks at hand* Hey, I never noticed that before!*',
'In this stupid autoScript you cannot use the apostrophe. Very annoying. BUMP!',
'How many BUMPs are there?',
'What would you do with your free time if there was a BUMP shortage?',
'Do BUMPs talk?',
'How do BUMPs spend their time off?',
'Are these BUMPs witty or boring?',
'What are you doing? BUMP!',
'If I did all these BUMPs in a row, it would be boring and still give me BUMPs. Now I can see my work being done as I relax.',
'I got a million of these. BUMPs that is!',
'I wonder if there is a way to make this autoBUMPer remember where it left off so I would not have to revise it constantly?',
'How do we work in an apostrophe in this problem? Is there any way to make a do not abbreviation?',
'Is it just me or is misser (scragar) making weapons of mass BUMPation?',
'How long has it been since your last BUMP?',
'I wish I had a splel checker. :(',
'Head for the hills!',
'We are Linux. Resistance is measured in Ohms.',
'People disagree with me. I just BUMP them off.',
'Why is it that every time I say I am not doing something, people think that I am?',
'One minute since the last BUMP. Shameful.',
'How can you live with yourself if you take so long to post?');
###########################################
#
# the real code, please don't complain if you break it.
#
###########################################
$mech = WWW::Mechanize->new();
# find message length
$cnt = ($#messages)+1;
######## firstly, get the constants
# load the thread
Tlog("requesting ".$settings->{url}.'/showthread.php?t='.$settings->{threadId});
$mech->get($settings->{url}.'/showthread.php?t='.$settings->{threadId});
# now, we need the users Uid, first we need to log in
tstLogin();
# find users ID
$mech->content =~ m{Welcome, <a href="member.php\?u=([0-9]+)">};
$UID = $1;
Tlog("UID: $UID");
# and now the looping content
$aBs = 1;
$loop = $settings->{loops};
while(1){ # there's atleast 1 loop anyway.
Tlog("LOOP{\n\tRequesting".$settings->{url}.'/showthread.php?t='.$settings->{threadId});
# reload page.
$mech->get($settings->{url}.'/showthread.php?t='.$settings->{threadId});
# get reply ID:
$mech->content =~ m{noquote=1&p=([0-9]+)"};
$reply = $1;
# get last page no:
$mech->content =~ m{Page 1 of ([0-9]+)</td>};
$page = $1;
# load latest page
Tlog("\tloading ".$settings->{url}.'/showthread.php?t='.$settings->{threadId} . '&page=' . $page);
$mech->get($settings->{url}.'/showthread.php?t='.$settings->{threadId} . '&page=' . $page);
# find post count - not the fastest way, but the easiest way
@y = $mech->content =~ m{postcount=([0-9]+)"}gs;
foreach $r (@y){
if($r > $post){
$postc = $r;
}
}
$postn = $postc+1;
# find last users ID
@y = $mech->content =~ m{<a class="bigusername" href="member\.php\?u=([0-9]+)">}gs;
foreach $r (@y){
$lastPoster = $r;
}
$y = $r = undef; # just try to save some ram.
# re-login if required
tstLogin();
# reply already, first load the reply page
Tlog("\trequesting ".$settings->{url}.'/newreply.php?do=newreply&noquote=1&p='.$reply);
$mech->get($settings->{url}.'/newreply.php?do=newreply&noquote=1&p='.$reply);
# quick check to see if posting is OK
if($UID ne $lastPoster or $settings->{avoidDbl} == 0){
Tlog("\tpreparing post");
$BUMPtext = $messages[int(rand($cnt))];
$BUMPtext =~ s/{ppNo}/$postc/g;
$BUMPtext =~ s/{cpNo}/$postn/g;
$BUMPtext =~ s/{abNo}/$aBs/g;
$aBs++;
Tlog("\tbumping");
if(!$settings->{simulate}){
$mech->submit_form(form_number => 2,
fields => {message => 'autoBUMP - '.$BUMPtext
},);
}
}else{
Tlog("\tDouble Post Avoided");
}
if($settings->{loops} != 0){
if($loop == 1){
exit;
}else{
$loop--;
}
}
Tlog("\tsleep");
sleep $settings->{loopTimer};
Tlog("}");
$mech = undef;
$mech = WWW::Mechanize->new();
}
exit;# shouldn't be needed, but then I'm gonna be sure.
BEGIN{
sub tstLogin{ # test and log in
if($mech->content =~ m{Remember Me\?}){
Tlog("logging in.");
$mech->submit_form(form_number => 2,
fields => {vb_login_username => $settings->{username},
vb_login_password => $settings->{password}
},);
if($mech->content =~ m{invalid username or password}){
Tlog("\t\tERROR, bad password.");
exit;
}
}
}
sub Tlog{ # log to the Terminal
if($settings->{logging}){
print $_[0]."\n";
}
}
}
scragar
August 19th, 2008, 11:34 AM
no-one bump for a mo, testing(this is why I love the simulate option :p )
lukjad007
August 19th, 2008, 11:34 AM
Does anyone see the SNAFU?
scragar
August 19th, 2008, 11:35 AM
quite for a mo, I'm trying to test it.
Canis familiaris
August 19th, 2008, 11:35 AM
I am not AutoBUMPing;
scragar
August 19th, 2008, 11:38 AM
found the bug, I'll post the fix in a mo(it involves adding a line)
Canis familiaris
August 19th, 2008, 11:39 AM
I tried to modify autoBUMP for make it work for PMs but didn't work out.
lukjad007
August 19th, 2008, 11:41 AM
At least this escaped has given me more BUMPs!
scragar
August 19th, 2008, 11:41 AM
fix posted, for those of you who already have it add this/these line(s):
# now, we need the users Uid, first we need to log in
tstLogin();
Tlog("reloading");
$mech->get($settings->{url}.'/showthread.php?t='.$settings->{threadId});
# find users ID
$mech->content =~ m{Welcome, <a href="member.php\?u=([0-9]+)">};
$UID = $1;
scragar
August 19th, 2008, 11:44 AM
I tried to modify autoBUMP for make it work for PMs but didn't work out.
no, can't imagine why, other than, you know, the whole trying to load messages before testing the login, PMs not being sorted into threads, and the general fact that all I can see you did was edit a few lines to change threads to PMs for links. :p
koji042
August 19th, 2008, 11:44 AM
BUMP! v(._.)v
lukjad007
August 19th, 2008, 11:45 AM
autoBUMP - I wish I had a splel checker. :(
Canis familiaris
August 19th, 2008, 11:45 AM
I am not AutoBUMPing,
lukjad007
August 19th, 2008, 11:46 AM
autoBUMP - If my autoBUMP bother you, PM me and I will think about stopping them.
scragar
August 19th, 2008, 11:46 AM
human bump :P
lukjad007
August 19th, 2008, 11:46 AM
autoBUMP - What are you doing? BUMP!
Canis familiaris
August 19th, 2008, 11:47 AM
no, can't imagine why, other than, you know, the whole trying to load messages before testing the login, PMs not being sorted into threads, and the general fact that all I can see you did was edit a few lines to change threads to PMs for links. :p
Yup. I dont know Perl (yet).
I only modified a few links to make it work.
lukjad007
August 19th, 2008, 11:47 AM
autoBUMP - If I did all these BUMPs in a row, it would be boring and still give me BUMPs. Now I can see my work being done as I relax.
lukjad007
August 19th, 2008, 11:49 AM
All seems to be normal. BUMP!
koji042
August 19th, 2008, 11:49 AM
Non-automated BUMP sequence starting. :)
BUMP!
scragar
August 19th, 2008, 11:51 AM
Yup. I dont know Perl (yet).
I only modified a few links to make it work.
ok, if you can write psuedocode for it I could help you write the perl, that would give you a better understanding of the code aswell.
psuedocode = plain english steps on what has to be done, things likelogin if not logged in
load the PMs folder
check for new messages
for each new message
send reply saying I'm not here
...
BUMP
koji042
August 19th, 2008, 11:52 AM
Bump! (._.)
scragar
August 19th, 2008, 11:53 AM
Bump!
koji042
August 19th, 2008, 11:54 AM
Bump!
lukjad007
August 19th, 2008, 11:55 AM
Bump!
Canis familiaris
August 19th, 2008, 11:56 AM
I am not AutoBUMPing,
scragar
August 19th, 2008, 11:57 AM
Bump
koji042
August 19th, 2008, 11:58 AM
Bump! :P
scragar
August 19th, 2008, 11:59 AM
Bump! :P
Canis familiaris
August 19th, 2008, 12:01 PM
ok, if you can write psuedocode for it I could help you write the perl, that would give you a better understanding of the code aswell.
psuedocode = plain english steps on what has to be done, things likelogin if not logged in
load the PMs folder
check for new messages
for each new message
send reply saying I'm not here
...
BUMP
Well initially I thought that a PM works just like a thread i.e. A PM is just a private thread. But it doesn't seem to work that way.
I dont really know the forum work but my guess in pseudocode will be:
1) Login
2) (the recipient user name should be provided in the file.
3) Get the ID of the recipient user just like that script gets for its user.
4) Start a new PM.
5) Send the PM.
or something like that.
P.S. I dont have (yet) an understanding on how forums work so I am not really sure.
scragar
August 19th, 2008, 12:02 PM
5) Send the PM.
send it where?
BUMP
lukjad007
August 19th, 2008, 12:03 PM
Bump!
scragar
August 19th, 2008, 12:03 PM
Bump
lukjad007
August 19th, 2008, 12:07 PM
BUMPing for FUN!
koji042
August 19th, 2008, 12:09 PM
BUMPing to start learning Python! :)
Canis familiaris
August 19th, 2008, 12:09 PM
As I see
http://ubuntuforums.org/private.php?do=showpm&pmid=732319
There is some "pmid". Maybe that will do the trick.
I cant think more to be honest.
(you can't access that link of course, but you can send me a test PM, or try such a script to send PM to me)
koji042
August 19th, 2008, 12:11 PM
Bump! ^(^.^)>
scragar
August 19th, 2008, 12:12 PM
the PM id is the ID of the PM, so when you go to a PM it knows which one you want to see or delete/move, the number is worthless since it changes from PM to PM, since the script won't be able to keep default stuff in the text area it's not gonna be able to quote well anyway.
BUMP
Canis familiaris
August 19th, 2008, 12:14 PM
Well I am out of ideas for the moment.
koji042
August 19th, 2008, 12:16 PM
Bump! ._.
lukjad007
August 19th, 2008, 12:17 PM
Bump!
koji042
August 19th, 2008, 12:18 PM
Bump!
lukjad007
August 19th, 2008, 12:20 PM
In this stupid autoScript you cannot use the apostrophe. Very annoying. BUMP!
koji042
August 19th, 2008, 12:22 PM
Can't you use an apostrophe if you use a backslash?
Like this:
don\'t
BUMP!
lukjad007
August 19th, 2008, 12:22 PM
I wish I had a splel checker. :(
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.