Jump to content

Send mail in game whith mysql, its possible ?


Guest lecails

Recommended Posts

you can't.

the table is only being loaded at startup, so you have to stop mangos, insert mails into the db and then start mangos again.

or you can search through the forum, i think there once was a patch which added another table and then from time to time loaded all mails from that table.

-- DasBlub

Link to comment
Share on other sites

While the telnet interface is clearly a better approach than the database as IPC antipattern, it has some limitations. Currently only one user is allowed to login, which can become a problem for crowded websites. Some form of queuing is needed serverside. Another issue is the missing specification; you can hardly say if an output of a command ended or if other lines will follow, which makes automated use of the telnet interface difficult.

In order to eliminate these restrictions, I started to implement a SOAP interface. After authenticating, you will send your commands encapsulate in a SOAP request. You will either receive a success message or a SOAP fault message. Handling things with this will be far more easy, expect a fiveliner in php ;)

It's in an early state of development, but if you're interested you might want to have a look at it:

http://github.com/arrai/mangos/commits/mangossoap

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use