Unlock Trouble

For when your guns are jammed, your lasers are misfiring, or you forgot where you put that pesky trench ladder again...
Midkar
Junior Line Worker
Junior Line Worker
Posts: 2
Joined: Sun May 27, 2012 11:31 am

Unlock Trouble

Postby Midkar » Sun May 27, 2012 11:42 am

Hi everyone.

I'm having trouble with the post-battle rewards:
at the beginning of the game I used to unlock one hull and (if victorious) one gear for my lil tanks,
after a few mission I didn't get an hull anymore, even if there are still some to unlock.
Now, after ~25 missions, I dont unlock components anymore, but my armory has still a lot of free spaces to fill.

Is is an issue or it is scheduled like this?

Ps: I would love to know how to "cheat" to unlock some componenst, because I would like to unlock at least the 1st engine and the 1st reloading system
so i could finally use the hulls I've unlocked.

Thanks for everyone who took the time to read this.
User avatar
cliffski
Positech Staff
Positech Staff
Posts: 7972
Joined: Sat Feb 11, 2006 10:27 am
Location: UK
Contact:

Re: Unlock Trouble

Postby cliffski » Mon May 28, 2012 8:46 am

you should continue to get offered 'free' unlocks after every battle until everything is gone, but some unlocks are only given on victories, so you need to win a fair few battles before you absolutely unlock everything there is.
flash over
Senior Line Worker
Senior Line Worker
Posts: 7
Joined: Mon Aug 12, 2013 1:45 am

Re: Unlock Trouble

Postby flash over » Wed Aug 14, 2013 2:37 am

I actually have the same problem. I cannot unlock stuff any more. No matter if I win or lose, it doesn't reward me with nothing anymore...
And I am sure, that I haven't unlocked everything yet. Because I see it when I try to build my own units
flash over
Senior Line Worker
Senior Line Worker
Posts: 7
Joined: Mon Aug 12, 2013 1:45 am

Re: Unlock Trouble

Postby flash over » Tue Aug 20, 2013 2:49 am

There still is no solution to this problem? It is really sad that I cannot start creating my own units only because I do not get any more rewards...
User avatar
darkstar076
Supreme Robot
Supreme Robot
Posts: 2200
Joined: Sun Feb 28, 2010 2:14 am
Location: Lurking somewhere in the Forum

Re: Unlock Trouble

Postby darkstar076 » Tue Aug 20, 2013 10:37 am

As Cliff mentioned earlier, you should be getting unlocks for each battle (until you have unlocked everything). So we need to work out why you are not been offered them

To help me understand what your game is doing:
- Please post your \My Documents\My Games\GratuitousTankBattles\unl.dat file
- Please post your \Gratuitous Tank Battles\data\unlocks.txt file

Hopefully this will give me an idea of what is happening (or not in this case)
flash over
Senior Line Worker
Senior Line Worker
Posts: 7
Joined: Mon Aug 12, 2013 1:45 am

Re: Unlock Trouble

Postby flash over » Tue Aug 20, 2013 12:19 pm

Since the extensions are not allowed to upload as attachment I am just posting the data of the files:

unlocks.txt:

Code: Select all

[choices]
ai_target_acquisition
aluminium_armor
ammunition_reloading_i
ammunition_reloading_ii
ammunition_storage_ii
armor_penetration_i
assault_rifle
ceramic_armor
chain_gun
close_combat_firing_i
close_combat_firing_ii
damage_enhancement_ii
energised_body_armor
engine_management_ii
explosive_force_ii
flamethrower
heap_missile_thrower
heavy_pulse_laser
holographic_reticle_sight
hypercharged_shields
incendiary_rockets
iron_armor
laser_carbine
light_laser_rifle
light_missile_launcher
long_range_fire_ii
medium_beam_rifle
mk_iv_rapid_pulse_blaster
plasma_cannon
reflex_sight
rate_of_fire_ii
shotgun
shrapnel_dispersal_i
shrapnel_dispersal_ii
sniper_rifle
sprinting_ii
super-spring_powered_exo-boots
supercooled_gatling_gun
turbolaunch_missile_system
weapon_accuracy_ii
bolt-action_rifle
high_quality_engineering_ii
shield_manipulation_ii
armor_coverage_ii

