Page 6 of 7

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Mon Apr 27, 2009 6:17 am
by coko
Excellent work! Can't wait to have a browse through the source code, been writing python on and off for the last year now, be good to see how good programmers write it!

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Mon Apr 27, 2009 1:08 pm
by poiuy_qwert
Thanks for the compliments :)

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sat May 02, 2009 5:54 am
by coko
Exception in Tkinter callback
Traceback (most recent call last):
  File "Tkinter.pyc", line 1410, in __call__
  File "Tkinter.pyc", line 495, in callit
  File "Libs\utils.pyc", line 1066, in showtip
TypeError: 'tuple' object does not support item assignment

This happens when trying to show a tooltip. It happens when I try and show the tool tip on my second monitor. If I use it on my first monitor it is fine. Judging from the code I believe it something to do with the fact that something returns as a tuple since there are two monitors rather than a single object?

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sat May 02, 2009 1:07 pm
by poiuy_qwert
Odd, I dont have two monitors so I cant test it, but i'll look into it. Thanks.
Edit: I found the problem. Was just my mistake. If you use the source version you can open Libs\utils.py and change that line from:

Code: Select all

			pos = (self.widget.winfo_rootx() + self.widget.winfo_reqwidth(), self.widget.winfo_rooty() + self.widget.winfo_reqheight())
to

Code: Select all

			pos = [self.widget.winfo_rootx() + self.widget.winfo_reqwidth(), self.widget.winfo_rooty() + self.widget.winfo_reqheight()]
Though im not exactly sure how it will work with two monitors, as in will it try and keep the tooltip on the first monitor or not?

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sat May 02, 2009 6:28 pm
by coko
I'll try and test it out, I just require PIL and 2.5.x right?

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sat May 02, 2009 7:35 pm
by poiuy_qwert
Yep. Thanks!

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sun May 03, 2009 5:04 am
by coko
It appears in the corner of the main monitor. So no longer crashes but doesn't work as intended obviously.

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sun May 03, 2009 10:59 am
by poiuy_qwert
I see... hm.... Well as far as I can tell there is no way for me to tell if things are on the first monitor or the second, so my code which keeps the tooltip "on screen", keeps it on the first monitor. I'll look into it more when I get home.

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sun May 03, 2009 3:28 pm
by coko
Ok, I'll see if I can find anything else, though I am not modding presently.

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Sun May 31, 2009 9:04 pm
by poiuy_qwert
Well there havn't been any new bugs/ideas for a while, so I will be releasing the next version REAL soon, most likely when I finish the first version of PyMPQ. On that note, here are updated screenshots of PyMPQ:
[imgwh 640x473]http://i39.tinypic.com/2r58g74.png[/imgwh]
[imgwh 640x442]http://i42.tinypic.com/117z98l.png[/imgwh]

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Wed Jun 03, 2009 10:44 pm
by poiuy_qwert
Ok I've released PyMS v1.2.1, and the important features of the release are:
- Added PyMPQ
- Added a find window in PyICE
- Fixed many bugs
- Made PyTRG's loading faster as well as added RawCond and RawAct for easy raw condition and action creation

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Thu Jun 04, 2009 12:02 pm
by Lavarinth
High-five!

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Thu Jun 04, 2009 2:16 pm
by poiuy_qwert
High-five!

Low-five!

Too slow!

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Thu Jun 04, 2009 6:15 pm
by Lavarinth
:'(

Re: PyMS, Mac and Windows compatable Modding Suite

Posted: Fri Jun 05, 2009 12:35 pm
by poiuy_qwert
I'll go slower next time :(