The Gang Garrison 2 Forum
May 20, 2013, 11:05:33 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Chat with us on IRC: http://ganggarrison.com/irc.html
Server: irc.esper.net, Channel: #gg2
 
   Home   Help Search Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 »
  Print  
Author Topic: Official PyGG2 Development thread  (Read 37211 times)
notajf
Guest
« Reply #675 on: April 15, 2012, 04:44:08 pm »

Can someone compile this into an exe for me

So instead of telling people to jump through hoops just to see how this is going

I can just send them an exe
32-bit or 64-bit
broken GUI menu and command line or command line and command line
stable or unstable
sentryspam or not
fixed fps or not
troll code included or not
32 bit
broken gui
either one
sentryspam if you dont get it fixed
fixed fps
troll code included
ok

reply to this or something so I force myself to work on it tommorow
Logged
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #676 on: April 15, 2012, 04:45:57 pm »

I don't think that pygrafix is configured to handle py2exe, and to get nightcracker to do that is a stretch
Logged



[im
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #677 on: April 15, 2012, 04:46:17 pm »

also ajf do your homework, or else I'm banning you or something
Logged



[im
notajf
Guest
« Reply #678 on: April 15, 2012, 04:46:48 pm »

I don't think that pygrafix is configured to handle py2exe, and to get nightcracker to do that is a stretch
Remember that we might do *you know what* which might make *someone* really angry?
Logged
Commando
Hero Member
*****
Offline Offline

Posts: 1430


Let me show you my true powers.


« Reply #679 on: April 15, 2012, 04:47:21 pm »

Can someone compile this into an exe for me

So instead of telling people to jump through hoops just to see how this is going

I can just send them an exe
troll code included or not

Troll code?
Logged

NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #680 on: April 15, 2012, 04:47:36 pm »

remember that english essay you're supposed to be doing
Logged



[im
notajf
Guest
« Reply #681 on: April 15, 2012, 04:49:05 pm »

remember that english essay you're supposed to be doing
talk

5 minute talk

I'm making it up as I go along
Logged
notajf
Guest
« Reply #682 on: April 15, 2012, 04:49:32 pm »

Can someone compile this into an exe for me

So instead of telling people to jump through hoops just to see how this is going

I can just send them an exe
troll code included or not

Troll code?
There are some jokes included in PyGG2.
Logged
Commando
Hero Member
*****
Offline Offline

Posts: 1430


Let me show you my true powers.


« Reply #683 on: April 15, 2012, 04:55:41 pm »

Can someone compile this into an exe for me

So instead of telling people to jump through hoops just to see how this is going

I can just send them an exe
troll code included or not

Troll code?
There are some jokes included in PyGG2.

 z6

If possible, please send me the same exe file that Sani requested. I'd like to see it even though it's not much right now, as NAGN said.
Logged

notajf
Guest
« Reply #684 on: April 15, 2012, 05:02:12 pm »

Can someone compile this into an exe for me

So instead of telling people to jump through hoops just to see how this is going

I can just send them an exe
troll code included or not

Troll code?
There are some jokes included in PyGG2.

 z6

If possible, please send me the same exe file that Sani requested. I'd like to see it even though it's not much right now, as NAGN said.
Sani wants it so people like you can test it.
Logged
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #685 on: April 15, 2012, 06:20:20 pm »

Status update: currently working on sentries

https://github.com/nagn/PyGG2/commit/0beab4bf55c6e82c234a4ced6d2c5322d6b4b8f0

one thing to note to be careful about is referencing the character object. Python automatically garbage collects if, and only if, said object has no instances pointing to it. In this original case, we've accidently passed the Character object through from the Weapon to the Sentry object, which would've caused conflicts


« Last Edit: April 15, 2012, 06:23:06 pm by NAGN » Logged



[im
Orpheon
Moderator
*****
Online Online

Posts: 5824


Developer


« Reply #686 on: April 16, 2012, 03:25:37 am »

Status update: currently working on sentries

https://github.com/nagn/PyGG2/commit/0beab4bf55c6e82c234a4ced6d2c5322d6b4b8f0

one thing to note to be careful about is referencing the character object. Python automatically garbage collects if, and only if, said object has no instances pointing to it. In this original case, we've accidently passed the Character object through from the Weapon to the Sentry object, which would've caused conflicts


Wait, didn't I do that? I passed the real owner to the init code, but put self.owner_id = owner.id if I remember correctly. No? Dammit.

Also, yeah, the only person that knows how to compile this is nightcracker (this is another thing we should add, you know where), and he's missing right now.
NAGN's right saying that there really isn't much to see. The impressive stuff is the hardware accelerated drawing, the interpolation, the networking, separated server/client and the modularity of the code. About the only thing you can see as a user of them is that suddenly running around filling the map with bullets runs at 2000 FPS (and the server at ~1 million fps if you don't limit it).

Actually, if people really want, I'll make a vid, ok?


Quote from: AJF
broken GUI
Wait, you can host a server and connect to it via GUI? That's new.


I don't think that pygrafix is configured to handle py2exe, and to get nightcracker to do that is a stretch
Tbh, pygame has a legacy of problems with py2exe, and will definately won't work. Cython is probably a better idea in our case, but again, NC is the only one that knows how.
Logged

Your mind is software. Program it.
Your body is a shell. Change it.
Death is a disease. Cure it.
Extinction is approaching. Fight it.
notajf
Guest
« Reply #687 on: April 16, 2012, 10:26:59 am »

Quote from: AJF
broken GUI
Wait, you can host a server and connect to it via GUI? That's new.
You can't. You can run the test client though, and I could easily add a bash script for running the test server (so dubm people can double-click it)


I don't think that pygrafix is configured to handle py2exe, and to get nightcracker to do that is a stretch
Tbh, pygame has a legacy of problems with py2exe, and will definately won't work. Cython is probably a better idea in our case, but again, NC is the only one that knows how.
Eh. We don't need py2exe. Package the python runtime with it and include a script. like:

"pygg2/bin/python/python.exe pygg2/make.py menuclient" or something like that. You get the idea.
« Last Edit: April 16, 2012, 10:27:13 am by AJF » Logged
Orpheon
Moderator
*****
Online Online

Posts: 5824


Developer


« Reply #688 on: April 16, 2012, 10:28:46 am »

I don't think that pygrafix is configured to handle py2exe, and to get nightcracker to do that is a stretch
Tbh, pygame has a legacy of problems with py2exe, and will definately won't work. Cython is probably a better idea in our case, but again, NC is the only one that knows how.
Eh. We don't need py2exe. Package the python runtime with it and include a script. like:

"pygg2/bin/python/python.exe pygg2/make.py menuclient" or something like that. You get the idea.
This requires everyone to have all the dependencies, no?
Logged

Your mind is software. Program it.
Your body is a shell. Change it.
Death is a disease. Cure it.
Extinction is approaching. Fight it.
notajf
Guest
« Reply #689 on: April 16, 2012, 10:29:52 am »

I don't think that pygrafix is configured to handle py2exe, and to get nightcracker to do that is a stretch
Tbh, pygame has a legacy of problems with py2exe, and will definately won't work. Cython is probably a better idea in our case, but again, NC is the only one that knows how.
Eh. We don't need py2exe. Package the python runtime with it and include a script. like:

"pygg2/bin/python/python.exe pygg2/make.py menuclient" or something like that. You get the idea.
This requires everyone to have all the dependencies, no?
No. We package a python runtime with it. It's essentially doing what py2exe does except it's not a single exe, it has a bunch of stuff you need to extract together.
Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.454 seconds with 19 queries.