[fixed]
ambulance
light tank2
repairtruck
small_missile_turret
large_commandcenter
heavymech3
commandtruck
large_hospital
large_missile_turret
large_repairyard
medium_airstrike
heavy_missile_rack

[free]
heavymech2
heavy tank3
heavy tank2
large_dual_ballistic_turret
large_dual_beam_turret
lightmech1
lightmech2
light tank1
medium tank2
light tank3
mediummech1
mediummech2
medium tank1
medium_beam_turret
medium_dual_ballistic_turret
medium_flame_turret
medium_missile_turret
medium_triple_turret
small_ballistic_turret
small_flame_turret
high_quality_engineering_i
shield_manipulation_i
armor_coverage_i
heavy_airstrike


[defaults]
scen001
advanced_loading_system
advanced_multigear_drive_system
ammunition_storage_i
armor_penetration_ii
autoloader
basic_drive_system
basic_loading_system
computerised_targeting_system
cvt_computerised_drive_unit
damage_enhancement_i
energised_armor
engine_management_i
explosive_force_i
flak_jacket
heavy tank1
heavy_beam_laser
heavy_beam_rifle
heavy_cannon
heavy_flamethrower
heavy_machinegun
heavymech1
hybrid_drive_engine
infantry1
iron_sights
kevlar_body_armor
large_ballistic_turret
large_beam_turret
large_flame_turret
light_beam_laser
light_cannon
light_machinegun
light_pulse_laser
light_shields
lightmech3
long_range_fire_i
manual_loading_system
medium tank3
medium_ballistic_turret
medium_dual_beam_turret
medium_shields
mediummech3
neutronium_armor
rangefinder_targeting_system
rapid_assault_laser
rapid_autoloader
rate_of_fire_i
semi-auto_loader
shield_impact_i
shield_impact_ii
small_beam_turret
small_mg_turret
sprinting_i
standard_army_boot
steel_armor
submachinegun
superheavy_cannon
turbo_shields
weapon_accuracy_i
supplytruck
hospital
repairyard
supplies
command



unl.dat:

Code: Select all

[unlocks]
scen002
ambulance
ammunition_reloading_i
light tank2
iron_armor
scen003
repairtruck
heavy_pulse_laser
small_missile_turret
large_commandcenter
heavymech3
commandtruck
medium_beam_rifle
large_hospital
scen004
scen006
large_missile_turret
light_laser_rifle
scen005
large_repairyard
reflex_sight
medium_airstrike
heavy_missile_rack
bolt-action_rifle
armor_coverage_i
light tank1
lightmech1
hypercharged_shields
medium tank1
medium_missile_turret
medium_dual_ballistic_turret
medium_flame_turret
rate_of_fire_ii
small_flame_turret
shrapnel_dispersal_ii
shield_manipulation_i
sniper_rifle
medium tank2
heap_missile_thrower
lightmech2
turbolaunch_missile_system
heavy_airstrike
sprinting_ii
heavy tank3
ai_target_acquisition
medium_triple_turret
shotgun
heavy tank2
chain_gun
heavymech2
flamethrower
mediummech2
laser_carbine
mediummech1
ceramic_armor
large_dual_beam_turret
small_ballistic_turret
mk_iv_rapid_pulse_blaster
medium_beam_turret
large_dual_ballistic_turret
high_quality_engineering_ii
high_quality_engineering_i
weapon_accuracy_ii
light tank3
engine_management_ii
close_combat_firing_i
supercooled_gatling_gun
incendiary_rockets
explosive_force_ii
light_missile_launcher
holographic_reticle_sight
scen007
ammunition_reloading_ii
aluminium_armor
scen008
scen009
plasma_cannon
assault_rifle
armor_coverage_ii
energised_body_armor
super-spring_powered_exo-boots
long_range_fire_ii
shield_manipulation_ii
armor_penetration_i
shrapnel_dispersal_i
damage_enhancement_ii
close_combat_firing_ii
ammunition_storage_ii

