*

Account

Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 04:06:21 pm

Login with username, password and session length

Resources

Recent posts

[November 01, 2024, 12:46:37 pm]

[October 05, 2024, 07:29:20 am]

[September 05, 2024, 01:54:13 pm]

[July 16, 2024, 11:30:34 pm]

[June 22, 2024, 06:49:40 am]

[March 08, 2024, 12:13:38 am]

[March 08, 2024, 12:12:54 am]

[March 08, 2024, 12:09:37 am]

[December 30, 2023, 08:00:58 pm]

[February 04, 2023, 11:46:41 am]
Pages: [1]   Go Down
  Print  
Author Topic: Can't delete company  (Read 2984 times)
0 Members and 1 Guest are viewing this topic.
CrazyWR Offline
EIR Veteran
Posts: 3616


« on: March 18, 2016, 09:29:41 pm »

Created Blitz company.  Changed my mind, wanted Defensive.  Tried to delete company, results in crash of launcher.  Company remains on reloading Launcher. But if I want to use it now, the unit list is empty...
Logged

1. New tactics? it's like JAWS, first one in the water dies

RCA-land where shells fall like raindrops and the Captain is an invincible god
GrayWolf Offline
Development
*
Posts: 1590



« Reply #1 on: March 19, 2016, 04:17:30 am »

I ain't an expert, but there might be a problem with destructor if the launcher is based on classes. It deletes first part of the class (company build), but there's an error  at some point (probably some new units added to the company build that aren't implemented as they should be) and crashes leaving a blank company. It could be actually prevented by making a copy of the object (company), before deleting the original, so when the process breaks it puts the copy in the place of the half-deleted original, sth like copy-swap function. You still couldn't delete your company, but it would not mean you cannot use it at all.

Anyway, I'm not an expert and what's more I don't know how the launcher app is written, so there's 99% chance I'm wrong Tongue



Ohhh and I cannot delete some of my companies too :/
« Last Edit: March 19, 2016, 04:14:15 pm by GrayWolf » Logged

AlphaTIG Offline
The actual account of AlphaTIG
EIR Veteran
Posts: 185



« Reply #2 on: March 19, 2016, 02:03:27 pm »

this has been a problem for ages, just stop trying to delete any coys...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

TinyPortal v1.0 beta 4 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!
Page created in 0.05 seconds with 37 queries.