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 - NiLSPACE - 02-19-2013 got a fix for the /players command in console. it was actualy pretty simple. this is the function: function HandleConsolePlayers(Split) local PlayersInWorlds = {}; -- "WorldName" => [players array] local AddToTable = function(Player) local WorldName = Player:GetWorld():GetName(); if (PlayersInWorlds[WorldName] == nil) then PlayersInWorlds[WorldName] = {}; end table.insert(PlayersInWorlds[WorldName], Player:GetName() .. " " .. Player:GetIP()); end cRoot:Get():ForEachPlayer(AddToTable); for WorldName, Players in pairs(PlayersInWorlds) do LOG("World " .. WorldName .. ":"); for i, PlayerName in ipairs(Players) do LOG(" " .. PlayerName); end end return true; end RE: What we're doing - xoft - 02-20-2013 Told you it'd be easy Committed as rev 1220. RE: What we're doing - NiLSPACE - 02-20-2013 yes it was much easier than i tought RE: What we're doing - NiLSPACE - 02-22-2013 how to give people blocks with meta data with plugins? like jungle logs RE: What we're doing - xoft - 02-22-2013 Construct a proper cItem object to give. cItem constructor takes up to 3 parameters - type, count and damage (meta). RE: What we're doing - NiLSPACE - 02-22-2013 thanks i'l try that RE: What we're doing - NiLSPACE - 02-24-2013 Redcraft suddenly crashed while there were 4 players online. i don't have a detailed crashdump so i'm now waiting for the server to crash again here is the Log, Crashdump, Plugins, PDB's, .exe and the settings.ini: http://www.mediafire.com/?twldjii6botpki8 RE: What we're doing - xoft - 02-26-2013 Damn, I spent an hour writing AnvilStats module for decomposing Anvil files into individual chunks, when I found: 1, NBTEdit won't read those chunks because it doesn't support the new IntArray tag. 2, NBTExplorer, which can read all the new stuff, can also read Anvil files directly. RE: What we're doing - xoft - 02-26-2013 I'm stumped. The protocol documentation says ENTITY_VELOCITY packet measures velocity in 1/32000 blocks per tick (1/1600 blocks per second). Yet looking at the disassembled MC code looks like it's using 1/8000 blocks per tick (1/400 blocks per second). To top it off, ProtoProxy shows that the actual server comm sends really wild numbers - for a fully accelerated minecart on a power-rail loop, it will send values at about 10k (6.25 blocks per second by proto doc, 25 blocks per second by source). However, for a powered minecart that is going the same loop at the same speed it sends only values at about 3k (1.9 blocks per second by proto doc, 7.5 blocks per second by source). Now, a powered minecart going by its own force reports values about 1.3k (0.8 blocks per second by proto doc, 3.25 blocks per second by source). Now which one do I trust when implementing minecart support in MCServer?!? (02-24-2013, 10:04 PM)STR_Warrior Wrote: ... so i'm now waiting for the server to crash again ...You'll be waiting for some time to reproduce that. It's one of those hard-to-get timing bugs. It's caused by the server broadcasting a chat message right at the moment when a new player was logging in, their protocol was not yet recognized but they were already sent that chat. The protocol recognizer crashed, because it didn't know what to do with it. Strange thing is, the chat message shouldn't've been broadcast to that player, because they weren't yet logged in and we skip such players when broadcasting. I'll investigate more tomorrow. RE: What we're doing - NiLSPACE - 02-28-2013 thanks but i have another problem. with the OnPlayerPlacingBlock Hook the BlockType gives a random number but not the block the player placed. for example i placed some sand blocks(12) and the server responded with 9, 16 and 4. it seems it changes when the place of the hitbox changes. |