jdev - 2021-11-16


  1. dezant has left
  2. Kev has left
  3. Kev has joined
  4. dezant has joined
  5. qrpnxz has left
  6. qrpnxz has joined
  7. junaid has joined
  8. qrpnxz has left
  9. qrpnxz has joined
  10. qrpnxz has left
  11. qrpnxz has joined
  12. qrpnxz has left
  13. qrpnxz has joined
  14. emus has left
  15. Kev has left
  16. Kev has joined
  17. qrpnxz has left
  18. qrpnxz has joined
  19. Kev has left
  20. qrpnxz has left
  21. qrpnxz has joined
  22. qrpnxz has left
  23. qrpnxz has joined
  24. Kev has joined
  25. Kev has left
  26. Kev has joined
  27. dezant has left
  28. dezant has joined
  29. Kev has left
  30. Kev has joined
  31. Kev has left
  32. debacle has left
  33. Kev has joined
  34. Kev has left
  35. Kev has joined
  36. Kev has left
  37. Kev has joined
  38. sonny has left
  39. sonny has joined
  40. sonny has left
  41. Kev has left
  42. sonny has joined
  43. Kev has joined
  44. Kev has left
  45. Kev has joined
  46. Kev has left
  47. Kev has joined
  48. raghavgururajan has joined
  49. hiran has left
  50. raghavgururajan has left
  51. marc0s has left
  52. marc0s has joined
  53. Pete has left
  54. Pete has joined
  55. dezant has left
  56. Yagizа has joined
  57. dezant has joined
  58. antranigv has left
  59. antranigv has joined
  60. junaid has left
  61. Kev has left
  62. Kev has joined
  63. junaid has joined
  64. antranigv has left
  65. Kev has left
  66. dezant has left
  67. Kev has joined
  68. antranigv has joined
  69. phikoen has left
  70. phikoen has joined
  71. atomicwatch has joined
  72. antranigv has left
  73. sonny has left
  74. sonny has joined
  75. antranigv has joined
  76. Kev has left
  77. Kev has joined
  78. Apollo has left
  79. Apollo has joined
  80. goffi has joined
  81. me9 has joined
  82. dezant has joined
  83. moparisthebest has left
  84. pasdesushi has joined
  85. atomicwatch has left
  86. jubalh has left
  87. moparisthebest has joined
  88. raghavgururajan has joined
  89. raghavgururajan has left
  90. antranigv has left
  91. goffi has left
  92. goffi has joined
  93. dezant has left
  94. wurstsalat has joined
  95. me9 has left
  96. msavoritias has joined
  97. jgart has left
  98. jubalh has joined
  99. emus has joined
  100. Syndace has left
  101. Syndace has joined
  102. lovetox has left
  103. mac has joined
  104. qrpnxz has left
  105. qrpnxz has joined
  106. atomicwatch has joined
  107. lovetox has joined
  108. antranigv has joined
  109. Kev has left
  110. goffi has left
  111. goffi has joined
  112. Kev has joined
  113. Trbl has joined
  114. goffi has left
  115. jubalh has left
  116. goffi has joined
  117. jgart has joined
  118. pulkomandy has left
  119. pulkomandy has joined
  120. SouL has left
  121. pulkomandy has left
  122. sonny has left
  123. sonny has joined
  124. sonny has left
  125. sonny has joined
  126. sonny has left
  127. sonny has joined
  128. sonny has left
  129. sonny has joined
  130. antranigv has left
  131. antranigv has joined
  132. sonny has left
  133. sonny has joined
  134. sonny has left
  135. sonny has joined
  136. antranigv has left
  137. qrpnxz has left
  138. qrpnxz has joined
  139. Martin has left
  140. Martin has joined
  141. qrpnxz has left
  142. qrpnxz has joined
  143. qrpnxz has left
  144. qrpnxz has joined
  145. qrpnxz has left
  146. qrpnxz has joined
  147. qrpnxz has left
  148. qrpnxz has joined
  149. qrpnxz has left
  150. qrpnxz has joined
  151. qrpnxz has left
  152. qrpnxz has joined
  153. qrpnxz has left
  154. qrpnxz has joined
  155. qrpnxz has left
  156. qrpnxz has joined
  157. qrpnxz has left
  158. qrpnxz has joined
  159. qrpnxz has left
  160. qrpnxz has joined
  161. goffi has left
  162. goffi has joined
  163. SouL has joined
  164. qrpnxz has left
  165. mac has left
  166. qrpnxz has joined
  167. qrpnxz has left
  168. qrpnxz has joined
  169. qrpnxz has left
  170. qrpnxz has joined
  171. Kev has left
  172. Kev has joined
  173. antranigv has joined
  174. qrpnxz has left
  175. qrpnxz has joined
  176. antranigv has left
  177. antranigv has joined
  178. debacle has joined
  179. goffi has left
  180. jgart has left
  181. jgart has joined
  182. sonny has left
  183. sonny has joined
  184. mac has joined
  185. huhn has joined
  186. jgart has left
  187. antranigv has left
  188. antranigv has joined
  189. larma has left
  190. jgart has joined
  191. debacle has left
  192. jgart has left
  193. larma has joined
  194. hiran has joined
  195. hiran Hi again. This java/smack XMPP client I am building shall make use of a MUC and users connect using nicknames. While I have seen this working once upon a time, now it does not and I am confused whether there is something I changed or there was a change on the server (that I do not manage). So my question is: How should the use of nicknames work in theory? What do I use on one side to set the nickname, how does another client connected to the same MUC receive the new nickname?
  196. Ge0rG hiran: there are two ways to convey the nickname. The most common one is as the local part of the occupant JID, i.e. jdev@muc.xmpp.org/hiran
  197. Ge0rG There is also https://xmpp.org/extensions/xep-0172.html which can embed a nickname element into presence and messages
  198. Ge0rG So by default you set a nickname while joining a room, and then all the other occupants get a presence with it
  199. hiran Is there a chance to change the nickname while being connected? Is the nickname per MUC or per XMPP connection?
  200. Ge0rG hiran: the nickname is per room and can be changed
  201. Ge0rG hiran: https://download.igniterealtime.org/smack/docs/latest/javadoc/org/jivesoftware/smackx/muc/MultiUserChat.html#changeNickname(org.jxmpp.jid.parts.Resourcepart)
  202. hiran Ok. So what I have is (using the smack client library): resourcePart = Resourcepart.from(nickname); muc.changeNickname(resourcePart); From what you say probably I am creating the resourcePart wrongly
  203. huhn has left
  204. Ge0rG hiran: no, that looks good. But you can only change the nickname after you are already joined to the room.
  205. marmistrz has joined
  206. hiran Ok, first join the muc, then change the nickname. Hmm, when changing the nickname while I am in the MUC I receive exceptions. I programmed the client to leave the muc and join in again, then setting a new nickname.
  207. Zash There's also a way to register the nickname with the room, which is independent from the one that is used. It's then reserved and others may be prevented from using it.
  208. hiran But ok, now that we looked at the setting of the nickname - how would the other side see the nickname? I this a presence event on the other side?
  209. Ge0rG hiran: why are you trying to *change* the nickname?
  210. hiran The XMPP client connects to the XMPP server on one side, then connects to a game on the other side. When the user loads a savegame the nick is changed to whatever character is in there.
  211. hiran Does that make sense?
  212. Ge0rG hiran: a little bit. You need to have a nickname already when joining.
  213. Ge0rG also which part is the MUC? Game server?
  214. hiran The MUC shall connect the users to each othere. Currently it is a peer to peer system - no dedicated server
  215. kikuchiyo has left
  216. kikuchiyo has joined
  217. Ge0rG hiran: also nicknames must be unique in a room.
  218. hiran That is not so much a problem. If the nick is not unique I get an error message, and users can rename themselves if need be
  219. Zash > also nicknames must be unique in a room. per user, or per connected client, depending on the server
  220. huhn has joined
  221. hiran Ok. I will check if the nicknames are set properly. How does another client get aware of the changed nick?
  222. Zash They should get a signal
  223. Ge0rG hiran: there is a join presence for each change and each new member, see https://download.igniterealtime.org/smack/docs/latest/javadoc/org/jivesoftware/smackx/muc/MultiUserChat.html#addParticipantListener(org.jivesoftware.smack.PresenceListener) and https://download.igniterealtime.org/smack/docs/latest/javadoc/org/jivesoftware/smackx/muc/MultiUserChat.html#addParticipantStatusListener(org.jivesoftware.smackx.muc.ParticipantStatusListener)
  224. hiran What signal? I guess it should be a presence stanza
  225. hiran ParticipantListener? That might be something. So far I tried PresenceListener and PresenceEventListeners, but not yet Participants...
  226. Ge0rG hiran: the ParticipantStatusListener will pre-process the presence for you
  227. Ge0rG hiran: so you can add your business logic right into it
  228. hiran Even better
  229. hiran I will try those listeners :-)
  230. goffi has joined
  231. pasdesushi has left
  232. pasdesushi has joined
  233. Kev has left
  234. Kev has joined
  235. Kev has left
  236. Kev has joined
  237. Kev has left
  238. Kev has joined
  239. Kev has left
  240. Kev has joined
  241. goffi has left
  242. huhn has left
  243. atomicwatch has left
  244. atomicwatch has joined
  245. 9lakes has left
  246. 9lakes has joined
  247. Wojtek has joined
  248. antranigv has left
  249. antranigv has joined
  250. marmistrz has left
  251. pasdesushi has left
  252. pasdesushi has joined
  253. pasdesushi has left
  254. pasdesushi has joined
  255. debacle has joined
  256. antranigv has left
  257. mac has left
  258. sander has left
  259. msavoritias has left
  260. sander has joined
  261. goffi has joined
  262. goffi has left
  263. goffi has joined
  264. goffi has left
  265. goffi has joined
  266. goffi has left
  267. goffi has joined
  268. goffi has left
  269. goffi has joined
  270. goffi has left
  271. goffi has joined
  272. goffi has left
  273. goffi has joined
  274. goffi has left
  275. goffi has joined
  276. goffi has left
  277. goffi has joined
  278. goffi has left
  279. goffi has joined
  280. goffi has left
  281. goffi has joined
  282. goffi has left
  283. goffi has joined
  284. goffi has left
  285. msavoritias has joined
  286. goffi has joined
  287. goffi has left
  288. goffi has joined
  289. goffi has left
  290. goffi has joined
  291. goffi has left
  292. kikuchiyo has left
  293. goffi has joined
  294. atomicwatch has left
  295. kikuchiyo has joined
  296. jubalh has joined
  297. atomicwatch has joined
  298. goffi has left
  299. inky has joined
  300. goffi has joined
  301. goffi has left
  302. goffi has joined
  303. goffi has left
  304. goffi has joined
  305. bung has joined
  306. marc0s has left
  307. marc0s has joined
  308. PapaTutuWawa has joined
  309. serge90 has left
  310. serge90 has joined
  311. larma has left
  312. Trbl has left
  313. Trbl has joined
  314. huhn has joined
  315. Wojtek has left
  316. Alex has left
  317. Alex has joined
  318. goffi has left
  319. goffi has joined
  320. huhn has left
  321. antranigv has joined
  322. bung has left
  323. lovetox has left
  324. bung has joined
  325. junaid has left
  326. inky has left
  327. antranigv has left
  328. goffi has left
  329. goffi has joined
  330. junaid has joined
  331. PapaTutuWawa has left
  332. homebeach has left
  333. Matrix Traveler (bot) has left
  334. Server Stats Discoverer (traveler bot) has left
  335. Server Stats Discoverer (traveler bot) has joined
  336. Matrix Traveler (bot) has joined
  337. homebeach has joined
  338. Wojtek has joined
  339. mac has joined
  340. junaid has left
  341. junaid has joined
  342. junaid has left
  343. antranigv has joined
  344. nephele has joined
  345. Apollo has left
  346. mac has left
  347. lovetox has joined
  348. nephele has left
  349. antranigv has left
  350. homebeach has left
  351. Matrix Traveler (bot) has left
  352. Server Stats Discoverer (traveler bot) has left
  353. Server Stats Discoverer (traveler bot) has joined
  354. Matrix Traveler (bot) has joined
  355. homebeach has joined
  356. Maranda has left
  357. huhn has joined
  358. Maranda has joined
  359. Apollo has joined
  360. sonny has left
  361. sonny has joined
  362. Apollo has left
  363. Apollo has joined
  364. sonny has left
  365. sonny has joined
  366. Apollo has left
  367. sonny has left
  368. sonny has joined
  369. Apollo has joined
  370. homebeach has left
  371. Matrix Traveler (bot) has left
  372. Server Stats Discoverer (traveler bot) has left
  373. Server Stats Discoverer (traveler bot) has joined
  374. Matrix Traveler (bot) has joined
  375. homebeach has joined
  376. kikuchiyo has left
  377. kikuchiyo has joined
  378. dezant has joined
  379. hiran has left
  380. jubalh has left
  381. jubalh has joined
  382. me9 has joined
  383. rafasaurus has left
  384. rafasaurus has joined
  385. kikuchiyo has left
  386. pulkomandy has joined
  387. homebeach has left
  388. Matrix Traveler (bot) has left
  389. Server Stats Discoverer (traveler bot) has left
  390. Server Stats Discoverer (traveler bot) has joined
  391. Matrix Traveler (bot) has joined
  392. homebeach has joined
  393. huhn has left
  394. pulkomandy has left
  395. pulkomandy has joined
  396. pulkomandy has left
  397. pulkomandy has joined
  398. SouL has left
  399. jgart has joined
  400. PapaTutuWawa has joined
  401. pulkomandy has left
  402. pulkomandy has joined
  403. antranigv has joined
  404. dezant has left
  405. me9 has left
  406. bung has left
  407. SouL has joined
  408. bung has joined
  409. dezant has joined
  410. marc0s has left
  411. marc0s has joined
  412. thomaslewis has left
  413. thomaslewis has joined
  414. antranigv has left
  415. antranigv has joined
  416. marc0s has left
  417. marc0s has joined
  418. homebeach has left
  419. Matrix Traveler (bot) has left
  420. Server Stats Discoverer (traveler bot) has left
  421. Server Stats Discoverer (traveler bot) has joined
  422. Matrix Traveler (bot) has joined
  423. homebeach has joined
  424. rom1dep has left
  425. debacle has left
  426. nephele has joined
  427. nephele has left
  428. nephele has joined
  429. nephele has left
  430. nephele has joined
  431. sonny has left
  432. sonny has joined
  433. marc0s has left
  434. marc0s has joined
  435. Kev has left
  436. Kev has joined
  437. atomicwatch has left
  438. Kev has left
  439. Kev has joined
  440. atomicwatch has joined
  441. Kev has left
  442. Kev has joined
  443. rom1dep has joined
  444. Kev has left
  445. Kev has joined
  446. Kev has left
  447. Kev has joined
  448. dezant has left
  449. bung has left
  450. dezant has joined
  451. marc0s has left
  452. marc0s has joined
  453. kikuchiyo has joined
  454. bung has joined
  455. Kev has left
  456. sonny has left
  457. sonny has joined
  458. Kev has joined
  459. jubalh has left
  460. marc0s has left
  461. marc0s has joined
  462. marc0s has left
  463. marc0s has joined
  464. dezant has left
  465. Kev has left
  466. Kev has joined
  467. emus has left
  468. PapaTutuWawa has left
  469. Yagizа has left
  470. sonny has left
  471. sonny has joined
  472. jubalh has joined
  473. me9 has joined
  474. sonny has left
  475. sonny has joined
  476. qrpnxz has left
  477. qrpnxz has joined
  478. qrpnxz has left
  479. Kev has left
  480. qrpnxz has joined
  481. Kev has joined
  482. marmistrz has joined
  483. Kev has left
  484. Kev has joined
  485. Martin has left
  486. me9 has left
  487. me9 has joined
  488. Martin has joined
  489. marmistrz has left
  490. Wojtek has left
  491. nephele has left
  492. nephele has joined
  493. nephele has left
  494. nephele has joined
  495. bung has left
  496. bung has joined
  497. homebeach has left
  498. Matrix Traveler (bot) has left
  499. Server Stats Discoverer (traveler bot) has left
  500. Server Stats Discoverer (traveler bot) has joined
  501. Matrix Traveler (bot) has joined
  502. homebeach has joined
  503. marmistrz has joined
  504. marmistrz has left
  505. PapaTutuWawa has joined
  506. sonny has left
  507. sonny has joined
  508. sonny has left
  509. sonny has joined
  510. COM8 has joined
  511. COM8 has left
  512. emus has joined
  513. debacle has joined
  514. mac has joined
  515. homebeach has left
  516. Matrix Traveler (bot) has left
  517. Server Stats Discoverer (traveler bot) has left
  518. Server Stats Discoverer (traveler bot) has joined
  519. Matrix Traveler (bot) has joined
  520. homebeach has joined
  521. al has joined
  522. marc0s has left
  523. marc0s has joined
  524. marmistrz has joined
  525. antranigv has left
  526. antranigv has joined
  527. Kev has left
  528. Kev has joined
  529. mac has left
  530. mac has joined
  531. al has left
  532. marc0s has left
  533. marc0s has joined
  534. Apollo has left
  535. Apollo has joined
  536. antranigv has left
  537. hiran has joined
  538. Kev has left
  539. nephele has left
  540. huhn has joined
  541. Kev has joined
  542. Kev has left
  543. Kev has joined
  544. Pete has left
  545. DebXWoody has left
  546. Pete has joined
  547. phikoen has left
  548. huhn has left
  549. me9 has left
  550. homebeach has left
  551. Matrix Traveler (bot) has left
  552. Server Stats Discoverer (traveler bot) has left
  553. Server Stats Discoverer (traveler bot) has joined
  554. Matrix Traveler (bot) has joined
  555. homebeach has joined
  556. PapaTutuWawa has left
  557. goffi has left
  558. goffi has joined
  559. mac has left
  560. mac has joined
  561. Zash has left
  562. Zash has joined
  563. Apollo has left
  564. sonny has left
  565. sonny has joined
  566. msavoritias has left
  567. al has joined
  568. sonny has left
  569. sonny has joined
  570. marmistrz has left
  571. atomicwatch has left
  572. antranigv has joined
  573. drops has joined
  574. atomicwatch has joined
  575. mac has left
  576. mac has joined
  577. marmistrz has joined
  578. Kev has left
  579. Kev has joined
  580. al has left
  581. pasdesushi has left
  582. pasdesushi has joined
  583. marc0s has left
  584. marc0s has joined
  585. Apollo has joined
  586. Alex has left
  587. atomicwatch has left
  588. al has joined
  589. sonny has left
  590. sonny has joined
  591. FireFly has left
  592. FireFly has joined
  593. spectrum has left
  594. FireFly has left
  595. Sam has left
  596. Sam has joined
  597. marmistrz has left
  598. emus has left
  599. Kev has left
  600. Kev has joined
  601. pasdesushi has left