Optimizing kaillera will not solve the issues, neither will rebuilding it from scratch. What needs to be done, as I said in my previous post, is to integrate netplay within the emulator. The way kaillera works is that a few lines of code are added into an emulator that pretty much says "look here for players' 2-4 key presses" and then kaillera/emulinker handle the sending of the button presses back and forth over a network. Kaillera is not involved in the emulator in any other way. I can go much more in depth if anyone is interested about how this process works. Integrating kaillera into Mupen64plus would only take a few days to get familiar with the code.
I'm going to talk to the Mupen64plus guys to see what the status of netplay is. Two years ago they brought up the issue, as you can see here.
http://code.google.com/p/mupen64plu...Status Priority Stars Milestone Owner Summary
Maybe if we are lucky, the Mupen64plus team will code netplay themselves. If they have no plans to, then the project will have to be kicked off elsewhere.
And also, although someone might know how to program (ie smasher, who only changed some lines through hex edits) that is very different from knowing computer science and thinking abstractly to find solutions.
Maybe at some point I'll have the time to work on a project like this, but I might need to take a few more classes first. I'd also need help.