Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Assim eu tenho um server de wodbo, so que eu transformo a vocação pra ultima, ai quando eu deslogo e logo ela ta revertida..

Alguem ajuda  a resolver esse erro

+ Rep

Editado por netoxdd (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
6 horas atrás, netoxdd disse:

Assim eu tenho um server de wodbo, so que eu transformo a vocação pra ultima, ai quando eu deslogo e logo ela ta revertida..

Alguem ajuda  a resolver esse erro

+ Rep

Manda o script de transformar

Link para o post
Compartilhar em outros sites

Aqui \/

 

 

 

local config = {
-- Goku --
[1] = { 50, 3, 4, 114},
[3] = { 100, 4, 5, 114},
[4] = { 150, 5, 7, 114},
[5] = { 180, 6, 570, 114},
[6] = { 200, 7, 9, 114},
-- Vegeta --
[8] = { 50, 10, 21, 114},
[10] = { 100, 11, 22, 114},
[11] = { 150, 12, 23, 114},
[12] = { 180, 13, 595, 114},
[13] = { 200, 14, 24, 114},
-- Piccolo --
[15] = { 50, 16, 34, 111},
[16] = { 100, 17, 35, 111},
[17] = { 150, 18, 36, 111},
[18] = { 200, 19, 37, 111},
-- C17 --
[20] = { 50, 21, 47, 116},
[21] = { 100, 22, 48, 116},
[22] = { 150, 23, 51, 116},
[23] = { 200, 24, 51, 116},
-- Gohan --
[25] = { 30, 26, 56, 114},
[26] = { 50, 27, 57, 114},
[27] = { 100, 28, 58, 114},
[28] = { 150, 29, 59, 114},
[29] = { 180, 30, 60, 114},
[30] = { 200, 31, 61, 114},
-- Trunks --
[32] = { 50, 33, 575, 114},
[33] = { 100, 34, 71, 114},
[34] = { 150, 35, 576, 114},
[35] = { 180, 36, 599, 114},
[36] = { 200, 37, 577, 114},
-- Cell --
[38] = { 50, 39, 82, 119},
[39] = { 100, 40, 83, 119},
[40] = { 150, 41, 84, 119},
[41] = { 200, 42, 85, 119},
-- Freeza --
[43] = { 30, 44, 89, 123},
[44] = { 50, 45, 90, 113},
[45] = { 75, 46, 91, 113},
[46] = { 100, 47, 92, 113},
[47] = { 150, 48, 93, 113},
[48] = { 200, 49, 94, 113},
-- Buu --
[50] = { 50, 51, 99, 117},
[51] = { 100, 52, 100, 117},
[52] = { 125, 53, 101, 117},
[53] = { 150, 54, 102, 117},
[54] = { 175, 55, 103, 117},
[55] = { 200, 56, 104, 117},
-- Broly --
[57] = { 50, 58, 109, 114},
[58] = { 100, 59, 110, 114},
[59] = { 150, 60, 111, 114},
[60] = { 200, 61, 112, 114},
-- C18 --
[62] = { 50, 63, 121, 116},
[63] = { 100, 64, 122, 116},
[64] = { 150, 65, 123, 116},
[65] = { 200, 66, 124, 116},
-- Uub --
[67] = { 50, 68, 129, 116},
[68] = { 100, 69, 130, 116},
[69] = { 150, 70, 131, 116},
[70] = { 180, 71, 132, 116},
-- Goten --
[72] = { 50, 73, 136, 114},
[74] = { 125, 75, 138, 114},
[75] = { 150, 76, 139, 114},
[76] = { 180, 77, 140, 114},
[77] = { 200, 78, 141, 114},
-- Chibi Trunks --
[79] = { 50, 80, 150, 114},
[81] = { 100, 82, 138, 114},
[82] = { 125, 83, 139, 114},
[83] = { 150, 84, 140, 114},
[84] = { 200, 85, 141, 114},
-- Cooler --
[86] = { 50, 87, 154, 113},
[87] = { 100, 88, 155, 113},
[88] = { 125, 89, 156, 113},
[89] = { 150, 90, 157, 113},
[90] = { 200, 91, 158, 113},
-- Dende --
[92] = { 50, 93, 165, 112},
[93] = { 100, 94, 166, 112},
[94] = { 150, 95, 167, 112},
[95] = { 200, 96, 168, 112},
-- Baby --
[97] = { 50, 98, 176, 116},
[98] = { 100, 99, 177, 116},
[99] = { 150, 100, 178, 116},
[100] = { 200, 101, 179, 116},
-- Bardock --
[102] = { 50, 104, 190, 114},
[104] = { 100, 105, 191, 114},
[105] = { 150, 106, 192, 114},
[106] = { 200, 107, 193, 114},
-- Kuririn --
[108] = { 50, 109, 201, 116},
[109] = { 100, 110, 202, 116},
[110] = { 150, 111, 203, 116},
[111] = { 200, 112, 204, 116},
-- Pan --
[113] = { 50, 114, 211, 114},
[114] = { 100, 115, 212, 114},
[115] = { 150, 116, 213, 114},
[116] = { 200, 117, 214, 114},
-- Videl --
[118] = { 50, 119, 228, 116},
[119] = { 100, 120, 229, 116},
[120] = { 150, 121, 230, 116},
[121] = { 200, 122, 231, 116},
-- Janemba --
[123] = { 50, 124, 235, 113},
[124] = { 100, 125, 236, 113},
[125] = { 150, 126, 237, 113},
[126] = { 200, 127, 238, 113},
-- Tenshihan --
[127] = { 50, 128, 243, 116},
[128] = { 100, 129, 244, 116},
[129] = { 125, 130, 245, 116},
[130] = { 150, 131, 245, 116},
-- Jenk --
[133] = { 50, 134, 253, 114},
[134] = { 100, 135, 254, 114},
[135] = { 150, 136, 255, 114},
[136] = { 200, 137, 256, 114},
-- Raditz --
[138] = { 50, 139, 265, 114},
[139] = { 100, 140, 266, 114},
[140] = { 150, 141, 267, 114},
[141] = { 200, 142, 268, 114},
-- Android16 --
[143] = { 50, 144, 273, 116},
[144] = { 100, 145, 274, 116},
[145] = { 150, 146, 275, 116},
[146] = { 200, 147, 276, 116},
-- Turles --
[148] = { 50, 149, 281, 114},
[149] = { 100, 150, 282, 114},
[150] = { 150, 151, 283, 114},
[151] = { 200, 152, 284, 114},
-- Bulma --
[153] = { 50, 154, 293, 116},
[154] = { 100, 155, 294, 116},
[155] = { 150, 156, 295, 116},
[156] = { 200, 157, 295, 116},
-- Shenron --
[158] = { 50, 159, 303, 115},
[159] = { 100, 160, 304, 115},
[160] = { 150, 161, 305, 115},
[161] = { 200, 162, 306, 115},
-- Vegetto --
[163] = { 50, 164, 309, 114},
[164] = { 100, 165, 310, 114},
[165] = { 150, 166, 311, 114},
[166] = { 200, 167, 311, 114},
-- Tapion --
[168] = { 50, 169, 317, 115},
[169] = { 100, 170, 318, 115},
[170] = { 150, 171, 319, 115},
[171] = { 200, 172, 320, 115},
-- Kame --
[173] = { 50, 174, 331, 115},
[174] = { 100, 175, 332, 115},
[175] = { 150, 176, 333, 115},
[176] = { 200, 177, 334, 115},
-- Kagome --
[178] = { 50, 179, 354, 114},
[179] = { 100, 180, 355, 114},
[180] = { 150, 181, 356, 114},
[181] = { 200, 182, 356, 114},
-- King Vegeta --
[183] = { 50, 184, 343, 114},
[184] = { 100, 185, 344, 114},
[185] = { 150, 186, 345, 114},
[186] = { 200, 187, 346, 114},
-- Zaiko --
[188] = { 50, 189, 364, 116},
[189] = { 100, 190, 365, 116},
[190] = { 150, 191, 366, 116},
[191] = { 200, 192, 367, 116},
-- Chilled --
[193] = { 50, 194, 376, 113},
[194] = { 100, 195, 377, 113},
[195] = { 150, 196, 378, 113},
[196] = { 200, 197, 379, 113},
-- C8 --
[198] = { 50, 199, 513, 115},
[199] = { 100, 200, 514, 115},
[200] = { 150, 201, 515, 115},
[201] = { 200, 202, 516, 115},
-- Bills --
[203] = { 50, 204, 587, 113},
[204] = { 100, 205, 588, 113},
[205] = { 150, 206, 589, 113},
[206] = { 200, 207, 590, 113},

                                                                     ----------------------------
                                                                     ---------Reborn-------------
                                                                     ----------------------------

-- Goku --
[211] = { 50, 212, 11, 121},
[212] = { 100, 213, 12, 121},
[213] = { 150, 214, 13, 121},
[214] = { 180, 215, 433, 121},
[215] = { 200, 216, 14, 125},
[216] = { 400, 217, 17, 121},
[217] = { 600, 218, 550, 121},


-- Vegeta --
[221] = { 50, 222, 27, 121},
[222] = { 100, 223, 28, 121},
[223] = { 150, 224, 28, 121},
[224] = { 180, 225, 433, 121},
[225] = { 200, 226, 29, 121},
[226] = { 400, 227, 30, 121},
[227] = { 600, 228, 32, 121},

-- Piccolo --
[231] = { 50, 232, 39, 121},
[232] = { 100, 233, 40, 121},
[233] = { 150, 234, 41, 121},
[234] = { 200, 235, 42, 121},
[235] = { 300, 236, 43, 121},
[236] = { 400, 237, 44, 121},
[237] = { 600, 238, 537, 121},

-- C17 --
[241] = { 50, 242, 47, 121},
[242] = { 100, 243, 48, 121},
[243] = { 150, 244, 51, 121},
[244] = { 200, 245, 49, 121},
[245] = { 300, 246, 594, 121},
[246] = { 400, 247, 52, 121},
[247] = { 500, 248, 53, 121},
[248] = { 600, 249, 54, 121},

-- Gohan --
[251] = { 50, 252, 65, 121},
[252] = { 100, 253, 62, 121},
[253] = { 150, 254, 62, 121},
[254] = { 180, 255, 433, 121},
[255] = { 200, 256, 66, 121},
[256] = { 400, 257, 67, 121},
[257] = { 600, 258, 68, 121},

-- Trunks --
[261] = { 50, 262, 579, 121},
[262] = { 100, 263, 580, 121},
[263] = { 150, 264, 581, 121},
[264] = { 180, 265, 433, 121},
[265] = { 200, 266, 78, 121},
[266] = { 400, 267, 79, 121},
[267] = { 600, 268, 530, 121},

-- Cell --
[271] = { 50, 272, 82, 121},
[272] = { 100, 273, 83, 121},
[273] = { 150, 274, 84, 121},
[274] = { 180, 275, 85, 121},
[275] = { 200, 276, 86, 121},
[276] = { 400, 277, 86, 121},
[277] = { 600, 278, 567, 121},

-- Freeza --
[281] = { 30, 282, 89, 121},
[282] = { 50, 283, 90, 121},
[283] = { 100, 284, 91, 121},
[284] = { 150, 285, 92, 121},
[285] = { 180, 286, 93, 121},
[286] = { 200, 287, 94, 121},
[287] = { 400, 288, 95, 121},
[288] = { 600, 289, 97, 121},

-- Majin Buu --
[291] = { 30, 292, 99, 121},
[292] = { 50, 293, 100, 121},
[293] = { 100, 294, 101, 121},
[294] = { 150, 295, 102, 121},
[295] = { 180, 296, 103, 121},
[296] = { 200, 297, 104, 121},
[297] = { 400, 298, 105, 121},
[298] = { 600, 299, 107, 121},

-- Broly --
[301] = { 50, 302, 114, 121},
[302] = { 100, 303, 115, 121},
[303] = { 150, 304, 116, 121},
[304] = { 200, 305, 117, 126},
[305] = { 400, 306, 119, 121},
[306] = { 600, 307, 120, 121},

-- C18 --
[311] = { 50, 312, 121, 121},
[312] = { 100, 313, 122, 121},
[313] = { 150, 314, 124, 121},
[314] = { 180, 315, 125, 121},
[315] = { 200, 316, 126, 121},
[316] = { 250, 317, 126, 121},
[317] = { 400, 318, 127, 121},
[318] = { 600, 319, 538, 121},

-- Uub --
[321] = { 50, 322, 129, 121},
[322] = { 100, 323, 130, 121},
[323] = { 150, 324, 131, 121},
[324] = { 180, 325, 132, 121},
[325] = { 200, 326, 133, 121},
[326] = { 400, 327, 133, 121},
[327] = { 600, 328, 134, 121},

-- Goten --
[331] = { 30, 332, 143, 121},
[332] = { 100, 333, 145, 121},
[333] = { 150, 334, 146, 121},
[334] = { 180, 335, 147, 121},
[335] = { 200, 336, 144, 121},
[336] = { 400, 337, 561, 121},
[337] = { 600, 338, 552, 121},

-- Chibi Trunks --
[341] = { 30, 342, 596, 121},
[342] = { 100, 343, 145, 121},
[343] = { 150, 344, 146, 121},
[344] = { 200, 345, 148, 121},
[345] = { 400, 346, 561, 121},
[346] = { 600, 347, 552, 121},

-- Cooler --
[351] = { 50, 352, 154, 121},
[352] = { 100, 353, 155, 121},
[353] = { 200, 354, 157, 121},
[354] = { 400, 355, 160, 121},
[355] = { 600, 356, 162, 121},

-- Dende --
[361] = { 50, 362, 170, 121},
[362] = { 100, 363, 171, 121},
[363] = { 150, 364, 172, 121},
[364] = { 200, 365, 173, 121},
[365] = { 400, 366, 174, 121},
[366] = { 600, 367, 174, 121},

-- Baby --
[371] = { 50, 372, 181, 121},
[372] = { 100, 373, 182, 121},
[373] = { 150, 374, 183, 121},
[374] = { 200, 375, 184, 121},
[375] = { 400, 376, 185, 121},
[376] = { 600, 377, 186, 121},

-- Bardock --
[381] = { 50, 382, 194, 121},
[382] = { 100, 383, 195, 121},
[383] = { 150, 384, 196, 121},
[384] = { 200, 385, 197, 121},
[385] = { 300, 386, 198, 121},
[386] = { 400, 387, 199, 121},

-- Kuririn --
[391] = { 50, 392, 205, 121},
[392] = { 100, 393, 206, 121},
[393] = { 150, 394, 207, 121},
[394] = { 200, 395, 208, 121},
[395] = { 400, 396, 209, 121},
[396] = { 600, 397, 542, 121},

-- Pan --
[401] = { 50, 402, 213, 121},
[402] = { 150, 403, 214, 121},
[403] = { 180, 404, 215, 121},
[404] = { 200, 405, 216, 121},
[405] = { 400, 406, 217, 121},
[406] = { 600, 407, 543, 121},

-- Videl --
[411] = { 50, 412, 228, 121},
[412] = { 100, 413, 229, 121},
[413] = { 200, 414, 230, 121},
[414] = { 400, 415, 231, 121},
[415] = { 600, 416, 232, 121},

-- Janemba --
[421] = { 50, 422, 235, 121},
[422] = { 100, 423, 236, 121},
[423] = { 150, 424, 237, 121},
[424] = { 200, 425, 238, 121},
[425] = { 300, 426, 239, 121},
[426] = { 500, 427, 241, 121},

-- Tenshihan --
[431] = { 50, 432, 247, 121},
[432] = { 100, 433, 248, 121},
[433] = { 200, 434, 249, 121},
[434] = { 400, 435, 250, 121},
[435] = { 600, 436, 251, 121},

-- Jenk --
[441] = { 50, 442, 258, 121},
[442] = { 100, 443, 259, 121},
[443] = { 150, 444, 260, 121},
[444] = { 200, 445, 261, 121},
[445] = { 300, 446, 262, 121},
[446] = { 400, 447, 263, 121},

-- Raditz --
[451] = { 50, 452, 266, 121},
[452] = { 100, 453, 267, 121},
[453] = { 100, 454, 268, 121},
[454] = { 200, 455, 269, 121},
[455] = { 300, 456, 270, 121},
[456] = { 400, 457, 617, 121},

-- C16 --
[461] = { 50, 462, 273, 121},
[462] = { 100, 463, 274, 121},
[463] = { 150, 464, 275, 121},
[464] = { 180, 465, 276, 121},
[465] = { 200, 466, 278, 121},
[466] = { 250, 467, 278, 121},
[467] = { 400, 468, 279, 121},
[468] = { 600, 469, 540, 121},

-- Turles --
[471] = { 50, 472, 281, 121},
[472] = { 100, 473, 287, 121},
[473] = { 150, 474, 288, 121},
[474] = { 200, 475, 289, 121},
[475] = { 300, 476, 290, 121},
[476] = { 400, 477, 619, 121},

-- Bulma --
[481] = { 50, 482, 297, 121},
[482] = { 100, 483, 298, 121},
[483] = { 200, 484, 299, 121},
[484] = { 400, 485, 300, 121},
[485] = { 600, 486, 618, 121},

-- Shenron --
[491] = { 50, 492, 303, 121},
[492] = { 100, 493, 304, 121},
[493] = { 150, 494, 305, 121},
[494] = { 200, 495, 306, 121},
[495] = { 600, 496, 573, 121},

-- Vegetto --
[501] = { 50, 502, 309, 121},
[502] = { 100, 503, 310, 121},
[503] = { 150, 504, 311, 121},
[504] = { 200, 505, 312, 121},
[505] = { 400, 506, 313, 121},
[506] = { 600, 507, 314, 121},

-- Tapion --
[511] = { 50, 512, 322, 121},
[512] = { 100, 513, 323, 121},
[513] = { 150, 514, 324, 121},
[514] = { 180, 515, 325, 121},
[515] = { 200, 516, 326, 121},
[516] = { 250, 517, 327, 121},
[517] = { 400, 518, 328, 121},
[518] = { 600, 519, 528, 121},

-- Kame --
[521] = { 50, 522, 334, 121},
[522] = { 100, 523, 335, 121},
[523] = { 150, 524, 336, 121},
[524] = { 200, 525, 337, 121},
[525] = { 250, 526, 338, 121},
[526] = { 400, 527, 339, 121},
[527] = { 600, 528, 340, 121},

-- Kagome --
[531] = { 50, 532, 358, 121},
[532] = { 100, 533, 359, 121},
[533] = { 200, 534, 360, 121},
[534] = { 400, 535, 361, 121},
[535] = { 600, 536, 545, 121},

-- King Vegeta --
[541] = { 50, 542, 348, 121},
[542] = { 100, 543, 349, 121},
[543] = { 200, 544, 350, 121},
[544] = { 400, 545, 351, 121},
[545] = { 600, 546, 352, 121},

-- Zaiko --
[551] = { 50, 552, 369, 121},
[552] = { 100, 553, 370, 121},
[553] = { 150, 554, 371, 121},
[554] = { 180, 555, 372, 121},
[555] = { 200, 556, 373, 121},
[556] = { 400, 557, 476, 121},
[557] = { 600, 558, 374, 121},

-- Chilled --
[561] = { 50, 562, 376, 121},
[562] = { 100, 563, 377, 121},
[563] = { 150, 564, 378, 121},
[564] = { 200, 565, 381, 121},
[565] = { 400, 566, 380, 121},
[566] = { 600, 567, 382, 121},

-- C8 --
[571] = { 50, 572, 517, 121},
[572] = { 100, 573, 518, 121},
[573] = { 150, 574, 519, 121},
[574] = { 180, 575, 520, 121},
[575] = { 200, 576, 521, 121},
[576] = { 400, 577, 522, 121},
[577] = { 600, 578, 523, 121},

-- Bills --
[581] = { 50, 582, 587, 121},
[582] = { 100, 583, 588, 121},
[583] = { 150, 584, 591, 121},
[584] = { 180, 585, 590, 121},
[585] = { 200, 586, 506, 121},
[586] = { 400, 587, 507, 121},
[587] = { 600, 588, 508, 121},

}
function onSay(cid, words, param, channel)
local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa
local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa
local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa
local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa
local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa
local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa
local from7,to7 = {x=1218, y=798, z=15},{x=1407, y=974, z=15} -- começo e final do mapa
local from8,to8 = {x=1554, y=1809, z=15},{x=1613, y=1838, z=15} -- começo e final do mapa
local from9,to9 = {x=1554, y=1809, z=14},{x=1613, y=1838, z=15} -- começo e final do mapa
local from10,to10 = {x=1554, y=1809, z=13},{x=1613, y=1838, z=15} -- começo e final do mapa
if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6)  or isInRange(getCreaturePosition(cid), from7, to7)  or isInRange(getCreaturePosition(cid), from8, to8)  or isInRange(getCreaturePosition(cid), from9, to9)  or isInRange(getCreaturePosition(cid), from10, to10) then
doPlayerSendCancel(cid, "Você não pode se Transformar nesta área!") return true
end

