How to stock text in server ?

07/21/2015 19:51 Ssam_#1
Hello,

I wan't to stock a WIDC_EDIT text into my server during a day (Worldserver or DbServer i think), can you tell me in what file can i stock this ?

Thanks.
07/22/2015 01:12 'Mope'#2
what do u mean with stock ?
07/22/2015 08:58 Ssam_#3
Hello,

Store/stock, in a char or string variable.
07/22/2015 11:19 Mognakor#4
Whats the bigger purpose? What do you want to achieve?
07/22/2015 12:42 Lumi#5
More explanation would be nice.
07/22/2015 14:39 Ssam_#6
I wanted to do a fraction chat (Yannickmama fraction system fixxed), between members of fractions.

I have a window i created, with 2 WIDC_EDIT, one where you type your message, and you send it, And the second where is shown the text of the rest of the users (Like every chat system).

So the text of the WIDC_EDIT who show all messages would be stored in server for a day (The server will empty this text at 5pm for example).

I don't really know if a variable is good to store the texte, or if i will store it in a .txt, who is writed and readed by the server, and his content sended to the client at every request of him ?

I hope you understood my request ! :p

Thanks.

PS : I think like this : [Only registered and activated users can see links. Click Here To Register...]
07/22/2015 15:45 Mognakor#7
I had a very nice answer all written down but then my internet crashed so i'll make it short.

Using memory allows spammers to make your server lag.
Use the Database and find a way to deal with spam.
07/22/2015 15:49 Ssam_#8
It's better to use the database so ?

And i will limit messages per seconds like the original flyff shout.

Thank you !