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:  

8.10.2016, 09:20

VolandAV
V sign V sign V sign Paper crane Paper crane Triple corporate chevron 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 Winner of the Leaders Contest in the nomination Tender mania 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 Raw Material Base 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
Two years with Virtonomics
Bastille Key The tender collider, the winner World Cuisines, IV-Vi places Shagreen, II-III places The winner of the Industry Competition in the "Virtostandard of fuel" nomination The winner of the Leaders Contest in the "Fuel Rivers" nomination Winner of the Industry Competition in the 'Government procurement' 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 The winner of the Industry Competition The winner of the Standard of Virtonomics nomination of the Industry Competition The best player of the qualification for the quarterly Industry Competition Winner of the Leaders Contest in the nomination Tender mania 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 Raw Material Base
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
l:
Master and Margarita
 
XiozZe

VolandAV
In the old version  of the script has the wrong algorithm of supply adjustment to the shops. If you set the policy "ON stock" and for some reason the supply drops to 0 (for example, several recalculations missing items are in stock and sales fell to 0), it is already under any circumstances delivery is not automatically restored.

Maybe I misunderstood your question here. The script can only look max. 1 day in the past. So if the last supply or sold was more than 2 days ago, the script will start on the minimum value specified in option 2 again and work from there. This is not related to option 1 (sold/stock/amplify/enhance).
Imagine a situation where there was no supply from the warehouse for a long time. Sales are nudyu and enter values purchases will sooner or later be set to zero. Then the warehouse receives the goods. But the purchase is not renewed, because sales are zero. It should be a minimum value of purchases to make "1" and rounding the value of purchases in a big way. Then, even if very slowly, the delivery to the store and sales can be automatically renewed.
 

XiozZe

VolandAV

It is not possible to realize with any existing policy. I do not want to sell at a warehouse dorgo and pay exorbitant fees. And set an arbitrary set of prices from the cost of delivery is also impossible. It might be an alternative solution - the ability to manually set the value to existing policies "were sold at a price not lower delivery price multiplied by X".

Which would take a lot of local storage management, if you want to do that separately for every good or every store. As I said, "manually" is not an option.
I do not understand why you do not want to make a global setting minimum sale prices (below which I under no circumstances do not wish to sell the goods). The game has about 150 retail goods. It is only 150 numbers. They can easily be stored in the internal storage, it is a very small amount of data. And to enter these values, you can make a separate page that is opened by pressing a button. 
 

5.12.2016, 18:13

Omahen
Основатель г.Тхайнгуен Belgian chevron Jewelry Loupe Waffle iron Founder of Hue Ancient manuscript Moai statue Moai statue
Beauty set Perfume Dentist Sandalwood Elm Elm Elm Sicilian olive
Pizza Leaning Tower Italian red Italy Gold Japan soccer ball Argentina soccer ball Argentina soccer ball Swedish profile
Swedish profile Swedish profile Swedish profile Ingvar Kamprad Order Père Noël Joulupukki Olentzero Weihnachtsmann
Sinterklaas Tovlis babua Chemistry Teacher History teacher Physics teacher Literature teacher Mathematic teacher High-precision microcircuit
"Point and shoot" 35mm film SLR camera Polaroid Film camera Vintage camera Wine barrel Chewing gum
Chewing gum Chewing gum Chewing gum Chewing gum Chewing gum Claddagh ring Claddagh ring Frienship bracelets
Fishing spoon Compass Camping backpack Beach sandals Beach sandals Watering can Holmes smoking pipe Jubilee Ten
V sign Triple corporate chevron Double corporate chevron The tender collider, IV-VI 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 The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner
The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner
The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner
The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner
The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner The tender collider, the winner World Cuisines, VII-XV places World Cuisines, VII-XV places
World Cuisines, VII-XV places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places
World Cuisines, IV-Vi places World Cuisines, IV-Vi places 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, 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 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, VII-XV places Shagreen, VII-XV places Shagreen, VII-XV places
Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, VII-XV places Shagreen, VII-XV places 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, 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, 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 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 The winner of the Industry Competition in the "Virtostandard of fuel" nomination 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 The winner in the nomination Your Way to success of the Industry Competition
The winner of the Standard of Virtonomics nomination of the Industry Competition The best player of the qualification for the quarterly Industry Competition Winner of the Leaders Contest in the nomination Tender mania 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
Winner of the Contest for Managers in the nomination Nation's Health Five years with 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
 
Script buttons are not shown on a page, most likely due to page appearance changes. 
 

6.12.2016, 00:05

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
Thanks to cobr123, here a quick fix.
Please don't mind the layout.

XS Version 12.0.25

 
- Fixed the script for the new virto-headers.
 
XS Version 12.1.5
 
- Fixed the script for the new virto-headers.
- Fixed a lay-out issue where the XioOverview table looked crispy due to slow loading images.
- Added XioMaintenance Toggle options.
 
You can now toggle the subdivisions the XioMaintenance works on by using the blue rectangle or red cross button. If a subdivision has a blue rectangle in front of it, the XioMaintenance will happen on this subdivision, and if the subdivision has  a red cross in front of it, the XioMaintenance will not happen. By pressing one of the icons behind "Mark All", you can toggle the XioMaintenance on and off for all subdivisions. Managing individual subdivisions will be the same as setting options: selected the subdivisions, and press on of the icons at the top of the table. 
 

6.12.2016, 19:25

Gram123
Nine years with Virtonomics
Two years with Virtonomics
Six years with Virtonomics
Leader in technologies
 
This might be a dumb question - so be it.
 
What is the difference between XS version 12.0.25 and XS version 12.1.5. It seems to me both are running parallel and i'm somehow not able to make 12.1.5 work (The script buttoms dosnet show up) but the rest of the script seems to work 
 

7.12.2016, 14:24

gamerz300
Masking mustache Panda Panda Mandarin duck Mandarin duck Honey Barrel Merit for the Uzbekistan of level I Seven years with Virtonomics
One year with Virtonomics
Seven years with Virtonomics
m:
Egg-Roll International
 
There's no such thing as a dumb question
 
To answer your question. It seems that 12.0.xx is legacy code while 12.1.xx is newer standard. Developers usually do this to prevent issues with older software ;) 
 

7.12.2016, 15:36

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
XS 12.0 and XS 12.1 both have the same purpose and same idea, but XS 12.1 is written to be more efficient, especially for larger groups of subdivisions. The reason they are still both updated is that XS 12.1 does not have all it's functions yet and does not work for everyone. The moment all bugs are fixed and the script is fully functional and capable to replace XS 12.0 and older versions the support for XS 12.0 will be dropped. 
 

10.12.2016, 21:53

gamerz300
Masking mustache Panda Panda Mandarin duck Mandarin duck Honey Barrel Merit for the Uzbekistan of level I Seven years with Virtonomics
One year with Virtonomics
Seven years with Virtonomics
m:
Egg-Roll International
 
ah ok Very we! 12.1 just looks like it is using a newer code, similar to what happened with php/mysql not too long ago.
 
Oh 2 things one question one bug.
 
Where is the overlay on the main subdivision page? I'm using chrome (most recent) with windows 10
 
In oil enterprises the tech target max overflow is displaying with the complexity of the mine. This is because of the new page interface. It actually confused me for a second thinking "hey thats not right... my tech isnt 5..." 
 

11.12.2016, 00:39

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
All the XS 12.1 magic happens on the "XioOverview" page. You can reach that by going to My Company --> XioOverview in the menu bar.
 
I'm afraid I can't do something about the oil enterprise bug at the moment. I'll keep a note hanging around that I should fix it. 
 

11.12.2016, 03:03

gamerz300
Masking mustache Panda Panda Mandarin duck Mandarin duck Honey Barrel Merit for the Uzbekistan of level I Seven years with Virtonomics
One year with Virtonomics
Seven years with Virtonomics
m:
Egg-Roll International
 
Thats fine it just is in the wrong place.
 
also is the new interface supposed to be like this? also im guessing no mass enterprise creations any more...
 
 
 

16.12.2016, 11:29

XiozZe
For contribution to the development of Virtonomics Seven years with Virtonomics
m:
Oxellic
 
What do you mean no mass enterprise creations anymore?
Once all the options are set, and you press the XioMaintenance button, the script will execute EVERY function on EVERY subdivision at once, while you are sitting back and enjoying the show.
Equipment repair, supply setting, product pricing, salary changes, trainings, research, advertisement, ...
One button All subdivisions. 
 

16.12.2016, 12:54

gamerz300
Masking mustache Panda Panda Mandarin duck Mandarin duck Honey Barrel Merit for the Uzbekistan of level I Seven years with Virtonomics
One year with Virtonomics
Seven years with Virtonomics
m:
Egg-Roll International
 
What I ment was new subdivision creation with a repeat function.
 
The version on my laptop has it. Maybe I over looked it Idk.
 
Oh I'm not worried about training To you I have hr not for very long tho I think as I forgot to party... Tho now I'll look deeper into it as the black magic you've bestowed upon the game has never been seen here before (at least not on one simple page) I roll! 
 

17.12.2016, 22:23

Viraxje
Six years with Virtonomics
Elm Leaning Tower Portugal soccer ball Masquerade wig Jubilee Ten Triple corporate chevron Production: elite Science: bachelor
Management: bachelor Wild beehive The tender collider, VII-XV places The tender collider, IV-VI places The tender collider, II-III places The tender collider, II-III places The tender collider, the winner The tender collider, the winner
World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, IV-Vi places World Cuisines, II-III places World Cuisines, II-III 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 Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Platinum sponsor of the Contest for Tycoons Eight years with Virtonomics
Winner of the Contest for Managers in the nomination Nation's Health The winner in the nomination Your Way to success of the Industry Competition Winner of the Contest for Managers in the nomination The Standard of Virtonomics
l:
Viraxje Ltd.
m:
Viraxje Industries
 
a button in the overview to change specialization of animal farms 
 

25.12.2016, 17:46

mort100
Twelve years with Virtonomics Winner of the Contest for Managers in the nomination Raw Material Base Winner of the Contest for Managers in the nomination Consumer Goods Winner of the Contest for Managers in the nomination Trade Turnover Winner of the Contest for Managers in the nomination The Standard of Virtonomics
Twelve years with Virtonomics Founder of Makurdi Founder of Ado Ekiti Triple corporate chevron Double corporate chevron Production: elite Science: bachelor Management: bachelor
Mayor Mayor Mayor Mayor Mayor Mayor Mayor Mayor
Winner of the Contest for Managers in the nomination "Knowledge is power!" Governor Leader in technologies
l:
Mo corp
m:
Mo Industries
 
Will the xio-overview/-management support power plants again soon? More micro-management in this sector will be needed with the new solar plants. 
 

4.01.2017, 18:54

Gorchilo
Jubilee Ten Jubilee Ten 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 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 Raw Material Base
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 Two years with Virtonomics
One year with Virtonomics
Mathematic teacher Ladybug Jubilee Ten Bronze Ten Silver Ten The tender collider, IV-VI places World Cuisines, VII-XV places World Cuisines, IV-Vi places
Shagreen, VII-XV places The winner of the Industry Competition in the "Virtostandard of fuel" nomination The winner of the Leaders Contest in the "Fuel Rivers" nomination Winner of the Industry Competition in the 'Government procurement' 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 The winner of the Industry Competition The winner in the nomination Your Way to success of the Industry Competition
The winner of the Standard of Virtonomics nomination of the Industry Competition The best player of the qualification for the quarterly Industry Competition 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 The Standard of Virtonomics Two years with Virtonomics
n:
ZZZ
 
Will be soon support for new stuff ? 
 

26.02.2017, 01:17

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
 
What about service sector? Price function and other stuff? 
 

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