Giter Club home page Giter Club logo

obv2's Introduction

OBv2

GitHub version Repo Size Codacy Badge devDependency Status License Known Vulnerabilities Greenkeeper badge

About

Omerta Beyond is, simply, an userscript for the MMORPG Omerta.

This is complete rewrite of our old script OmertaBeyond v1

Compatibility

At the moment OB is compatible with:

Works on:

  • .com
  • .nl
  • .dm
  • .gen.tr (missing some features like logger)
  • .pt (not fully tested)

Note: if you have time/knowledge, help us to make it fully working/compatible.

Team

Many thanks to everyone who supported development without having direct push access.

OmertaBeyond © 2007-2016 ([email protected])

Info

You can find us at:

How to contribute

  • Install Node.js
  • Install grunt: npm install -g grunt-cli
  • Install the Node.js dependencies via npm: npm install
  • Hack and poke around the source
  • Run grunt to check source with eslint, csslint and lintspaces
  • Open Pull Request for review :-)

obv2's People

Contributors

baelor avatar brainscrewer avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar greenkeeper[bot] avatar greenkeeperio-bot avatar gwildor avatar ivdbroek85 avatar martii avatar sebbe avatar semitom avatar thedopedog avatar trepatudo avatar urielbeaupre avatar vbm avatar yelsewb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obv2's Issues

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

OB not selecting all units of booze or narcs

Game version: .dm 5.1
Browser: Google Chrome 36.0.1985.125 m
OB version: 2.0.44

I haven't been able to save a source of page, as advised, but once I run into it again and don't forget about it, I'll make sure to do so.

Anyway, the issue is happening when I get a lot of booze or narcs in a heist, every single time so far (it happened at least 4 times, if not more), OB leaves one unit of something out of the equation (it doesn't always seem to be same type). At first I thought it might be related to the fact that selling price is too low in that city, but considering all stuff were quite low, figured that's not the case.

As soon as I'm able to re-create the issue, I'll update it with needed information.

Non-existant urls

Hey there... thanks for supporting the OUJS keys here... there is a consideration for you to think about though. :)

Currently some of your team members aren't on OUJS but you declare oujs:collaborator for them... this means that anyone can sign up on GH (or other supported OAuth), then register into OUJS with that Username that you allowed collaboration on... then they have direct access to edit your script there... this is probably an undesired behavior. Just thought you should know.

Also I can't seem to access http://www.omertabeyond.com/ right now.

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Chat doesn't minimize

If I minimize the chat, then hover it, it will enargle and the window will stay there, only without text.
capture2

Crime / Car Success displays wrong number

Since now they added another line on the work experience. Crime success for instance divides bust out to crime success. Both car and crime stats are erroneous right now.

Page not loading in Chrome version 27

Omerta is loading function () { for (i = 0, sum = 0; i < this.length; sum += this[i++]); return sum; },function () { return Math.max.apply({}, this); },function () { return Math.min.apply({}, this); }
This is what the script stops on.
Can you take a look at it?
Using Chrome version Version 27.0.1453.110 m OS Windows 8.
Thanks!

Travel from header don't work

When you try to press a city in the booze header you should travel to that city

Now it just reloads whole window to the travel page

Help??!

Can you make scripts that set a timer to automatically pause/stop on all Youtube embed videos? Like pause a video after X seconds!!?

Close notifications automatically after X seconds

Game version: .dm 5.1
Browser: Google Chrome 36.0.1985.125 m
OB version: 2.0.44

Pretty much title. If you do a crime or anything that popped up via notification feature by NOT clicking on notification but rather in sidebar menu (the usual way), notification will remain in place for as long as you don't close it. Would come in handy if it was automatically removed/faded out after a couple of seconds or half a minute or so.

It also covers up the chat (if there are 2 notifications, you can't see chat at all), but if notification would automatically close then this wouldn't be much of an issue and wouldn't have to be moved elsewhere.

Issues with bank and interest

Deposit/Receive calculator on bank doesn't consider Lex.
Interest timer on My Account page is bugged, shows (Now) for a split second and than it becomes ().

Crime success % broken

Game version: .dm 5.1
Browser: Google Chrome 36.0.1985.125 m
OB version: 2.0.44

Crime success 112 (11200.00%, $185,103)

[23:10.17] <%sebbe|bbl> its easy
[23:10.39] <%sebbe|bbl> I didn't think about , when I made that function :')
[23:10.50] <%sebbe|bbl> just need to do a replace , with ''
[23:10.58] <%sebbe|bbl> or something like that
[23:11.13] <%sebbe|bbl> most likely same with cars

