Coder Social home page Coder Social logo

Comments (17)

somedoodest avatar somedoodest commented on June 16, 2024 1

Meh, it's a rare addon conflict. Don't feel too bad about it, those tend to happen with complex stuff like this. Great work on the addon, btw.

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

I can't reproduce the issue but updated some things.
Give me more details and see if it's (somehow) already fixed.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Well, the updates did change the error that pops up. Still can't use the weapons, though. Here's the new error:
[splatoonsweps-master] addons/splatoonsweps-master/lua/splatoonsweps/server/network.lua:46: attempt to index local 'data' (a nil value)
1. func - addons/splatoonsweps-master/lua/splatoonsweps/server/network.lua:46
2. unknown - lua/includes/extensions/net.lua:33
EDIT: Going to try making a dummy version of the .txt file that's mentioned in the network.lua file causing the error here. Maybe that'll help?
EDIT 2: Nope. Didn't help.

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

Your circumstances are still unclear, but here are my thoughts:

  1. DO NOT create dummy files. Removing it is better.
  2. Are you trying it on singleplayer or multiplayer?
    • If it's multiplayer, try removing the txt files on the server, too.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Alright, so:

  1. My circumstances are that I had a previous version of the addon installed, but I deleted everything in the garrysmod/data/splatoonsweps and garrysmod/download/data folders before reinstalling the addon, and that's when the 'You aren't ready to splat yet!' message started appearing on every map with every weapon. The only thing that has generated in the addon's data folder after reinstalling is record/favorites.txt.
  2. Gotcha on the dummy file thing. I created a dummy file as I thought this may be related to the addon not being able to create the file then write to it, so I decided to give it an empty file that it could potentially write to.
  3. I am trying this on singleplayer.

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

It seems there must be Lua errors on map load. If you have subscribed some unrelated addons, try disabling them and see the console.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Huh, disabling addons did actually make it work. Don't know what broke it, but i'll try to figure that out.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

UPDATE: Did a bit of addon deletion, it seems like your sliding addon funnily enough causes issues when using this addon. It makes ink invisible, prevents using squid form and causes AABBTree errors while standing with the weapons on the ground (but not in the air, for some reason).
Here's the AABBTree error in full:
[splatoonsweps-master] addons/splatoonsweps-master/lua/splatoonsweps/shared.lua:40: attempt to index field 'AABBTree' (a nil value)
1. SearchAABB - addons/splatoonsweps-master/lua/splatoonsweps/shared.lua:40
2. GetSurfaceColor - addons/splatoonsweps-master/lua/splatoonsweps/inkpainting.lua:145
3. GetSurfaceColorArea - addons/splatoonsweps-master/lua/splatoonsweps/inkpainting.lua:188
4. UpdateInkState - addons/splatoonsweps-master/lua/weapons/weapon_splatoonsweps_inklingbase/shared.lua:170
5. unknown - addons/splatoonsweps-master/lua/weapons/weapon_splatoonsweps_inklingbase/init.lua:325

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

I think my sliding addon is not the cause as I always subscribe the one when I work on this SWEPs.
Also, I said there must be Lua errors on startup. Please check the console from the top.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Well, I uninstalled the problem addon it seems, as I have not been receiving them ever since uninstalling it. It was [DRC] Halo Hunter Weapons (which is pretty buggy, so.. not surprised). Every lua error I've sent (except the AABBTree one) IS a startup error, with the network.lua one being the most up-to-date (as it happened after updating the addon yesterday, after more validity checks were added.)

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

I subscribed the following HALO SWEPs (as there's no such addon "[DRC] Halo Hunter Weapons") but no error happened.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Yeah, the [DSB] - Halo Hunter Weapons one is the one I was talking about. If it isn't the problem, then.. I have no idea.

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

What maps did you try? I always try it on gm_construct but some special maps like Splatoon ports do not work well.

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Only gm_construct.

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

I still couldn't reproduce your issue but I fixed a bit around loading the map file.
Anyway, is there any other info about the issue?

from splatoonsweps.

somedoodest avatar somedoodest commented on June 16, 2024

Nope. Feel free to close this thread.

from splatoonsweps.

ZenkakuHiragana avatar ZenkakuHiragana commented on June 16, 2024

Sorry for not being able to help you. Now I close this thread.

from splatoonsweps.

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.