Teamspeak Client Play TankPit AIM Blast Chat Top 25 List Tournament Calendar Tournament Results Transformer's Website Art of War's Website Simpson's Website Donate to BFU via PayPal

Skip to content

Board index  •  Arcade  •  Search •  Register  •  Login 

  • Print view
Board index Board index » TankPit » TankPit Discussion

Rewriting game client

Discuss anything TankPit related here.

Moderators: iwasperdition, Warrior

Post a reply
32 posts • Page 1 of 2 • 1, 2
Rewriting game client

Postby SW » Tue Oct 15, 2013 10:40 pm

I updated about 75% of the game client so far. I've been improving a lot of the networking stuff as I go. That's the reason there are a few bugs (also a few old little bug fixes) tonight, and are likely to be some more in the future.

It's all for the good of the game, though. This work is the next step towards a JS/mobile client. :poker:
  • 2

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby VolMan » Wed Oct 16, 2013 1:37 am

SW wrote:I updated about 75% of the game client so far. I've been improving a lot of the networking stuff as I go. That's the reason there are a few bugs (also a few old little bug fixes) tonight, and are likely to be some more in the future.

It's all for the good of the game, though. This work is the next step towards a JS/mobile client. :poker:


Keep on keeping on man! Great job. :drinks:
  • 0

VolMan Offline

sergeant
 
Posts: 123
Joined: Tue Oct 08, 2013 1:43 am
Location: Nashville, TN
Highscores: 1
Reputation: 10
Top


Re: Rewriting game client

Postby ALLSTAR41 » Wed Oct 16, 2013 11:11 am

The best is yet to come!
  • 0

Image
ALLSTAR41 Offline

lieutenant
 
Posts: 201
Joined: Mon Feb 19, 2007 1:42 pm
Reputation: 57
Top


Re: Rewriting game client

Postby Frost » Wed Oct 16, 2013 12:56 pm

I strongly support this effort!
  • 0

R.I.P. Torch
LEGENDARY BLUESNIPER POST
bluesniper wrote:... somehow i belive that GOD and aliens are somehow related, not saying aliens are GOD but possibly angels maby? idk lol...

Battlefield
ForGeTaBle iLLuSiOnZ :star3: :bronzetank: :battle: :battered: :dot: :silvercup: :wc: TankHunter :star3: :goldtank: :heroic: :battered: :silvercup: Ping-Pong Masters :star3: :silvertank: :combat: :shiny: Black OPs :star3: :goldtank: :silvercup: Mt Reinier :star2: :bronzecup:
TankPit
Pearl Harbor :star3: :silvertank: :shiny: Normandy :star1: :silvercup:
Frost Offline


User avatar
general
general
 
Posts: 2991
Joined: Fri Jan 26, 2007 9:23 pm
Location: Maine
Reputation: 98
Top


Re: Rewriting game client

Postby SIX DAY WAR » Wed Oct 16, 2013 2:07 pm

The penny finally dropped, and I know now that this game will once again be addicting to many players some day soon...
  • 0

Image

ENDURANCE :star3: :goldtank: :heroic: :rusty: :dot: :bronzecup: :lb:
SIX DAY WAR Offline


User avatar
colonel
colonel
 
Posts: 1887
Joined: Wed Jun 20, 2007 1:32 pm
Reputation: 162
Top


Re: Rewriting game client

Postby Molekula » Tue Oct 22, 2013 11:30 am

Yo yo SW, Ive been unable to run TP for over a week since updating java. I get the pop up tick box when opening the TP homepage, but whenever I accept it, chrome just crashes. what's his name suggested just waiting for the page to respond instead of killing pages, but even if that method works im pretty sure thats not how you want it functioning/it should be functioning. Have also cleared all caches so am outta ideas now. Any assistance would be greatly appreciated! Cheers in advance :thumbsup:
  • 0

BF -
Mole - ImageImageImageImage
------------------------------
TPv2 -
Molekula-ImageImageImageImageImage
Radioactive Man - ImageImage
Molekula Offline


User avatar
lieutenant
 
Posts: 326
Joined: Thu Feb 21, 2013 5:39 pm
Location: UK
Reputation: 63
  • Website
Top


Re: Rewriting game client

Postby SW » Tue Oct 22, 2013 1:36 pm

Have you tried a different browser?

Have you tried reinstalling Java again?

Have you tried updating Chrome?

Sounds to me like it's a problem with Java or Chrome....
  • 0

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby D I B E L L O » Tue Oct 22, 2013 4:36 pm

was playing just fine until the tourney started. I was still in the regular map, but i froze as soon as the tourney started. refreshed the page and i've been getting this ever sense
Image

