It is currently Tue Dec 10, 2024 5:28 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
 Unofficial 2022 Coopordie version 
Author Message
Admin

Joined: Sun Feb 17, 2002 7:07 pm
Posts: 628
Post 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 :lol:

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.

_________________
Playing : Tiny Attacks


Sat Nov 26, 2022 11:59 am
Profile WWW
Champion in solo and duo and trio and quartet

Joined: Tue Jun 23, 2009 3:30 pm
Posts: 623
Post 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 Image

_________________
Quaking like it's the '98s.
Feel free to add me on Steam.

Join Coopordie's Discord Server.


Sat Nov 26, 2022 1:50 pm
Profile YIM
Admin

Joined: Sun Feb 17, 2002 7:07 pm
Posts: 628
Post 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 :D

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 ;)

_________________
Playing : Tiny Attacks


Sun Nov 27, 2022 9:39 am
Profile WWW
Champion in solo and duo and trio and quartet

Joined: Tue Jun 23, 2009 3:30 pm
Posts: 623
Post Re: Unofficial 2022 Coopordie version
looking forward to it! Whenever you have some spare time, I'll happily fork it.

_________________
Quaking like it's the '98s.
Feel free to add me on Steam.

Join Coopordie's Discord Server.


Mon Nov 28, 2022 3:52 pm
Profile YIM
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © phpBB Group.
Initial forum style by Vjacheslav Trushkin.