Random Chitchat 2012-2016 - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html) +--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html) +--- Thread: Random Chitchat 2012-2016 (/thread-434.html) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
|
RE: What we're doing - xoft - 01-03-2014 Frankly, I have no idea what tolua.setpeer() does, it is not exported by MCS, but rather by the Tolua++ glue code generator itself. You cannot read other plugins' memory at all. 1. Each plugin runs in a separate Lua context, there's no way to leave a context in a plugin; the cPlugin:Call() function actually copies stuff from one context to the other in order to make the call. 2. Even if you did have a way of reading other plugins' memory, you couldn't use it because potentially the plugins may run in parallel - for example one plugin serving a webadmin page while the other is ticking the world. You know what happens in thread-unsafe accesses, right? (01-03-2014, 08:50 AM)ThuGie Wrote: Just wondering, but what is currently stopping us from, creating a plugin that handles end portals + nether portals ? End portals should be okay. Nether portals are currently probably not possible for one simple reason - they require the player to be in some kind of "limbo" while the world around them gets generated and *then* the portal gets placed. MCS doesn't yet have the concept of this limbo, players in MCS need to always have specific coordinates in a world and then all the physics from the surroundings is applied to them. Another sub-reason is that plugins cannot force MCS to keep chunks in memory so that they can look for a suitable portal placement. A special class, cChunkStay, is used in MCS code, but it's not available in the API (yet?) RE: What we're doing - tonibm19 - 01-05-2014 I'm amazed of what can a 128mb server do. MCPC (bukkit + forge) with MoCreatures, 2 players, and no lag. RE: What we're doing - bearbin - 01-05-2014 I assume your tickrate will be terrible and you are swapping, but cool RE: What we're doing - tonibm19 - 01-05-2014 19-20 tps, swapping of course. RE: What we're doing - tonibm19 - 01-05-2014 20 tps, 3 mods, java 8. RE: What we're doing - xoft - 01-06-2014 We seem to have broken OhLoh - it currently lists languages used in MCServer include "DOS batch script" as having -22 lines. How can we have a negative number of lines? https://www.ohloh.net/p/mc-server/analyses/latest/languages_summary RE: What we're doing - bearbin - 01-06-2014 Derp. What is ohloh btw? RE: What we're doing - ThuGie - 01-06-2014 Btw xoft, is it not possible to give the server a option to choose zlib compression level, aka 1 = fast compress high bandwidth, 9 = slow compress, low bandwidth ? Or even compression strategy ? compress2 does now give you access to it but altering zlib code itself its quite easy to change it. I wanted to mess with it see the big differences as on mc classic RLE strategy gives a huge gain in speed and lower bandwidth as well. Even if current map format is really different, compress speed and map size might still have some gains, also would defining FASTEST give any improvement ? Some sample of a guy using FASTEST http://mail.madler.net/pipermail/zlib-devel_madler.net/2011-November/002674.html RE: What we're doing - xoft - 01-06-2014 (01-06-2014, 05:21 AM)bearbin Wrote: What is ohloh btw? It mostly calculates statistics related to the code size, languages etc. Also has kind of a "ranking" system for all the developers - when you create an account there, it calculates all the code you've written and how the community sees you (you can give people "kudos"). I enrolled MCS mainly to see the code statistics. (01-06-2014, 05:40 AM)ThuGie Wrote: Btw xoft, is it not possible to give the server a option to choose zlib compression [...] Interesting thought, I've never considered it, but it could be done, theoretically. Both for the network protocol and for the world storage. The network data is compressed in the ChunkDataSerializer: $/src/Protocol/ChunkDataSerializer.* and the level parameter is directly changeable there compile-time, if you want to experiment. The world storage uses StringCompression for the actual compressions, you might need to add a parameter to the CompressString() function to allow setting the compression level. RE: What we're doing - ThuGie - 01-06-2014 How about the strategy, and FASTEST ? Btw where its located etc i already know, been messing with it, but compiling takes so long.. |