Same thing is happening on my laptop too. Both are using chrome by the way.
  • 0

Tank PitV2:
DIBELLO :star2: :silvertank: VI-JULIUS CEASAR :star3:
BattleField:
BiOhAzArDzBaCk :star3: :silvertank: :heroic: :shiny:
D I B E L L O Offline

corporal
 
Posts: 74
Joined: Thu Sep 13, 2012 12:01 pm
Reputation: 13
Top


Re: Rewriting game client

Postby Erock » Tue Oct 22, 2013 5:16 pm

D I B E L L O wrote:was playing just fine until the tourney started. I was still in the regular map, but i froze as soon as the tourney started. refreshed the page and i've been getting this ever sense
Image

Same thing is happening on my laptop too. Both are using chrome by the way.

Yeah simplicity and I are getting the same screen (tried it on both safari and chrome)
  • 0

Image
Erock Offline

general
general
 
Posts: 2028
Joined: Mon Apr 11, 2011 3:23 pm
Location: RVA
Reputation: 196
Top


Re: Rewriting game client

Postby eldawg51 » Tue Oct 22, 2013 5:24 pm

Confirmed, it happened to everyone.
  • 0

Image
:star3: :silvertank: :heroic: :rusty: :goldcup: :ph: :wc: / :star2: :goldtank: :combat: :goldcup:
A man who has nothing for which he is willing to fight, nothing he cares more about than his own personal safety, is a miserable creature who has no chance of being free, unless made and kept so by the exertions of better men than himself.
eldawg51 Offline

general
general
 
Posts: 3910
Joined: Sat Sep 08, 2007 11:45 pm
Location: Harrisburg, PA
Reputation: 368
  • Website
Top


Re: Rewriting game client

Postby lefty » Tue Oct 22, 2013 6:10 pm

screen of death :facepalmmmm:
  • 0

lefty Offline

general
general
 
Posts: 2256
Joined: Wed Jan 24, 2007 11:43 pm
Location: Connecticut
Reputation: 127
Top


Re: Rewriting game client

Postby Molekula » Fri Oct 25, 2013 8:52 am

SW wrote:Have you tried a different browser? - Yes, Tried firefox.

Have you tried reinstalling Java again? - Yes, both 32 and 64 versions.

Have you tried updating Chrome? - Yes, updated and restarted browser multiple times.

Sounds to me like it's a problem with Java or Chrome....


Appreciate the help SW, thanks. Still no joy with any of these suggestions tho... Java suggested that I need both 32 and 64 java versions if im using Win 64 and chrome 32. Really dont wanna have to cease playing due to compatibility issues :shrug:
  • 0

BF -
Mole - ImageImageImageImage
------------------------------
TPv2 -
Molekula-ImageImageImageImageImage
Radioactive Man - ImageImage
Molekula Offline


User avatar
lieutenant
 
Posts: 326
Joined: Thu Feb 21, 2013 5:39 pm
Location: UK
Reputation: 63
  • Website
Top


Re: Rewriting game client

Postby SW » Fri Oct 25, 2013 12:10 pm

Have you tried other browsers? Have you tried installing both 32 bit and 64 bit version of Java?
  • 0

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby CoolkylemaC21 » Fri Oct 25, 2013 3:01 pm

I cant even play for months now. tryed to download new java like 4 times but still dont work... lol
  • 0

Image
\\ Battlefield-2 :star3: :battered: :silvercup: :ph: \\\ Battlefield-2 :star3: :goldtank: :heroic: :rusty: :goldcup: :ph: :lb: ///Battlefield-2 :star3: :shiny: :dot: :goldcup: :wc: //
CoolkylemaC21 Offline

colonel
colonel
 
Posts: 1930
Joined: Mon May 28, 2012 3:31 pm
Reputation: 213
Top


Re: Rewriting game client

Postby SW » Fri Oct 25, 2013 3:10 pm

What happens when you try to play?

Is your browser blocking Java?
  • 0

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby savin » Fri Oct 25, 2013 3:14 pm

You guys seriously can't load the client? Or are you fucking with us lol? :clueless:
  • 0

Image
savin Offline


User avatar
Supporting BFU Member
Supporting BFU Member
 
Posts: 3026
Joined: Wed Jan 24, 2007 11:43 am
Location: New York
Reputation: 249
  • Website
Top


Re: Rewriting game client

Postby Molekula » Sat Oct 26, 2013 9:39 am

Tis not often im serious Savin, but when it comes to TP, shits serious! :irate:

Ive got both 32 and 64bit Java installed (re-installed both versions twice)
Internet Explorer, Mozilla and Chrome all crash in the same place.

This is the Java prompt I get after clicking 'Play' on the homepage (same thing in all 3 browsers) -
Image

Once I click to allow access for java, all 3 browsers crash. Sometimes the java logo appears and loads 20%-30%, other times the java logo doesnt appear and the browser instantly crashes (same again in all 3 browsers)
Image

When my client was last working, I had the java runtime settings set to Xmx2048m . Since then, ive tried loading the client in all 3 browsers using 512m and 1024 (duno why I thought that would make a difference) with no success.
Image

Have since turned down the security settings to minimum, still with no joy..

Am pretty much willing to try anything at this point (except anal), so any suggestions would be greatly appreciated! :loading:
  • 0

Last edited by Molekula on Sat Oct 26, 2013 10:03 am, edited 3 times in total.
BF -
Mole - ImageImageImageImage
------------------------------
TPv2 -
Molekula-ImageImageImageImageImage
Radioactive Man - ImageImage
Molekula Offline


User avatar
lieutenant
 
Posts: 326
Joined: Thu Feb 21, 2013 5:39 pm
Location: UK
Reputation: 63
  • Website
Top


Re: Rewriting game client

Postby shermanfrombf » Sat Oct 26, 2013 9:42 am

sorry, anal isn't off the table no matter how much you say no anal
  • 0

ImageImageImageImageImageImageImage
Animated Signature, compliments of -Kirby-
Image
ImageImage :hammertime:
WEENIE BOY wrote:I'll give you the creidt tho, you a straight up BEAST on da field, but off the field, you as just as bad as Cheetos. Grow the f*ck up and get a life moron!

As just as bad as Cheetos, eh? Guys, how do I as just as better than Cheetos?
shermanfrombf Offline


User avatar
general
general
 
Posts: 2626
Joined: Mon Aug 27, 2012 8:56 pm
Location: Dirty Jersey
Reputation: 239
Top


Re: Rewriting game client

Postby SW » Sat Oct 26, 2013 12:15 pm

Molekula wrote:Am pretty much willing to try anything at this point (except anal), so any suggestions would be greatly appreciated! :loading:

AIM me sometime and we'll try to debug it.

gottahavemybowl
  • 0

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby Tragic » Mon Oct 28, 2013 9:07 pm

its not bugged-he needs to put a - in front of the Xmx so that it looks like this: -Xmx2048m


also you can use 2G as opposed to typing in 2048 (works fine with all gb representations)

so: -Xmx2G will work the same as -Xmx2048m

also unless a person wants to have to do this manually every time they restart they have dl a program like prio that saves system changes

p.s. be sure you know how much RAM you can allocate to java because too much allocation will cause the system to freeze and such


:lb: .....Sunny?
  • 0

Tragic Offline


User avatar
general
general
 
Posts: 3347
Joined: Wed Feb 07, 2007 1:07 pm
Location: PA
Reputation: 38
Top


Re: Rewriting game client

Postby Molekula » Wed Oct 30, 2013 2:19 pm

Thanks for the advice Tragic, I did notice that mistake not long after my post, but its made no difference in fixing the problem. I tend to allocate anything upto 2GB as im only rocking 4GB and Win 7 uses about 2 :pissed:

General Lucy just emailed me with this -

TankPit Account Deletion‏

contact@ta​nkpit.com (contact@tankpit.com) 28/10/2013
To: wroejames@hotmail.com
Picture of contact@tankpit.com
Hello molekula,

We're emailing you to let you know that the http://tankpit.com account "molekula" associated with this email is being deleted because it is inactive and has no tanks.

