Author Topic: Very very confused on why this won't work.  (Read 1053 times)

For a friend, I am re-fixing up this City RPG, Jookia's, to be exact, I have 1 mod, which I made, which was Player_7SlotPlayer just for the City RPG, thing is, that the player on the script doesn't seem to be working. Anyway, heres the 7SlotPlayer script.
Code: [Select]
//7 slot player.
datablock PlayerData(Player7SlotPlayer : PlayerStandardArmor)
{
minJetEnergy = 0;
jetEnergyDrain = 0;
canJet = 0;

uiName = "7 Slot Player";
showEnergyBar = false;
maxTools = 7;
maxWeapons = 7;
};

Then it has description.txt, namecheck.txt, and the server.cs which has
Code: [Select]
exec("./Player_7SlotPlayer.cs");And this is Jookia's code for the player datablock.
Code: [Select]
%error = forceRequiredAddOn("player_7slotplayer");

if(%error)
{
if(%error == $error::addOn_disabled)
{
player7SlotPlayer.uiName = "";
}

if(%error == $error::addOn_notFound)
{
return;
}
}

I think this is all right, I do not know if it's all right, I've checked and for some reason, very odd, I do not spawn with 7 slots.

And the last piece of code was the only place I saw that had what it put as the player's playertype.

All I basically need is the all-go round to see if it's alright, and the other thing is to fix how I can make the player to get at least 7 slots.

Much appreciated that you have looked at my topic, and thank you if you reply back with anything that can help me.

- Bloxxed.

Alright, I just figured out that I didn't even have the Support_InventorySlots  :cookieMonster:
Anyway, the thing is NOW it doesn't show up in the start screen add-ons folder.
That is, the Support_InventorySlots.
« Last Edit: May 24, 2010, 02:33:43 PM by Bloxxed »

I think support is enabled by default?

I think support is enabled by default?
Nahh, you need Chrono's SupportSlots add-on, that's why it makes you able to do maxtools = 7 and maxtools = 7, etc.