SRL Archive - Reflection Development

StringWrapper/RSString went away


Widget

2009-02-26 18:37:52

  // RSString
StringBytes = 'fb';
will no longer be used. The following will be affected:

// Player
CharName = 'Qc';

// Client
ChatMessages = 'tb.j';
ChatTypes = 'qf.V';
ChatNames = 'h.n';

MenuOptions = 'ai.K';
MenuActions = 'hc.Mb';

// NPCDef
NPCName = 'q';

// Interface Hooks
// General
InterfaceText = 'Ab';

// Bank
BankItemName = 'Qb';
Anything that references though will have to have to be changed.

As far as I know, it's just something like changing
TheBytes := SmartGetFieldObject(TheNPCDef, NPCName + '.' + StringBytes);
to
TheBytes := SmartGetFieldObject(TheNPCDef, NPCName);

Method

2009-02-26 23:34:39

A String is not the same as a byte array. This will require some more extensive changes within SMART, I'd think.