If you're interested, we'd invite you to try the game again (you'll have to register a new account). Many enhancements have likely been made since you last visited. Otherwise, your records are no longer in our database and you won't be contacted by us again.

Thanks!
General Lucy


Just logged into tankpit and all my tanks are still there so am a little anxious.. what be this? :ohnoes: Charrz!
  • 0

BF -
Mole - ImageImageImageImage
------------------------------
TPv2 -
Molekula-ImageImageImageImageImage
Radioactive Man - ImageImage
Molekula Offline


User avatar
lieutenant
 
Posts: 326
Joined: Thu Feb 21, 2013 5:39 pm
Location: UK
Reputation: 63
  • Website
Top


Re: Rewriting game client

Postby Tragic » Wed Oct 30, 2013 4:21 pm

mole pull it back to 1024 and sse if that knocks out the issue...this always requires a little tweaking for your system so do some trial and error and see where it gets you


also clear your java cache-this is something i had to do last night to make mine function properly after some testing as well


work in gigs and half gigs on the way back down

so 2 gb
1 1/2 gb
1 gb
512 mb
256 mb

find a happy medium that will make it work
  • 0

Tragic Offline


User avatar
general
general
 
Posts: 3347
Joined: Wed Feb 07, 2007 1:07 pm
Location: PA
Reputation: 38
Top


Re: Rewriting game client

Postby SW » Wed Oct 30, 2013 7:02 pm

I kinda doubt this parameter has anything to do with the problem....

Do you have AIM? It would be best to chat with you directly.
  • 0

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby Tragic » Wed Oct 30, 2013 7:10 pm

yes it does




I know because I use the game site for my java guinea pig


I did it with this comp last night just to see just how much I could actually allocate before it crashed the browser well applet

you know where it just sits at the bottom of the screen and stays stationary even though you are scrolling the browser up and down :pissed:





try it with yours and watch
  • 0

Tragic Offline


User avatar
general
general
 
Posts: 3347
Joined: Wed Feb 07, 2007 1:07 pm
Location: PA
Reputation: 38
Top


Re: Rewriting game client

Postby Molekula » Fri Nov 22, 2013 3:31 pm

Tragic was right :facepalmmmm:

I cleared the RAM input and reset to default. Worked first time... Yes im severely lacking in common sense :whack:
  • 0

BF -
Mole - ImageImageImageImage
------------------------------
TPv2 -
Molekula-ImageImageImageImageImage
Radioactive Man - ImageImage
Molekula Offline


User avatar
lieutenant
 
Posts: 326
Joined: Thu Feb 21, 2013 5:39 pm
Location: UK
Reputation: 63
  • Website
Top


Re: Rewriting game client

Postby SW » Fri Nov 22, 2013 3:57 pm

Glad it worked. Also surprised Tragic was actually helpful. Thanks Tragic!
  • 0

Sun Wolf :star3: :goldtank: :heroic: :rusty: :dot: :silvercup: :wc:
SW Offline


User avatar
DoT (x20)
 
Posts: 3241
Joined: Sun Jan 28, 2007 11:35 pm
Location: Alberta, Canada
Reputation: 461
Top


Re: Rewriting game client

Postby Tragic » Fri Nov 22, 2013 11:14 pm

........



I have alot to offer and often go out of my way to try and help people as long as time allows.....
  • 0

Tragic Offline


User avatar
general
general
 
Posts: 3347
Joined: Wed Feb 07, 2007 1:07 pm
Location: PA
Reputation: 38
Top


Re: Rewriting game client

Postby eldawg51 » Sat Nov 23, 2013 9:11 am

Anyone know what a "Stack Overflow" error means? I get it every time I start my computer up now.
  • 0

Image
:star3: :silvertank: :heroic: :rusty: :goldcup: :ph: :wc: / :star2: :goldtank: :combat: :goldcup:
A man who has nothing for which he is willing to fight, nothing he cares more about than his own personal safety, is a miserable creature who has no chance of being free, unless made and kept so by the exertions of better men than himself.
eldawg51 Offline

general
general
 
Posts: 3910
Joined: Sat Sep 08, 2007 11:45 pm
Location: Harrisburg, PA
Reputation: 368
  • Website
Top


Re: Rewriting game client

Postby Tragic » Sat Nov 23, 2013 12:01 pm

http://support.microsoft.com/kb/145799


go there and read that and see if that makes sense to you if not just ask
  • 0

Tragic Offline


User avatar
general
general
 
Posts: 3347
Joined: Wed Feb 07, 2007 1:07 pm
Location: PA
Reputation: 38
Top


Re: Rewriting game client

Postby eldawg51 » Mon Nov 25, 2013 7:32 am

Image

I'm using Windows 8 and it's been a long time since I've taken any kind of computer science class. Anyone care to walk me through this process?
  • 0

Image
:star3: :silvertank: :heroic: :rusty: :goldcup: :ph: :wc: / :star2: :goldtank: :combat: :goldcup:
A man who has nothing for which he is willing to fight, nothing he cares more about than his own personal safety, is a miserable creature who has no chance of being free, unless made and kept so by the exertions of better men than himself.
eldawg51 Offline

general
general
 
Posts: 3910
Joined: Sat Sep 08, 2007 11:45 pm
Location: Harrisburg, PA
Reputation: 368
  • Website
Top


Next

Post a reply
32 posts • Page 1 of 2 • 1, 2

Return to TankPit Discussion

Who is online

Users browsing this forum: No registered users and 0 guests


  • Board index
  • The team • Delete all board cookies • All times are UTC - 6 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group | ExtremeDark Red Style by Vinny - Based on GHS style