
I thank everyone for their help on diagnosing these problems with it. We will need the support when network starts to be integrated into the client, so stay tuned!
Moderator: Moderators
I really want to make tabbing work...it is a top priority for me. I have built the framework to support tabs, but I don't know if I did it right. Only time will tell.Cheery wrote:Works well now, good job ace.
Why wouldn't you write the lobby code yourself?
http://www.amk.ca/python/howto/sockets/
For windows maniacs, you can use py2exe to make it look like windows application.![]()
Please make tabbing work, it really makes it better to crawl trough your graphical interface.
Sweet, this should be useful for me. =)NMDANGE wrote:Ace,
I've documented the protocol used by the current client and am implementing it in PW. I will releade the spec as soon as it is ready, which should be in the next day or two.
except if they aren't documented well.Min3mat wrote:don't say fat say phat :D the more functions the better!
Code: Select all
def nice_func( a, b, t ):
'''
Hi I'm really well documented example function.
Makes a linear equtation between a and b points, returns the t point
from the line.
parameters:
a as vector, first point.
b as vector, second point.
t as decimal number between 0.0 and 1.0.
returns: equtation result which is a*(1-t) + b*t
usage:
a = main_frame.math.vector(2.0, 5.0)
b = main_frame.math.vector(6.0, 5.0)
t = 0.5
r = nice_func( a, b, t )
'''
return a*(1-t) + b*t
All of the functions now are pretty basic. You can kind of infer what they mean. Regardless there are #comments# everywhere. Especially in the weirder places that I had to add code to change the default behavior.Cheery wrote: except if they aren't documented well.![]()
You will probably find a lot more that it does too. Most notably is that you don't have to declare any variables, you just have to assign them a value and they are ready to use! Also, scope is very easy to understand because you have to define the scope of each variable you access (unless its a local variable).Cheery wrote:Ace, well, I think I'll use it from now on. Also recommend it for some people who likes to learn programming. =:)
As I excepted, it removes all the unnecessary stuff like:
- - Creating the project file.
- Writing lots of code for implementations.
- Compiling my project.
- Linking my project.
Code: Select all
F:\SprintLobbyInterface>SpringClient.py
Traceback (most recent call last):
File "F:\SprintLobbyInterface\SpringClient.py", line 34, in ?
from gui_lobby import gui_lobby
File "F:\SprintLobbyInterface\gui_lobby.py", line 32, in ?
import misc
ImportError: No module named misc