@Levis
Thanks again for the help.
Sadly neither of the console codes worked.
First I tried:
ref perklist = makearef(characters[GetOfficersIndex(pchar,1)],"perks.list");
Deleteattribute(perklist,"BasicCommerce");
Nothing happened, the perk remained. This was the error log
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
not aref or ref
I tried changing "perklist" to "perks.list" in the second line but it still didn't work.
I also tried:
DeleteAttribute(characters[GetOfficersIndex(pchar,1)].perks.list.BasicCommerce)
Nothing happened, and I got this error:
COMPILE ERROR - file: console.c; line: 17
function 'DeleteAttribute(args:2)' doesnt accept 1 arguments
Sorry to bother you with this, but I'd really like to have a way of repairing my officers from the shared XP bug. Can you take another look at the console commands and give me something else to try? Thank you so much!
Thanks again for the help.
Sadly neither of the console codes worked.
First I tried:
ref perklist = makearef(characters[GetOfficersIndex(pchar,1)],"perks.list");
Deleteattribute(perklist,"BasicCommerce");
Nothing happened, the perk remained. This was the error log
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
Invalid Expression
COMPILE ERROR - file: console.c; line: 17
not aref or ref
I tried changing "perklist" to "perks.list" in the second line but it still didn't work.
I also tried:
DeleteAttribute(characters[GetOfficersIndex(pchar,1)].perks.list.BasicCommerce)
Nothing happened, and I got this error:
COMPILE ERROR - file: console.c; line: 17
function 'DeleteAttribute(args:2)' doesnt accept 1 arguments
Sorry to bother you with this, but I'd really like to have a way of repairing my officers from the shared XP bug. Can you take another look at the console commands and give me something else to try? Thank you so much!