local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Você não pode se Transformar!")
end
return true
end

Link para o post
Compartilhar em outros sites
3 horas atrás, netoxdd disse:

Aqui \/

 

 

 

local config = {
-- Goku --
[1] = { 50, 3, 4, 114},
[3] = { 100, 4, 5, 114},
[4] = { 150, 5, 7, 114},
[5] = { 180, 6, 570, 114},
[6] = { 200, 7, 9, 114},
-- Vegeta --
[8] = { 50, 10, 21, 114},
[10] = { 100, 11, 22, 114},
[11] = { 150, 12, 23, 114},
[12] = { 180, 13, 595, 114},
[13] = { 200, 14, 24, 114},
-- Piccolo --
[15] = { 50, 16, 34, 111},
[16] = { 100, 17, 35, 111},
[17] = { 150, 18, 36, 111},
[18] = { 200, 19, 37, 111},
-- C17 --
[20] = { 50, 21, 47, 116},
[21] = { 100, 22, 48, 116},
[22] = { 150, 23, 51, 116},
[23] = { 200, 24, 51, 116},
-- Gohan --
[25] = { 30, 26, 56, 114},
[26] = { 50, 27, 57, 114},
[27] = { 100, 28, 58, 114},
[28] = { 150, 29, 59, 114},
[29] = { 180, 30, 60, 114},
[30] = { 200, 31, 61, 114},
-- Trunks --
[32] = { 50, 33, 575, 114},
[33] = { 100, 34, 71, 114},
[34] = { 150, 35, 576, 114},
[35] = { 180, 36, 599, 114},
[36] = { 200, 37, 577, 114},
-- Cell --
[38] = { 50, 39, 82, 119},
[39] = { 100, 40, 83, 119},
[40] = { 150, 41, 84, 119},
[41] = { 200, 42, 85, 119},
-- Freeza --
[43] = { 30, 44, 89, 123},
[44] = { 50, 45, 90, 113},
[45] = { 75, 46, 91, 113},
[46] = { 100, 47, 92, 113},
[47] = { 150, 48, 93, 113},
[48] = { 200, 49, 94, 113},
-- Buu --
[50] = { 50, 51, 99, 117},
[51] = { 100, 52, 100, 117},
[52] = { 125, 53, 101, 117},
[53] = { 150, 54, 102, 117},
[54] = { 175, 55, 103, 117},
[55] = { 200, 56, 104, 117},
-- Broly --
[57] = { 50, 58, 109, 114},
[58] = { 100, 59, 110, 114},
[59] = { 150, 60, 111, 114},
[60] = { 200, 61, 112, 114},
-- C18 --
[62] = { 50, 63, 121, 116},
[63] = { 100, 64, 122, 116},
[64] = { 150, 65, 123, 116},
[65] = { 200, 66, 124, 116},
-- Uub --
[67] = { 50, 68, 129, 116},
[68] = { 100, 69, 130, 116},
[69] = { 150, 70, 131, 116},
[70] = { 180, 71, 132, 116},
-- Goten --
[72] = { 50, 73, 136, 114},
[74] = { 125, 75, 138, 114},
[75] = { 150, 76, 139, 114},
[76] = { 180, 77, 140, 114},
[77] = { 200, 78, 141, 114},
-- Chibi Trunks --
[79] = { 50, 80, 150, 114},
[81] = { 100, 82, 138, 114},
[82] = { 125, 83, 139, 114},
[83] = { 150, 84, 140, 114},
[84] = { 200, 85, 141, 114},
-- Cooler --
[86] = { 50, 87, 154, 113},
[87] = { 100, 88, 155, 113},
[88] = { 125, 89, 156, 113},
[89] = { 150, 90, 157, 113},
[90] = { 200, 91, 158, 113},
-- Dende --
[92] = { 50, 93, 165, 112},
[93] = { 100, 94, 166, 112},
[94] = { 150, 95, 167, 112},
[95] = { 200, 96, 168, 112},
-- Baby --
[97] = { 50, 98, 176, 116},
[98] = { 100, 99, 177, 116},
[99] = { 150, 100, 178, 116},
[100] = { 200, 101, 179, 116},
-- Bardock --
[102] = { 50, 104, 190, 114},
[104] = { 100, 105, 191, 114},
[105] = { 150, 106, 192, 114},
[106] = { 200, 107, 193, 114},
-- Kuririn --
[108] = { 50, 109, 201, 116},
[109] = { 100, 110, 202, 116},
[110] = { 150, 111, 203, 116},
[111] = { 200, 112, 204, 116},
-- Pan --
[113] = { 50, 114, 211, 114},
[114] = { 100, 115, 212, 114},
[115] = { 150, 116, 213, 114},
[116] = { 200, 117, 214, 114},
-- Videl --
[118] = { 50, 119, 228, 116},
[119] = { 100, 120, 229, 116},
[120] = { 150, 121, 230, 116},
[121] = { 200, 122, 231, 116},
-- Janemba --
[123] = { 50, 124, 235, 113},
[124] = { 100, 125, 236, 113},
[125] = { 150, 126, 237, 113},
[126] = { 200, 127, 238, 113},
-- Tenshihan --
[127] = { 50, 128, 243, 116},
[128] = { 100, 129, 244, 116},
[129] = { 125, 130, 245, 116},
[130] = { 150, 131, 245, 116},
-- Jenk --
[133] = { 50, 134, 253, 114},
[134] = { 100, 135, 254, 114},
[135] = { 150, 136, 255, 114},
[136] = { 200, 137, 256, 114},
-- Raditz --
[138] = { 50, 139, 265, 114},
[139] = { 100, 140, 266, 114},
[140] = { 150, 141, 267, 114},
[141] = { 200, 142, 268, 114},
-- Android16 --
[143] = { 50, 144, 273, 116},
[144] = { 100, 145, 274, 116},
[145] = { 150, 146, 275, 116},
[146] = { 200, 147, 276, 116},
-- Turles --
[148] = { 50, 149, 281, 114},
[149] = { 100, 150, 282, 114},
[150] = { 150, 151, 283, 114},
[151] = { 200, 152, 284, 114},
-- Bulma --
[153] = { 50, 154, 293, 116},
[154] = { 100, 155, 294, 116},
[155] = { 150, 156, 295, 116},
[156] = { 200, 157, 295, 116},
-- Shenron --
[158] = { 50, 159, 303, 115},
[159] = { 100, 160, 304, 115},
[160] = { 150, 161, 305, 115},
[161] = { 200, 162, 306, 115},
-- Vegetto --
[163] = { 50, 164, 309, 114},
[164] = { 100, 165, 310, 114},
[165] = { 150, 166, 311, 114},
[166] = { 200, 167, 311, 114},
-- Tapion --
[168] = { 50, 169, 317, 115},
[169] = { 100, 170, 318, 115},
[170] = { 150, 171, 319, 115},
[171] = { 200, 172, 320, 115},
-- Kame --
[173] = { 50, 174, 331, 115},
[174] = { 100, 175, 332, 115},
[175] = { 150, 176, 333, 115},
[176] = { 200, 177, 334, 115},
-- Kagome --
[178] = { 50, 179, 354, 114},
[179] = { 100, 180, 355, 114},
[180] = { 150, 181, 356, 114},
[181] = { 200, 182, 356, 114},
-- King Vegeta --
[183] = { 50, 184, 343, 114},
[184] = { 100, 185, 344, 114},
[185] = { 150, 186, 345, 114},
[186] = { 200, 187, 346, 114},
-- Zaiko --
[188] = { 50, 189, 364, 116},
[189] = { 100, 190, 365, 116},
[190] = { 150, 191, 366, 116},
[191] = { 200, 192, 367, 116},
-- Chilled --
[193] = { 50, 194, 376, 113},
[194] = { 100, 195, 377, 113},
[195] = { 150, 196, 378, 113},
[196] = { 200, 197, 379, 113},
-- C8 --
[198] = { 50, 199, 513, 115},
[199] = { 100, 200, 514, 115},
[200] = { 150, 201, 515, 115},
[201] = { 200, 202, 516, 115},
-- Bills --
[203] = { 50, 204, 587, 113},
[204] = { 100, 205, 588, 113},
[205] = { 150, 206, 589, 113},
[206] = { 200, 207, 590, 113},

                                                                     ----------------------------
                                                                     ---------Reborn-------------
                                                                     ----------------------------

-- Goku --
[211] = { 50, 212, 11, 121},
[212] = { 100, 213, 12, 121},
[213] = { 150, 214, 13, 121},
[214] = { 180, 215, 433, 121},
[215] = { 200, 216, 14, 125},
[216] = { 400, 217, 17, 121},
[217] = { 600, 218, 550, 121},


-- Vegeta --
[221] = { 50, 222, 27, 121},
[222] = { 100, 223, 28, 121},
[223] = { 150, 224, 28, 121},
[224] = { 180, 225, 433, 121},
[225] = { 200, 226, 29, 121},
[226] = { 400, 227, 30, 121},
[227] = { 600, 228, 32, 121},

-- Piccolo --
[231] = { 50, 232, 39, 121},
[232] = { 100, 233, 40, 121},
[233] = { 150, 234, 41, 121},
[234] = { 200, 235, 42, 121},
[235] = { 300, 236, 43, 121},
[236] = { 400, 237, 44, 121},
[237] = { 600, 238, 537, 121},

-- C17 --
[241] = { 50, 242, 47, 121},
[242] = { 100, 243, 48, 121},
[243] = { 150, 244, 51, 121},
[244] = { 200, 245, 49, 121},
[245] = { 300, 246, 594, 121},
[246] = { 400, 247, 52, 121},
[247] = { 500, 248, 53, 121},
[248] = { 600, 249, 54, 121},

-- Gohan --
[251] = { 50, 252, 65, 121},
[252] = { 100, 253, 62, 121},
[253] = { 150, 254, 62, 121},
[254] = { 180, 255, 433, 121},
[255] = { 200, 256, 66, 121},
[256] = { 400, 257, 67, 121},
[257] = { 600, 258, 68, 121},

-- Trunks --
[261] = { 50, 262, 579, 121},
[262] = { 100, 263, 580, 121},
[263] = { 150, 264, 581, 121},
[264] = { 180, 265, 433, 121},
[265] = { 200, 266, 78, 121},
[266] = { 400, 267, 79, 121},
[267] = { 600, 268, 530, 121},

-- Cell --
[271] = { 50, 272, 82, 121},
[272] = { 100, 273, 83, 121},
[273] = { 150, 274, 84, 121},
[274] = { 180, 275, 85, 121},
[275] = { 200, 276, 86, 121},
[276] = { 400, 277, 86, 121},
[277] = { 600, 278, 567, 121},

-- Freeza --
[281] = { 30, 282, 89, 121},
[282] = { 50, 283, 90, 121},
[283] = { 100, 284, 91, 121},
[284] = { 150, 285, 92, 121},
[285] = { 180, 286, 93, 121},
[286] = { 200, 287, 94, 121},
[287] = { 400, 288, 95, 121},
[288] = { 600, 289, 97, 121},

-- Majin Buu --
[291] = { 30, 292, 99, 121},
[292] = { 50, 293, 100, 121},
[293] = { 100, 294, 101, 121},
[294] = { 150, 295, 102, 121},
[295] = { 180, 296, 103, 121},
[296] = { 200, 297, 104, 121},
[297] = { 400, 298, 105, 121},
[298] = { 600, 299, 107, 121},

-- Broly --
[301] = { 50, 302, 114, 121},
[302] = { 100, 303, 115, 121},
[303] = { 150, 304, 116, 121},
[304] = { 200, 305, 117, 126},
[305] = { 400, 306, 119, 121},
[306] = { 600, 307, 120, 121},

-- C18 --
[311] = { 50, 312, 121, 121},
[312] = { 100, 313, 122, 121},
[313] = { 150, 314, 124, 121},
[314] = { 180, 315, 125, 121},
[315] = { 200, 316, 126, 121},
[316] = { 250, 317, 126, 121},
[317] = { 400, 318, 127, 121},
[318] = { 600, 319, 538, 121},

-- Uub --
[321] = { 50, 322, 129, 121},
[322] = { 100, 323, 130, 121},
[323] = { 150, 324, 131, 121},
[324] = { 180, 325, 132, 121},
[325] = { 200, 326, 133, 121},
[326] = { 400, 327, 133, 121},
[327] = { 600, 328, 134, 121},

-- Goten --
[331] = { 30, 332, 143, 121},
[332] = { 100, 333, 145, 121},
[333] = { 150, 334, 146, 121},
[334] = { 180, 335, 147, 121},
[335] = { 200, 336, 144, 121},
[336] = { 400, 337, 561, 121},
[337] = { 600, 338, 552, 121},

-- Chibi Trunks --
[341] = { 30, 342, 596, 121},
[342] = { 100, 343, 145, 121},
[343] = { 150, 344, 146, 121},
[344] = { 200, 345, 148, 121},
[345] = { 400, 346, 561, 121},
[346] = { 600, 347, 552, 121},

-- Cooler --
[351] = { 50, 352, 154, 121},
[352] = { 100, 353, 155, 121},
[353] = { 200, 354, 157, 121},
[354] = { 400, 355, 160, 121},
[355] = { 600, 356, 162, 121},

-- Dende --
[361] = { 50, 362, 170, 121},
[362] = { 100, 363, 171, 121},
[363] = { 150, 364, 172, 121},
[364] = { 200, 365, 173, 121},
[365] = { 400, 366, 174, 121},
[366] = { 600, 367, 174, 121},

-- Baby --
[371] = { 50, 372, 181, 121},
[372] = { 100, 373, 182, 121},
[373] = { 150, 374, 183, 121},
[374] = { 200, 375, 184, 121},
[375] = { 400, 376, 185, 121},
[376] = { 600, 377, 186, 121},

-- Bardock --
[381] = { 50, 382, 194, 121},
[382] = { 100, 383, 195, 121},
[383] = { 150, 384, 196, 121},
[384] = { 200, 385, 197, 121},
[385] = { 300, 386, 198, 121},
[386] = { 400, 387, 199, 121},

-- Kuririn --
[391] = { 50, 392, 205, 121},
[392] = { 100, 393, 206, 121},
[393] = { 150, 394, 207, 121},
[394] = { 200, 395, 208, 121},
[395] = { 400, 396, 209, 121},
[396] = { 600, 397, 542, 121},

-- Pan --
[401] = { 50, 402, 213, 121},
[402] = { 150, 403, 214, 121},
[403] = { 180, 404, 215, 121},
[404] = { 200, 405, 216, 121},
[405] = { 400, 406, 217, 121},
[406] = { 600, 407, 543, 121},

-- Videl --
[411] = { 50, 412, 228, 121},
[412] = { 100, 413, 229, 121},
[413] = { 200, 414, 230, 121},
[414] = { 400, 415, 231, 121},
[415] = { 600, 416, 232, 121},

-- Janemba --
[421] = { 50, 422, 235, 121},
[422] = { 100, 423, 236, 121},
[423] = { 150, 424, 237, 121},
[424] = { 200, 425, 238, 121},
[425] = { 300, 426, 239, 121},
[426] = { 500, 427, 241, 121},

-- Tenshihan --
[431] = { 50, 432, 247, 121},
[432] = { 100, 433, 248, 121},
[433] = { 200, 434, 249, 121},
[434] = { 400, 435, 250, 121},
[435] = { 600, 436, 251, 121},

-- Jenk --
[441] = { 50, 442, 258, 121},
[442] = { 100, 443, 259, 121},
[443] = { 150, 444, 260, 121},
[444] = { 200, 445, 261, 121},
[445] = { 300, 446, 262, 121},
[446] = { 400, 447, 263, 121},

-- Raditz --
[451] = { 50, 452, 266, 121},
[452] = { 100, 453, 267, 121},
[453] = { 100, 454, 268, 121},
[454] = { 200, 455, 269, 121},
[455] = { 300, 456, 270, 121},
[456] = { 400, 457, 617, 121},

-- C16 --
[461] = { 50, 462, 273, 121},
[462] = { 100, 463, 274, 121},
[463] = { 150, 464, 275, 121},
[464] = { 180, 465, 276, 121},
[465] = { 200, 466, 278, 121},
[466] = { 250, 467, 278, 121},
[467] = { 400, 468, 279, 121},
[468] = { 600, 469, 540, 121},

-- Turles --
[471] = { 50, 472, 281, 121},
[472] = { 100, 473, 287, 121},
[473] = { 150, 474, 288, 121},
[474] = { 200, 475, 289, 121},
[475] = { 300, 476, 290, 121},
[476] = { 400, 477, 619, 121},

-- Bulma --
[481] = { 50, 482, 297, 121},
[482] = { 100, 483, 298, 121},
[483] = { 200, 484, 299, 121},
[484] = { 400, 485, 300, 121},
[485] = { 600, 486, 618, 121},

-- Shenron --
[491] = { 50, 492, 303, 121},
[492] = { 100, 493, 304, 121},
[493] = { 150, 494, 305, 121},
[494] = { 200, 495, 306, 121},
[495] = { 600, 496, 573, 121},

-- Vegetto --
[501] = { 50, 502, 309, 121},
[502] = { 100, 503, 310, 121},
[503] = { 150, 504, 311, 121},
[504] = { 200, 505, 312, 121},
[505] = { 400, 506, 313, 121},
[506] = { 600, 507, 314, 121},

-- Tapion --
[511] = { 50, 512, 322, 121},
[512] = { 100, 513, 323, 121},
[513] = { 150, 514, 324, 121},
[514] = { 180, 515, 325, 121},
[515] = { 200, 516, 326, 121},
[516] = { 250, 517, 327, 121},
[517] = { 400, 518, 328, 121},
[518] = { 600, 519, 528, 121},

-- Kame --
[521] = { 50, 522, 334, 121},
[522] = { 100, 523, 335, 121},
[523] = { 150, 524, 336, 121},
[524] = { 200, 525, 337, 121},
[525] = { 250, 526, 338, 121},
[526] = { 400, 527, 339, 121},
[527] = { 600, 528, 340, 121},

-- Kagome --
[531] = { 50, 532, 358, 121},
[532] = { 100, 533, 359, 121},
[533] = { 200, 534, 360, 121},
[534] = { 400, 535, 361, 121},
[535] = { 600, 536, 545, 121},

-- King Vegeta --
[541] = { 50, 542, 348, 121},
[542] = { 100, 543, 349, 121},
[543] = { 200, 544, 350, 121},
[544] = { 400, 545, 351, 121},
[545] = { 600, 546, 352, 121},

-- Zaiko --
[551] = { 50, 552, 369, 121},
[552] = { 100, 553, 370, 121},
[553] = { 150, 554, 371, 121},
[554] = { 180, 555, 372, 121},
[555] = { 200, 556, 373, 121},
[556] = { 400, 557, 476, 121},
[557] = { 600, 558, 374, 121},

-- Chilled --
[561] = { 50, 562, 376, 121},
[562] = { 100, 563, 377, 121},
[563] = { 150, 564, 378, 121},
[564] = { 200, 565, 381, 121},
[565] = { 400, 566, 380, 121},
[566] = { 600, 567, 382, 121},

-- C8 --
[571] = { 50, 572, 517, 121},
[572] = { 100, 573, 518, 121},
[573] = { 150, 574, 519, 121},
[574] = { 180, 575, 520, 121},
[575] = { 200, 576, 521, 121},
[576] = { 400, 577, 522, 121},
[577] = { 600, 578, 523, 121},

-- Bills --
[581] = { 50, 582, 587, 121},
[582] = { 100, 583, 588, 121},
[583] = { 150, 584, 591, 121},
[584] = { 180, 585, 590, 121},
[585] = { 200, 586, 506, 121},
[586] = { 400, 587, 507, 121},
[587] = { 600, 588, 508, 121},

}
function onSay(cid, words, param, channel)
local from,to = {x=1001, y=705, z=7},{x=1031, y=737, z=7} -- começo e final do mapa
local from2,to2 = {x=1011, y=705, z=6},{x=1031, y=738, z=6} -- começo e final do mapa
local from3,to3 = {x=1012, y=706, z=5},{x=1032, y=739, z=5} -- começo e final do mapa
local from4,to4 = {x=985, y=598, z=7},{x=1044, y=652, z=7} -- começo e final do mapa
local from5,to5 = {x=986, y=615, z=6},{x=1039, y=647, z=7} -- começo e final do mapa
local from6,to6 = {x=990, y=616, z=5},{x=1040, y=647, z=5} -- começo e final do mapa
local from7,to7 = {x=1218, y=798, z=15},{x=1407, y=974, z=15} -- começo e final do mapa
local from8,to8 = {x=1554, y=1809, z=15},{x=1613, y=1838, z=15} -- começo e final do mapa
local from9,to9 = {x=1554, y=1809, z=14},{x=1613, y=1838, z=15} -- começo e final do mapa
local from10,to10 = {x=1554, y=1809, z=13},{x=1613, y=1838, z=15} -- começo e final do mapa
if isInRange(getCreaturePosition(cid), from, to) or isInRange(getCreaturePosition(cid), from2, to2) or isInRange(getCreaturePosition(cid), from3, to3) or isInRange(getCreaturePosition(cid), from4, to4) or isInRange(getCreaturePosition(cid), from5, to5) or isInRange(getCreaturePosition(cid), from6, to6)  or isInRange(getCreaturePosition(cid), from7, to7)  or isInRange(getCreaturePosition(cid), from8, to8)  or isInRange(getCreaturePosition(cid), from9, to9)  or isInRange(getCreaturePosition(cid), from10, to10) then
doPlayerSendCancel(cid, "Você não pode se Transformar nesta área!") return true
end

