Create your dream company in the global economy game!

Play Business Game!
Русский Українська Español Deutsch
Login Password Sign Up / Login Forgot your password? English
Search
virtonomica

List of forums -> Questions and answers. Help. -> XioScript

Here you can learn from the interaction between experienced businessmen and young entrepreneurs. You are welcome to place your questions related to our business simulation game and get the answers from experienced players

Topic:

Topic created : 9.10.2013, 00:06

Last time edited : 11.08.2018, 12:19

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
Hey everybody!
 
Tired of the boring stuff in Virtonomics? You don't want to repair equipment anymore? Forcing all your subdivisions to go to training takes too much of your time? Setting the salary of your employees to the required amount is not fun? XioScript comes to the rescue! Never will you have to do these boring things again. Just set the options to your judgement, click on the execute button, and all subdivisions will be managed on your behalf. So you can focus your Virtonomics time on the interesting stuff.
 
This forum topic is the place where everything related to XioScript is discussed. In contrast to it's name, it is actually an add-on only supported on the Mozilla Firefox browser. Currently XioScript 14 is still in progress of being made, so if you want some additional functionality you should check out the older XioScript 12. My versions of XioScript 12 (12.0 and 12.1) are outdated and not working anymore, so instead you can pick up Cobr's 12.0.127 version that is working. Note that XioScript 12 really is a script, so a script add-on such as Tampermonkey is required to run, and they can run in other browsers than Firefox as well.
 
You can find the script/add-on here:
https://addons.mozilla.org/nl/firefox/addon/xioscript/
And please post any bugs, features or requests here:
https://github.com/XiozZe/XioScript/issues
 
Cobr's 12.0.127:
https://github.com/cobr123/XioScript/blob/master/XS12.user.js
 
   

Message list:  

21.03.2016, 10:09

Jayman
Jubilee Ten Bronze Ten Nine years with Virtonomics The tender collider, VII-XV places The tender collider, II-III places World Cuisines, VII-XV places World Cuisines, IV-Vi places World Cuisines, the winner
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, the winner Merchant Medal III level Merchant Medal II level Common amphora of Heraklion
Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health The winner of the Industry Competition Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination Quality label
Winner of the Leaders Contest in the nomination of Consumer Goods Winner of the Leaders Contest in the nomination The Standard of Virtonomics Winner of the Contest for Managers in the nomination "Knowledge is power!" Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination The Standard of Virtonomics
The winner of the contest of directors in the nomination 'IT-standard' Shagreen, VII-XV places The winner of the Leaders Contest in the "Fuel Rivers" nomination Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health Five years with Virtonomics Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination The Standard of Virtonomics
Winner of the Contest for Managers in the nomination Consumer Goods
Golden Ten Merchant Medal I level Nine years with Virtonomics World Cuisines, VII-XV places Shagreen, the winner Shagreen, the winner Shagreen, the winner
Eight years with Virtonomics Broker-Yard Tournament Prizewinner
l:
Jayman Corporation
n:
Jayman Incorporated
m:
Jayman Rulezzz!
 
XiozZe
XS 12.0.15
Added click and drag selection

How does it work? 
 

21.03.2016, 13:31

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
@Celio
 
You are not missing something there. You should be able to get full manager efficiency if your employee qualification is below the overflow stat.
 
Check whether the expected top manager efficiency agrees with the top manager efficiency forecast. If it does: it's a bug in the overflow formula, if it doesn't it's a bug in the top manager efficiency formula. And give your set-up so I can try to reproduce the problem.
 
@Jayman
 
While in XioOverview, click on the row of a subdivision and a blue background should appear. Click, hold and drag to make multiple row backgrounds blue. If you change an option of one of the subdivisions within the blue region, the options of all other subdivisions should change as well. 
 

21.03.2016, 23:26

Celio
Eight years with Virtonomics
One year with Virtonomics
Eight years with Virtonomics
 
I just realize that the overflow problem is found only in subdivisions with the old interface.
I think it wasn't updated yet, right?
I took a picture from my Farm subdivision just to show you.
 

 
I checked one of my factory subdivision and I saw the same problem. Although it seems to be more precise than other subdivisions, we don't have 100% top manager efficiency forecast even if the qualification is below the overflow stat (showing a forecast different from the expected top manager efficiency).
 
 
 

22.03.2016, 10:44

