Using the following code I consistently get a crash
RestCallback callback = new RestCallback; RestContext context = GetGame().GetRestApi().GetContext("localhost:3000/"); context.GET(callback,"playerPosition");
Using the following code I consistently get a crash
RestCallback callback = new RestCallback; RestContext context = GetGame().GetRestApi().GetContext("localhost:3000/"); context.GET(callback,"playerPosition");
Added the above code to the on player spawned event
Program: Y:\SteamLibrary\steamapps\common\Arma Reforger Tools\Workbench\ArmaReforgerWorkbench.exe Reason: Access violation. Illegal read by 0x7ff706f89db6 at 0xffffffffffffffff Class: 'GameMode_Plain1_Class' Entity name:'GameMode_Plain1' id:2305843009213693957 Function: 'OnPlayerSpawned' Stack trace: worldEntities/GameMode_Plain1:18 Function OnPlayerSpawned scripts/Game/GameMode/Respawn/SCR_AutomaticRespawnHandlerComponent.c:81 Function EOnFrame [zlibVersion]: ??? addr:0x7ff706f89db6 [zlibVersion]: ??? addr:0x7ff706a3a3d8 [zlibVersion]: ??? addr:0x7ff706a36738 [zlibVersion]: ??? addr:0x7ff706a36f86 [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff705bceeec [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff705ab252c [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff705b3a59f [zlibVersion]: ??? addr:0x7ff706e69855 [zlibVersion]: ??? addr:0x7ff706e789da [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff705a5437d [zlibVersion]: ??? addr:0x7ff706f8a418 [zlibVersion]: ??? addr:0x7ff706a3a3d8 [zlibVersion]: ??? addr:0x7ff706a36738 [zlibVersion]: ??? addr:0x7ff706a36e8f [zlibVersion]: ??? addr:0x7ff7068dfadc [zlibVersion]: ??? addr:0x7ff706bfa787 [zlibVersion]: ??? addr:0x7ff706bfad13 [zlibVersion]: ??? addr:0x7ff706b571b8 [zlibVersion]: ??? addr:0x7ff7067d5004 [zlibVersion]: ??? addr:0x7ff706e9388d [zlibVersion]: ??? addr:0x7ff706e95330 [zlibVersion]: ??? addr:0x7ff7066fb455 [zlibVersion]: ??? addr:0x7ff706710e0d [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff7055bc651 [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff7054f0acb [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff7054f7f4c [QApplicationPrivate::notify_helper]: ??? addr:0x7ffa7628757d [QApplication::notify]: ??? addr:0x7ffa7628551f [QCoreApplication::notifyInternal2]: ??? addr:0x7ffa59ed9b19 [QCoreApplicationPrivate::sendPostedEvents]: ??? addr:0x7ffa59edc0a9 [qt_plugin_query_metadata]: ??? addr:0x7ffab7c5306f [QEventDispatcherWin32::processEvents]: ??? addr:0x7ffa59f26fb7 [qt_plugin_query_metadata]: ??? addr:0x7ffab7c53049 [QEventLoop::exec]: ??? addr:0x7ffa59ed59c1 [QCoreApplication::exec]: ??? addr:0x7ffa59ed880b [nvtt::CubeSurface::toGamma]: ??? addr:0x7ff70547cbfa [zlibVersion]: ??? addr:0x7ff7075147a7 [zlibVersion]: ??? addr:0x7ff70750f71e [BaseThreadInitThunk]: ??? addr:0x7ffb2253244d [RtlUserThreadStart]: ??? addr:0x7ffb233adf88 [RtlUserThreadStart]: ??? addr:0x7ffb233adf88 (Press Retry to debug the application - debugger must be attached) Workbench mode