Cars stats are fine though, by the looks of it:
Car nicking success 40 (6.44%, $308,710)

Add m/k support to bullet field on killpage

[22:43:54] <+Michelle> MrWhite, I got a suggestion for beyond
[22:44:01] <+Michelle> after I made the most embarrassing noob error today
[22:44:20] <+Michelle> please make on the kill page the "k" shortcut work as well, so that I shoot 60k bullets instead of 60 next time xD

inbox arrows

After going to mailbox and scroll between messages with arrow keys, when u visit another page and use arrows u go to a message.
Need to find a way to bind it only to showmsg

add .pt support

There are a lot of .pt users that want OB as well.

Lets add basic support ASAP.

.pt Smugling RP option is broken

I dunno if they changed it but there is a problem in Portuguese version recognizing if RP is earnable.

AGORA key word can be added to .match part at line 3823 and 3828. That's how I am using it.

/*
* Don't fill in if we can't earn RP and AF would want to buy
* Omerta sometimes won't display "NOW" when rp can be earned for b/n actions.
* it just displays "The next time you can earn rank points from buying [booze|narcs] is"
* we'll handle that case too.
*/
if (!lbooze) {
if (!$('.smuggling-table-info:eq(0)').text().match(/NOW|AGORA|NU|booze is(\s+)$|kopen over(\s+)$/m) && $('input[name="typebooze"]:eq(1)').prop('checked') === true) {
b = -1;
}
}
if (!lnarcs) {
if (!$('.smuggling-table-info:eq(' + (lbooze ? 0 : 1) + ')').text().match(/NOW|AGORA|NU|narcotics is(\s+)$|kopen over(\s+)$/m) && $('input[name="typedrugs"]:eq(1)').prop('checked') === true) {
n = -1;
}
}

Update OUJS collaboration metadata block to new format

Would you please resync to OUJS at your earliest convenience... there appears to be a small migration issue with @author being in the incorrect block... I can't reproduce it on my account with a manual update... theoretically it should self fix itself. Think the OUJS migration routine was a bit flawed... will investigate it.

TIA.
OUJS Admin

[Omerta V5] Messages 404

[12:58:07] second is very annoying. when i open a message and i click the arrow buttons it gives me a 404 page
[12:58:22] happens to me on .pt and .dm

Implement highlighting of own messages and notifications when own ingame is mentioned

Game version: .dm 5.1
Browser: Google Chrome 36.0.1985.125 m
OB version: 2.0.44

This is a very minor bug, if I can call it like that and it is most likely related to the fact that ingame chat is a new feature.

The green color is gone after logging out and logging in - to have your name shown in green in chat, it's required to visit Statistics page again.

Slotstracker

Sometimes when playing slots (10k) the loss is counted as 10 dollar instead.
Profit is rightly counted as 10-20-50k.
Money lost and profit are therefore bugged.
Running Firefox on Linux Mint

BulletTracker broken

Game version: .dm 5.1
Browser: Google Chrome 36.0.1985.125 m
OB version: 2.0.44

At first, I bought 1k bullets two days after I installed OB on Google Chrome, but it showed as I bought 12k. After that, I decided to reset numbers to keep a proper track of how many bullets bought, as I thought it might be related to purchases from previous version, but I haven't used OB then - at least not on Chrome!

However, after resetting BulletTracker stats, I purchased another 3k bullets from LBF and result is this:

BulletTracker
Bullets bought:9,000
Bought today:9,000
Money spent:$2,943,000
Price per bullet:$327
Bought on Obay:*0
*not included in total or price per bullet

UPDATE

I've tried resetting my stats again and after buying bullets, BT is showing right stats. However, gotta wait an hour before I can open bullets page again and see whether numbers changed or not.

UPDATE 2

Yes, same issue after waiting an hour before I can buy bullets again. Instead of 3k, it says 9k bullets bought.

Remove all pre-V5 code

Now that all domains run V5, we can remove all the IsNewVersion conditionals and any pre-V5-specific code. 🎉

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.