Initial 10.90 support
Basic support, I did not check for further protocol changes yet.
This commit is contained in:
		
							parent
							
								
									ec9dafcfdf
								
							
						
					
					
						commit
						80184a1249
					
				|  | @ -217,7 +217,7 @@ CIPSOFT_RSA = "1321277432058722840622950990822933849527763264961655079678763618" | ||||||
|               "88792221429527047321331896351555606801473202394175817" |               "88792221429527047321331896351555606801473202394175817" | ||||||
| 
 | 
 | ||||||
| -- set to the latest Tibia.pic signature to make otclient compatible with official tibia | -- set to the latest Tibia.pic signature to make otclient compatible with official tibia | ||||||
| PIC_SIGNATURE = 0x557fe565 | PIC_SIGNATURE = 0x5630a70c | ||||||
| 
 | 
 | ||||||
| OsTypes = { | OsTypes = { | ||||||
|   Linux = 1, |   Linux = 1, | ||||||
|  |  | ||||||
|  | @ -74,7 +74,7 @@ function g_game.getSupportedClients() | ||||||
|     1058, 1059, 1060, 1061, 1062, |     1058, 1059, 1060, 1061, 1062, | ||||||
|     1063, 1064, 1070, 1071, 1072, |     1063, 1064, 1070, 1071, 1072, | ||||||
|     1073, 1074, 1075, 1076, 1080, |     1073, 1074, 1075, 1076, 1080, | ||||||
|     1081, 1082 |     1081, 1082, 1090 | ||||||
|   } |   } | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1492,7 +1492,7 @@ void Game::setProtocolVersion(int version) | ||||||
|     if(isOnline()) |     if(isOnline()) | ||||||
|         stdext::throw_exception("Unable to change protocol version while online"); |         stdext::throw_exception("Unable to change protocol version while online"); | ||||||
| 
 | 
 | ||||||
|     if(version != 0 && (version < 740 || version > 1082)) |     if(version != 0 && (version < 740 || version > 1090)) | ||||||
|         stdext::throw_exception(stdext::format("Protocol version %d not supported", version)); |         stdext::throw_exception(stdext::format("Protocol version %d not supported", version)); | ||||||
| 
 | 
 | ||||||
|     m_protocolVersion = version; |     m_protocolVersion = version; | ||||||
|  | @ -1510,7 +1510,7 @@ void Game::setClientVersion(int version) | ||||||
|     if(isOnline()) |     if(isOnline()) | ||||||
|         stdext::throw_exception("Unable to change client version while online"); |         stdext::throw_exception("Unable to change client version while online"); | ||||||
| 
 | 
 | ||||||
|     if(version != 0 && (version < 740 || version > 1082)) |     if(version != 0 && (version < 740 || version > 1090)) | ||||||
|         stdext::throw_exception(stdext::format("Client version %d not supported", version)); |         stdext::throw_exception(stdext::format("Client version %d not supported", version)); | ||||||
| 
 | 
 | ||||||
|     m_features.reset(); |     m_features.reset(); | ||||||
|  |  | ||||||
		Caricamento…
	
		Fai riferimento in un nuovo problema
	
	 TheSumm
						TheSumm