stfc2 / ui Goto Github PK
View Code? Open in Web Editor NEWUser Interface
Home Page: http://www.stfc.it
User Interface
Home Page: http://www.stfc.it
Hi
we have tried a combat situation.
The log from combat is arived and say my fleet is destroyed.
But my ship is still there.
Output from moves-log:
Starting Moves Scheduler...
entering file
Hello,
hope everyone is fine :)
I just want to ask if it's possible to update the source to the last one live on http://www.stfc.it
There are some nice new features.
Greeting Saboti
Thank you @Kail72 for the up to Date Version!
Would it be possible to get the last DB Schema too?
I recognized some changes there as well.
Thank You!
Regards Tobias
Hi
Found a problem on shoutbox and messages.
If the text have ä, ö and ü inside. The text are not showing. (not saved)
Hi
i tried to install your branch.
I have setup the ui in webfolder and databes in mysql.
Now i can't find the config.inc.php. So it shows me no connection to databes.
Ande a can not see, waht for crons are needet.
Du you have a setup how to?
Or you can help me?
And thx for you work. was a long time ago i have played this game :)
I see at translation we use the mail adress direkt hardcodet.
we have to change thes addresses by any install.
So it's hard to remember at witch places all we have to chenge the address.
Better wen we can use it in config.inc.php from ui folder.
So it auto changed to the right address.
The times displayed in the shipyard queue are wrong. When they shall be AM they are showed as PM.
For example: it's 6 PM, queue a ship in the yard (8h and 30m of construction time), the finish time displayed will be 02:30 PM of tomorrow instead of 2:30 AM.
Hi
can we add to the ingam help pages localisation?
atm the pages er in it here...
All the "public" web pages (login, registration, stats, welcome, and so on) should be translated at least in English basing language detection upon user' browser settings.
Hi Kail
are you finisehd with your work?
when you are finish, i will start a new install from master branches to see is it actual full working from scratch.
CU
Hi
i addet the translations to the spende.php.
I don't see in the file spende.php what i have to chage to call my paypal.
Thnx
Hi Kiriru
i think i found a problem at the planets with thw soldiers.
I have a lot of planets, but on the most the addition from research terraforming wont work.
The value of possible soldier are raising after research.
but i can fill mor soldiers to this planets.
After in pic to see: on planets list a purple A for full planet, but at rigth side the value off soldiers isn't full.
atm i have less time. but i try to track it down.
Some functions defined in file game/include/functions.php can be called also by the Scheduler tasks (for example the add_logbook_entry function), but errors log should go on scheduler log file, not UI log file (as it is at the moment), especially because depending on the environment log file could be not written by the Scheduler (different ownership).
The function should use define IN_SCHEDULER to handle different behaviors according to different environments where it may be called.
Sometimes (actually it's the first time I encountered this issue), the mines panel can display a wrong amount of available workers in the drop down menu.
The game's code however doesn't let the player select the amount of inexistent workers.
It seems something that could be related to S planet class:
Module alliance_diplomacy does not use game class SQL but it calls directly MySQL extension functions.
New field npc_last_action of table ship_fleets does not have a default value, so SQL queries like this will fail:
INSERT INTO ship_fleets (fleet_name, user_id, planet_id, move_id, n_ships) VALUES ("Encouraging_hull2", 10, 1, 0, 100)
Hi
i see the sensorpage somtimes make a php error.
in case of a ship is near et a enemy planet.
so i can see sensor page over long time when the ship is far away.
but the ship is near the error occurs.
error:
PHP Fatal error: Call to undefined function get_system_planetary_sensors() in /var/www/game/modules/tactical_sensors.php on line 159, referer: https://stfc.mining-pools.ch/game/index.php?a=tactical_moves
Hello,
for the Breen Race the Static Components are not ordered right.
The Description dont fit to the Name of the Component.
UI/game/include/static/static_components_8.php
e.g.:
Bio-Konverter MK I
Das Fluidgeschütz ist die leichteste Waffe, die erzeugt werden kann. Es ist billig, jedoch nicht sehr effektiv und kann nur auf kleinen Schiffen (+ Transportschiffen und Kolonisierern) eingesetzt werden.
It could be helpful to add a new button "Intact" in Spacedock ships selection in order to select not damaged ships for fleet creation.
The code in research labs that truncate names longer then 18 characters doesn't handle properly HTML special characters like umlauts that are left undecoded. Probably a call to htmlentities on the truncated name should do the work.
As the object, the new verision of shipyard.sprache.php is missing the german translation of the new messages added.
The new building queue mechanism does not use GetFuturePts function to check if available structure points are overrided by queued buildings.
we have in the file text part 165 to 218 just in iatalien.
can anyone make the translations to english?
then i mak the translation to german.
HTML code generated by the game should be upgraded to the new HTML5 standard...
The map showing all the fleets of an alliance displays only fleets orbiting around alliance's planets avoiding all the fleets orbiting on foreign planets.
Hi,
I have a DB error if I try to build multiple Ships in a Build Order.
For example I Try to build 2 Torpedos as Kazon:
ship_query: Could not call INSERT INTO in scheduler_shipbuild
Duplicate entry '3008' for key 'PRIMARY' (1062)
INSERT INTO scheduler_shipbuild (ship_type,planet_id,line_id,start_build,finish_build,unit_1,unit_2,unit_3,unit_4) VALUES ("16","3008","0","35547","35601","2","0","0","0")
Any help how I can Fix this?
Regards Saboti
I have atm a actual master install.
On creating shiptemplate the values are not hihger with more components.
And save a template are not work.
i revertet shipt_templates and shipyard, seems working now.
On the trade center, in the Debts section, if one presses on one of its debts, the number displayed does not match with the auction number,
For example:
auction number: 983 and I pay for auction number: 932
or
auction number: 985 and I pay for auction number: 934
The payment is performed on the right auction, everything runs correctly, but numbers are unaligned.
A snapshot can be found here:
http://bugs.stfc.it/view.php?id=79
And here:
http://sourceforge.net/p/stfc/tickets/1/
Hi
i found a problem with notepad.
the inserted text are not saved.
i found an output:
PHP Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/game/submit_notepad.php
so the game try to use not the game db from config inc.
and with apache user without password.
how to chang it to game db?
There's a bug in create_planet() function when constant USER_START_BOOST is set to 0. The normal planet being created does not get planet_available_points field initialized correctly so it remain to its default value that it's zero. With this value set, no buildings can be build.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.