Google-Code-Fork / tibiaapi

Automatically exported from code.google.com/p/tibiaapi
MIT License
0 stars 0 forks source link

Setting player outfit color and a player object on SelfAppearPacket #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
----Setting player outfit color
What steps will reproduce the problem?
1. set a player object (player = client.getplayer)
2. try to set an outfit color (player.outfit.head = 0)

What is the expected output? What do you see instead?
My character's head should turn black. Nothing happens.

----Setting player object on SelfAppearPacket
What steps will reproduce the problem?
1. set a player object when the SelfAppearPacket arrives

What is the expected output? What do you see instead?
It should set the player object without debugging. I get debugged on
client.GetPlayer throwing an exception that I'm not logged in.

I was able to do this before, so there must have been some change that
messed it up.

Original issue reported on code.google.com by joebingham07@gmail.com on 26 Feb 2009 at 4:10

GoogleCodeExporter commented 9 years ago
Disregard the SelfAppearPacket, I just realized there's a PlayerLogin event.

Original comment by joebingham07@gmail.com on 26 Feb 2009 at 4:34

GoogleCodeExporter commented 9 years ago
Instead of making a new issue I figured I'd append to this one. When I set the 
client
title (client.title = "hello") it doesn't return the new value, it returns 
"Tibia".

Original comment by joebingham07@gmail.com on 26 Feb 2009 at 5:20

GoogleCodeExporter commented 9 years ago
maybe the problem is with the process class (get { return 
process.MainWindowTitle; })
I think it doesn't update the "MainWindownTitle" very often. 

PS: I didn't run any test yet.
PS2: If you need this right now, use the windows api to get the client title ;)

Original comment by brunodun...@gmail.com on 26 Feb 2009 at 2:32

GoogleCodeExporter commented 9 years ago
joe,

Please make three separate issue reports, no matter how trivial.

Original comment by ian320 on 26 Feb 2009 at 2:48

GoogleCodeExporter commented 9 years ago

Original comment by joebingham07@gmail.com on 26 Feb 2009 at 4:05