Thread: [PI] Lottery

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 [PI] Lottery 
    Registered Member
    Join Date
    Sep 2010
    Posts
    627
    Thanks given
    170
    Thanks received
    53
    Rep Power
    29
    So i saw this lottery system on near reality where players buy a ticket for 5 mil, and when they click on it they entered the lottery how would i make it when someone clicks a item their character name will be written down in a specific .txt file?

    would be repped!
    Reply With Quote  
     

  2. #2  
    I'm President Carter


    Join Date
    Jan 2011
    Posts
    1,204
    Thanks given
    17
    Thanks received
    222
    Rep Power
    144
    It takes more than just that. Their lottery system includes MySQL, so its not just writing it in a text file. It would take a little bit of work. So no one is gonna do this for free.


    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2010
    Posts
    627
    Thanks given
    170
    Thanks received
    53
    Rep Power
    29
    yes i know but thats not what im asking. I want to know how to make it when u click an item it writes a name down on a .txt file
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Sep 2010
    Posts
    627
    Thanks given
    170
    Thanks received
    53
    Rep Power
    29
    bump
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2010
    Age
    27
    Posts
    2,528
    Thanks given
    544
    Thanks received
    584
    Rep Power
    411
    PI already has the required methods. Just look in the playerAssistant class, and search for writecommandlog or so then just use that method to write playernames instead.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Sep 2010
    Posts
    627
    Thanks given
    170
    Thanks received
    53
    Rep Power
    29
    Quote Originally Posted by Alexander View Post
    PI already has the required methods. Just look in the playerAssistant class, and search for writecommandlog or so then just use that method to write playernames instead.
    spoonfeed
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2010
    Posts
    98
    Thanks given
    0
    Thanks received
    2
    Rep Power
    14
    Use your brain please
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Sep 2010
    Posts
    627
    Thanks given
    170
    Thanks received
    53
    Rep Power
    29
    bump
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Jan 2008
    Posts
    1,338
    Thanks given
    243
    Thanks received
    85
    Rep Power
    250
    Write name on file and store it on array --> profit and every reset re download the list and when choosing the winner just remove everything from file and array, easy enough?
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Sep 2010
    Posts
    627
    Thanks given
    170
    Thanks received
    53
    Rep Power
    29
    bump
    Reply With Quote  
     

  11. Thankful user:


Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Lottery Application
    By durpidahurp in forum Application Development
    Replies: 2
    Last Post: 07-16-2010, 01:13 AM
  2. Lottery?
    By americanboyg in forum Show-off
    Replies: 4
    Last Post: 06-16-2009, 03:39 AM
  3. My Lottery
    By Oxygen in forum Snippets
    Replies: 12
    Last Post: 06-01-2009, 09:12 PM
  4. Lottery
    By Eleclion in forum Tutorials
    Replies: 11
    Last Post: 10-18-2007, 10:26 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •