Recently Browsing 0 members
No registered users viewing this page.
Hello, before i was using trinity fine, everything working perfect. But now, im always getting the worldserver.exe crash.
Here is log, if someone can help me to fix it, please. Thanks
Screenshoot where error always appear
And, Error Log
I'm currently developping a web site to allow user to create an account and play in the game. For that I'm using soap connection, this way I can execute gm command from my website. (like bnetaccount create ...)
I was wondering, if one day I have a lot of players and I need to limit the amount of players who can be connect in the game at the same time.
But I want to choose (I will not choose my self I will create a php script for that) wich one can connect or not.
So my questions are:
- is there a way to know when a user try to connect in game, I mean a request is send to my website (or another way)? how?
- if yes can I avoid the connection to the game? how?
- is there a way to disconnect a user in the game using soap command (or another way)? how? Because here https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130065/GM+Commands I can't find a command to disconnect a player
Thank you for your help.
Hi all, im trying now to make an php custom market for buying an items in website, and i would ask for help. Which is the proper way to add/send items to player with in-game mail?
I need to add new entry in mail, mail_item, and item_instance ???
Something like that?
$mail->insert( 'mail', array( 'messageType' => 0, 'stationery' => 61, 'mailTemplateId' => 0, 'sender' => 1, 'receiver' => 2, 'subject' => 'Market item', 'body' => 'You have successfully buyed an item from market!', 'has_items' => 1, 'checked' => 0 ), array( '%d', '%d', '%d', '%d', '%d', '%s', '%s', '%d', '%d' ) ); $mail->insert( 'mail_items', array( 'mail_id' => 44, 'item_guid' => 61, // ???? 'receiver' => 0 ), array( '%d', '%d', '%d' ) );
I've been trying to implement my own simple cms solution without php, but can't figure out the formatting of the SOAP requests. I was wondering if anyone was able to explain where I can find the wsdl schema? Googling only really gives results for php...
edit2 solved after 2 days. feel free to close. code was updated with correct structure. make sure to set basic authentication headers in your request.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema" xmlns:ns1="urn:TC">
The code is enough to get to the authorization stage but I'm not sure how to log in.