[config]
User avatar
darkstar076
Supreme Robot
Supreme Robot
Posts: 2200
Joined: Sun Feb 28, 2010 2:14 am
Location: Lurking somewhere in the Forum

Re: Unlock Trouble

Postby darkstar076 » Tue Aug 20, 2013 12:25 pm

Yeap, i see what has happened.

Analysis:
According to your unl.dat. You have unlocked everything available to you (These are the items under [free] and [choice])
However, for some reason you are missing all the items which were given to you automatically at the start (Anything under [defaults])

Since the game assumes you have been given those items, they are never offered as an unlock after a battle.

Hypothesis:
At a guess, i would say that either:
- The unl.dat file was not created when you first loaded the game.
Or
- You have edited your unl.dat file and accidentally over written the items that are automatically given you you at the start.

Solution:
To solve this, all you have to do is copy the defaults into your unl.dat and your good to go.

Once that is done: If you want to unlock any more stuff, you are going to need to install a mod ;)
Wisdom is something you generally obtain around three seconds after you needed it the most
-=Modding Guru & Egon Spengler of the Friendly Community Mod Squad=-
flash over
Senior Line Worker
Senior Line Worker
Posts: 7
Joined: Mon Aug 12, 2013 1:45 am

Re: Unlock Trouble

Postby flash over » Tue Aug 20, 2013 7:29 pm

I never changed any of the original game files, so the error must have occured during file creation.
Well, doesn't really matter.

Now I tried copy and pasting the [default] section in my unl.dat file, but it doesn't work. Everytime I start the game after copying it, they rewrite my file and change it back to the old one...
User avatar
darkstar076
Supreme Robot
Supreme Robot
Posts: 2200
Joined: Sun Feb 28, 2010 2:14 am
Location: Lurking somewhere in the Forum

Re: Unlock Trouble

Postby darkstar076 » Tue Aug 20, 2013 9:15 pm

flash over wrote:I never changed any of the original game files, so the error must have occured during file creation.
Well, doesn't really matter.

Well, actually it does matter. That means something else is affecting the unl.dat file

flash over wrote:Now I tried copy and pasting the [default] section in my unl.dat file, but it doesn't work. Everytime I start the game after copying it, they rewrite my file and change it back to the old one...

Right, so we need to find what is over writing that file.

As a suggestion
- search for another unl.dat in a location other the one i suggested
- verify your installation of GTB. As this is not normal behaviour, the install may be corrupt.
Wisdom is something you generally obtain around three seconds after you needed it the most
-=Modding Guru & Egon Spengler of the Friendly Community Mod Squad=-
flash over
Senior Line Worker
Senior Line Worker
Posts: 7
Joined: Mon Aug 12, 2013 1:45 am

Re: Unlock Trouble

Postby flash over » Wed Aug 21, 2013 1:08 am

Yeah, finally!
I am so ****ing happy right now XD

The Steam verification did tell me that all game files are fine.
But I indeed found another unl.dat file, in the Steam\userdata\<somenumber>\<someothernumber>\remote\ directory.
Seems because of that it allways changed the other file back.
[Note: I even tried it before with Steam Cloud Synchronisation turned off, but still it overwrote the other file.]

Thanks a lot!
Finally I can make my own units XD
(I think I will delete my unlocks, though... Is it enough to just delete them out of the unl.dat file, or do I have to place them somewhere else?)
User avatar
darkstar076
Supreme Robot
Supreme Robot
Posts: 2200
Joined: Sun Feb 28, 2010 2:14 am
Location: Lurking somewhere in the Forum

Re: Unlock Trouble

Postby darkstar076 » Wed Aug 21, 2013 1:34 am

Glad your back in buisness,
I would say at some point these files became out of sync.

If your going to remove your unlocks to you can start from scratch again I would suggest that you modify both of them
(Although the Steam one appears to be the master file.)

Remember: when you remove the unlocks leave the defaults in there
Wisdom is something you generally obtain around three seconds after you needed it the most
-=Modding Guru & Egon Spengler of the Friendly Community Mod Squad=-

Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest