May 22, 2013, 10:21:01 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Do you live near Cincinnati? Join us this weekend for A&A Spring Gathering XI on April 5-6, 2013. Search me
  Articles  
   Home   Help Login Register Chat  
Loading
Pages: 1
  Print  
Author Topic: A good. stable Dicey is hard to find...  (Read 4805 times)
tonez
2007 AAR League
A&A.org Artillery
*
**
Posts: 206


View Profile
« on: December 03, 2006, 11:22:06 am »
0

Why is it that dicey servers are so unstable?
I'm trying to update the TripleA dicey servers list, but I'm having trouble finding free, working servers to add.
Here's the rundown I've got:

1. TripleAWarClub/MARTI.php
- this used to be the default, but it hasn't worked in a couple of months

2. Irony dice server
- this one stopped working for awhile, then I found an updated URL in the TripleA unstable stream, and now it works (and FAST) but doesn't send out emails

3. Frood.net simulator
- this one looks cool, but is overly complicated I think to integrate.  All I want (for now) is an xd6 ADS generator that sends emails.  A lean version of this that just rolls dice would be cool.  Froodster...?

4. Daak low luck
- only the low-luck version is free, it seems.  I'm not to the point yet where I want to integrate low-luck diceys. Basics first.

5. AAMC dicey
- this one is a little slow, but seems relatively stable. I think I'm gonna integrate this today for lack of other options

6. I have my own dicey server (perl cgi script) that my brother (rjclayton) and I have been using.  I don't have the bandwidth to host, and it's pretty slow, but if someone else wants to give my perl script a try I can pass it along.  It is a reverse-engineered clone of the old TripleAWarClub MARTI.php script.

So, in summary, if there are any stable, simple, free dicey servers that I've missed, please let me know!  IIRC, djensen was playing with the idea of adding one to a&a.org.  That would be very cool if it could be integrated into triplea.
Logged
tonez
2007 AAR League
A&A.org Artillery
*
**
Posts: 206


View Profile
« Reply #1 on: December 03, 2006, 11:36:59 am »
0

Hmm, ok, I just read the "1 on 1 help for play by email" thread for the first time.  I guess the daak roller is pretty popular around here.
I wonder if it would be worthwhile to integrate it with TripleA and allow you to enter username/password in triplea for it.  Argh, that PBEM Setup Panel in triplea is already getting pretty congested with my new features... this might warrant a reworking of the UI.   sad
I would still prefer an A&A.org roller   wink
Logged
ncscswitch
Guest
« Reply #2 on: December 03, 2006, 12:35:19 pm »
0

Dan's dicey at Frood might be easier to integrate...
Logged
frood
2007 AAR League
A&A.org Battleship
*
******
Posts: 3267


all your base are belong to us


View Profile
« Reply #3 on: December 03, 2006, 10:49:19 pm »
0

I'm willing to do something, but I have no idea how to make a Java app talk to a php script. PHP/HTML is all I know. If you can give me some pointers though I can build something. If tripleA sends HTTP requests we're in the money - just request eg:

http://frood.net/aacalc/diceserver.php?roll=5@2&3@3&1@4

and I can make a script to generate/send the dice - that would be way easier than the sim itself. Actually you'd have to separate out sub dice because they can't hit planes.

I also have a page that just rolls dice - http://frood.net/dice/ - it doesn't send e-mail though.
Logged
djensen
Axis & Allies.org Founder
Administrator
A&A.org Battleship
*
*
*
******
Posts: 4387



View Profile
« Reply #4 on: December 06, 2006, 04:05:35 am »
0

My idea for a dice roller here on A&A.org would be integrated into the forums. You would enter some special text in your message and the result would be a message posted by a "bot user" with the results of your rolls.

The drawback is that it could create a large number of messages in the thread. So to solve that, I'm trying to think of a way to only add/update one post per battle. The post would include the results for each round of rolling but would just be programmic "edits" each time a round of dice is rolled.
Logged
djensen
Axis & Allies.org Founder
Administrator
A&A.org Battleship
*
*
*
******
Posts: 4387



View Profile
« Reply #5 on: December 06, 2006, 04:09:20 am »
0

frood,

I'm a little out of touch with your tools. What/where is you Java app? Is it a standalone desktop application or a Java applet on a webpage?

If it is standalone (or a servlet), then you can use HttpClient to connect to a webpage easily. http://jakarta.apache.org/commons/httpclient/

