Viktoriya - The Gambler Reupload 1.1.2

Please do not ask when mod authors will update their mods to v3.8.3. Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Will you strike it rich or lose tragically? Gambling in Tarkov!

Reupload of my mod that got removed at 3700+ downloads


Basically trader adds entire new questline, few mystery boxes, and is overwhelmingly cute :)

Now with 1.0 questline got completly rebuilt and config file was introduced - tho its WIP

<3 Localization integration with english and french actualy ! go to comment section if you want help us with it...



Thanks to Chomp and DrakiaXYZ for help! <3<3<3

And thanks to Bobitec for 1.1.2 update <3


PennyNubbins did contribute aswell, but is no longer in project - report all bugs to me here or on discord: step_sister

  • Version 1.1.2

    Hi, nice to be here :saint:. Here is a big patch:


    Changes inside config.json :


    - Added a "Logging" parameter in config.json file to see what you did when you roll things; with details on what kind of roll you did. (default "false")


    - Added a "FIR_***" parameters in config.json file to manage each kind of aquire are Found in Raid or not... (deafault "true")


    - Added a new param in config.json for manage the % of winning a Viktoriya Voucher (before it was bugged; rewrited) and now you can manage for Keycard basic roll and premium separatly.


    - Change little things like price of weapons roll for have better balance about a FIR output... (it's a config.json param' so you can change it as you wish)


    Changes inside quest.json :


    - Changes all quest texts to work with locales integration (and i’ll be back in a moment)


    - Change the number of need to kill Shturman on quest "Snitches Get Stitches" cause i think it's boring... 1 kill it's more much fun.


    - Fix line 1045 where missing the "t" (before "target": "snitches_stiches" after "target": "snitches_stitches")


    - Fix line 1190 where id of other quest was not good (before "target": "blackmail" after "target": "blackmail_quest")


    - and for else, i Fix minor things like typographical mistake and things like that in texts but not much more...


    Changes inside mod.ts :


    - Added a big fonction for take care of Localization stuff, now language support automatically (for now EN and FR)


    - move things a little bit for organisationnal purpose (wallet roll with 50/50; Keycard roll together etc...)


    - Added all logging features behind the "Logging" parameter for showing into the console what's going on with rolls...


    - Fix Viktoriya Voucher winning feature for the Keycard roll.


    - Added all parameter for chances of winning with the Keycard Premium roll (before it was bad implemented)


    - Fix allllll Weapons roll to properly give good ammo (in a brand new box) and the good magazine for the weapon you win...


    - Fix a bug (this time inside config.json but...) where the 556 weapon box give ONLY the AK101 modded by Vik... now you can win whatever you want on this caliber.


    This version was developed for version 3.7.1 and may work for other versions, or not. No support for others versions.

  • Version 1.0.1

    Hotfix

    - Fixed Viktoriya's Secret rouble price (misspelled method made it 0 roubles and impossible to buy, now its 350k as intended)

    - Added file "resupply_guide.png" for those who struggle with "Resupply" quest (you need to turn 2 of those AK74-n's)


    Use config file however you like, can disable buy limit, change cases prices (if you think theyre unfair) or change Viktoriya profile picture to more realistic, its not perfect but it's good enough. Lets be real; not a single woman can replace 2D waifu but i did my best.


    Images

  • Version 1.0.0

  • I stopped the support of this mod because I stopped playing SPT-AKI and I lack time and interest to continue, I leave the hand to someone else, see to the author if the heart tells him.

    • NOOOOOOOOOO!!!! lol


      Welp. Good luck and looking forward to the next person to support this.

  • How do I complete the visit labs cafe? I've ran through it like a million times and it's still not completed

    • did you figure it out cause im stuck on it as well

    • Did anyone of you found it yet? No information on internet for it either

  • Did you clumsily add a bunch of custom traders and FUCKED yourself from accessing them all?

    Then maybe you should use the Trader Scrolling Mod

    Animation.gif?ex=65359528&is=65232028&hm=a4275792e573790966a089c63cd4d8c04de6f595164431c26e2bb6e4c8f0f221&

  • im having a problem on the quest spying operation and for the camera next to sanitars stash it dosnt show up to place

    • tried on 3 separate profiles, last one had 0 additional mods, and it wouldn't show for me

    • Found the Sanitar camera placement for spying operation. It's in the middle of the hall outside his room directly between his door and the green keycard door. I was facing his door at the time, just looking straight forward. Hope this helps.

    • Same idea for the other, middle of the hall, closer to the red keycard door

  • You have finally created addiction. Thank you so much for your glorious work. Jake Crowe can now waste his life grinding keycard holders for the glorious red keycard.


    XDhmBNm.png

    Heart 1
    • This man has begged for people to teach him how to edit the config so he can gamble more. Hes gotten to spend 260mil+ on this one trader...at least its not real

      Crying 1 Heart 1
    • now at 8.5billon spent

      Crying 1 Heart 1
    • do...do I tell you I almost want to uninstall the trader as I am level 10 and already have a red keycard?

  • Does anyone know a way to raise the reputation of a trader, cheats??? I want to know what will be on the crown, thanks for earlier

    • you can use spt profile editor I think

    • Serverfilesmodifier MOD

  • Has anyone been able to kill SCAV with a Flare gun??? Am I dying myself, or is this how it should be???

    Heart 2
    • Literally put 23 flares into a single scav's head. Still didn't die. Had 0 armor on

  • Also having the same issue as everyone before me. I went to unpack the walet roll and get the same error. If i let it go it eventually times out.


    TypeError: Cannot read properties of undefined (reading 'customReward')

    TypeError: Cannot read properties of undefined (reading 'customReward')

    at Function.customOpenRandomLootContainer (J:\SPTarkov3.7.1\user\mods\EnhancedLootBagsAPI\src\mod.js:49:31)

    at InventoryCallbacks.openRandomLootContainer (J:\SPTarkov3.7.1\user\mods\EnhancedLootBagsAPI\src\mod.js:14:16)

    at InventoryItemEventRouter.handleItemEvent (C:\snapshot\project\src\routers\item_events\InventoryItemEventRouter.ts:83:48)

    at ItemEventRouter.handleEvents (C:\snapshot\project\src\routers\ItemEventRouter.ts:43:38)

    at ItemEventCallbacks.handleEvents (C:\snapshot\project\src\callbacks\ItemEventCallbacks.ts:22:52)

    at RouteAction.action (C:\snapshot\project\src\routers\static\ItemEventStaticRouter.ts:20:56)

    at ItemEventStaticRouter.handleStatic (C:\snapshot\project\src\di\Router.ts:51:61)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:72:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)

    at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:145:38)

    TypeError: Cannot read properties of undefined (reading 'customReward')

    TypeError: Cannot read properties of undefined (reading 'customReward')

    at Function.customOpenRandomLootContainer (J:\SPTarkov3.7.1\user\mods\EnhancedLootBagsAPI\src\mod.js:49:31)

    at InventoryCallbacks.openRandomLootContainer (J:\SPTarkov3.7.1\user\mods\EnhancedLootBagsAPI\src\mod.js:14:16)

    at InventoryItemEventRouter.handleItemEvent (C:\snapshot\project\src\routers\item_events\InventoryItemEventRouter.ts:83:48)

    at ItemEventRouter.handleEvents (C:\snapshot\project\src\routers\ItemEventRouter.ts:43:38)

    at ItemEventCallbacks.handleEvents (C:\snapshot\project\src\callbacks\ItemEventCallbacks.ts:22:52)

    at RouteAction.action (C:\snapshot\project\src\routers\static\ItemEventStaticRouter.ts:20:56)

    at ItemEventStaticRouter.handleStatic (C:\snapshot\project\src\di\Router.ts:51:61)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:72:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)

    at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:145:38)

    Crying 1
  • It happened when I went to unpack the wallet roll


    TypeError: Cannot read properties of undefined (reading 'customReward')

    TypeError: Cannot read properties of undefined (reading 'customReward')

    at Function.customOpenRandomLootContainer (C:\Users\Pandoriun\Desktop\Tarkinhas\user\mods\EnhancedLootBagsAPI\src\mod.js:49:31)

    at InventoryCallbacks.openRandomLootContainer (C:\Users\Pandoriun\Desktop\Tarkinhas\user\mods\EnhancedLootBagsAPI\src\mod.js:14:16)

    at InventoryItemEventRouter.handleItemEvent (C:\snapshot\project\src\routers\item_events\InventoryItemEventRouter.ts:83:48)

    at ItemEventRouter.handleEvents (C:\snapshot\project\src\routers\ItemEventRouter.ts:43:38)

    at ItemEventCallbacks.handleEvents (C:\snapshot\project\src\callbacks\ItemEventCallbacks.ts:22:52)

    at RouteAction.action (C:\snapshot\project\src\routers\static\ItemEventStaticRouter.ts:20:56)

    at ItemEventStaticRouter.handleStatic (C:\snapshot\project\src\di\Router.ts:51:61)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:72:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)

    at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:145:38)

    TypeError: Cannot read properties of undefined (reading 'customReward')

    TypeError: Cannot read properties of undefined (reading 'customReward')

    > Profile changes saved

    Profile changes savedacks.openRandomLootContainer (C:\Users\Pandoriun\Desktop\Tarkinhas\user\mods\EnhancedLootBagsAPI\src\mod.js:14:16)

    [Client Request] /launcher/profile/infotemEvent (C:\snapshot\project\src\routers\item_events\InventoryItemEventRouter.ts:83:48)

    [Client Request] /launcher/server/versionnapshot\project\src\routers\ItemEventRouter.ts:43:38)

    at ItemEventCallbacks.handleEvents (C:\snapshot\project\src\callbacks\ItemEventCallbacks.ts:22:52)

    at RouteAction.action (C:\snapshot\project\src\routers\static\ItemEventStaticRouter.ts:20:56)

    at ItemEventStaticRouter.handleStatic (C:\snapshot\project\src\di\Router.ts:51:61)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:72:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)

    at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:145:38)

    Crying 1
  • When I tried to open mystery creates/ keyrolls, the error occurred everytime.

    The error messaage from Server is below:


    TypeError: Cannot read properties of undefined (reading 'customReward')

    TypeError: Cannot read properties of undefined (reading 'customReward')

    at Function.customOpenRandomLootContainer (C:\EscapeFromTarkov\user\mods\EnhancedLootBagsAPI\src\mod.js:49:31)

    at InventoryCallbacks.result.openRandomLootContainer (C:\EscapeFromTarkov\user\mods\EnhancedLootBagsAPI\src\mod.js:14:16)

    at InventoryItemEventRouter.handleItemEvent (C:\snapshot\project\obj\routers\item_events\InventoryItemEventRouter.js)

    at ItemEventRouter.handleEvents (C:\snapshot\project\obj\routers\ItemEventRouter.js)

    at ItemEventCallbacks.handleEvents (C:\snapshot\project\obj\callbacks\ItemEventCallbacks.js)

    at RouteAction.action (C:\snapshot\project\obj\routers\static\ItemEventStaticRouter.js)

    at ItemEventStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)

    at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)

    at HttpRouter.getResponse (C:\snapshot\project\obj\routers\HttpRouter.js)

    at AkiHttpListener.getResponse (C:\snapshot\project\obj\servers\http\AkiHttpListener.js)


    I've already have EnhancedLootBagsAPI before I got your mod.

    Tell me what I should do, thank you. ;(

    Crying 1
  • Please tell me where to put the camera next to the Orderly's hiding place in the "Spying Operation" quest, I run around and nothing appears, thanks for the early

    • I noticed that the damage from the rocket launcher is duplicated on myself, I couldn't kill a single scav since I was dying for him, so it must be or I don't understand something, was anyone able to complete this task???

    • i don't understand what are you talking about?!... there is no task about a rocket-launcher... i mean, there is no rocket launcher in the game at all...


      for the issue with the camera neer the sanitar stash, i'm currently trying to reproduce and maybe fix if i found something...

    • Apparently the translator translated poorly I mean "Zic SP-81 26x75 signal pistol" it gives me back the damage I do to scav and I can't kill them without killing myself

    • Any fix yet? i also cant find anywhere near sanitar's stash that lets me plant the camera

    • Same with the next quest "Bait", I just can't find the spot in room 314 in the dorms.

  • If you are interested to help us with a localization file, you can give a reply to this post and i will contact you ;):)

    • I can do ch localisation if you give me the file needed to be done :)

    • You can found the file into viktoriya/db/locales/en/en.json and then when you finish a trad for other locale, you have to put it into the good folder, with good name ( viktoriya/db/locales/ch/ch.json for the one you mentionned) After you try it and think it's good enought for integrated into the base mod, you can comeback then give us a download links ...

      And realy thanks bye advance ;)

    • there is a mistake in the en localization: line 124 "bait_quest TEXT3": "Stash Camers in marked RB-BK",
      should say camera

    • thank you, i take note for the next release. :thumbup:

      Heart 1
  • <3 Please give bug report about the 1.1.2 in reply here; i'll give support of it. <3

    • Not sure if it helps, but for the location that bait is currently set to on customs is about 130m south off the map from the train tracks near the railroad to tarkov extract

      Heart 2
    • I am having issues with all of the locations for the Bait quest. Customs location is off of the map in the opposite direction of dorms. Reserve location is also off of the map in the opposite direction of RB-BK. The Shoreline location doesn't even show up on the game HUD at all and no prompt shows up when in the marked room.

      Heart 1
    • I have been walking around for 15 minutes around the Sanitar's stash/Green room area and can't seem to find any prompt to plant the camera. Is this a bug or am I just stupid?

    • # Viktoriya Trader

      - Got this when trying to open the purchased wallets on character out of raid, and while in the stash out of raid.

      My load complete Modlist + Load Order

      - https://www.mediafire.com/fold…er+++Server+&+Client+Mods


      Potentially might help, idk.

      Quote

      The error message indicates that you are trying to access the property customReward of an undefined object in your code. To solve this issue, you need to make sure that the object containing the property customReward is defined before trying to access it.

      Here are a few steps you can take to troubleshoot and resolve the issue:

      1. Check the Code: Examine the code at the specified locations in the error messages (mod.js, InventoryItemEventRouter.ts, etc.). Look for the places where you are trying to access the customReward property and ensure that the object containing it is properly defined.
      2. Check for Object Existence: Before accessing properties of an object, make sure that the object itself is not undefined. You can use conditional checks to ensure that the object exists before trying to access its properties.
      3. Check Function Parameters: If the object is supposed to be passed as a parameter to a function, ensure that the function is called with a valid object and that the object is not undefined.
      4. Debugging: Use debugging tools (like breakpoints, console.log statements, or a debugger) to inspect the values of variables and objects at runtime. This can help you identify where the undefined value is coming from.
      5. Review Documentation: If you are working with a library or API, review the documentation to ensure that you are using the functions and objects correctly.
      6. Handle Edge Cases: Consider any edge cases where the object might not be defined and handle them appropriately in your code.

      Example:

      Code
      javascriptCopy code
      if (myObject && myObject.customReward) {    // Access the customReward property here
      } else {    console.error("myObject or myObject.customReward is undefined");
      }

    • I stopped the support of this mod because I stopped playing SPT-AKI and I lack time and interest to continue, I leave the hand to someone else, see to the author if the heart tells him.

  • I've completed these quests, https://imgur.com/a/vlceKhV and I'm level 29. when do I get more quests? As i still don't have enough for level 2? <3

    • look my message just bottom of your... i explain why we don't have quest after this

    • I understood what you wrote, I already changed the values in the folders to just give me max trader level. Though I couldn't figure out what the ID's were to change it properly.

    • bro, how do you switch between merchants with so many??? I thought there was no way to do this, please help me with advice

  • hi there, Love your mod NikitaWaifu, thanks alot for this;


    i have found a mistake in your Quest.json file > line 1190 you call a quest with it name "blackmail" but you have to call it with it's ID i think... and another error early in the same file where you call "snitches_stiches" on line 1045 but the quest in reference call "snitches_stitches" (orthographical error)
    i was searching the reson why i don't have all quest starting properly... i think i found why :D

    • I fixed that mistake in the file that you mentioned on line 1045 and I got a new quest "Blackmail", but there was no description to it, only what I have to do

    • yeah, it's a WIP i think... i'm in communication with NikitaWaifu on discord for help with finishing things... update soon i hope :)

      Thumbs Up 1
  • I have yet to roll any other keycards besides Yellow/Black/Labs and the keycard with the marking. None of the other colored cards roll for me :/ I think this may be a bug. Also, I don't get a Voucher anymore...

    • voucher is "bugged" (i mean i think in the code of the mod, it's intended to not give voucher to the Key card roll basic...)

      at the file > viktoriya\src\mod.ts:Line 315

      Code: mod.ts
                      if (roll >= (this.vikConfig.oranment_chance - 100)

      That's not the good calculation, it never give the voucher... it's have to be like :

      Code: mod.ts
                      if (roll <= this.vikConfig.oranment_chance)

      and for your request with other card color, it's not bugged but realy hard... for the RED card, in the file, it's a random 1 of 1000... you can check by yourself inside mod.ts if you want... for me, i already found each card inside the key card roll, it's work.

    • I've rolled billions on the keycard roll to test it and I am telling you I only get those 4 keycards ever (Yellow/Black/Labs and the keycard with the marking) I have yet to roll any other color.

  • How to increase reputation, besides completing tasks???

  • In 3.6.1 I got vouychers from every pmcs but now I don"t see any in 3.7.1

  • How do I get the vouchers? I haven't found a single one yet

  • Love the mod except for the fact that, even with the guide in the folder, the resupply mission just does not want to work.

    I've had to use an editor to skip that quest.


    Otherwise, thumbs up

  • working for 3.7.1?

    • It should, I did not test it yet due to lack of time but afaik nothing significant changed since 3.7.0 so I just put 3.7.1 tag until any errors are reported.

  • I must restrain myself from making Activision jokes.

    Heart 1
  • i got a virus detection i assume its a false posative?

    • I have no idea what could even lead to it getting flagged. It is perfectly safe, no worries

  • Does the quests work with BoopsQuestAPI-1.1.1 rather than the API included in the mod? I have a couple of other mods that use the 1.1.1 version.

    • I think it should, but i did not test it.

  • This mod is great, works perfectly. But, is it possible to remove Voucher? I will appreciate the guide to do that.

    • What you mean by removing voucher? The viktoriya's secret case offer, the item, removing it completly or from inventory? I dont understand the question

    • the item that is used in barter to obtain a secret case. I just want to remove it from generation on pmc's

    • Oh it should not generate on PMC's, i'll look into it.

    • im asking because it was generating in pmcs pocket, replacing all those 4 slots with only one voucher ball and completely removes medicine from pockets whenever it has it. Maybe new version of this mod is not spawning them anymore, but from previous it did alot, means when you kill 3 pmc you could open a secret case easily.

  • why did it get removed

    • I second this question.


      Also can I change the image to be more realistic to fit with the rest of my traders and if so how lol?


      Finally how do the mystery boxes work? Can you spend a certain amount of money for a chance of high loot repeatedly or is it just prearranged gear?


      How well does this work for the balance of the game & other traders? Does this make other traders obsolete or ruin the experience of scavenging for loot?

    • Okay so - it got removed because of argue that i had with a guy who worked with me. He just deleted it and sent me screenshot of it so i decided to reup it 20 minutes later. It did stay hidden for a while coz i had to talk with PhantomInTime about it and the fact that i'm the author.


      About mystery boxes - When you open a box a pseudonumber is being generated and with "if" statement your item gets chosen and added to inventory. All odds are written out on the box itself, and it also tells you what items you can get


      It does not kill balance as the price is (mostly) well calculated <i wrote a simple script to simulate opening milions of cases to see return rate and try to find right odds that are still fun to play with) and the better cases unlock as u progress with questline which isnt too easy to rush through especially in early game.


      Therefore - She's more like a money drain for all the roubles you don't care about than trader or scavange replacement.


      The realistic photo - its in viktoriya/config/config.json:

          "//Use Realistic": "This option is to use realistic or uwu trader image",
          "useRealistic": true,


      edit: i'll also update description of the mod and include screenshots of all the stuff, it was done fast just to release it immadiently after it getting deleted :whatever: