To add a new game ================================================================================================== IMPORTANT: BEFORE DOING THESE, FIRST SHUTDWON UPDATE SERVER TO AVOID CONFUSSION 0. Determine the new game ID. Search game_rules.txt. Make sure no existing game with the same game ID 1. Add a new game rules in game_rules.txt. Find similar game and copy the line of the game. Make sure change game ID and game rules for the new game 2. Add the new game ID in the state_info_txt 3. In Management/Update Information , input the game ID, enter game name, state, play days draw time, has jackpot (AVOID TO HAVE ' IN THE GAME NAME) 4. In Management, refresh game rule, state info, Generate game list 5. upload all_games_info.xml and all_states_info.xml to lotterypost.com 6. Save new results, need to change date, select "Force" 7. for auto-update A. in URL_SOURCES add a link B. in UPDATE_RESULTS, create an update program C. add the game in adapt/all_games.txt D. consider lotteryfeed.com 8. lotteryfeed.com: download lotto.xml, find the corresponding game: IMPORTANT: make a new line in lotteryfeed_game_info.xml in xml_handle directory to match the game ID defined by LS. If do not add a new line in lotteryfeed_game_info.xml, LS game id is going to be used. It is possible in lotteryfeed data have 2 games with same game ID. 9. If adding a new state, a state in "mgmt_write_jp_analysis.cpp" 10.If it is a new state, add a line in lotteryfeed_game_info.xml and lf_state_game_order.txt 11.If it is a multi-state game, add a new line in lf_state_game_order.txt IMPORTANT: Pay special attentions to multistate game, tri-state game, IA/IL common games. check the impact in xml_handle.cpp. make multiple lines in lotteryfeed_game_info.xml. generate game list and move to ./pre_login_htmls/DIR_A/select_games.html For management purpose, create 2 filse in post_login_files/DIR_N If there is a bonus ball, add a new line in adapt_files/bonus_ball.txt If it is a multi-state game, add the game id in time_zone.txt If there is no pick_n in the database, need to create pickn To add a new state ================================================================================================== index.html /home/lottostrategies/www/adapt/data/info/state_info.txt /home/lottostrategies/www/adapt/data/info/game_rules.txt /home/lottostrategies/www/adapt/pre_login_htmls/DIR_G/lotto_guide.html: add link to official site ./post_login_htmls/DIR_B/official_site_edit.html ./post_login_htmls/DIR_E/my_games_select_state.html ./post_login_htmls/DIR_H/news_edit.html ./post_login_htmls/DIR_M/delete_numbers_by_state.html ./post_login_htmls/DIR_M/input_news.html ./post_login_htmls/DIR_M/modify_numbers_by_state.html ./post_login_htmls/DIR_M/update_by_state_batch_mainpage.html ./post_login_htmls/DIR_N/AZ_links.html ./post_login_htmls/DIR_N/AZ_links.html ./pre_login_htmls/DIR_A/select_states.html ./pre_login_htmls/DIR_A/select_games.html ./pre_login_htmls/DIR_A/signup_info.html ./pre_login_htmls/DIR_G/last_results_mainpage.html ./pre_login_htmls/DIR_G/lotto_guide.html ./pre_login_htmls/DIR_G/numbers_archive.html ./pre_login_htmls/DIR_I/info_az.html /home/lottostrategies/www/adapt/adapt_file/time_zone.txt Add new game information in management generate game list Add a new state in state_results_record // don't need if there is no pick_n in the database, need to create pickn Add a new state ################################################################################################### 1. in 1000.txt(in 1500 and 1600 block add state lottery results text), 6000.txt(description - add the state) 7000.txt(meta keywords - add the state), refresh display text 2. adapt/data/info add line for the state in state_info.txt add lines for game rules in game_rules.txt 3. index.html - in latest results add the state in adapt/pre_login_htmls/DIR_G/last_results_mainpage.html, add the state in adapt/pre_login_htmls/DIR_G/lotto_guide.html add state lottery info link, add the state lottery info file in adapt/pre_login_htmls/DIR_I in adapt/pre_login_htmls/DIR_G/resource.html, add hard link to official lottery site in adapt/pre_login_htmls/DIR_G/numbers_archive.html, add link to numbers archive link to the state in adapt/pre_login_htmls/DIR_G/email_results_mainpage.html, add an option of the state in adapt/pre_login_htmls/DIR_G/email_setting_request.html, add an option of the state in adapt/post_login_htmls/DIR_B/official_site_edit.html add an option of the state in adapt/post_login_htmls/DIR_E/my_games_select_state.html add CHECKBOX for the state in adapt/post_login_htmls/DIR_M/modify_numbers_by_state.html add the state in adapt/post_login_htmls/DIR_M/delete_numbers_by_state.html add the state in adapt/post_login_htmls/DIR_M/mgmt_help.html add the state in adapt/post_login_htmls/DIR_N/AZ_links.html add links to lottery results in adapt/pre_login_htmls/DIR_A/select_states.html add an option of the state in adapt/pre_login_htmls/DIR_A/signup_info.html add an option of the state in adapt/pre_login_htmls/DIR_A/signup_gather_info.html add an option of the state adapt_file/time_zone.txt: add the state in time zone 4. Add games for the state: enter game ID => enter game name, state, play days, .... 5. refresh game rules, state info, display text generate pre_login_htmls/DIR_A/select_games.html display text ================================================================================================== 0 - do nothing -1 - delete 1 - update 2 - add 1000: title 2000: feedback 3000: algorithm names 4000: management logs 5000: links in each component 6000: meta tags from 6100: 6100 - default 6101 - Smart Pick 6102 - Lotto Analysis 6103 - Wheeling System 6104 - Match Finder 6105 - Last Results, Numbers Archive 6106 - Jackpot 6107 - Lotto Guide 6108 - Statistics 6109 - Glossary 6110 - Tips 6111 - Forum 6112 - Resource 6113 - Lotto Pool 6114 - Astrology 6115 - Personalized Intro 6116 - Odds Calculator from 6200 1. Alabama 2. Alaska 3. Arizona 4. Arkansas 5. California 6. Colorado 7. Connecticut 8. Deleware 9. District of Columbia 10. Florida 11. Georgia 12. Hawaii 13. Idaho 14. Illinois 15. Indiana 16. Iowa 17. Kansas 18. Kentucky 19. Louisiana 20. Maine 21. Maryland 22. Massachusette 23. Michigan 24. Minnesota 25. Mississipi 26. Missouri 27. Montana 28. Nebraska 29. Nevada 30. New Hampshire 31. New Jersey 32. New Mexico 33. New York 34. North Carolina 35. North Dakota 36. Ohio 37. Oklahoma 38. Oregon 39. Pennsylvania 40. Rhode Island 41. South Carolina 42. South Dakota 43. Tennessee 44. Texas 45. Utah 46. Vermont 47. Virginia 48. Washington 49. West Virginia 50. Wisconsin 51. Wyoming 3. Arizona 5. California 6. Colorado 7. Connecticut 8. Deleware 9. District of Columbia 10. Florida 11. Georgia 13. Idaho 14. Illinois 15. Indiana 16. Iowa 17. Kansas 18. Kentucky 19. Louisiana 20. Maine 21. Maryland 22. Massachusette 23. Michigan 24. Minnesota 26. Missouri 27. Montana 28. Nebraska 30. New Hampshire 31. New Jersey 32. New Mexico 33. New York 36. Ohio 38. Oregon 39. Pennsylvania 40. Rhode Island 41. South Carolina 42. South Dakota 44. Texas 46. Vermont 47. Virginia 48. Washington 49. West Virginia 50. Wisconsin