Line 108:
Line 108:
"Alright, I'll give this one more shot, just because this bug has got to be something stupid. I'd love to get some people to take a look at the code, and if you have a gekko debugger, do me a favor, and try to figure out why the final movement speeds of the player are behaving oddly. I've fixed most of the other bugs, disabled gamecube controller for now, but I'll be placing that back in once this bug is found. Everything is in C, except the libfat controller, but I'll be removing that soon enough. If someone could, please, please, pretty please help me debug this. Just run "make wii"." -[[User:Piko|Piko]] 16:58, 26 April 2009 (UTC)
"Alright, I'll give this one more shot, just because this bug has got to be something stupid. I'd love to get some people to take a look at the code, and if you have a gekko debugger, do me a favor, and try to figure out why the final movement speeds of the player are behaving oddly. I've fixed most of the other bugs, disabled gamecube controller for now, but I'll be placing that back in once this bug is found. Everything is in C, except the libfat controller, but I'll be removing that soon enough. If someone could, please, please, pretty please help me debug this. Just run "make wii"." -[[User:Piko|Piko]] 16:58, 26 April 2009 (UTC)
−
===Update===
+
===Updates===
+
:"Found the bug that was causing side to side, forward, and backwards to be weird. The value "qboolean onground" is an enumerator, so it could equal any int value. There for if you where standing on the ground it would equal the value of FL_ONGROUND, which is 512, not 1. So simply adding an if statement, I've fixed that bug. There is still a bug with gx_model.c, and MOD_LoadVertexes, but I'm going to have to wait until by GeckoUSB gets here, I'll still be trying to improve my version. I have been sending my fixes, and findings to Eluan, so hopefully he can apply them to the SVN version." -[[User:Piko|Piko]] 19:15, 28 April 2009 (UTC)
+
:"I've located some of the bugs the one big bug remaining is the side to side, forward/backward movement bug. By using Con_Printf a lot I've determined that the bug happens some where between Loop_SendUnreliableMessage, and when the server reads that message. Something is mangling the message buffer. I'm starting to think there is a *cpy, or *set somewhere that is running beyond it's array limits. There is also a bug with the sound, but that has more to do with the older sound system that is being used, it needs to be replaced, I'm thinking of using snd_null.c until I can get around to that. It's very hard for me to debug, I'm going to try and order a geckoUSB soon, because right now I'm taking shots in the dark. I've uploaded my latest version. If you're skilled at debugging, and love Quake, please take a look." -[[User:Piko|Piko]] 22:50, 27 April 2009 (UTC)
:"I've located some of the bugs the one big bug remaining is the side to side, forward/backward movement bug. By using Con_Printf a lot I've determined that the bug happens some where between Loop_SendUnreliableMessage, and when the server reads that message. Something is mangling the message buffer. I'm starting to think there is a *cpy, or *set somewhere that is running beyond it's array limits. There is also a bug with the sound, but that has more to do with the older sound system that is being used, it needs to be replaced, I'm thinking of using snd_null.c until I can get around to that. It's very hard for me to debug, I'm going to try and order a geckoUSB soon, because right now I'm taking shots in the dark. I've uploaded my latest version. If you're skilled at debugging, and love Quake, please take a look." -[[User:Piko|Piko]] 22:50, 27 April 2009 (UTC)
[http://www.fallenacorn.com/piko/quake-wii-piko/quake-wii-piko.tar.gz quake-wii-piko.tar.gz]
[http://www.fallenacorn.com/piko/quake-wii-piko/quake-wii-piko.tar.gz quake-wii-piko.tar.gz]