Recently Browsing 0 members
No registered users viewing this page.
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.
I have searched all over the forums and can't find anything that exactly matches this.
I can connect fine to the server using my windows client, but when I try to connect using my mac client it immediately bounces back stating "You have been disconnected from the server".
I have the correct IP address in the config.wtf (And realmlist in the DB) but still can't connect.
I of course can't apply the connection patcher, because the EXE isn't mac compatible.
Is there something else I need to do to connect with mac?
Here is my connection.log if it helps (NOTE that the ".logon.battle.net" I can't get rid of... there is no where config.wtf that has that).
3/14 13:10:21.966 Login program=WoW platform=Mc64 locale=enUS 3/14 13:10:22.097 Component WoW.Mc64.20886 3/14 13:10:22.097 Component WoW.base.20726 3/14 13:10:22.099 Battle.net is Component Bnet.Mc64.37165 3/14 13:10:22.099 LOGIN: state: LOGIN_STATE_CONNECTING result: LOGIN_OK 3/14 13:10:22.145 Failed to resolve “220.127.116.11”.logon.battle.net 3/14 13:10:22.145 LOGIN: state: LOGIN_STATE_FAILED result: DISCONNECTED 3/14 13:10:22.145 Login program=WoW platform=Mc64 locale=enUS 3/14 13:10:22.145 Component WoW.Mc64.20886 3/14 13:10:22.145 Component WoW.base.20726 3/14 13:10:22.154 Battle.net is Component Bnet.Mc64.37165 3/14 13:10:23.298 Client Disconnect due to reason:8 3/14 13:12:54.053 LOGIN: state: LOGIN_STATE_CONNECTING result: LOGIN_OK 3/14 13:12:54.073 Failed to resolve “192.168.1.130”.logon.battle.net 3/14 13:12:54.151 LOGIN: state: LOGIN_STATE_FAILED result: DISCONNECTED 3/14 13:12:54.151 Login program=WoW platform=Mc64 locale=enUS 3/14 13:12:54.173 Component WoW.Mc64.20886 3/14 13:12:54.173 Component WoW.base.20726 3/14 13:12:54.308 Battle.net is Component Bnet.Mc64.37165 3/14 13:12:54.309 Client Disconnect due to reason:8
(sorry for bad english)
i was trying out the 6.X Core and there was no Spawns in Dreanor.
So i want to Sniff them from Live and add them my Self. If i manage to get it to work i will share my Work.
I need some help.
Im complete new to sniffing/parsing. And the last time i was setting up a Privatserver is some years ago.
Some month ago i made my degree in Software dev. so i got "some" C# & SQL knowledge.
Im compiling the Core and Parser myself.
My sniffing attemps
I was walking around in Dreanor/Gorgrond for testing to get some spawns.
I got a 2MB .pkt Package and try to parse the creatures and i got some data out that looks not correct to me.
- The names of the creatures not working, looks like some utf-8 problem.
- The data dont look correct, and dont match the TDB tables. for example:
[...] modelid1=32784, modelid2=117440512, name='�', rank=1852130080, family=1851877746, type=1866932324 [...]
The parsed SQL is producing errors like this:
Out of range value for column 'modelid2' at row 1
Out of range value for column 'rank' at row 1
Out of range value for column 'family' at row 1
Can you help me getting this to work?