Ok, first go Helo all, first post
Second, big thanks for your awesome work, Luigi.
My problem is:
- I have downloaded gslist (latest) 0.8.3 beta
- I made simple program in C using gsmsalg.h from gslist source
- I have PHP port of gslist by Jan0 too
When I use gslist executable and query master server for game 'armedass' I see calculation of verification string, using method 1:
Code:
XGCKPP -> sPqaDlgg
I tried both my C program and PHP port and both gave me different results:
C program:
Code:
source XGCKPP key peprUy dest 1U9WQkkQ method 0
source XGCKPP key peprUy dest uOEPAVEt method 1
source XGCKPP key peprUy dest pSomMBxp method 2
source XGCKPP key fgDmOT dest PDqrSyEQ method 0
source XGCKPP key fgDmOT dest UgFFxAUt method 1
source XGCKPP key fgDmOT dest Wl3vJm5E method 2
PHP port by Jan0
Code:
XGCKPP -> 1U9WQkkQ
XGCKPP -> uOEPAVEt
XGCKPP -> pSomMBxp
XGCKPP -> PDqrSyEQ
XGCKPP -> UgFFxAUt
XGCKPP -> Wl3vJm5E
As you can see none of them are same as you gsList result. I thought that can be a problem with key, but I use same keys as gsList provide using "gslist -u".
Code:
ArmA: Armed Assault armaas fgDmOT
ArmA: Armed Assault armedass fgDmOT
ArmA: Armed Assault armedass peprUy
ArmA: Armed Assault demo armedassd
Armed Assault armedass peprUy
The question is: if my C code is same as compiled by you in executable and my key is the same as gslist takes for calculation, where is a problem?