Muffins Posted November 29, 2023 Posted November 29, 2023 you can.... just type f2p or p2p into the world option 1
FushigiBot Posted December 10, 2023 Posted December 10, 2023 On 11/28/2023 at 11:14 PM, Muffins said: you can.... just type f2p or p2p into the world option Has this always been here or did my dumbass spent 2 hrs writing a snippet to select a random world last year?
Muffins Posted December 10, 2023 Posted December 10, 2023 46 minutes ago, FushigiBot said: Has this always been here or did my dumbass spent 2 hrs writing a snippet to select a random world last year? been here for a long time.
FushigiBot Posted December 10, 2023 Posted December 10, 2023 48 minutes ago, Muffins said: been here for a long time. Nvm I thought we were talking about world selection during cli launch lol.
Muffins Posted December 10, 2023 Posted December 10, 2023 38 minutes ago, FushigiBot said: Nvm I thought we were talking about world selection during cli launch lol. oh, yeah during CLI launch it works the same as just doing -world f2p/p2p and it will select a random world. 1
FushigiBot Posted December 10, 2023 Posted December 10, 2023 Oh my god. This is why I should ask before jumping into the bandwaggon. Free world selector snippet for anyone that wants it. Random rnd = new Random(); Dictionary<string, int[]> worldMap = new Dictionary<string, int[]> { { "-F2P-", new int[] { 301, 308, 316, 326, 335, 371, 380, 382, 383, 384, 394, 397, 398, 399, 417, 418, 430, 431, 433, 434, 435, 436, 437, 451, 452, 453, 454, 455, 456, 469, 470, 471, 475, 476, 483, 497, 498, 499, 500, 501, 537, 542, 543, 544, 545, 546, 547, 552, 553, 554, 555, 556, 557, 562, 563, 571, 575 } }, { "-P2P-", new int[] { 302, 303, 304, 305, 306, 307, 309, 310, 311, 312, 313, 314, 315, 317, 318, 319, 320, 321, 322, 323, 324, 325, 327, 328, 329, 330, 331, 332, 333, 334, 336, 337, 338, 339, 340, 341, 343, 344, 346, 347, 348, 350, 351, 352, 354, 355, 357, 358, 359, 360, 362, 367, 368, 369, 370, 374, 375, 376, 377, 378, 386, 387, 388, 389, 390, 395, 421, 422, 424, 443, 444, 445, 446, 463, 464, 465, 466, 477, 478, 480, 481, 482, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 531, 532, 533, 534, 535, 580 } } }; world = worldMap.ContainsKey(world) ? "-world " + worldMap[world][rnd.Next(worldMap[world].Length)] + " " : "-world " + world + " ";