![]() |
Страницы (11): « 1 [2] 3 4 5 6 » ... Последняя » Показать все 160 сообщений этой темы на одной странице |
HLFX.Ru Forum (https://hlfx.ru/forum/index.php)
- Half-Life SDK (https://hlfx.ru/forum/forumdisplay.php?forumid=8)
-- Лажа со стрейфами (https://hlfx.ru/forum/showthread.php?threadid=3495)
все что имеем:
http://www.mail-archive.com/hlcoder...m/msg19351.html
в целом нужно взять код клиентку и портануть на сервак.
легкие пути через доп подгрузки mp.dll и установка SV_StudioSetupBones с mp.dll из cs 1.6 рушит сервер, а также пробовал версии с передачей newdllfunc и убиранием из экспорта entapi2 и передача указателей из той же mp.dll тоже крашит сервер.
остается потихой сидеть да портировать клиентский код.
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
То-то у меня в ксаш-моде всё работает
Добавлено 23-06-2012 в 10:06:
ЗЫ. там есть указатель на эдикт - его использовать нельзя ни в коем случае.
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
1 | typedef int (*SERVER_GETBLENDINGINTERFACE) (int, struct sv_blending_interface_s **, struct engine_studio_api_s *, float (*)[3][4], float (*)[MAXSTUDIOBONES][3][4]); |
2 | extern "C" int __declspec( dllexport ) Server_GetBlendingInterface( int version, struct sv_blending_interface_s **ppinterface, struct engine_studio_api_s *pstudio, float (*rotationmatrix)[3][4], float (*bonetransform)[MAXSTUDIOBONES][3][4] ) |
3 | { |
4 | HMODULE h_Library; |
5 | h_Library = LoadLibrary("mp.dll"); |
6 | if ( !h_Library) |
7 | { |
8 | MessageBox( 0, "mp.DLL Not Found", "Error", MB_OK ); |
9 | } |
10 | static SERVER_GETBLENDINGINTERFACE other_Server_GetBlendingInterface = NULL; |
11 | static bool missing = FALSE; |
12 | // if the blending interface has been formerly reported as missing, give up |
13 | if (missing) |
14 | return (FALSE); |
15 | // do we NOT know if the blending interface is provided ? if so, look for its address |
16 | if (other_Server_GetBlendingInterface == NULL) |
17 | other_Server_GetBlendingInterface = (SERVER_GETBLENDINGINTERFACE) GetProcAddress (h_Library, "Server_GetBlendingInterface"); |
18 | // have we NOT found it ? |
19 | if (!other_Server_GetBlendingInterface) { |
20 | missing = TRUE; // then mark it as missing, no use to look for it again in the future |
21 | return (FALSE); // and give up |
22 | } |
23 | // else call the function that provides the blending interface on request |
24 | return ((other_Server_GetBlendingInterface) (version, ppinterface, pstudio, rotationmatrix, bonetransform)); |
25 | } |
Зачем это мне?
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Ну я, например, узреваю факт отсутствия вызова GiveFnptrsToDll.
__________________
marikcool
И что? Ты можешь дать мне слово коммуниста, что этот экспорт не юзает в своём таинственном внутреннем коде g_engfuncs?
__________________
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
__________________
My Projects: download page
F.A.Q по XashNT
Блог разработчика в телеграме
C:\DOCUME~1\C4C5~1\LOCALS~1\Temp\a33328if(72) : see declaration of 'size_t'
Временная зона GMT. Текущее время 11:24. | Страницы (11): « 1 [2] 3 4 5 6 » ... Последняя » Показать все 160 сообщений этой темы на одной странице |
На основе vBulletin версии 2.3.0
Авторское право © Jelsoft Enterprises Limited 2000 - 2002.
Дизайн и программирование: Crystice Softworks © 2005 - 2024