home *** CD-ROM | disk | FTP | other *** search
/ The Arcade BBS / arcadebbs.zip / arcadebbs / bbstools / MODS / ALLMODS.ZIP / ZF-1.ZIP / ZF-1.MOD < prev   
Encoding:
Text File  |  1995-06-30  |  3.2 KB  |  70 lines

  1. Neue Regel (Or Silent Knight) #1 @10141
  2. Sat Jun 24 14:29:29 1995
  3. ┌────────────────────────────────────────────────────────────────────────────┐
  4. │ Mod Name      : ZF-1.MOD        Mod Author: Neue Regel      1@10141 WWIVnet│
  5. │ Difficulty    : ░░░░░░░░░░      /┤lpha-1 Republic [ASV/GSA] 1@6293  ICEnet │
  6. │ WWIV Version  : 4.24                                                       │
  7. │ Mod Date      : 6-23-95                                                    │
  8. │ Files Affected: LILO.C                                                     │
  9. │                                                                            │
  10. │ Description   : Asks user if he or she would like to vote if their are new │
  11. │                 questions.                                                 │
  12. └────────────────────────────────────────────────────────────────────────────┘
  13.  
  14. ─[Legal Info]────────────────────────────────────────────────────────────────
  15. This modified code may contain some parts of WWIV source code, which is
  16. copyright 1988-1995 by Wayne Bell and licensed only to registered users of
  17. WWIV.  Use of WWIV source without registration constitutes a license
  18. violation, could lead to legal prosecution and is generally regarded as evil
  19. Shareware  distributors  and CD-ROM publishers may not distribute this
  20. modified code without express written permission of the Author or WWIV
  21. Software Services.
  22.  
  23. ─[Extended Description]──────────────────────────────────────────────────────
  24. Well I will admit I do not understand C/C++ totally... I don't understand it
  25. at all.  Although this mod takes no talent and a Kindergardner could do this
  26. mod in 15 seconds (writing it not installing it).  Anyway all it does is
  27. asks you if you would like to vote right away when there is a new question.
  28. I am sure there is another mod just like this out there and if their is oh
  29. well...
  30.  
  31. ─[Disclaimer]────────────────────────────────────────────────────────────────
  32. If you mess up on this mod and e-mail me about it not working, I will view
  33. you as the second most ignorant person on earth.  BTW back up your
  34. source-code.  It's not likely you will screw up, but it's a nice way to take
  35. up hard drive space.
  36.  
  37. ─[Step 1 (the only step)]────────────────────────────────────────────────────
  38. Open Lilo.c
  39.  
  40. Search for this:
  41.       prt(3,get_string(378));
  42.  
  43. Comment it out or delete it.. anything to make your compiler not do anything
  44. to it:)
  45. In place of that, block copy this:
  46. /*zf1 begin*/
  47.         npr("3You have not voted yet, would you like to now? ");0
  48.         if (yn())
  49.         {
  50.           outchr(12);
  51.           write_inst(INST_LOC_VOTE,0,INST_FLAGS_NONE);
  52.           helpl=18;
  53.           vote();
  54.         }
  55. /* zf1 end*/
  56.  
  57. Save lilo.c, then type make in your source directory.  You are done.  Only
  58. 55 lines... what a short mod eh?
  59. ─[Closing]───────────────────────────────────────────────────────────────────
  60. If you do happen to have trouble or have any advice that could make this mod
  61. better or even if you just want to chat e-mail me at one of the following
  62. addresses (in preferential order).
  63.  
  64. Internet: uaslabs@bmn.net
  65. or      : swan0322@maroon.tc.umn.edu
  66. WWIVnet : 1@10141
  67. ICEnet  : 1@6293
  68.  
  69. /┤lpha-1 Republic: 612-988-0828
  70.