Giter VIP home page Giter VIP logo

ui's People

Contributors

caberhagen avatar dax89 avatar kail72 avatar kirirur avatar saboti avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ui's Issues

Looks as Combat is working but not full

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

  • Moves: Starting process
  • Moves Notice: (move_id: 98) AR-User ID is 11
  • Moves Notice: (move_id: 98) AR-user(s): 1
  • Moves Notice: (move_id: 98) Entering AR-loop #0
  • Moves Notice: (move_id: 98) AR-query:
    "SELECT f.fleet_id, f.fleet_name, f.n_ships,
    u.user_name AS owner_name
    FROM (ship_fleets f)
    INNER JOIN user u ON u.user_id = f.user_id
    WHERE f.planet_id = 5855 AND
    f.user_id = 11 AND
    f.alert_phase = 2"

  • Moves Notice: (move_id: 98) Doing combat in AR-loop #0
  • Moves Notice: (move_id: 98) Combat done in AR-loop #0
  • Moves Notice: (move_id: 98) Leaving AR-loop #0
  • Moves Notice: (move_id: 98) Skipped_action_main()
  • Moves Notice: (move_id: 98) Action 11 executed in 0.0067s
  • Moves: Ending process

    Executed Moves Scheduler (queries: 17) in 0.0158 secs


    Finished Scheduler in 0.0243 secs
    Executed Queries: 18

Up to date Version

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

Up to Date Database Schema

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

Messages & Shoutbox

Hi

Found a problem on shoutbox and messages.
If the text have ä, ö and ü inside. The text are not showing. (not saved)

Question: Install of stfc2

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 :)

Problem to build structure.

Hi @ all

after a long run in the game, i think i run in to a problem on build structure on some planets.
enough ress on the planet but not able to build structure, but research are working.
anyone see the same?

t-planet

x-planet

Define admin mail at config.inc.php

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.

Wrong ships construction times

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.

Help Pages

Hi

can we add to the ingam help pages localisation?
atm the pages er in it here...

External pages should be translated

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.

Development status from Kail

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

I need a hint at donation page.

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

Some parts to translate

I search some things in the files. need help to find them all.

1

2

3

in witch file are these words from popups?

Potiential bug at safetytrups on planets.

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.

soldiers

atm i have less time. but i try to track it down.

The "message" function may be called indirectly by the Scheduler.

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.

Mines panel can display wrong number of workers

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.

screenshot 2015-08-26 15 13 59

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:

screenshot 2015-08-26 15 24 36

Field 'npc_last_action' doesn't have a default value

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)

Special signs at bottom

Hi @ all

i the new install from master branch, i found some special signs at bottom of some pages. not on all!
signs

Anyone knows from where it comes?

CU

Wrong Description for Static Components

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.

Wrong special chars handling in research labs

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.

Needing german translation

As the object, the new verision of shipyard.sprache.php is missing the german translation of the new messages added.

logbook.sprache.php

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.

HTML5 migration

HTML code generated by the game should be upgraded to the new HTML5 standard...

Alliance fleets map

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.

Build multipe Ships

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

Shiptemplates actual master branch

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.

Payments number doesn't match with the auction number

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/

Notepad don't save inserted data

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?

Planet available points initialization

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.