Commit Graph

139 Commits

Author SHA1 Message Date
RD42
843b2406bf [bot] Implement InitGame(...) 2024-06-03 22:51:04 +08:00
RD42
aca41ed816 [bot] Implement ServerQuit(...) 2024-06-02 22:55:46 +08:00
RD42
5e09558960 [bot] Implement Chat(...) 2024-06-02 22:50:20 +08:00
RD42
4e071895a3 [bot] Include malloc.h
Required for amx_StrParam
2024-06-02 22:44:56 +08:00
RD42
b1b133c526 [bot] Change project settings
* Disable buffer security check

* Change structure alignment to 1 byte

*  Set runtime library to multi-threaded
2024-06-02 22:42:52 +08:00
RD42
05e65e3d17 [bot] Implement ScrSetSpawnInfo(...) 2024-06-02 22:36:16 +08:00
RD42
1b58865926 [bot] Implement ScrDisplayGameText(...) 2024-06-02 22:21:36 +08:00
RD42
7714efcbee [bot] Match MatrixToQuaternion 2024-06-02 22:16:54 +08:00
RD42
2d0918379d [bot] Match logprintf(...) 2024-06-02 22:16:11 +08:00
RD42
ed70116c80 [bot] Implement CNetGame::Packet_InvalidPassword(...) 2024-06-01 20:35:12 +08:00
RD42
509c89ca5f [bot] Implement CNetGame::Packet_ConnectionLost(...) 2024-06-01 20:34:10 +08:00
RD42
80c6ceb1fc [bot] Update CNetGame::Packet_DisconnectionNotification(...) 2024-06-01 20:32:29 +08:00
RD42
f05b44f0a7 [bot] Implement CNetGame::Packet_NoFreeIncomingConnections(...) 2024-06-01 20:10:45 +08:00
RD42
3eacf10755 [bot] Implement CNetGame::Packet_ConnectionRequestAccepted(...) 2024-06-01 20:09:10 +08:00
RD42
ccf7c032d9 [bot] Update CNetGame::Packet_ConnectionBanned(...) 2024-06-01 20:04:15 +08:00
RD42
23f4c008a9 [bot] Implement CNetGame::Packet_RSAPublicKeyMismatch(...) 2024-06-01 19:59:47 +08:00
RD42
6e7af2874d [bot] Implement ClientMessage(...)
* Make the szText parameter unsigned char pointer for `CGameMode::OnClientMessage(...)`
2024-06-01 19:50:36 +08:00
RD42
fc879a6fdc [bot] Implement ConnectionRejected(...)
* Update SAMPRPC.h

* Update `RegisterRPCs(...)`

* Update `UnRegisterRPCs(...)`
2024-06-01 19:43:12 +08:00
RD42
72ab40c2e2 [bot] Implement CNetGame::Packet_ConnectAttemptFailed(...)
* Update `CNetGame::UpdateNetwork()`
2024-06-01 18:44:36 +08:00
RD42
e4770acd44 [bot] Implement n_IsPlayerConnected(...) 2024-06-01 18:40:37 +08:00
RD42
0e726e656e [bot] Implement n_StopRecordingPlayback(...) 2024-06-01 18:37:04 +08:00
RD42
67790e55f5 [bot] Implement CNetGame::ResetPlayerPool() 2024-06-01 18:35:59 +08:00
RD42
9a61b24a2f [bot] Implement GameModeRestart(...)
* Implement `CNetGame::ShutdownForGameModeRestart()`

* Implement `CPlayerPool::Process()`

* Implement `CNetGame::ResetVehiclePool()`

