Giter VIP home page Giter VIP logo

Comments (10)

Londxd avatar Londxd commented on May 18, 2024

Did you do it right?
Are the Proplibs normal?
Maybe wrote something wrong.

from protanki-server.

Assasans avatar Assasans commented on May 18, 2024

Have you added your map.xml and proplibs.xml files to the local resource server?
If yes, did you configured client to use your resource server?

but this happened to maps that are included with the server

Can you please tell which maps are not loading?

from protanki-server.

Cavebrute avatar Cavebrute commented on May 18, 2024

Yes, the client does connect to the local server, and I did replace both map.xml and proplibs.xml files.
I also added the same proplibs in the summer-day.json file for the map, because if I don't, it gives me an error when I try to play the battle.

The map that wasn't loading for me was Atra or Arena, but that was a few weeks ago and it works now.

I was able to load an old version my custom map which was 3314kb, but when I put in the finished map, 4379kb in size, it doesn't load. Does the server have a problem with loading maps over 4000kb?

from protanki-server.

Assasans avatar Assasans commented on May 18, 2024

Does your finished map uses any proplibs/props that old version doesn't?

Does the server have a problem with loading maps over 4000kb?

The server just reads resource files as a byte stream, so there should be no problems.
The biggest official map is 2329 KB, so maybe the client has troubles with loading big maps.
Try to check client logs by pressing Ctrl + Shift + K and typing log.info, log.error when the client gets stuck.

from protanki-server.

Assasans avatar Assasans commented on May 18, 2024

Could you send me the old and the new version of the map, if you don't mind. I'll be able to check them tomorrow.

from protanki-server.

Cavebrute avatar Cavebrute commented on May 18, 2024

Yes there are many more proplibs needed, i'm trying to replace Parma with a remake of Chernushka from TO.
I have added every single proplib in the proplibs.xml file, because I was did not know which one the map uses. Not sure if this can cause a problem, but I thought I would mention it.

I checked log.info, and this was the last line: INFO [network] [18:03] init_bonuses.
log.error did not give back any text.

Should I sent the maps here?

from protanki-server.

Assasans avatar Assasans commented on May 18, 2024

I have added every single proplib in the proplibs.xml file, because I was did not know which one the map uses.

If they are in sync with proplibs in the $theme.json file - that should be ok.

Should I sent the maps here?

Yes, you can zip map.xml, proplibs.xml and $theme.json files and send the archive here.

from protanki-server.

Cavebrute avatar Cavebrute commented on May 18, 2024

pvutljsut.zip
Here it is, take your time, I can wait a few days/weeks, if it's something that cannot be fixed i am fine with it.

from protanki-server.

Assasans avatar Assasans commented on May 18, 2024

I found out the problem, you have one prop broken - Steel tower from Industrial Elements. It should have <texture-name>Steel tower 1</texture-name> but in your new map it is empty (<texture-name/>), so the client was throwing ArgumentError: Diffuse data is null.

Here is fixed map: fix.zip, I also cleaned proplibs both in proplibs.xml and summer-day.json

image

from protanki-server.

Cavebrute avatar Cavebrute commented on May 18, 2024

That's awesome! Thanks so much for the help!

from protanki-server.

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.