632d31b
dont modify map channel list while going through it - 12pmasync fn index(path: web::Path<(String, String)>, json: web::Json<MyInfo>) -> impl Responder {
let path = path.into_inner();
format!("{} {} {} {}", path.0, path.1, json.id, json.username)
}
mingw32-make --version
? (edited)cmake -G "MinGW Makefiles" ..
cmake --build . --target DDNet-Server
(edited)C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c: At top level:
cc1.exe: warning: unrecognized command line option '-Wno-nullability-completeness'
CMakeFiles\engine-shared.dir\build.make:774: recipe for target 'CMakeFiles/engine-shared.dir/src/base/system.c.obj' failed
mingw32-make.exe[3]: *** [CMakeFiles/engine-shared.dir/src/base/system.c.obj] Error 1
CMakeFiles\Makefile2:432: recipe for target 'CMakeFiles/engine-shared.dir/all' failed
mingw32-make.exe[2]: *** [CMakeFiles/engine-shared.dir/all] Error 2
CMakeFiles\Makefile2:558: recipe for target 'CMakeFiles/DDNet-Server.dir/rule' failed
mingw32-make.exe[1]: *** [CMakeFiles/DDNet-Server.dir/rule] Error 2
Makefile:357: recipe for target 'DDNet-Server' failed
mingw32-make.exe: *** [DDNet-Server] Error 2
C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:20: error: expected ';' before 'ShellExecuteA'
C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:10: error: 'uintptr_t' undeclared (first use in this function)
C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3395:1: warning: control reaches end of non-void function [-Wreturn-type]
this is alls error i see look, this started to crash here (edited)error: expected ';' before 'ShellExecuteA'
ah, that's the problem#include <stdint.h>
to the top of src/base/system.cvoid IGameController::OnCharacterSpawn(class CCharacter *pChr)
{
// default health
pChr->IncreaseHealth(10);
// give default weapons
pChr->GiveWeapon(WEAPON_HAMMER);
pChr->GiveWeapon(WEAPON_GUN);
}
to that
void IGameController::OnCharacterSpawn(class CCharacter *pChr)
{
// default health
pChr->IncreaseHealth(10);
// give default weapons
pChr->GiveWeapon(WEAPON_HAMMER);
pChr->GiveWeapon(WEAPON_GUN);
pChr->GiveWeapon(WEAPON_SHOTGUN);
pChr->GiveWeapon(WEAPON_GRENADE);
pChr->GiveWeapon(WEAPON_LASER);
}
(edited)CHAT_COMMAND("weapons", "", CFGFLAG_CHAT | CFGFLAG_SERVER, ConWeapons, this, "u have weapons nooby")