coopordie.com http://www.coopordie.com/forum/ |
|
Unofficial 2022 Coopordie version http://www.coopordie.com/forum/viewtopic.php?f=1&t=987 |
Page 1 of 1 |
Author: | Pat AfterMoon [ Sat Nov 26, 2022 11:59 am ] |
Post subject: | Unofficial 2022 Coopordie version |
ANDREI wrote: btw @Pat, would you mind highlighting unofficial 2022 Coopordie version if there ever was one? there are a few bugfixes I could deal with... I can branch out coopordie's source code and add humanly-readable patch notes. maybe I contact you somewhere else about it? (discord/etc) edit: (quote link) Pat AfterMoon wrote: Hi Andrei, your initiative is interesting but I really have no time and no motivation for this mod. I have no more the dev tools nor a Quake2 copy installed on my computer. I propose to remove the worlserver version check who is preventing the use of custom DLL. A link to popular modified DLL may be added on the official download page. Can it satisfy everyone? don't ask me how i miraculously recalled this thread, but after reading your comment again with a minimum of attention - disabling the dll check would be very convenient. Hi ANDREI, Whao, you found a 2013 post I've retrieved the place where the DLL version is checked in the PHP WorldServer source code func_PlayerLogin.php Code: // Check version and idexe by comparison with the version used by "admin" if ( $clean_name == "admin" ) { rpc_set_var("wsrv_version", $wsrv_version) ; rpc_set_var("idexe", $idexe) ; } else if ( !$session_data->betatest ) { $right_version = rpc_get_var("wsrv_version"); if ( $wsrv_version!=$right_version ) { rpc_return_error( 'WSRV_VERSION', 'WorldServer version is '.$right_version, 'wsrv_version='.$wsrv_version ); } $right_idexe = rpc_get_var("idexe"); if ( $idexe != $right_idexe ) rpc_return_error( 'LOGIN', 'Invalid build version', 'idexe='.$idexe ); } I may remove the check (everybody will turn into betatest mode), or I can add alternate versions. I prefer the second solution. You can create a new DLL and test it with your betatest account. Then I will may be able to add you as a second "admin" for DLL versions purpose. |
Author: | ANDREI [ Sat Nov 26, 2022 1:50 pm ] |
Post subject: | Re: Unofficial 2022 Coopordie version |
hey, that's amazing! alternate versions, thus keeping the original experience, sounds great. will the mod be hostable by other people than admins/me? (I know a particular group of lithuanian coopordie players which will probably be interested...) also, is there any chance you wish to make WSRV open-source? I can try hosting WSRV (locally, to test) + dealing with all these updates for you. Coopordie's code is on SVN (non-Git) - I can clone it 1-on-1 to a Git (Github in my case) repository, then you'll be able to see every commit/change. But if you happen to upload it using Git, I'll fork it. I intended to suggest sharing unofficial-version API keys which only I (or other people modding coopordie... aka probably no one else) would use. This might've required too much attention from your side, though + I don't know very much about C/C++, but I suspect that the dll coooould* be disassembled in order to retrieve the secret key. *of course this would be quite an overkill; exactly as you thought back then, who would bother going so deep in coopordie... update: yep, dll-checking could certainly use some improvement |
Author: | Pat AfterMoon [ Sun Nov 27, 2022 9:39 am ] |
Post subject: | Re: Unofficial 2022 Coopordie version |
ANDREI wrote: yep, dll-checking could certainly use some improvement LOL, I've forgotten this part. So any hacker/coder can easily build a new DLL and use it on coopordie.com ANDREI wrote: is there any chance you wish to make WSRV open-source? Yes, probably a github repository will DLL + WorldServer complete code, just a matter of time and motivation |
Author: | ANDREI [ Mon Nov 28, 2022 3:52 pm ] |
Post subject: | Re: Unofficial 2022 Coopordie version |
looking forward to it! Whenever you have some spare time, I'll happily fork it. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |