diff --git a/bot/bot.ncb b/bot/bot.ncb index cff0b9a..cc9038f 100644 Binary files a/bot/bot.ncb and b/bot/bot.ncb differ diff --git a/bot/bot.suo b/bot/bot.suo index a6404f0..e6ec36e 100644 Binary files a/bot/bot.suo and b/bot/bot.suo differ diff --git a/bot/bot.vcproj b/bot/bot.vcproj index 42b4eed..a101270 100644 --- a/bot/bot.vcproj +++ b/bot/bot.vcproj @@ -119,6 +119,19 @@ + + + + + + + + + @@ -129,9 +142,21 @@ + + + + + + + + diff --git a/bot/net/playerpool.cpp b/bot/net/playerpool.cpp new file mode 100644 index 0000000..840a492 --- /dev/null +++ b/bot/net/playerpool.cpp @@ -0,0 +1,14 @@ + +#include "playerpool.h" + +CPlayerPool::CPlayerPool() +{ + // TODO: CPlayerPool::CPlayerPool W: 004196A0 L: 080B1F4E + field_7163 = 0; + field_8107 = 0; + for(unsigned short i = 0; i < 1000; i++) { + field_0[i] = 0; + field_7167[i] = 0; + field_810B[i] = 0; + } +} diff --git a/bot/net/playerpool.h b/bot/net/playerpool.h new file mode 100644 index 0000000..60fb7a1 --- /dev/null +++ b/bot/net/playerpool.h @@ -0,0 +1,15 @@ + +class CPlayerPool // size: 41035 +{ +private: + int field_0[1000]; + char _gapFA0[25027]; + int field_7163; + int field_7167[1000]; + int field_8107; + int field_810B[1000]; + char gap90AB[4000]; + +public: + CPlayerPool(); +}; \ No newline at end of file diff --git a/bot/net/vehiclepool.cpp b/bot/net/vehiclepool.cpp new file mode 100644 index 0000000..296c477 --- /dev/null +++ b/bot/net/vehiclepool.cpp @@ -0,0 +1,10 @@ + +#include "vehiclepool.h" + +CVehiclePool::CVehiclePool() +{ + // TODO: CVehiclePool::CVehiclePool W: 0041A890 L: 080B9408 + for(unsigned short i = 0; i < 2000; i++) { + field_84D0[i] = 0; + } +} diff --git a/bot/net/vehiclepool.h b/bot/net/vehiclepool.h new file mode 100644 index 0000000..c4db422 --- /dev/null +++ b/bot/net/vehiclepool.h @@ -0,0 +1,11 @@ + +class CVehiclePool // size: 114000 +{ +private: + char _gap0[34000]; + int field_84D0[2000]; + char _gapA410[72000]; + +public: + CVehiclePool(); +}; diff --git a/bot/npcmode.cpp b/bot/npcmode.cpp new file mode 100644 index 0000000..c6d0f6f --- /dev/null +++ b/bot/npcmode.cpp @@ -0,0 +1,12 @@ + +// Now the question is, is this called CGameMode or something else? +// It is basically the same as what the server has with minor differences + +#include "npcmode.h" + +CNPCMode::CNPCMode() +{ + // TODO: CNPCMode::CNPCMode W: 0041A9C0 L: 080A940C + field_68 = 0; + field_69 = 0; +} diff --git a/bot/npcmode.h b/bot/npcmode.h new file mode 100644 index 0000000..d4e5fd0 --- /dev/null +++ b/bot/npcmode.h @@ -0,0 +1,12 @@ + +class CNPCMode // size: 110 +{ +private: + char _gap0[104]; + char field_68; + char field_69; + float field_6A; + +public: + CNPCMode(); +}; \ No newline at end of file diff --git a/bot/scrtimers.cpp b/bot/scrtimers.cpp new file mode 100644 index 0000000..4a6e4f0 --- /dev/null +++ b/bot/scrtimers.cpp @@ -0,0 +1,7 @@ + +#include "scrtimers.h" + +CScriptTimers::CScriptTimers() +{ + // TODO: CScriptTimers::CScriptTimers W: 0041D700 L: 080B8036 +} diff --git a/bot/scrtimers.h b/bot/scrtimers.h new file mode 100644 index 0000000..4bb0c98 --- /dev/null +++ b/bot/scrtimers.h @@ -0,0 +1,7 @@ + +class CScriptTimers // size W 16/L 25 +{ +private: +public: + CScriptTimers(); +}; \ No newline at end of file