Giter VIP home page Giter VIP logo

Comments (13)

eliopinho avatar eliopinho commented on August 26, 2024

well, i have to install phpmyadmin and empty table s1_medal
in order to delete all medals given..

in gameengine/config.php

in medals interval i have to modify (3600_24_7)) to (3600_24_7*1000000000000000000000000))
to stop the game giving medals..
each minute the game gives-me 5weeks of medals!!!?

from travianz-legacy.

Shadowss avatar Shadowss commented on August 26, 2024

It is a server problem take a look on here http://travian.shadowss.ro/login.php

from travianz-legacy.

Fannybaws avatar Fannybaws commented on August 26, 2024

@eliopinho - When you say 'fresh install' do you mean you are removing the folder that it was installed in, removing all the tables from the DB, then doing a 'fresh' install?

from travianz-legacy.

eliopinho avatar eliopinho commented on August 26, 2024

yes. delete the database, and all the files, after it download new files from here.. and do the install with the new db..

from travianz-legacy.

eliopinho avatar eliopinho commented on August 26, 2024

its a problem in a auto medal system, so much simple to resolve add a choice..
admin use auto medal or manual...
manual worked fine before :/
and if you want the automedal system, have to create 2 variables in DB with the server game start time, (not the install time) and current time
and with those variables do something like this

 game_time=current_date
 if game_time >= game_start+1week

      then give_medal ;
             game_start=game_start+1week ;

      else do nothing

in the login page for example (when a user log in verifies that if is true gives a round of medals, and update for the next date to gives another round of medals..)

i realy dont know programing syntaxes of php and mysql, otherwise i help :/
but this thinking works..

from travianz-legacy.

Fannybaws avatar Fannybaws commented on August 26, 2024

@eliopinho I've done a few fresh installs but have never seen this problem.
Noticed you mentioned the server start time - did you change this from the default when installing?
(I've never changed that when installing so may, or may not, be an issue)

from travianz-legacy.

eliopinho avatar eliopinho commented on August 26, 2024

yes
i install the game on 12/01/2014 and put to game start on 22/01/2014
for call players to play

from travianz-legacy.

Fannybaws avatar Fannybaws commented on August 26, 2024

@eliopinho That might be the problem then?
try installing without changing the game start date and see if it works OK

from travianz-legacy.

eliopinho avatar eliopinho commented on August 26, 2024

now i have players on the game,
if the function of game start date do not work do not should be in there :/
now i canot give medals, if i change medal interval (3600_24_7_1000000000000000000000000)) back to (3600_24*7)
in 2min i have 100 weeks of medals :/ and the game was instaled on 12/01/14 and started 22/01/14
at least should be 3 weeks of medals :(

now what i do? tell the players to quit and install again ?

have to be another way 🐙

from travianz-legacy.

Fannybaws avatar Fannybaws commented on August 26, 2024

I'm not saying that changing start date will cause an issue @eliopinho , just trying to help you find out what the problem is with your installed version.

Have you tried installing the latest version of the code to see if this is still an issue?

from travianz-legacy.

eliopinho avatar eliopinho commented on August 26, 2024

yes, i constantly update the files when they are released here..
hours after looking to the php codes, in config.php i change the game start back to 12/01/14
and seems to solve the problem, ate least passed 1 day and only give 1 week medals
im only have sure that works fine in more 6 days..

from travianz-legacy.

eliopinho avatar eliopinho commented on August 26, 2024

but in a future remember, if you instal the game and want it to start in 10 days after, this problem it will occur

from travianz-legacy.

Shadowss avatar Shadowss commented on August 26, 2024

for me works correctly in install set 7 days and it works

from travianz-legacy.

Related Issues (20)

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.