Code: Select all
// Message code stuff
int CompareBufferToPlayerNames(tString);
int BruteForceStrCompare(tString,int,tString,int);
The file is actually zipped.
Code: Select all
// Message code stuff
int CompareBufferToPlayerNames(tString);
int BruteForceStrCompare(tString,int,tString,int);
Should be simple to fix...nemostultae wrote:The message code is mostly working. There is one thing needed to be fixed: for example: /msg nemo hi nemo. This would send me a message, but it will also send the "nemo" part. So the message to me is "nemo hi nemo".
Copy the source directory before you mess with it and donemostultae wrote:Heres a diff if you want to mess around with it. (I don't know how to diff against multiple files,
Code: Select all
diff -ur armagetron.BASEDON armagetron.MSG
Blarg. If you're going to compress it, at least use gzip of bzip2 so I can zcat it to patch =pnemostultae wrote:The file is actually zipped.
Message me herez-man wrote:Sorry, I was offline for some hours and did not notice nemo was still working on it. Meanwhile, I already fixed the patch up for integration. I changed the search behavior in the same way, too. Another functional change I did was that now all paticipants ( sender, receiver and server ) get the same line
sender ---> receiver : message
because sometimes, more than one player sits on one machine and then they would not know who the message was for. That, and the formatting of the original messages hopelessly confused me.
And I fixed a bug in ID handling. Player ID and network client ID are something totally unrelated, and at one point they got mixed.
Nemo: where do you want to get the code review? Here or in private? No terrible atrocities have been committed, just little sins ( some of them obviously copied from other contributors of the chat handling ). If we make it public, everyone can see what a bastard nitpicker I am, just like Luke
It is working now.Luke-Jr wrote:Nemo please try doing an OS X of current CVS now. I've got code to handle ~ and such added
some win32 person, please advise on how to make tools/tDirectories.cpp/expand_home work on your broken OS.