ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm looking mostly for code that would allow me to make a program that could in one way or another maintain a login name at a forum and post in a thread when needed.
I'm working on a program for an RPG that would serve as a "dice roller" essentially. I would like the end product to do the following-
-open a java applette containing-
A place to enter # of dice to be rolled
A checkbox called "default" that would lock all the things not usually changed (#of sides on dice, # of dice per result excetera)
A submit button
Once submit has been pushed the program would "roll", or rather generate random numbers for, the number of "dice" selected. And post the results, along with info like how many dice were rolled and if the defaults were changed.
you get the idea.
anyway, I'm pretty sure how to do everything but post on a forum. Especially considering it would require cookies and the like. However, I know it can be done because an automated program spammed out the forum a while back, it would post some ad after every regular post. I however, would only want my program to post in a designated "results" thread. That's so we would have a log instead of just having memebers "trust" eachother as to what the roll results were.
In essence I want something very much like what they have at PBM dot com but with an applett as opposed to an email input, and posting in a forum as opposed to emailing back.
So, if anyone has instructions, or some sample code to springboard me along my way for any of the above listed steps, It'd be greatly appreaciated.