Google-Code-Fork / tibiaapi

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

Client chooser bug #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I've mc with 3 opened tibia for example, I select one,
but the client chooser select the first client opened

Original issue reported on code.google.com by marcaumg...@gmail.com on 4 Dec 2012 at 4:47

GoogleCodeExporter commented 9 years ago
Could not reproduce the error using tibiaapi-current, are you using it? 

I opened 3 clients, logged in with 2 of them and used the PlayerTest app...all 
info regarding characters were correct.

Please provide code so we can reproduce this error.

Original comment by geancarl...@gmail.com on 4 Dec 2012 at 6:14

GoogleCodeExporter commented 9 years ago
Yes I'm using the branches tibiaapi-current
I've 3 mc open (my own mc) i login all mc and  open one bot.
The client chooser say for me for example "My Char" it's the second on list.
If I choose the first in list for example it select the second.

Original comment by marcaumg...@gmail.com on 4 Dec 2012 at 6:26

GoogleCodeExporter commented 9 years ago
Please upload a sample project reproducing the issue. Also, remember to keep it 
as minimal as possible.

I'll open 3 clients, login them all and finally pick the first on the list. 
We'll see if the current dll has this problem.

Original comment by geancarl...@gmail.com on 4 Dec 2012 at 6:51

GoogleCodeExporter commented 9 years ago
Uploaded a simple project of
Note: Hook.dll is the Tibiaapi current
and the injected.dll is tibiaapi_inject

Original comment by marcaumg...@gmail.com on 4 Dec 2012 at 9:15

Attachments:

GoogleCodeExporter commented 9 years ago
You can test it on healer issue too
it's the same bot

Original comment by marcaumg...@gmail.com on 4 Dec 2012 at 9:21

GoogleCodeExporter commented 9 years ago
I see the only relevant changes you have made to the way ClientChooser is used 
is setting the options. So I tested once again with PlayerTest and modified 
client choosing to:

            var cco = new Tibia.Util.ClientChooserOptions();
            cco.ShowOTOption = false;
            cco.Smart = false;

            client = Tibia.Util.ClientChooser.ShowBox(cco);

and it still worked as expected. Like I said, make sure you are using 
tibiaapi-current from the repository. The Release folder has it compiled.

If you can reproduce this issue with that dll, please post here or pm me on 
tpforums.org(user Farsa) so I can fix it. This issue is closed as NoRepro for 
now.

Original comment by geancarl...@gmail.com on 4 Dec 2012 at 10:29