Coder Social home page Coder Social logo

Comments (8)

itsthedevman avatar itsthedevman commented on August 14, 2024 2

It's hard to say for sure what is the cause of the issue and impossible to replicate in testing.
Do you notice the person who sets the bounty respect getting messed up? Like scalar NaN, or being increased exponentially?

The first thing I would try replacing is this:
Line 14 of ExileClient_MostWanted_Dialog_addBounty.sqf
Replace
_value = (lbData [2101, (lbCurSel 2101)]);
With
_value = (_pricelist lbData (lbCurSel _pricelist));

Also, worthwhile to add a logging message in ExileServer_MostWanted_bounty_network_addBounty.sqf. Around line 84, you will have this line:
["newBountyNotification",[MostWanted_MasterBountyList,str(_moneyAmount)]] call ExileServer_system_network_send_broadcast;
Add this after it:
format["Player %1 (%2) has had a bounty set on them by %3 (%4). Price: %5 | Respect: %6 | DEBUG: %7", name _victimObject, getPlayerUID _victimObject, name _clientObject, getPlayerUID _clientObject, _moneyAmount, (_respectPercentage / 100), _package] call ExileServer_MostWanted_util_log;

At least if it happens again, so long as the RPT doesn't get deleted, you can find that message.
We won't know if the fix works until it happens again, so let me know.

from mostwanted.

Mezo avatar Mezo commented on August 14, 2024

It's caused by the UI shitting itself and not passing the price of the bounty correctly.

Personally, I have no interest in fixing this... and I very much doubt Wolf does. Sorry.

from mostwanted.

ReDBaroN1 avatar ReDBaroN1 commented on August 14, 2024

aww dude! That's a real shame as it's one tiny little issue that's sort of become a show stopper. If left as is my only option is to pull it out as the spam dropping the FPS so much prevents missions from spawning. Plus, I don't know it's doing it until a player reports it....
But that would be a massive shame to pull it as it's such a superb idea and so well thought through.
Is there anything I can try. It's odd that it only seems to do this on my Malden server...Tanoa and Altis are fine but, then, Malden is the more populated....
Anyway, thanks for your response.

from mostwanted.

itsthedevman avatar itsthedevman commented on August 14, 2024

I have an idea of how to attempt to fix it but as for testing, I have no ability to be able to do so. I won't be able to write up something until later today since currently I have no computer. I'll let you know

from mostwanted.

ReDBaroN1 avatar ReDBaroN1 commented on August 14, 2024

Oh, that's superb news! Thanks a lot.

I can test any fixes as I'm working from home tomorrow. However, I haven't been able to recreate the issue anyway but, am happy to run the fix on live and see what happens.

Thanks again.

from mostwanted.

ReDBaroN1 avatar ReDBaroN1 commented on August 14, 2024

Yes, one player said his respect was zeroed but, I didn't check further into that. I guess if any of them had it increase a lot, they wouldn't tell me... ;)
Going ahead with the changes above with one slight change....I have logging switched off so, will modify your code above to infi custom log.
Big thanks again for your time on this

from mostwanted.

ReDBaroN1 avatar ReDBaroN1 commented on August 14, 2024

Just promoted the fix and logging to all 3 of my live servers; Altis, Tanoa & Malden. Although in their heyday the former 2 were constantly full, they now barely exceed 15/20 players so, probably not going to help us much for testing. Also, the problem has only happened once on Altis anyway.
Malden can fill in the evenings and it's on there that the problem happens more or less every time someone places a bounty, 75% of the time at least. So, we should know pretty quickly if the fix has worked/helped. I'll also ask some regular players and admins to set a few up. Will keep you posted.

from mostwanted.

ReDBaroN1 avatar ReDBaroN1 commented on August 14, 2024

The good news is that we haven't had a re occurrence of this issue since making those changes and have had some bounties set without issue. I'm still keeping my eye on it though in case it happens again.

We are having a different issue though, sometimes completed contracts when claiming don't credit the reward. When you click it a second time, it says something about the amount being blank even though it definitely had an amount before (sorry didn't catch full message). Then on relog, the claimed contract has gone.

Any ideas or log ideas to try and track it down?

from mostwanted.

Related Issues (3)

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.