BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Age of Conan Archive => AoC 0.6 support => Topic started by: Margon on December 15, 2009, 06:21:00 pm

Title: playfield informations from /who ?
Post by: Margon on December 15, 2009, 06:21:00 pm
is it possible to show the playfield informations from the command "/who Name"
in the bot?
Title: Re: playfield informations from /who ?
Post by: Getrix on December 16, 2009, 07:19:37 am
From what i have checked this isnt possible with only chatserver access. You need to get on Community/Gameserver to get this info.
But i may be wrong, i hope :P
Title: Re: playfield informations from /who ?
Post by: keirou on December 17, 2009, 05:52:28 pm
i had someone telling me that the [6] that gets returned when a player zones also is able to return a instance id, and they were able to translate this instance into a database for what zone people are in.

Quote from: RicCarr
I posted this in the forum ...

Bebot receives the "buddy" event which includes the players status, level, and location id. I've modified the php to track the location id into my database. Guild members are notified of the name of the location they've just zoned to, if it already has a name, or else prompts them to add a name for where they are if none exists. This way I'm getting the guild members to help build the list of names to location ids.

Hi,

I am/was unaware of that shift-F9 feature :unsure:  however the location ids I am gathering via bebot are 9 digit values, not those 4 digit version, though I will examine and see if there is some correlation or sub-part that is contained in the 9 digit id of the 4 digit value.

I gather my values automatically. If you have bebot source, the location id comes in the inc_buddy event in the bot.php; near line 1031 you will see the assignment of parameter 3 to the location field of the who array structure. This is then stored in the users table I believe. I made a new module and registered the buddy() event in it, then whenever someone logs on or changes zone the buddy event is fired and I get the location id in the 3rd parameter. I made a separate database table and store them plus prompt the user to add a name if there is no name for the current id.

If you run a bebot and are a bit savvy with php and sql, then I'll send you the source for my module if you want it.


that was both pm's he sent
Title: Re: playfield informations from /who ?
Post by: Getrix on December 17, 2009, 07:47:03 pm
Yes, i also did the same 1year ago. Untill i found it it isnt fixed instance ID for that "map location" (ex Potain), but instance it of that current instance.
Ex Player 1 enters Potain, it gets instanceID: 100000, he is leaving the instance and it gets closed ie reseted.
But as long the instance is open with ppl inside, it will keep the instanceID: 100000.
This instanceID number will increase untill its on the end of allocated IDs, then it will start from beginning again where it have free numbers.

So one week, instanceID 10000 could be Potain, another week it could be Old Tarantia.

This was atleast my discover 1year ago.

Im using the instanceID stored in whois table to find out who is inside same instance as playerX..

Hm, while writing the obove text i also started to do new exploring.
I find out that pushing "Shift+F9" also gives another IDs.
Will play around abit more before saying its not possible..

EDIT: If he wanna share the stuff, im happy to get intouch;)
Title: Re: playfield informations from /who ?
Post by: Riccarr on December 17, 2009, 10:13:35 pm
I sent you a pm on this, Getrix.
Title: Re: playfield informations from /who ?
Post by: Getrix on December 17, 2009, 11:40:16 pm
So, whats needed is to find a way (If possible) to grab the 4 digit instance id.
I have tried to find where the uid/name/lvl/instanceid gets grabbed and if its possible to get this 4digit, but think i need to giveup for now :/ Hope someone with better knowledge can give some hints, or even a solution on it..

Not sure where BeBot gets the instanceID today, but the number we need is the 4digit from "Shift+F9" like this and not the longer digit:

Quote
Dim: 3 Server: 47
Pos: 323.1, 705.3, y 145.3 4010
Zone: 0
Server: prodgame001.ams.ageofconan.com (id:1 global:47)
UTC: Thu Dec 17 21:14:53 2009

Pf Proxy: Model=[Identity 51100:4010] GroupSelector=0 Subgroup=50680759 RunningPlayfield=[Identity 40016:347739]
Version: ACHA_v1.05.dreamworld@74517_ConanLiveWin
Revision: 74517
Title: Re: playfield informations from /who ?
Post by: Riccarr on December 18, 2009, 10:29:35 pm
Can the bot send the /who command and receive the player information? It tells the map that they are one.
SimplePortal 2.3.7 © 2008-2024, SimplePortal