GetDotaStats / stat-collection

Library for setting up stat collection for dota2 mods
http://getdotastats.com/
GNU General Public License v2.0
11 stars 8 forks source link

[SCHEMA] DOTA x20 #70

Closed mazhura closed 2 years ago

mazhura commented 8 years ago

console.txt https://drive.google.com/open?id=0BxA-o9QBcp5PdmpSa0t0cmRzMXc

jimmydorry commented 8 years ago

I can't work with google drive on my ipad. I'll look at this later when I am at work. I will probably get a chance within the next 3hours.

It would be a whole lot nicer if you used hastebin or some other public text dump for the schema, settings and console log. If you were that concerned about sharing the main lua, it's fine not to... but we wouldn't be able to help much with debugging unexpected issues.

mazhura commented 8 years ago

http://pastebin.com/njpXNDL7 http://pastebin.com/cu7gp2sJ http://pastebin.com/Peq3zPMu

jimmydorry commented 8 years ago

It looks like your version of the library is out of date.

Download a copy of this github, drop it into your mod, and merge your schema and settings changes in. I can tell because your schema is different to the one in this github and missing the schema testing function.

After updating, get a new console log. The one you provided is missing the important lines we are looking for. They begin with stat collection, and tell us if the library is correctly installed, and if the schema works.

jimmydorry commented 8 years ago

And make sure to put your modID from the site into your settings file.

jimmydorry commented 8 years ago

If you are having trouble with your schema, I bet it's because you are trying to use values that you have not defined. Your schema looks exactly like PMP's.

If you want a really basic schema to start from, have a look at this one: http://hastebin.com/xijirasele.lua

mazhura commented 8 years ago

console - http://pastebin.com/s4GMWiXr schema - http://hastebin.com/xijirasele.lua settings.kv - http://pastebin.com/Aif9UX1r addon game mode - http://pastebin.com/pyiEMFFP

jimmydorry commented 8 years ago

Some of those are private pastes that I can't see, which means I can't help much with your error on line 171 of the console log.

Make sure you have all of the stat collection files in your mod, in the same structure that they are, in this github. If you had your mod on github, it would be easier to see what you have done wrong.

mazhura commented 8 years ago

http://pastebin.com/F5h64VH6 - settings

mazhura commented 8 years ago

http://pastebin.com/fBxPPsTS - addon game mode

mazhura commented 8 years ago

ooops i fail copy schema,wait i fix it and reupload console log

mazhura commented 8 years ago

i fix it and i think now its work!!! http://pastebin.com/0gQ9uu1T check 927 line and next)

jimmydorry commented 8 years ago

It looks like you have dropped WINNING_TEAM from your schema.

I can approve this schema and give you your schemaID if you confirm that you are happy with what you have now.