I just finished patching the ascii pfile system from the ascii.201.1.patch (i believe it was called) and for some reason it wont write the player files or the player index i can compile it but it gives me these warnings when I do: db.c: In function 'save_player_index': db.c:528: warning: int format, long int arg (arg 3) db.c:528: warning: int format, time_t arg (arg 7) db.c: In function 'store_to_char': db.c:2406: warning: left-hand operand of comma expression has no effect db.c: In function 'char_to_store': db.c:2522: warning: int format, time_t arg (arg 3) db.c:2524: warning: int format, time_t arg (arg 3) db.c:2530: warning: int format, long int arg (arg 3) db.c:2531: warning: int format, long int arg (arg 3) mail.c: In function 'mail_recip_ok': mail.c:64: warning: passing arg 2 of 'load_char' from incompatible pointer type mail.c:65: warning: passing arg 1 of 'store_to_char' from incompatible pointer type Both of the arg's in the mail.c warnings refer to &tmp_store Here is the code surrounding the db.c warnings: for(i = 0; i <= top_of_p_table; i++) if(*player_table[i].name) { sprintbits(player_table[i].flags, bits); fprintf(index_file, "%d %s %d %s %d\n", player_table[i].id, player_table[i].name, player_table[i].level, *bits ? bits : "0", 528: player_table[i].last); } sorry for the lack of code but my windows machine is a piece of trash and I can't find line numbers so hopefully someone might have had this problem before and know the answer. If not I will post again with more code context. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST