• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Website giving wrong shop items

Blez

eh..
Joined
Dec 21, 2010
Messages
3,045
Reaction score
740
Location
Hell, Caymen Islands
So i'm using tfs 1.3 and iv put the correct ids inside the shop system, and bare in mind im not receiving any errors from this, and it will tell me that iv received an outfit from the shop, but it will either give me no outfit at all or give the wrong outfit. and the ids are coming directly from my xml file.
 
Solution
The outfit will appear visible when you have both addons on the outfit. The Lua script should accomodate for all outfits, but only some of them are displayed on the website.

Here is a list of (default) enabled outfits on website:
You configure this in characterprofile.php (line 243~)
PHP:
$male_outfits = array(
    [128,129,130,131,132],
    [133,134,143,144,145],
    [146,151,152,153,154],
    [251,268,273,278,289],
    [325,328,335,367,430],
    [432,463,465,472,512],
    //516,541,574,577,610,619,633,634,637,665,667,684,695,697,699,725,733,746,750,760,846,853,873,884,899
);
$female_outfits = array(...
I'm almost positive.
Post automatically merged:

I found this script that will show the outfits full that player currently has.
- Female (girl) outfits
136,137,138,139,140,141,142,147,148,
149,150,155,156,157,158,252,269,270,
279,288,324,329,336,366,431,433,464,
466,471,513,514,542,575,578,618,620,
632,635,636,664,666,683,694,696,698,
724,732,745,749,759,845,852,874,885,
900
},
{ -- Male (boy) outfits
128,129,130,131,132,133,134,143,144,
145,146,151,152,153,154,251,268,273,
278,289,325,328,335,367,430,432,463,
465,472,512,516,541,574,577,610,619,
633,634,637,665,667,684,695,697,699,
725,733,746,750,760,846,853,873,884,
899

if the outfits in xml are not listen in there then will it not be given to the players you think?
 
The outfit will appear visible when you have both addons on the outfit. The Lua script should accomodate for all outfits, but only some of them are displayed on the website.

Here is a list of (default) enabled outfits on website:
You configure this in characterprofile.php (line 243~)
PHP:
$male_outfits = array(
    [128,129,130,131,132],
    [133,134,143,144,145],
    [146,151,152,153,154],
    [251,268,273,278,289],
    [325,328,335,367,430],
    [432,463,465,472,512],
    //516,541,574,577,610,619,633,634,637,665,667,684,695,697,699,725,733,746,750,760,846,853,873,884,899
);
$female_outfits = array(
    [136,137,138,139,140],
    [141,142,147,148,149],
    [150,155,156,157,158],
    [252,269,270,279,288],
    [324,329,336,366,431],
    [433,464,466,471,513],
    //514,542,575,578,618,620,632,635,636,664,666,683,694,696,698,724,732,745,749,759,845,852,874,885,900
);

The ids behind the // in the last row of each gender are disabled, but you can add it to the list. Just make sure they fit in the array matrix.

Remember to register the Lua script in login.lua, and that it will take effect after the player relog his character.
 
Solution
Hello, i have add the lasts numbers in the same line correctly.
But reloggin, restarting server nothing changes, i have created a new account and also is the same.

For example outfit id 1289 ( with both addon ) giving outfit id 289, demon hunter, and 1289 is dragon slayer, on xml file.
What we forget ?
On login.lua what we need to do ? Is login.lua about datapack ?
 
Back
Top