• Welcome to Valhalla Legends Archive.
 

Warcraft III Clan Creation

Started by RealityRipple, September 18, 2006, 12:32 AM

Previous topic - Next topic

RealityRipple

Hi, I'm having issues writing the code to create a clan. I have 10 bots, all on seperate keys, all war3. One bot sends the invite, which works. it gets the other 9's names and prompts to select which ones to invite. that works fine. I then invite them all. they all ask if they should accept, and i hit yes on all of them. then nothing.

My questions:
First, does every account have to be on a different IP? I'm only using one proxy (5 on my regular IP, 5 on the proxy)
Second, three of the keys I'm using apparently don't allow speaking. Is that a problem?

Any other userful info would be helpful.

PS: Is it just my connection, or is bnetdocs down?

Denial

It doesn't matter what ip's your on as long as 9 people + the creator are not already "clanned" which you should first find out as well. that is probably the error you are coming to and don't realize.
Actus non facit reum nisi mens sit rea

Hero

I've made a clan with 8 on my ip and 2 on a proxy, it works everytime. The reason why it won't work is most likely because your keys are clanned. Clanned means that they have been used to create a clan in at least 7 days. After 7 days, it should work.

If you are wondering how to check if they are clanned, the only way I did it was using eternal chat, but I take it eternal chat won't work anymore.

RealityRipple

crap... I'm trying to get this release done quickly. Does anyone know how eternal detects the status of the keys?

Hero

Log in and everything, go to clan manager then put in a random tag and click 'find canadates'. If it gives you an error 'unable to find canadates' then that means its clanned, if it says 'availible canadates', its good.

Oh, make shure there is at least 1 other war3 in the channel so it can find it (or not).

I just confused myself.

RealityRipple

Ok, thanks. I'll be back with results if i have problems.

RealityRipple

#6
One "clanned" key is my guess. one of the keys responded with 0x02, which, i guess, means it's clanned?

Also, I got em all to respond correctly to ClanFindCandidates (changed the one cdkey), and still nothing.

I want to make sure I'm doing this right, so please correct me:
Leader-To-Be sends Find Candidates.
Bnet responds with candidate list (or error)
Leader-To-Be sends Multiple Invite
Invitees get message, send back &H6 for accept, &H5 for deny.
Leader gets response of success or fail

I get to the invitees getting the message and sending the response of &H6... and then nothing happens.

Hero

So on each key you logged in, went to the clan manager and clicked 'find canadates'?

RealityRipple

I did it on my bot, but ya. One responded with &H2, which I assume was the value for "clanned" keys. The rest gave me a list of everyone in my channel. I changed that one, and it did the same as the rest of them. Keep in mind that this is all guesswork coded, and based on a cache view of bnetdocs.

RealityRipple

#9
Ok, this may or may not be the problem, but IS the "Invitees get message, send back &H6 for accept, &H5 for deny." correct? The cached version of Clan Message Codes on bnetdocs says:
Quote0x00: Success
0x01: In use
0x02: Too soon
0x03: Not enough members
0x04: Invitation was declined
0x05: Decline
0x06: Accept
0x07: Not authorized
0x08: User not found
0x09: Clan is full
0x0A: Bad tag
0x0B: Bad name
But it doesn't seem to be working. Can anyone confirm or deny that &H6/0x06 is the correct response to SID_CLANCREATIONINVITATION? I know it's correct for SID_CLANINVITATIONRESPONSE, since I already tested it. (Except that BNetdocs says 0x04 is decline for SID_CLANINVITATIONRESPONSE, so i'm a bit confused there, too).

MyndFyre

Have you tried looking at a packet log?
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

RealityRipple

I don't have war3, so I can't log it. My only copy of the original game was an ISO (i have frozen throne on a legit cd a friend gave me), and it was lost when my hard drive got 4 kb of corrupted file space. stupid large files.

Roam

You can always just make the clan with Voided keys. Not sure if it still works or not, but I made Clan aKhQ a month ago with it, just load up all the names. And the names that are voided, /friend add  The Chieftan, and do the same on the chieftan, /friend add the voided names. Then when you invite it should pop up on all of them, and work. Worked for me, should work for you.

Hero

Quote from: Roam on September 20, 2006, 12:42 AM
You can always just make the clan with Voided keys. Not sure if it still works or not, but I made Clan aKhQ a month ago with it, just load up all the names. And the names that are voided, /friend add  The Chieftan, and do the same on the chieftan, /friend add the voided names. Then when you invite it should pop up on all of them, and work. Worked for me, should work for you.
Although this has nothing to do with his problem, I guess it could make good info for some people.

RealityRipple

Ya, I found out why it wasn't working... stupid typo of course. I put the Clan name where the user name goes, and vice versa, in the creation invitation response. Creation works fine now, but i have to wait a week to test everything else -.- . And I still don't know what the correct Decline values are.