Jump to content
  • 0

How To Store Data L2Jfrozen


Sinister Smile

Question

Hi all, i have problem with my color manager ( Change color Name / Tittle ). When someone change the name or title color he get the desired color, but when he restart and login again he dont have the buyed color .. how to save the color when he buyed it?

i try with 
st.getPlayer().store();

but i get only SyntaxError

SyntaxError: ('invalid syntax', ('__init__.py', 116, 33, '\t\t\t\tst.player.store();'))

 

this is one of the event's.

        if event == "306":
            if st.getQuestItemsCount(ITEM_ID) >= COLOR_COUNT:
                st.takeItems(ITEM_ID,COLOR_COUNT)
                st.getPlayer().getAppearance().setTitleColor(0xff0000)
                st.getPlayer().broadcastUserInfo();
                return "6.htm"
            else:
                return "incorrectcount.htm"

any other advice?

Edited by Sinister Smile
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.


×
×
  • Create New...