Jump to content

BlueDragon

Member
  • Posts

    72
  • Joined

  • Last visited

Awards

This user doesn't have any awards

About BlueDragon

  • Birthday Nov 20, 1999

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    England
  • Interests
    Computery stuff
  • Biography
    Currently working on some pc games to be released

System

  • CPU
    Amd fx-8350
  • Motherboard
    Gigabyte 990FXA-UD3
  • RAM
    Corsair vengence 16gb (2x8gb) 1600mHz
  • GPU
    msi r9 290x lightning
  • Case
    Cooler master cosmos se
  • Storage
    Intel 320 series 120GB SSD + WD 2TB green
  • PSU
    EVGA SuperNOva B2 850W
  • Display(s)
    AOC G2460FQ
  • Operating System
    Ubuntu linux

Recent Profile Visitors

600 profile views
  1. Aptana studio 3 is good... It's sorta like eclipse but designed for web languages. As well as this it also has integrated FTP uploading to your web server which I find useful.
  2. I'm currently using a msi r9 290x lighting graphics card and I would love to upgrade to the new graphics cards to experience how technology has changed.
  3. WOW what a beast of a projector! That would be cool to use for projections on the side of buildings....
  4. Do you mean that you want the code above to work for each different option there is? For example you want it to do: command = {} command["command"] = sub_rows[0].get_text() command["message"] = sub_rows[1].get_text() command["accessLevel"] = sub_rows[2].get_text() command["group"] = sub_rows[3].get_text() command["counter"] = sub_rows[4].get_text command["..."] = sub_row[...].get_text ... commands.append(command) So you want to add all the parts in the JSON array into the command array?
  5. Also another thing I noticed is: numpad9:: FileRead, key, C:\Users\Daniel\Documents\keypressed.txt If(key = S) Send ^!S return The send there is different to the send on others which has a + in it so I don't know if that makes any difference but probs does.
  6. Well I haven't used AutoHotKey before but looking at that code I'm assuming the semicolon is for comments and if that is correct you have commented out a line which a comment says that it gives feedback on errors so my suggestion would be to uncomment that line and see what error messages you get and go from there
  7. I suggest you double check the set up of your yml file
  8. I would like the keyboard because I have always wanted a mechanical keyboard ever since the first time I used one. It was amazing! Also it looks amazing!
  9. Just noticed I didn't change the i on this line of code: cahUI.currentDealer.setText("Player " + (i+1)); You need to change the i to "newDealer"
  10. I also changed it to remove the i value public static void setDealer(int numPlayers) { int oldDealer; int newDealer; if (Integer.parseInt(String.valueOf(cahUI.roundNumber.getText())) == 0) { oldDealer = 0; } else { oldDealer = (Integer.parseInt(String.valueOf(cahUI.currentDealer.getText().charAt(7))))-1; } do { newDealer = (int)(Math.floor(Math.random() * numPlayers)); } while (newDealer == oldDealer); cahUI.currentDealer.setText("Player " + (i+1)); dealerButtons(oldDealer, newDealer); }
  11. I've just tested it... so whats the error ur getting because I'm not getting an error
  12. Okay, I think this will be what you need: public static void setDealer(int numPlayers) { int oldDealer; int newDealer; int i; if (Integer.parseInt(String.valueOf(cahUI.roundNumber.getText())) == 0) { oldDealer = 0; } else { oldDealer = (Integer.parseInt(String.valueOf(cahUI.currentDealer.getText().charAt(7))))-1; } do { i = (int)(Math.floor(Math.random() * numPlayers)); } while (i == oldDealer); cahUI.currentDealer.setText("Player " + (i+1)); newDealer = i; dealerButtons(oldDealer, newDealer); } What I've done is added "Math.floor" to the random genaration so that the number that is generated is always rounded down.
  13. Okay, I'm guessing the problem is within the setDealer method, could you just explain what this method is supposed to do.
×