Logged
frood
2007 AAR League
A&A.org Battleship
*
******
Posts: 3267


all your base are belong to us


View Profile
« Reply #6 on: December 06, 2006, 09:54:38 am »
0

It's a PHP script. In the other thread it's been explained to me that TripleA sends an HTTP request, so I can make it work - it would be just like requesting a web page.
Logged
frood
2007 AAR League
A&A.org Battleship
*
******
Posts: 3267


all your base are belong to us


View Profile
« Reply #7 on: December 22, 2006, 03:56:00 pm »
0

Okay - http://frood.net/aacalc/triplea/ can take the same variables as the  old MARTI serve (I think)  - test it out and let me know if anything is missing.
Logged
Nix
2007 AAR League
A&A.org Aircraft Carrier
*
******
Posts: 2724

League 2012: 1 wins, 0 Losses


View Profile
« Reply #8 on: March 13, 2007, 05:38:53 pm »
0

this one works, but i don“t know if it works for triple a..


http://www.rjware.net/WGMC/AHAA/diceroller.jsp
Logged
ncscswitch
Guest
« Reply #9 on: March 14, 2007, 01:54:07 am »
0

rjware is the actual dice roller that is used by the DAAK framework.  It goes down about once a week and has extended down time about once a month.
Logged
djensen
Axis & Allies.org Founder
Administrator
A&A.org Battleship
*
*
*
******
Posts: 4387



View Profile
« Reply #10 on: March 15, 2007, 11:06:05 am »
0

I'm biased but I like the in house roller since you don't have to go back and forth between the site and your email.
Logged
DarthMaximus
Moderator
A&A.org Heavy Bomber
*
*
*******
Posts: 20268


View Profile
« Reply #11 on: March 15, 2007, 12:47:34 pm »
0

The in-site has really grown on me, esp with the "aaa" command that calculates hits.

It has gotten pretty easy to type:

aaa 1@2 3@3 .... etc.
Logged
frood
2007 AAR League
A&A.org Battleship
*
******
Posts: 3267


all your base are belong to us


View Profile
« Reply #12 on: March 15, 2007, 02:01:36 pm »
0

I agree, I really like the in-house best - keeps everything in one place and saves the record. But this thread is about diceys for TripleA, is it not?
Logged
calvinhobbesliker
A&A.org Heavy Bomber
*******
Posts: 7785


The British Empire-the Largest one in History


View Profile
« Reply #13 on: May 08, 2010, 07:16:16 pm »
0

Dice
Rolls: 10@1.9; Total Hits: 2
10@1.9: (6, 2, 6, 4, 6, 6, 6, 2, 1, 1)
Logged
Cow
A&A.org Heavy Bomber
*******
Posts: 5284



View Profile
« Reply #14 on: March 21, 2011, 09:17:28 pm »
0

Dice
Rolls: 120@1; Total Hits: 23
120@1: (3, 2, 6, 1, 5, 3, 6, 3, 2, 6, 5, 5, 1, 2, 3, 1, 5, 3, 5, 6, 3, 1, 5, 2, 4, 1, 4, 3, 5, 5, 3, 2, 6, 2, 2, 4, 5, 2, 1, 1, 1, 6, 5, 1, 1, 1, 2, 5, 4, 6, 5, 6, 6, 3, 2, 4, 3, 6, 6, 1, 4, 2, 3, 4, 4, 4, 2, 2, 5, 2, 2, 6, 1, 6, 1, 2, 1, 2, 1, 4, 1, 5, 4, 1, 1, 5, 4, 3, 4, 4, 4, 2, 5, 6, 5, 2, 4, 6, 4, 3, 1, 6, 3, 2, 6, 3, 3, 6, 5, 3, 4, 5, 1, 1, 6, 1, 6, 4, 4, 3)
Logged
Pages: 1
  Print  
 
Jump to:  

2013 Support Drive
Support Level
Forum Username
Buy Axis & Allies
  • Axis & Allies 1942 [Amazon]
  • A&A Pacific 1940 [Amazon]
  • A&A Europe 1940 [FMG]
  • [eBay]
  • [eBay]
  • A&A D-Day [Amazon]
  • A&A Battle of the Bulge [Amazon]
  • [eBay]
  • [eBay]
  • WWII Themed Combat Dice [FMG]


Axis and Allies.org Official Sponsor: Field Marshal Games
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!