December 25, 2024, 09:56:20 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Wondering where all the forums have gone?

Join the community Discord server!

Pages: 1 ... 54 55 [56] 57 58 ... 77

Author Topic: Official PyGG2 Development thread  (Read 161493 times)

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12532
  • Another one --
Re: Official PyGG2 Development thread
« Reply #825 on: June 27, 2012, 04:59:30 pm »

if you want your networking bugs to go away then use a buffering method that makes sense and doesn't try to do black magic

I can't work on the collision because the game stutters enough to make it so I can't test for minor obscure bugs
« Last Edit: June 27, 2012, 05:10:35 pm by Chartreuse »
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

ajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #826 on: June 27, 2012, 05:41:00 pm »

pygg2 is bad, the way it does a lot of things

- packet construction is as fucked up as it is in GG2
- lots and lots and lots of needless, unmaintainable code duplication
- etc
« Last Edit: February 18, 2024, 06:07:22 am by MedO »
Logged

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #827 on: June 28, 2012, 10:07:59 am »

pygg2 is bad, the way it does a lot of things

- packet construction is as fucked up as it is in GG2
- lots and lots and lots of needless, unmaintainable code duplication
- etc
Why is packet construction fucked up?


if you want your networking bugs to go away then use a buffering method that makes sense and doesn't try to do black magic

I can't work on the collision because the game stutters enough to make it so I can't test for minor obscure bugs
Easy, comment out the lines 93 to 103 in client/event_handler.py.
« Last Edit: February 18, 2024, 06:07:36 am by MedO »
Logged

ajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #828 on: June 28, 2012, 11:10:52 am »

pygg2 is bad, the way it does a lot of things

- packet construction is as fucked up as it is in GG2
- lots and lots and lots of needless, unmaintainable code duplication
- etc
Why is packet construction fucked up?
It's lots of code duplication and a class per packet, when in reality I think it could be a lot simpler and less error-prone if you did it lower-level.
« Last Edit: February 18, 2024, 06:08:23 am by MedO »
Logged

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #829 on: June 28, 2012, 12:36:02 pm »

pygg2 is bad, the way it does a lot of things

- packet construction is as fucked up as it is in GG2
- lots and lots and lots of needless, unmaintainable code duplication
- etc
Why is packet construction fucked up?
It's lots of code duplication and a class per packet, when in reality I think it could be a lot simpler and less error-prone if you did it lower-level.
All those classes are in one nice file, they abstract packing very nicely and it isn't any more error-prone than what gg2 has now (which is the lower-level variant).
Also, breaking news:

http://c9.io/
They finally released Cloud 9. Their catch phrase "It's like Google Docs for code" describes it quite well, I'm for that we take a look at this again. NC and I considered it back then when we were choosing IDEs, but it didn't have the collab editing yet, which is a -massive- feature.
« Last Edit: February 18, 2024, 06:08:36 am by MedO »
Logged

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12532
  • Another one --
Re: Official PyGG2 Development thread
« Reply #830 on: June 28, 2012, 10:13:41 pm »

Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

ajf

  • Guest
Logged

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12532
  • Another one --
Re: Official PyGG2 Development thread
« Reply #832 on: June 29, 2012, 10:50:40 am »

lol
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

nightcracker

  • NC
  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 516
  • PyGG2 dev
    • NC Labs
Re: Official PyGG2 Development thread
« Reply #833 on: June 29, 2012, 11:23:16 am »

pygg2 is bad, the way it does a lot of things

- packet construction is as fucked up as it is in GG2
- lots and lots and lots of needless, unmaintainable code duplication
- etc
Why is packet construction fucked up?
It's lots of code duplication and a class per packet, when in reality I think it could be a lot simpler and less error-prone if you did it lower-level.
All those classes are in one nice file, they abstract packing very nicely and it isn't any more error-prone than what gg2 has now (which is the lower-level variant).
Also, breaking news:

http://c9.io/
They finally released Cloud 9. Their catch phrase "It's like Google Docs for code" describes it quite well, I'm for that we take a look at this again. NC and I considered it back then when we were choosing IDEs, but it didn't have the collab editing yet, which is a -massive- feature.

I tried Eclipse + PyDev, it's pretty good.
« Last Edit: February 18, 2024, 06:09:09 am by MedO »
Logged

Lemonade

  • Apprenticecrastinator
  • Seasoned Member
  • *****
  • Karma: 1
  • Offline Offline
  • Posts: 2437
  • BACK FROM THE DEAD (for now)
Re: Official PyGG2 Development thread
« Reply #834 on: June 29, 2012, 11:58:20 am »

Also, breaking news:

http://c9.io/
They finally released Cloud 9. Their catch phrase "It's like Google Docs for code" describes it quite well, I'm for that we take a look at this again. NC and I considered it back then when we were choosing IDEs, but it didn't have the collab editing yet, which is a -massive- feature.
Out of curiosity, can you use this if you code with a programming language they don't support ? I'm thinking about GML here.
Logged
i already have a pet that follows me around 24/7
it's called  :z4:
you may have seen it

ajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #835 on: June 29, 2012, 12:50:28 pm »

Also, breaking news:

http://c9.io/
They finally released Cloud 9. Their catch phrase "It's like Google Docs for code" describes it quite well, I'm for that we take a look at this again. NC and I considered it back then when we were choosing IDEs, but it didn't have the collab editing yet, which is a -massive- feature.
Out of curiosity, can you use this if you code with a programming language they don't support ? I'm thinking about GML here.
obviously, no.
Logged

NAGN

  • Developer
  • ******
  • Karma: 146
  • Offline Offline
  • Posts: 16150
  • Yeah so now I have an idea
Re: Official PyGG2 Development thread
« Reply #836 on: July 03, 2012, 11:00:56 pm »

I've updated the stetting up post. sort of. Since we're no where near stable, I'd more rather leave normal people with disclaimers not to install and setup everything...yet...
Logged

ajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #837 on: July 05, 2012, 05:21:58 pm »

PYGG2 SUX

b43.js is teh futur

http://ajf.me/wip/b43.js/
Logged

Intel Guard

  • GG2 Commentator
  • Retired Goja Warrior
  • ******
  • Karma: 44
  • Offline Offline
  • Posts: 8482
  • the s*x number
Re: Official PyGG2 Development thread
« Reply #838 on: July 05, 2012, 05:23:15 pm »

damn, you are hilarious
Logged
I've been listening to a bit of Green Day recently (past 2 months actually). Really raises the level of "fuckethesystem" in me.  :z5:
"god is dead."♫♫♫

ajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #839 on: July 05, 2012, 05:52:19 pm »

Logged
Pages: 1 ... 54 55 [56] 57 58 ... 77
 

Page created in 0.028 seconds with 36 queries.