Giter VIP home page Giter VIP logo

Comments (8)

felipetmartini avatar felipetmartini commented on August 14, 2024

fixed by replacing line 35 to foreach (($kills ? $kills : array()) as $kill) {

from znoteaac.

felipetmartini avatar felipetmartini commented on August 14, 2024

but now when guilds have kills

image

from znoteaac.

felipetmartini avatar felipetmartini commented on August 14, 2024

and without kills it show 1 kill for each one but no have kills yet kills is 0 and it count 1 kill by each

one of the guildswar is not accepted yet and the other only have one kill for one team the correct should show 1-0 for the accepted war with only one kill for only one team
and with the second guild war what is not accepted yet the correct should show 0-0

can someone fix that plz

@Znote

image

from znoteaac.

felipetmartini avatar felipetmartini commented on August 14, 2024

image

image

from znoteaac.

felipetmartini avatar felipetmartini commented on August 14, 2024

image

image

sorry but it not is fixed yet how you can check, not show morre 1-1 when the rigth is 0-0 but when the correrct is 1-0 it show in guild war list the wrong 1-1

and have error at the page too

from znoteaac.

felipetmartini avatar felipetmartini commented on August 14, 2024

http://worldofcomodato.servegame.com/comodatosite/guildwar.php?warid=4
with error in page debug

and with showing error score

http://worldofcomodato.servegame.com/comodatosite/guildwar.php

Notice: Use of undefined constant killerguild - assumed 'killerguild' in C:\xampp2\htdocs\ComodatoSite\guildwar.php on line 36

Notice: Use of undefined constant killerguild - assumed 'killerguild' in C:\xampp2\htdocs\ComodatoSite\guildwar.php on line 37

not show at the top how many guilds members have each team

from znoteaac.

Kuzirashi avatar Kuzirashi commented on August 14, 2024

It's impossible. Your using old files/without bug fixes. Line 36 and 37 in my file:

if ($kill['killerguild'] == $guild1)
    $g1c++;

Use of undefined constant could be only if my lines would look like this:

if ($kill[killerguild] == $guild1) ++$g1c;
if ($kill[killerguild] == $guild2) ++$g2c;

But, you can see, that these lines have been deleted and replaced. Also, everthing was tested on my local server environment.

Screenshots, if you don't believe my words:
git2
git1

from znoteaac.

felipetmartini avatar felipetmartini commented on August 14, 2024

sure you are rigth my mistake sorry is fixed now

from znoteaac.

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.