Closed GoogleCodeExporter closed 9 years ago
I wasn't finished when that submitted.
(continued from above)
I'd like to say:
myController.myClient.Proxy.ReceivedPacketEvent(StatusMessagePacket) = New
Proxy.PacketListener(AddressOf StatusMessageEvent)
You could write the receivedpacketevent routine so that it manages all packets
instead of just one.
Just a thought - jcarley
Original comment by jared.ca...@gmail.com
on 29 Nov 2008 at 11:25
Instead of listening for one packet type, listen for any packet received from
the
server or client:
client.Proxy.ReceivedPacketFromServer = New Util.Proxy.PacketListener(AddressOf
PacketFromServer)
client.Proxy.ReceivedPacketFromClient = New Util.Proxy.PacketListener(AddressOf
PacketFromClient)
Original comment by joebingham07@gmail.com
on 30 Nov 2008 at 12:31
Thanks a lot for your input. I never knew that anyone would want the movement
packets, but they shouldn't be too hard to add.
Also, if you already have a list of pass through tiles, post them here and we
will
add them. Otherwise, we can start compiling the list and adding it as we go.
And about the packet listeners: there are two general purpose packet listeners,
ReceivedPacketFromServer and ReceivedPacketFromClient, that are called for every
packet sent and received. If you'd like one method to handle several events
using a
switch case, you can add that method as a handler for any number events. Do this
solutions fit your problem, or are you looking for something different?
EDIT: Jo3 posted while I was writing, so forgive the redundancy.
Original comment by ian320
on 30 Nov 2008 at 12:37
I can believe I hadn't responded yet. Sorry.
I don't have a list of pass through tiles.
I see the list of events has already expanded a great deal since the update. I
am
very satisfied with how things are developing. I'm updating my project with
each new
revision of TibiaAPI right now but once everything gets put back together I'm
sure
I'll post some new suggestions and bug reports. You guys seriously rock.
Original comment by jared.ca...@gmail.com
on 22 Dec 2008 at 6:35
I'll go ahead and deprecate this issue since his issue was resolved. If anyone
wants
to compile a list of pass-through tiles and add them to the API, be my guest. :)
Original comment by joebingham07@gmail.com
on 10 Nov 2009 at 6:48
Original issue reported on code.google.com by
jared.ca...@gmail.com
on 29 Nov 2008 at 11:22