Jayman
Jubilee Ten Bronze Ten Nine years with Virtonomics The tender collider, VII-XV places The tender collider, II-III places World Cuisines, VII-XV places World Cuisines, IV-Vi places World Cuisines, the winner
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, the winner Merchant Medal III level Merchant Medal II level Common amphora of Heraklion
Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health The winner of the Industry Competition Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination Quality label
Winner of the Leaders Contest in the nomination of Consumer Goods Winner of the Leaders Contest in the nomination The Standard of Virtonomics Winner of the Contest for Managers in the nomination "Knowledge is power!" Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination The Standard of Virtonomics
The winner of the contest of directors in the nomination 'IT-standard' Shagreen, VII-XV places The winner of the Leaders Contest in the "Fuel Rivers" nomination Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health Five years with Virtonomics Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination The Standard of Virtonomics
Winner of the Contest for Managers in the nomination Consumer Goods
Golden Ten Merchant Medal I level Nine years with Virtonomics World Cuisines, VII-XV places Shagreen, the winner Shagreen, the winner Shagreen, the winner
Eight years with Virtonomics Broker-Yard Tournament Prizewinner
l:
Jayman Corporation
n:
Jayman Incorporated
m:
Jayman Rulezzz!
 
XiozZe
@Jayman
 
While in XioOverview, click on the row of a subdivision and a blue background should appear. Click, hold and drag to make multiple row backgrounds blue. If you change an option of one of the subdivisions within the blue region, the options of all other subdivisions should change as well.

I can make multiple rows of backgrounds blue but when I change an option for one of the subdivisions within the blue region it doesn't change the options of other subdivisions. 
 

22.03.2016, 17:49

Last time edited : 22.03.2016, 18:22

Mike1
Eleven years with Virtonomics
Four years with Virtonomics
Основатель г.Парауапебас Thirteen years With Virtonomics Founder of Badagri Founder of Acharnes Coupe du Monde Russia soccer ball Portugal soccer ball Belgium soccer ball
Croatia soccer ball Argentina soccer ball Brazil soccer ball France soccer ball Swedish profile Ingvar Kamprad Order Biology teacher Biology teacher
Biology teacher Biology teacher History teacher Physics teacher Literature teacher Ladybug Jubilee Ten Bronze Ten
Silver Ten Founder of Peristeri Founder of Osogbo Golden hook V sign V sign V sign Double corporate chevron
Mandarin duck For contribution to the development of Virtonomics Founder of the city Jalingo Founder of the city Lafia The tender collider, VII-XV places The tender collider, VII-XV places The tender collider, IV-VI places The tender collider, IV-VI places
The tender collider, IV-VI places The tender collider, IV-VI places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places
The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner
World Cuisines, IV-Vi places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places
World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner
World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, VII-XV places
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places
Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, II-III places Shagreen, II-III places Shagreen, II-III places Shagreen, II-III places Shagreen, the winner
Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Founder of the city Enugu
Egyptian nemes Japanese hat - kasa Founder of Piraeus city Russian ball Brazilian ball Ball of Netherlands Ball of Argentina German ball
Macedonian Golden amphora Common amphora of Heraklion Cocktail Suitcase Air passage Rubber ring Apollo in nephritis Doomsday Calendar
Ritual Drum Shamanic Mohawk Mayan Jade Mask Standard bed-clothing Standard underwear Hockey skates Estonian standard coin Cast-iron Weight of the Mr. Virtonomics 2011
Astronaut helmet Princely mansion Landowner Leader in technologies
m:
Mico Inc
 
Jayman
XiozZe
@Jayman
 
While in XioOverview, click on the row of a subdivision and a blue background should appear. Click, hold and drag to make multiple row backgrounds blue. If you change an option of one of the subdivisions within the blue region, the options of all other subdivisions should change as well.

it works like this:
1.  Click, hold and drag down to make multiple lines blue
2.  select/change required function in one line, it stick to only that line when you release the mouse button
3. now click again on the setting box which you just selected: the list will popup but at the same time the setting will apply to all other blue lines.
 
Naturally, we expect the function being triggered after step 2; can get used doing step 3 but it seems a bit unecessary. 
 

22.03.2016, 19:02

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
I see them Celio, it seems that the formulae weren't accurate after all. I'll see what I can come up with. Thanks!
 
Jayman, I can reproduce the problem in Firefox. In the meantime, can you take a look at Chrome and see if it does what it should do there?
 
Mike, the function should be finished after step 2, that you have to do step 3 is a bug, Safari I suppose?
 
By the way, those browser issues have most of the time nothing to do with the actual hard processing within the script. Only the HTML and CSS can be problems, and all the functions which are derived from those (such as most of the XioOverview functions). You shouldn't have to worry about different things happening within the real XioMaintenance functions because of different browsers. 
 

23.03.2016, 14:58

Last time edited : 24.03.2016, 00:57

Mike1
Eleven years with Virtonomics
Four years with Virtonomics
Основатель г.Парауапебас Thirteen years With Virtonomics Founder of Badagri Founder of Acharnes Coupe du Monde Russia soccer ball Portugal soccer ball Belgium soccer ball
Croatia soccer ball Argentina soccer ball Brazil soccer ball France soccer ball Swedish profile Ingvar Kamprad Order Biology teacher Biology teacher
Biology teacher Biology teacher History teacher Physics teacher Literature teacher Ladybug Jubilee Ten Bronze Ten
Silver Ten Founder of Peristeri Founder of Osogbo Golden hook V sign V sign V sign Double corporate chevron
Mandarin duck For contribution to the development of Virtonomics Founder of the city Jalingo Founder of the city Lafia The tender collider, VII-XV places The tender collider, VII-XV places The tender collider, IV-VI places The tender collider, IV-VI places
The tender collider, IV-VI places The tender collider, IV-VI places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places
The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, II-III places The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner
World Cuisines, IV-Vi places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places
World Cuisines, II-III places World Cuisines, II-III places World Cuisines, II-III places World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner
World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner World Cuisines, the winner Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, VII-XV places
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places
Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, II-III places Shagreen, II-III places Shagreen, II-III places Shagreen, II-III places Shagreen, the winner
Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Founder of the city Enugu
Egyptian nemes Japanese hat - kasa Founder of Piraeus city Russian ball Brazilian ball Ball of Netherlands Ball of Argentina German ball
Macedonian Golden amphora Common amphora of Heraklion Cocktail Suitcase Air passage Rubber ring Apollo in nephritis Doomsday Calendar
Ritual Drum Shamanic Mohawk Mayan Jade Mask Standard bed-clothing Standard underwear Hockey skates Estonian standard coin Cast-iron Weight of the Mr. Virtonomics 2011
Astronaut helmet Princely mansion Landowner Leader in technologies
m:
Mico Inc
 
XiozZe
Mike, the function should be finished after step 2, that you have to do step 3 is a bug, Safari I suppose?.

nah, its Chrome, the script doesn't load / show any buttons in Safari.
 
BTW may i propose using another highlight color than blue, to make things more obvious, coz blue seems to be most browser's preset highlight color. 
 

25.03.2016, 20:36

Jayman
Jubilee Ten Bronze Ten Nine years with Virtonomics The tender collider, VII-XV places The tender collider, II-III places World Cuisines, VII-XV places World Cuisines, IV-Vi places World Cuisines, the winner
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, the winner Merchant Medal III level Merchant Medal II level Common amphora of Heraklion
Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health The winner of the Industry Competition Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination Quality label
Winner of the Leaders Contest in the nomination of Consumer Goods Winner of the Leaders Contest in the nomination The Standard of Virtonomics Winner of the Contest for Managers in the nomination "Knowledge is power!" Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination The Standard of Virtonomics
The winner of the contest of directors in the nomination 'IT-standard' Shagreen, VII-XV places The winner of the Leaders Contest in the "Fuel Rivers" nomination Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health Five years with Virtonomics Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination The Standard of Virtonomics
Winner of the Contest for Managers in the nomination Consumer Goods
Golden Ten Merchant Medal I level Nine years with Virtonomics World Cuisines, VII-XV places Shagreen, the winner Shagreen, the winner Shagreen, the winner
Eight years with Virtonomics Broker-Yard Tournament Prizewinner
l:
Jayman Corporation
n:
Jayman Incorporated
m:
Jayman Rulezzz!
 
I got it to work nicely in Firefox by the following method:
 
1. Select/change required function in one line
2. Click, hold and drag down to make multiple lines blue
3. Click the center of the box changed in step 1 
 

26.03.2016, 23:13

Last time edited : 26.03.2016, 23:20

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
Jayman, Mike, can you check if everything works for Firefox and Safari? I did do some test runs but I cannot test all.
 
Next stops will be the overflow function, laboratory functions and maybe some closer look at equipment and warehouse supply.
 


Version 12.0.19:
 
-Fixed a bug where sometimes a subdivision was counted double in the XM log.
-Fixed a bug where the warehouse supply could cancel all suppliers due to being blacklisted.
-The Research function will now not continue with the research anymore if the tech level exceeds maximum given by the top manager.
-Top manager stats for factories now supported for the Russian realm.
-Top manager functions now supported for the Russian realm.
-Changed some core functions: options now allow multiple selection boxes (called secondary options).
-Options do not appear anymore on subdivisions under construction.
-Fixed a bug where the PQR price function did not work properly on subdivisions that had so many contracts that the contract page was split into multiple instances.
-Added secondary options on Price functions.
-Added secondary options on Policy functions.
-Added secondary options to Retail Supply functions.
-Fixed a bug where the Warehouse Supply (World) function would purchase additional TM's.
-Changed selection color from blue to pink.
-Fixed selection for Firefox.
-Rewritten code that was not supported in Safari.
-Added Warehouse Size option "Packed".
-Added Production/Warehouse Price option "$0.01".
-Sharply reduced the number of server calls needed for the holiday functions.
-Added Efficiency/Holiday indicators on XioOverview
-Fast building supported: clicking continue will not reload the page, but change a bit of data
 

Note: a lot of options will be reset on update. 
 

27.03.2016, 14:15

Last time edited : 27.03.2016, 14:22

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
@Celio
 
I'm not able to reproduce the problem, for me the overflow function always gives the exact same result as the forecast.
I have no clue.
Can somebody else try it as well and to see if it works?
 


Version 12.0.20
 
-Fixed a bug where the remaining holiday texts could stack up at the bottom of the page. 
 

29.03.2016, 21:59

Jayman
Jubilee Ten Bronze Ten Nine years with Virtonomics The tender collider, VII-XV places The tender collider, II-III places World Cuisines, VII-XV places World Cuisines, IV-Vi places World Cuisines, the winner
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, IV-VI, places Shagreen, IV-VI, places Shagreen, the winner Merchant Medal III level Merchant Medal II level Common amphora of Heraklion
Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Broker-Yard Tournament Prizewinner Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health The winner of the Industry Competition Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination Quality label
Winner of the Leaders Contest in the nomination of Consumer Goods Winner of the Leaders Contest in the nomination The Standard of Virtonomics Winner of the Contest for Managers in the nomination "Knowledge is power!" Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination The Standard of Virtonomics
The winner of the contest of directors in the nomination 'IT-standard' Shagreen, VII-XV places The winner of the Leaders Contest in the "Fuel Rivers" nomination Winner of the Leaders Contest in the nomination Week of perfect Service Winner of the Contest for Managers in the nomination Nation's Health Five years with Virtonomics Winner of the Leaders Contest in the nomination Tender mania Winner of the Leaders Contest in the nomination The Standard of Virtonomics
Winner of the Contest for Managers in the nomination Consumer Goods
Golden Ten Merchant Medal I level Nine years with Virtonomics World Cuisines, VII-XV places Shagreen, the winner Shagreen, the winner Shagreen, the winner
Eight years with Virtonomics Broker-Yard Tournament Prizewinner
l:
Jayman Corporation
n:
Jayman Incorporated
m:
Jayman Rulezzz!
 
It seems to be working now. I'd prefer a darker selection color so it's easier to see which rows are selected. 
 

2.04.2016, 15:06

Last time edited : 2.04.2016, 22:16

BatonInc
Nine years with Virtonomics Winner of the Contest for Managers in the nomination Nation's Health Winner of the Contest for Managers in the nomination "Knowledge is power!" Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination The Standard of Virtonomics
Three years with Virtonomics
Eleven years with Virtonomics
One year with Virtonomics
n:
1
 
Hi! Where i can find a tutorial? When i try to set selling price on factory, it just says Price 0 of 1 and nothing happen. 
 

2.04.2016, 23:02

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
You can find the wiki here, Baton. 
 

4.04.2016, 02:27

BatonInc
Nine years with Virtonomics Winner of the Contest for Managers in the nomination Nation's Health Winner of the Contest for Managers in the nomination "Knowledge is power!" Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination The Standard of Virtonomics
Three years with Virtonomics
Eleven years with Virtonomics
One year with Virtonomics
n:
1
 
Price (Production and Warehouses)
Didn't work. Not so 
 

4.04.2016, 23:32

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
@Celio, overflow values for non-factories are corrected. I still do not know, however, how the factory values are incorrect. Mine have been 100% accurate uptil now with any settings.
 
@Jayman, even small improvements like that can do wonders.
 
@BatonInc, do all functions not work or is it just the price function? Which browser are you running? Does the function not work on all subdivisions you have, or just one?
 


Version 12.0.21
 
- Fixed a bug where the XioOverview wouldn't load on languages other than English.
- Fixed a bug where XioScript wouldn't try to contact the server again after a failed try.
- Added Store Supply function "Enhancer".
- Added secondary options to Warehouse Supply.
- Added Retail Price function "Sales".
- Group Fire Buttons on XioOverview now only fire the subdivisions visible on the screen, not all of them.
- Fixed a bug where the values of the Overflow function for non-factories were mistaken.
- The selection color is now slightly darker.
- Added secondary options "Keep" and "Reject" to production/warehouse sale function.
- Revamped the core of the Equipment function.
- Added secondary options to the Equipment function.
- Revamped the core of the Warehouse Supply function. 
 

List of forums -> Questions and answers. Help.-> XioScript