May 19, 2024, 09:17:53 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 ... 41 42 [43] 44 45 ... 77

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

nightcracker

  • NC
  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 516
  • PyGG2 dev
    • NC Labs
Re: Official PyGG2 Development thread
« Reply #630 on: April 02, 2012, 08:50:15 am »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
IE9 is actually a pretty good browser

 xD xD xD :hehe: :hehe: :hehe:  :z6: :z6: :z6:

wait he's serious

 D: D: D: :z9: :z9: :z9:  :drool: :drool: :drool: =/ =/ =/ :z7: :z7: :z7:
Logged

Dusty

  • 2012 Haxxy Award Winner
  • *
  • Karma: -78
  • Offline Offline
  • Posts: 10312
  • Dust in a box under a table
Re: Official PyGG2 Development thread
« Reply #631 on: April 02, 2012, 10:39:54 am »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
wait.
why does he have that many browsers.

Rodoval

  • Seasoned Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 3937
  • It's been 8 years already, am I oldfag yet
Re: Official PyGG2 Development thread
« Reply #632 on: April 02, 2012, 10:43:31 am »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
wait.
why does he have that many browsers.
Because you never know when one might go rogue.
Logged

read this post about minors without looking at the last page first, and I thought you were encouraging rodo to hunt for young women.

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #633 on: April 02, 2012, 10:57:15 am »

https://github.com/nightcracker/PyGG2/commit/3a7110fcb65eaa1acf905297403beeda9314110e

Could someone take a look?
I can't really see a solution to this problem, on the other hand I'm not thinking straight atm either. So whatever.


EDIT: Actually, I'm seeing the problem:
The client takes server update, fast-forwards it like it should, and then sits on that. Problem is when the next update comes, the client takes this fast-forwarded state as a base, corrects it and forwards again.
That means that stuff that isn't corrected gets completely overcompensated.

The only solution I see would be to rewind all events back, let the server correct, and then fast-forward again. But that's a shit to do, and will probably also be buggy as hell.

Wat do.
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #634 on: April 02, 2012, 11:51:48 am »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
wait.
why does he have that many browsers.
Because I'm a web developer. I need to test my sites in multiple browser. Also I like the freedom of choice.

And nightcracker: You haven't tried IE9, have you? It's quite nice really. IE10 though will be very good though.
Logged

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #635 on: April 02, 2012, 11:57:06 am »

Yay! After a bit of talking with L, I found out the solution.

The solution of just rewinding the whole state before correcting and compensating by the latency was obvious, but I couldn't think of an easy way to do it.
Introducing:
Code: [Select]
   for i in range(networker.latency):
        state.update(game, -constants.INPUT_SEND_FPS)
Code: [Select]
-constants.INPUT_SEND_FPS
Code: [Select]
-
Negative frametime. Worked (almost) perfectly. Yay.



PS: Is INPUT_SEND_FPS a good idea, or am I confused and doing something stupid?
« Last Edit: April 02, 2012, 11:58:53 am by Orpheon »
Logged

Orpheon

  • Moderator
  • *****
  • Karma: 15
  • Offline Offline
  • Posts: 6409
  • Developer
Re: Official PyGG2 Development thread
« Reply #636 on: April 03, 2012, 02:37:49 am »

Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #637 on: April 06, 2012, 07:11:10 pm »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
wait.
why does he have that many browsers.
Because I'm a web developer. I need to test my sites in multiple browser. Also I like the freedom of choice.

And nightcracker: You haven't tried IE9, have you? It's quite nice really. IE10 though will be very good though.


follow-up: after looking at nclabs.org, I can see you clearly know nothing about Internet Explorer
It's had some CSS3 support since, what, 1 years ago now? IE10 has full support.
Logged

Nukleus

  • Guest
Re: Official PyGG2 Development thread
« Reply #638 on: April 06, 2012, 07:49:40 pm »

It's still the only 64 bit browser iirc
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #639 on: April 07, 2012, 03:38:44 am »

It's still the only 64 bit browser iirc
Ooh, that's true.
Logged

nightcracker

  • NC
  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 516
  • PyGG2 dev
    • NC Labs
Re: Official PyGG2 Development thread
« Reply #640 on: April 07, 2012, 06:58:07 am »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
wait.
why does he have that many browsers.
Because I'm a web developer. I need to test my sites in multiple browser. Also I like the freedom of choice.

And nightcracker: You haven't tried IE9, have you? It's quite nice really. IE10 though will be very good though.


follow-up: after looking at nclabs.org, I can see you clearly know nothing about Internet Explorer
It's had some CSS3 support since, what, 1 years ago now? IE10 has full support.

Sadly most people don't use these versions:

http://www.statowl.com/web_browser_usage_by_version.php?timeframe=last_6&interval=month&chart_id=4&limit[]=ie&fltr_os=&fltr_se=&fltr_cn=
Logged

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #641 on: April 07, 2012, 08:16:38 am »

Software projects are never finished, just abandoned.
This is correct.

https://ajf.me/stuff/ihavewaytoomanyprojects.gif
OF ALL THOSE BROWSERS WHY IS THAT ONE OPEN
wait.
why does he have that many browsers.
Because I'm a web developer. I need to test my sites in multiple browser. Also I like the freedom of choice.

And nightcracker: You haven't tried IE9, have you? It's quite nice really. IE10 though will be very good though.


follow-up: after looking at nclabs.org, I can see you clearly know nothing about Internet Explorer
It's had some CSS3 support since, what, 1 years ago now? IE10 has full support.

Sadly most people don't use these versions:

http://www.statowl.com/web_browser_usage_by_version.php?timeframe=last_6&interval=month&chart_id=4&limit[]=ie&fltr_os=&fltr_se=&fltr_cn=
Uh, so?

It doesn't give you an excuse to generalise that "IE doesn't support CSS3"
It does. Just only newer versions.

Logged

Machidro

  • 2013 Haxxy Award Winner
  • *
  • Karma: 5
  • Offline Offline
  • Posts: 1672
  • Gardicolo time is over.
Re: Official PyGG2 Development thread
« Reply #642 on: April 07, 2012, 11:47:18 pm »

Will it be harder to run PyGG2 than normal? Will I be able to just click an exe style link, or do I have to use command line mumbo jumbo?
Logged
A CHALLENGER HAS ARRIVED.

Saniblues

  • Onion Knight
  • Administrator
  • *****
  • Karma: -1305
  • Offline Offline
  • Posts: 12206
Re: Official PyGG2 Development thread
« Reply #643 on: April 07, 2012, 11:49:52 pm »

The full game will be packed into an exe. You won't even need to install Python.
« Last Edit: April 07, 2012, 11:50:05 pm by ♫Sani♫ »
Logged
Quote from: mop
Quote from: MR MAGN3TIC
I don't like it.  :nah:
Oh, well, you might as well pack up and stop now, because he doesn't like it
I'm bored out of my skull, Lets play a different game!
Lets take a visit down below And cast the world in flames!

notajf

  • Guest
Re: Official PyGG2 Development thread
« Reply #644 on: April 08, 2012, 07:04:39 am »

The full game will be packed into an exe. You won't even need to install Python.
Yeah. Although I think it's worth noting it will be more difficult to mod than before. Well, except for spritemods, since images are now external.
Logged
Pages: 1 ... 41 42 [43] 44 45 ... 77
 

Page created in 0.023 seconds with 32 queries.