collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18366
  • stats Total Topics: 2501
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: playfield informations from /who ?  (Read 3759 times)

0 Members and 2 Guests are viewing this topic.

Offline Margon

  • BeBot Apprentice
  • ***
  • Posts: 80
  • Karma: +0/-0
playfield informations from /who ?
« on: December 15, 2009, 06:21:00 pm »
is it possible to show the playfield informations from the command "/who Name"
in the bot?

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: playfield informations from /who ?
« Reply #1 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
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: playfield informations from /who ?
« Reply #2 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

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: playfield informations from /who ?
« Reply #3 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;)
« Last Edit: December 17, 2009, 07:55:53 pm by Getrix »
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: playfield informations from /who ?
« Reply #4 on: December 17, 2009, 10:13:35 pm »
I sent you a pm on this, Getrix.

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: playfield informations from /who ?
« Reply #5 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
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline Riccarr

  • BeBot User
  • **
  • Posts: 35
  • Karma: +0/-0
Re: playfield informations from /who ?
« Reply #6 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.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]

* Who's Online
  • Dot Guests: 227
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal