From vanilla-devel at us.netrek.org Mon Nov 25 00:01:11 2002 From: vanilla-devel at us.netrek.org (Vanilla CVS Development) Date: Wed Jan 12 00:51:09 2005 Subject: [Vanilla Devel] CVS update: Vanilla Message-ID: <200211250601.gAP61B526487@swashbuckler.real-time.com> Date: Monday November 25, 2002 @ 0:01 Author: cameron Update of /home/netrek/cvsroot/Vanilla In directory swashbuckler.real-time.com:/var/tmp/cvs-serv26484 Modified Files: PROJECTS Log Message: add suggestion **************************************** Index: Vanilla/PROJECTS diff -u Vanilla/PROJECTS:1.95 Vanilla/PROJECTS:1.96 --- Vanilla/PROJECTS:1.95 Fri Sep 20 07:17:27 2002 +++ Vanilla/PROJECTS Mon Nov 25 00:01:11 2002 @@ -1,7 +1,9 @@ -$Id: PROJECTS,v 1.95 2002/09/20 12:17:27 cameron Exp $ +$Id: PROJECTS,v 1.96 2002/11/25 06:01:11 cameron Exp $ List of things to do in the future + + - 'transwarp 0 off' to prevent slot 0 from transwarping. [Swasey] - add lag statistics to LTD stats. [Zach] From vanilla-devel at us.netrek.org Mon Nov 25 00:05:03 2002 From: vanilla-devel at us.netrek.org (Vanilla CVS Development) Date: Wed Jan 12 00:51:10 2005 Subject: [Vanilla Devel] CVS update: Vanilla/ntserv Message-ID: <200211250605.gAP653L26505@swashbuckler.real-time.com> Date: Monday November 25, 2002 @ 0:05 Author: cameron Update of /home/netrek/cvsroot/Vanilla/ntserv In directory swashbuckler.real-time.com:/var/tmp/cvs-serv26492/ntserv Modified Files: ntscmds.c getname.c daemonII.c Log Message: fix password command corruption **************************************** Index: Vanilla/ntserv/ntscmds.c diff -u Vanilla/ntserv/ntscmds.c:1.25 Vanilla/ntserv/ntscmds.c:1.26 --- Vanilla/ntserv/ntscmds.c:1.25 Thu Oct 10 20:24:46 2002 +++ Vanilla/ntserv/ntscmds.c Mon Nov 25 00:05:03 2002 @@ -1,4 +1,4 @@ -/* $Id: ntscmds.c,v 1.25 2002/10/11 01:24:46 cameron Exp $ +/* $Id: ntscmds.c,v 1.26 2002/11/25 06:05:03 cameron Exp $ */ /* @@ -1150,7 +1150,7 @@ } /* change the password */ - changepassword(&me->p_stats, one); + changepassword(one); /* tell her we changed it */ pmessage(who, MINDIV, addr, Index: Vanilla/ntserv/getname.c diff -u Vanilla/ntserv/getname.c:1.11 Vanilla/ntserv/getname.c:1.12 --- Vanilla/ntserv/getname.c:1.11 Wed Oct 10 02:36:52 2001 +++ Vanilla/ntserv/getname.c Mon Nov 25 00:05:03 2002 @@ -222,11 +222,12 @@ return; } -void changepassword (struct statentry *player, char *passPick) +void changepassword (char *passPick) { saltbuf sb; - strcpy(player->password, (char *) crypt(passPick, salt(player->name, sb))); - savepass(player); + struct statentry se; + strcpy(se.password, (char *) crypt(passPick, salt(me->p_name, sb))); + savepass(&se); } static void savepass(const struct statentry* se) @@ -237,8 +238,7 @@ fd = open(PlayerFile, O_WRONLY, 0644); if (fd >= 0) { lseek(fd, me->p_pos * sizeof(struct statentry) + - offsetof(struct statentry, password), - SEEK_SET); + offsetof(struct statentry, password), SEEK_SET); write(fd, &se->password, sizeof(se->password)); close(fd); } @@ -259,8 +259,7 @@ if (fd >= 0) { me->p_stats.st_lastlogin = time(NULL); lseek(fd, me->p_pos * sizeof(struct statentry) + - offsetof(struct statentry, stats), - SEEK_SET); + offsetof(struct statentry, stats), SEEK_SET); write(fd, (char *) &me->p_stats, sizeof(struct stats)); close(fd); } Index: Vanilla/ntserv/daemonII.c diff -u Vanilla/ntserv/daemonII.c:1.37 Vanilla/ntserv/daemonII.c:1.38 --- Vanilla/ntserv/daemonII.c:1.37 Mon Jun 4 17:06:28 2001 +++ Vanilla/ntserv/daemonII.c Mon Nov 25 00:05:03 2002 @@ -5,6 +5,7 @@ #include #include +#include #include #ifdef AUTOMOTD #include @@ -3740,7 +3741,8 @@ fd = open(PlayerFile, O_WRONLY, 0644); if (fd >= 0) { - lseek(fd, 32 + victim->p_pos * sizeof(struct statentry) , SEEK_SET); + lseek(fd, victim->p_pos * sizeof(struct statentry) + + offsetof(struct statentry, stats), SEEK_SET); write(fd, (char *) &victim->p_stats, sizeof(struct stats)); close(fd); } From vanilla-devel at us.netrek.org Mon Nov 25 00:05:03 2002 From: vanilla-devel at us.netrek.org (Vanilla CVS Development) Date: Wed Jan 12 00:51:10 2005 Subject: [Vanilla Devel] CVS update: Vanilla/include Message-ID: <200211250605.gAP653126500@swashbuckler.real-time.com> Date: Monday November 25, 2002 @ 0:05 Author: cameron Update of /home/netrek/cvsroot/Vanilla/include In directory swashbuckler.real-time.com:/var/tmp/cvs-serv26492/include Modified Files: proto.h Log Message: fix password command corruption **************************************** Index: Vanilla/include/proto.h diff -u Vanilla/include/proto.h:1.3 Vanilla/include/proto.h:1.4 --- Vanilla/include/proto.h:1.3 Wed Aug 14 23:48:17 2002 +++ Vanilla/include/proto.h Mon Nov 25 00:05:03 2002 @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.3 2002/08/15 04:48:17 cameron Exp $ +/* $Id: proto.h,v 1.4 2002/11/25 06:05:03 cameron Exp $ * * Function prototypes for externally accessed functions. */ @@ -71,7 +71,7 @@ /* getname.c */ void getname(void); void savestats(void); -void changepassword (struct statentry *player, char *passPick); +void changepassword(char *passPick); /* getpath.c */ void getpath(void); From vanilla-devel at us.netrek.org Mon Nov 25 00:05:03 2002 From: vanilla-devel at us.netrek.org (Vanilla CVS Development) Date: Wed Jan 12 00:51:10 2005 Subject: [Vanilla Devel] CVS update: Vanilla Message-ID: <200211250605.gAP653W26495@swashbuckler.real-time.com> Date: Monday November 25, 2002 @ 0:05 Author: cameron Update of /home/netrek/cvsroot/Vanilla In directory swashbuckler.real-time.com:/var/tmp/cvs-serv26492 Modified Files: ChangeLog Log Message: fix password command corruption **************************************** Index: Vanilla/ChangeLog diff -u Vanilla/ChangeLog:1.135 Vanilla/ChangeLog:1.136 --- Vanilla/ChangeLog:1.135 Thu Oct 10 20:24:45 2002 +++ Vanilla/ChangeLog Mon Nov 25 00:05:03 2002 @@ -1,3 +1,12 @@ +Mon Nov 25 16:06:39 2002 James Cameron + + * include/proto.h, ntserv/ntscmds.c, ntserv/getname.c: fix + password change, it was corrupting player stats when player died + after changing password. + + * ntserv/daemonII.c (saveplayer): replace constant 32 with + calculated offset to score file stats. + Fri Oct 11 11:20:22 2002 James Cameron * ntserv/ntscmds.c (do_nodock): removed restriction that prevented @@ -1406,4 +1415,4 @@ update_sys_defaults in updateMessages to a more appropriate location - updateClient in socket.c. - $Id: ChangeLog,v 1.135 2002/10/11 01:24:45 cameron Exp $ + $Id: ChangeLog,v 1.136 2002/11/25 06:05:03 cameron Exp $ From Kelly at theportal.net Tue Nov 26 05:22:47 2002 From: Kelly at theportal.net (=?ISO-8859-1?Q?The Portal?=) Date: Wed Jan 12 00:51:10 2005 Subject: [Vanilla Devel] =?ISO-8859-1?Q?MELTD.COM?= Message-ID: <200211261122.gAQBMl526832@esus.mc.mpls.visi.com> Dear Sir/madam, MELTD.COM - GBP?340 Please note that after years, the registration on the domain name MELTD.COM was not renewed and this domain had become available to register. Consequently, we have been approached to market this domain name that has been tracked and registered by a client. As a result, MELTD.COM is now available from us for IMMEDIATE transfer. This is a VALUABLE and HIGH PROFILE domain and we believe that this development could be of genuine interest and benefit to your operation. Please note that the domain name market is extremely solid at the moment and similar domains are currently selling on afternic.com, greatdomains.com (domain auction sites) and by domain name brokers, in some cases, for many thousands of US dollars. Please note that transfers take just 15 minutes and are extremely straightforward - absolutely NO technical knowledge required! For our client's peace of mind, we use an escrow service for all transactions and domains are ALWAYS secured by the buyer prior to us receiving any funds. We pay all fees connected with the escrow process. If you would like to use WWW.MELTD.COM for your online business, please contact us at your earliest convenience. We will be on hand should you require any further assistance or information. We thank you for your attention and sincerely apologise if this e-mail has not been of interest to you. Yours sincerely, Kelly Marketing The Portal