* Implement `CNetGame::StopRecordingPlayback()`
2024-06-01 18:30:44 +08:00
RD42
271fa1844e [bot] Implement SvrStats(...) 2024-06-01 17:52:11 +08:00
RD42
a817a56c7b [bot] Implement n_printf(...) 2024-05-31 23:08:45 +08:00
RD42
bd29ad78ec [bot] Implement n_print(...) 2024-05-31 23:08:29 +08:00
RD42
663c0fe374 [bot] Implement n_GetTickCount(...) 2024-05-31 23:07:44 +08:00
RD42
bbfa58c5ec [bot] Implement n_atan2(...) 2024-05-31 23:07:24 +08:00
RD42
1af18eab0c [bot] Implement n_atan(...) 2024-05-31 23:07:10 +08:00
RD42
346395ee49 [bot] Implement n_acos(...) 2024-05-31 23:06:56 +08:00
RD42
45c64be31d [bot] Implement n_asin(...) 2024-05-31 23:06:27 +08:00
RD42
59923266b8 [bot] Implement math util functions 2024-05-31 23:03:37 +08:00
RD42
2a1e452c6d [bot] Move scripting sources to a new filter 2024-05-31 23:00:10 +08:00
RD42
b1402decf8 [bot] Update project GUID 2024-05-31 22:57:15 +08:00
RD42
b1c34872bf [bot] Implement CNetGame::Packet_ConnectionSucceeded(...) 2024-05-17 22:48:32 +08:00
RD42
5f90bc9633 [bot] Implement CNetGame::Packet_DisconnectionNotification(...) 2024-05-10 22:20:46 +08:00
RD42
5b4c02f33b [bot] Implement CNetGame::Packet_ConnectionBanned(...) 2024-05-10 22:20:05 +08:00
RD42
362480c54e [bot/saco/server] Rename static RPC functions 2024-04-28 21:00:12 +08:00
RD42
8b8827405f [bot] Implement CNetGame::Packet_PassengerSync(...) 2024-04-25 22:33:18 +08:00
RD42
4358eea329 [bot] Implement CNetGame::Packet_TrailerSync(...) 2024-04-25 22:20:29 +08:00
RD42
9be2b5e019 [bot] Implement CNetGame::Packet_AimSync(...) 2024-04-25 22:19:11 +08:00
RD42
16439ae77d [bot] Implement CNetGame::Packet_ModifiedPacket(...)
* Add `CNetGame::UpdateNetwork()`
* Update `CNetGame::Process()`
2024-04-25 22:14:30 +08:00
RD42
9c94cab39f [bot] Implement CNetGame::Init(...) 2024-04-25 22:10:37 +08:00
RD42
002330f840 [bot] Implement GetPacketID(...) 2024-04-24 22:36:46 +08:00
RD42
16635b4ea0 [bot] Implement GetElapsedTime() 2024-04-24 22:15:44 +08:00
RD42
f775572598 Remove and ignore .aps files 2024-04-24 22:14:31 +08:00
RD42
ae590d171c [bot/saco/server] Update CNetGame constructor 2024-04-23 22:44:38 +08:00
RD42
d1451f9529 [bot/saco/server] Implement SocketDataEncryptor functions 2024-04-23 22:07:28 +08:00
RD42
f21756f285 Remove and ignore .ncb and .suo files 2024-04-18 22:27:21 +08:00
RD42
920b0a1f6e [bot] Fix compilation errors 2024-03-22 23:33:16 +08:00
RD42
abced1233f [bot] Implement CGameMode::Load 2024-03-14 23:27:32 +08:00
RD42
d8b5f00912 [bot] Implement CGameMode::Unload 2024-03-14 23:26:41 +08:00
RD42
a3810144d1 [bot] Implement CNetGame destructor
* Implements CScriptTimers destructor
* Implements `CScriptTimers::FreeMem`
* Implements CPlayerPool destructor
* Implements `CPlayerPool::Delete`
* Implements `CNetGame::sub_415EA0`
* Implements CVehiclePool destructor
* Implements `CVehiclePool::Delete`
* Implements ` CNetGame::sub_415EC0`
2024-03-14 23:24:26 +08:00
RD42
98f93f88bb [bot] Scripting function stubs 2024-03-12 23:46:02 +08:00
RD42
32ff566af7 [bot] Update CGameMode::Unload() 2024-02-21 19:45:27 +08:00
RD42
1bdaff6125 [bot] Add CGameMode::Load(...) 2024-02-21 19:44:43 +08:00
RD42
03cc592835 Fix building errors 2024-02-14 22:51:29 +08:00
RD42
854f890108 [saco/server/bot] Add and match RakNet Rand functions 2024-02-04 19:26:33 +08:00
RD42
4ceb300a75 [saco/server/bot] Add and match RakNet SHA1 2024-02-04 19:23:08 +08:00
RD42
0a99004615 [server/bot] Add and match amxfloat.c functions 2024-02-04 19:18:38 +08:00
RD42
7c011b0ba7 [server/bot] Add and match amxtime.c functions 2024-02-04 19:15:17 +08:00
RD42
22f307fd3a [bot] Add RakNet source files to the project 2024-01-31 23:40:06 +08:00
RD42
9e8336b3e5 [bot] Implement all CGameMode script callbacks 2024-01-30 22:04:49 +08:00
RD42
94e372378f [bot] Implement CGameMode::Frame() 2024-01-30 22:02:40 +08:00
RD42
0d0d4bb6af [bot] Implement CGameMode ctor/dtor 2024-01-30 21:58:10 +08:00
RD42
30614e0b23 [bot] Implement CScriptTimers ctor 2024-01-30 21:52:00 +08:00
RD42
3a3b19d8fc [bot] Implement few script core functions
* Implements aux_LoadProgram()
* Implements aux_LoadProgramFromMemory()
* Implements aux_FreeProgram()
* Implements aux_StrError()
* Implements AMXPrintError()
2024-01-30 21:49:10 +08:00
RD42
38ce3c1439 [bot] Update CNetGame dtor 2024-01-29 19:36:08 +08:00
RD42
5d2ef1c982 [bot] Remove TODO from main() 2024-01-29 19:35:03 +08:00
RD42
36b3248d12 [bot] Update main() 2024-01-29 19:34:27 +08:00
RD42
00b4c91686 [bot] Rename CNPCMode to CGameMode 2024-01-19 23:19:26 +08:00
RD42
ec63982f4d [bot] Update CNetGame::Init 2024-01-15 23:53:36 +08:00
RD42
7e0bd528fa [bot] Update CVehiclePool ctor 2024-01-15 23:52:08 +08:00
RD42
93fd944b72 [bot] Update CPlayerPool ctor 2024-01-15 23:51:39 +08:00
RD42
36540d90e8 [bot] Implement RegisterScriptRPCs and UnRegisterScriptRPCs 2024-01-14 22:53:06 +08:00
RD42
9f3ed4158d [bot] Implement RegisterRPCs and UnRegisterRPCs 2024-01-14 22:51:51 +08:00
RD42
95f7eabf40 [bot] Remove comments in main.cpp 2024-01-05 23:35:33 +08:00
RD42
62d42f2c5e [bot] Implement CPlayerPool::SetLocalPlayerName 2024-01-05 23:34:53 +08:00
RD42
21b74604ef [bot] Rename sub_80AC0BE to GetTickCount 2023-12-18 23:27:45 +08:00
RD42
37bc99154a [bot] Implement SignalHandler, GetTickCount, strlwr 2023-12-18 23:26:11 +08:00
RD42
e661820274 [bot] Update CNetGame::Init() 2023-11-18 00:00:52 +08:00
RD42
ba1294ad03 [bot] Add few classes 2023-10-31 21:31:16 +08:00
RD42
f0516a9467 [bot] Add few CNetGame stubs 2023-10-22 17:08:53 +08:00
RD42
af4346b14b [bot] Implement command line parser 2023-10-22 01:43:00 +08:00
RD42
cb9cd260d5 [bot] Change output file to samp-npc.exe 2023-10-21 16:48:25 +08:00
RD42
60794ec1d3 [bot] Missing resource.h 2023-10-21 00:48:50 +08:00
RD42
aed737c721 [bot] Add version info resource 2023-10-20 08:05:57 +08:00
RD42
55074045ae [bot] Remove file filters 2023-10-20 08:03:08 +08:00
RD42
1977c44628 Create VC2003 project for bot/npc 2023-10-19 02:01:59 +02:00