local voc = config[getPlayerVocation(cid)]
if voc then
if getPlayerLevel(cid) >= voc[1] then
doPlayerSetVocation(cid, voc[2])
local outfit = {lookType = voc[3]}
doCreatureChangeOutfit(cid, outfit)
doSendMagicEffect(getCreaturePosition(cid), voc[4])
else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.")
end
else
doPlayerSendCancel(cid, "Você não pode se Transformar!")
end
return true
end

 

Adiciona um:

doPlayerSave(cid, true)

 Em baixo de:

doPlayerSetVocation(cid, voc[2])

E vê se funciona, se n funcionar me fala que mudo aq o script pra vc.

Link para o post
Compartilhar em outros sites
6 minutos atrás, Kemmlly disse:

 

Adiciona um:


doPlayerSave(cid, true)

 Em baixo de:


doPlayerSetVocation(cid, voc[2])

E vê se funciona, se n funcionar me fala que mudo aq o script pra vc.

funciono nao :/

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por Jaurez
      .
    • Por Cat
      Em alguns casos, o tibia 8.60 comum não abre de jeito nenhum no map editor, mesmo desmarcando check file signatures e configurando o path corretamente.
       
      Este é o client 8.60 adaptado para o Remere's Map Editor. Resolvi postar já que ele foi removido do site oficial do RME. (ficou apenas a versão para linux lá)
      Se estiver tendo problemas para abrir a versão 8.60, tente utilizar este.
                                                                                                                     
      Baixar o Tibia Client 8.60 que funciona no Remere’s Map Editor
      Essa versão do Tibia 8.60 client resolve o erro unsupported client version ou Could not locate tibia.dat and/or tibia.spr, please navigate to your tibia 8.60 installation folder.
       
      Downloads
      https://tibiaking.com/applications/core/interface/file/attachment.php?id=47333

      Scan: https://www.virustotal.com/gui/file/333e172ac49ba2028db9eb5889994509e7d2de28ebccfa428c04e86defbe15cc
       
    • Por danilo belato
      Fala Galera To Com um problema aki 
       
      quero exporta umas sprites de um server para colocar em outro 
       
      eu clico na sprites ai aparece tds a forma delas do lado de la >>
       
      ai eu clico nela e ponho a opiçao de export mais quando salvo a sprite ela n abri 
       
      aparece isso quando tento vê-la 
       
      visualização não disponível ( no formatos png e bitmap)
       
      Agora no formato idc fala que o paint n pode ler 
       
      me ajudem ae...
    • Por Vitor Bicaleto
      Galera to com o script do addon doll aqui, quando eu digito apenas "!addon" ele aparece assim: Digite novamente, algo está errado!"
      quando digito por exemplo: "!addon citizen" ele não funciona e não da nenhum erro
       
      mesma coisa acontece com o mount doll.. 
    • Por Ayron5
      Substitui uma stone no serve, deu tudo certo fora  esse  erro ajudem  Valendo  Rep+  Grato  

      Erro: data/actions/scripts/boost.lua:557: table index is nil
       [Warning - Event::loadScript] Cannot load script (data/actions/scripts/boost.lua)

      Script:
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo