Empyrion: Galactic Survival Wiki
Register
Advertisement

The Admin noticeboard is one way through which users can notify administrators of issues needing administrative attention. While users are welcome to directly contact specific administrators (especially if they are seen to be active), posting here can be an easier and quicker way of ensuring that at least one admin will notice an issue and respond to it promptly. Remember to sign (using four tildes: ~~~~) when posting an issue.

Before posting an issue here, please consider the following:

  • This page is for reporting wiki issues. Please post discussions on the talk page.
  • Post only issues that require administrative action, i.e. blocking vandals, protecting pages, restoring deleted pages etc.
  • Do not post deletion requests here. Deletion requests should be made by adding {{delete|reason for deletion request}} to the top of the target page, which will then automatically mark the page as a candidate for deletion.
  • Do not post issues regarding content disputes. Try making a request for comment instead.
  • Mediation requests between users should only be made once a resolution could not be reached between users.
  • For issues regarding the use of this wiki, please see our help center.

In case of vandalism, posting about it here is low priority. Revert it first, anyone can do so. If the vandal created a new page, tag it for deletion. Assume good faith and consider leaving a message on that user's talk page to explain the reason. Post here only if the user has made several disruptive edits and/or persists despite a warning. Always avoid a revert war with the vandal; it is far better to wait until an admin has a chance to intervene. If a user must be reported here, please use {{user}}, preferably as the topic subject/headline.

Request for new Category

Request for new categories in this section

(Resource / Resources)

--Resolved --Navonil (talk) 07:08, 5 February 2016 (UTC)

ore calculator

At long last, I have figured out how to implement the ore calculator. Right now I'm using "Template:Sandbox" to do the initial template substitution to "Template:Sandbox2", which calls itself recursively until the raw materials are reached. The result is a very long string containing all instances of all the raw materials with appropriate multipliers. At present "Template:Sandbox" isn't being very responsive to edits, so for now "Sandbox" holds the additional processing that the string needs. Basically, the idea is that the original string (output from "Template:Sandbox2") is stored as a variable, and for each raw material, all other instances of the raw material in the string are set to 0, the desired raw material name is removed from the string, and the result is run through the expression parser.

I think we'll only really need 2 templates to implement this, as the first template (currently "Template:Sandbox", maybe named "Template:Craft raw") can handle all the formatting, while the second template (currently "Template:Sandbox2", maybe named "Template:Craft raw recursive") does the recursive calls.

In principle, we could also use a similar method to compute the time required for the Advanced Constructor to build a certain item, but I don't see that as being terribly useful.

In any case, we could simply append the output of "Template:Craft raw" to "Template:Craft", so that we don't need to do a ton of page editing (beside removing the old crafts calls).Geostar1024 (talk) 20:47, 9 February 2016 (UTC)


Go for it...I am bit busy right now (IRL), wiki will get my attention from tomorrow...Navonil (talk) 21:06, 9 February 2016 (UTC)


No problem; it's done. Templates have been created, and the calculator has been integrated into the existing crafting tables. All that remains is to go through all the pages and remove the old crafts template calls.Geostar1024 (talk) 22:08, 9 February 2016 (UTC)


All the old crafts templates have been removed from the item pages, so they can be safely deleted now.Geostar1024 (talk) 01:46, 10 February 2016 (UTC)


problem with ore calculator...

  1. ore can't be fraction
  2. ore has to be in multiple of 5 as min 5 ore needed to build Ingot(output=10)..

so if the result of calculator is<=5 then ore=5; 5<result<=10, ore=10; 10<result<=15, ore=15 etc, almost always there is some components/refined resources left as byproduct if something crafted in adv. con. you have to add some kind of expression like

a=|amount/5|
if (amount%5)>0
amount=a*5+5
if (amount%5)=0
amount=amount

Navonil (talk) 03:40, 10 February 2016 (UTC)


It's done. I just added "5*ceil(" to the beginning of the expression and "/5)" to the end for all raw materials except Promethium Ore and Corn (which just got enclosed by "ceil()"). It's not the nicest solution, as the 5 is hard-coded (properly it should pull from the craft data for each refined material). On the other hand it works, so I'm happy with it. Geostar1024 (talk) 14:50, 10 February 2016 (UTC)


If it works..it's fine for me....
I don't understand those replacement patterns..I guess you are well versed in PHP(?).. but I have very little Idea how this templates are working..and won't be able to fix/add most of the thing in them.. so I hope it is future proof and you will be around in this wiki to fix them if needed...
I hope you see the devs post that game going to Alpha soon which means more items and stuff coming soon..we need to make this wiki to catch up with current update so when new update hits we need to add only the new stuff.... I will update the rotation info in turrets and add most of the Mob page today...I have plan to replace all the part of front-page with different template(header and about already replaced)..waiting for permission to make icon with game assets, them I will rebuild the whole front page... do you have any plan for the wiki??
AND A BIG THANK YOU FOR MAKING THE CRAFTING TEMPLATE Navonil (talk) 16:01, 10 February 2016 (UTC)

Advertisement