This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void SocketWorker::process() | |
| { | |
| if(!webSocket) | |
| { | |
| webSocket = new QWebSocket; | |
| connect(webSocket, &QWebSocket::disconnected, this, &SocketWorker::finished); | |
| } | |
| disconnect(webSocket, &QWebSocket::textFrameReceived, nullptr, nullptr); | |
| disconnect(webSocket, &QWebSocket::textMessageReceived, nullptr, nullptr); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################# | |
| export sqlitever=3150200 | |
| export luatarget=linux #linux mingw | |
| export luasqltargets="sqlite3 mysql" | |
| ################################################# | |
| git clone https://github.com/keplerproject/luasql | |
| mkdir -p downloads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source build_env.sh | |
| ./clone-or-rebase.sh https://github.com/TES3MP/RakNet RakNet | |
| mkdir ./RakNet/build | |
| cd ./RakNet/build | |
| cmake CMAKE_INSTALL_PREFIX=$RPI_ROOT/libs -DRAKNET_ENABLE_SAMPLES=False -DRAKNET_ENABLE_DLL=False .. | |
| make -j4 install | |
| cd ../.. | |
| ./clone-or-rebase.sh https://github.com/TES3MP/openmw-tes3mp openmw-tes3mp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [URL] | |
| Protocol=postal2 | |
| ProtocolDescription=Postal2 Protocol | |
| Name=Player | |
| Map=Index.fuk | |
| LocalMap=Startup.fuk | |
| Host= | |
| Portal= | |
| MapExt=fuk | |
| EXEName=Postal2.exe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function OnPlayerSendMessage(pid, message) | |
| local pname = tes3mp.GetName(pid) | |
| print(pname.."("..pid.."): "..message) | |
| if myMod.OnPlayerMessage(pid, message) == 0 then | |
| return 0 | |
| end | |
| if message:sub(1,1) == '/' then | |
| local cmd = (message:sub(2, #message)):split(" ") |