####################################### ##### ##### ##### How To install DiCE 6.6 ##### ##### ##### ####################################### ############################################################ #### #### #### If you have are installing DiCE for the first time #### #### #### ############################################################ 1: Move dice.c to the /src directory 2: Move dice.help to the /doc directory 3: Move dice-combo.help to the /doc directory 4: Move dice.log to the /logs directory 5: Move wdice.log to the /logs directory 6: Move ldice.log to the /logs directory 7: Add the following lines to the clist.h file in thier correct places: extern command_func dice; {"dice", dice,0, 0, 1, 0, MISCc}, 8: Add the following line to the proto.h file in its correct please: extern void dice_version(void); 9: Add the following line to the version.c file in its correct please: dice_version(); 10a. Ok, if you have pgplus v1.0.11 add the following to dynatext.c somewhere around line 297, right after the pot statement: if(!strcmp(mask, "dice")) { sprintf(buf, "%d", jpot); return buf; } 10b. Ok, if you have pgplus v1.0.10 add the following to dynatext.c somewhere around line 81, right after the case 'j' statement: case 'd': sprintf(stack, "%d", jpot); break; 11. Add this to the globals.c file somewhere around line 82 or so right after int pot; : int jpot; 12. Add the following to the parse.c file somewhere around line 1226 right below for /* For slots */ if..... pot=.... part: /* For DiCE */ if (jpot <= 100) jpot = atoi(get_config_msg("dice_pot")); 13. Add the following to the include/proto.h file after ,pot about 565 lines down or so, its located in the extern int that starts with backup_hour, backup_time,.....: jpot, (line should look like this when done: extern int backup_hour, backup_time, longest_time, pot, jpot, reboot_date, ) 14. Add the following to your config.msg file in the soft/ dir: # # This is the jackpot of the DiCE game # # How much the pot starts out at and what it resets to # dice_pot: 5000 # # Colour of the DiCE, how about that, just change this, and they DiCE colours change # No icky recompiling or anything. # # Colour of the DiCE is self dc: ^B # Colour of the holes, or O's hc: ^C # Everytime you see the word "dice" it will look like this (can add colour) dice_name: ^BD^Hi^RC^HE^N # Everytime you see the word "jackpot" it will look like this (can add colour) jpot_name: ^BJ^Ha^RC^HK^Bp^HO^RT^N # # Do you want to see when people win? yes or no # wdlog: yes # # Do you want to see when people lose? yes or no # ldlog: yes # # Do you want to see when poeple play or dont have enough? yes or no # vdlog: yes 15. Make Depend, Recompile and Reboot If you have any plroblems, questions or comments, please feel free to e-mail me at one of the following e-mail addresses litlepot@access995.com antibhs@angelfire.com antibhs@fr.fm Remember do not change the version contents and/or anything that verifies me the creator of DiCE. Thank you for installing DiCE v6.6 NOTICE: Please note that if you change how much you win/lose or pay in dice.c you will have to change the dice.help and dice-combo.help to fit the new settings