TenPlus1 wrote:Hybrid, I've been using such a technique for Xanadu server so that when a player moves outside 30000 in all directions they will be teleported back to spawn... Works fine so long as you move them before it hits the map limits...
TenPlus1 wrote:[hit] meaning I teleport the player back to spawn when they go over 30,000 instead of waiting for the 31,000 max limit...
======== Testing module TestAreaStore
[PASS] testVectorStore - 1ms
======== Module TestAreaStore passed (0 failures / 1 tests) - 1ms
======== Testing module TestCollision
[PASS] testAxisAlignedCollision - 0ms
======== Module TestCollision passed (0 failures / 1 tests) - 0ms
======== Testing module TestCompression
[PASS] testRLECompression - 1ms
[PASS] testZlibCompression - 0ms
[PASS] testZlibLargeData - 11ms
======== Module TestCompression passed (0 failures / 3 tests) - 13ms
======== Testing module TestConnection
[PASS] testHelpers - 0ms
[PASS] testConnectSendReceive - 595ms
======== Module TestConnection passed (0 failures / 2 tests) - 595ms
======== Testing module TestFilePath
[PASS] testIsDirDelimiter - 0ms
[PASS] testPathStartsWith - 0ms
[PASS] testRemoveLastPathComponent - 0ms
[PASS] testRemoveLastPathComponentWithTrailingDelimiter - 0ms
[PASS] testRemoveRelativePathComponent - 1ms
======== Module TestFilePath passed (0 failures / 5 tests) - 1ms
======== Testing module TestInventory
[PASS] testSerializeDeserialize - 0ms
======== Module TestInventory passed (0 failures / 1 tests) - 0ms
======== Testing module TestMapNode
[PASS] testNodeProperties - 1ms
======== Module TestMapNode passed (0 failures / 1 tests) - 1ms
======== Testing module TestNodeDef
[PASS] testContentFeaturesSerialization - 0ms
======== Module TestNodeDef passed (0 failures / 1 tests) - 0ms
======== Testing module TestNodeResolver
[PASS] testNodeResolving - 1ms
[PASS] testPendingResolveCancellation - 0ms
======== Module TestNodeResolver passed (0 failures / 2 tests) - 2ms
======== Testing module TestNoise
[PASS] testNoise2dPoint - 0ms
[PASS] testNoise2dBulk - 1ms
[PASS] testNoise3dPoint - 1ms
[PASS] testNoise3dBulk - 1ms
[PASS] testNoiseInvalidParams - 1ms
======== Module TestNoise passed (0 failures / 5 tests) - 4ms
======== Testing module TestObjDef
[PASS] testHandles - 0ms
[PASS] testAddGetSetClear - 1ms
======== Module TestObjDef passed (0 failures / 2 tests) - 9ms
======== Testing module TestProfiler
[PASS] testProfilerAverage - 0ms
======== Module TestProfiler passed (0 failures / 1 tests) - 0ms
======== Testing module TestRandom
[PASS] testPseudoRandom - 0ms
[PASS] testPseudoRandomRange - 2ms
[PASS] testPcgRandom - 0ms
[PASS] testPcgRandomRange - 3ms
[PASS] testPcgRandomBytes - 0ms
[PASS] testPcgRandomNormalDist - 92ms
======== Module TestRandom passed (0 failures / 6 tests) - 99ms
======== Testing module TestSchematic
[PASS] testMtsSerializeDeserialize - 1ms
[PASS] testLuaTableSerialize - 0ms
[PASS] testFileSerializeDeserialize - 1ms
======== Module TestSchematic passed (0 failures / 3 tests) - 4ms
======== Testing module TestSerialization
[PASS] testSerializeString - 0ms
[PASS] testDeSerializeString - 0ms
[PASS] testSerializeWideString - 0ms
[PASS] testDeSerializeWideString - 1ms
[PASS] testSerializeLongString - 0ms
[PASS] testDeSerializeLongString - 0ms
[PASS] testSerializeJsonString - 1ms
[PASS] testSerializeHex - 0ms
Test assertion failed: readF1000(is) == 53.534f
at test_serialization.cpp:299
[FAIL] testStreamRead - 0ms
[PASS] testStreamWrite - 0ms
======== Module TestSerialization failed (1 failures / 10 tests) - 3ms
======== Testing module TestSettings
[PASS] testAllSettings - 4ms
======== Module TestSettings passed (0 failures / 1 tests) - 4ms
======== Testing module TestSocket
[PASS] testIPv4Socket - 51ms
[PASS] testIPv6Socket - 50ms
======== Module TestSocket passed (0 failures / 2 tests) - 101ms
======== Testing module TestThreading
[PASS] testAtomicSemaphoreThread - 15ms
======== Module TestThreading passed (0 failures / 1 tests) - 15ms
======== Testing module TestUtilities
[PASS] testAngleWrapAround - 8ms
[PASS] testLowercase - 0ms
[PASS] testTrim - 0ms
[PASS] testIsYes - 0ms
[PASS] testRemoveStringEnd - 0ms
[PASS] testUrlEncode - 0ms
[PASS] testUrlDecode - 0ms
[PASS] testPadString - 0ms
[PASS] testStartsWith - 0ms
[PASS] testStrEqual - 0ms
[PASS] testStringTrim - 0ms
[PASS] testStrToIntConversion - 0ms
[PASS] testStringReplace - 0ms
[PASS] testStringAllowed - 0ms
[PASS] testUTF8 - 0ms
[PASS] testWrapRows - 0ms
[PASS] testIsNumber - 0ms
[PASS] testIsPowerOfTwo - 0ms
[PASS] testMyround - 0ms
======== Module TestUtilities passed (0 failures / 19 tests) - 10ms
======== Testing module TestVoxelAlgorithms
[PASS] testPropogateSunlight - 0ms
[PASS] testClearLightAndCollectSources - 0ms
======== Module TestVoxelAlgorithms passed (0 failures / 2 tests) - 0ms
======== Testing module TestVoxelManipulator
[PASS] testVoxelArea - 1ms
[PASS] testVoxelManipulator - 0ms
======== Module TestVoxelManipulator passed (0 failures / 2 tests) - 5ms
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Unit Test Results: FAILED
1 / 21 failed modules (1 / 71 failed individual tests).
Testing took 902ms total.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Abgebrochen
Users browsing this forum: Bing [Bot] and 7 guests