{"action":"created","issue":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/1545","labels_url":"https://api.github.com/repos/otland/forgottenserver/issues/1545/labels{/name}","comments_url":"https://api.github.com/repos/otland/forgottenserver/issues/1545/comments","events_url":"https://api.github.com/repos/otland/forgottenserver/issues/1545/events","html_url":"https://github.com/otland/forgottenserver/issues/1545","id":103609793,"number":1545,"title":"Player String Storage and Creature Storage","user":{"login":"gesior","id":2642737,"avatar_url":"https://avatars.githubusercontent.com/u/2642737?v=3","gravatar_id":"","url":"https://api.github.com/users/gesior","html_url":"https://github.com/gesior","followers_url":"https://api.github.com/users/gesior/followers","following_url":"https://api.github.com/users/gesior/following{/other_user}","gists_url":"https://api.github.com/users/gesior/gists{/gist_id}","starred_url":"https://api.github.com/users/gesior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesior/subscriptions","organizations_url":"https://api.github.com/users/gesior/orgs","repos_url":"https://api.github.com/users/gesior/repos","events_url":"https://api.github.com/users/gesior/events{/privacy}","received_events_url":"https://api.github.com/users/gesior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-27T22:42:37Z","updated_at":"2015-08-28T19:09:02Z","closed_at":null,"body":"1. I understand that for some efficiency and 'script safety' reasons, you prefere 'number' storage, but 'string' storage would be really useful for many scripts.\r\n\r\nI think that should be added as new type of storage with functions like 'getStringStorageValue' and 'setStringStorageValue'.\r\n\r\n2. Maybe add storage to creatures as it was in TFS 0.4? It was really useful for 'action'/'creaturescripts' to save some information in creature."},"comment":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/comments/135862555","html_url":"https://github.com/otland/forgottenserver/issues/1545#issuecomment-135862555","issue_url":"https://api.github.com/repos/otland/forgottenserver/issues/1545","id":135862555,"user":{"login":"gesior","id":2642737,"avatar_url":"https://avatars.githubusercontent.com/u/2642737?v=3","gravatar_id":"","url":"https://api.github.com/users/gesior","html_url":"https://github.com/gesior","followers_url":"https://api.github.com/users/gesior/followers","following_url":"https://api.github.com/users/gesior/following{/other_user}","gists_url":"https://api.github.com/users/gesior/gists{/gist_id}","starred_url":"https://api.github.com/users/gesior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gesior/subscriptions","organizations_url":"https://api.github.com/users/gesior/orgs","repos_url":"https://api.github.com/users/gesior/repos","events_url":"https://api.github.com/users/gesior/events{/privacy}","received_events_url":"https://api.github.com/users/gesior/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T19:09:02Z","updated_at":"2015-08-28T19:09:02Z","body":"@brunominervino \r\nSend SQL query everytime you want to set/get storage? If you use it on 'players online' loop, it will freez server!\r\n\r\n@PrinterLUA \r\nWhat? Make table of string that map to numbers? I want to keep in database string values!\r\nLike player say '!mydescription I am cool guy' and I want to store it somewhere.\r\n\r\nUse globalstorages? What? How? I got monster with some weird IDs and I want to keep for it few values. Is it so hard to add 1 array/map to Creature?\r\n"}}