Skip to content

Troubleshooting

Use this page after you have already followed the setup guide.

Script will not start#

Check:

  1. Is ox_lib running?
  2. Is oxmysql running?
  3. Is the framework running?
  4. Did 0r-marriagev2-streams start first?
  5. Is OneSync on?
cfg
ensure ox_lib
ensure oxmysql
ensure xsound

-- [ YOUR FRAMEWORKS AND OTHERS SCRIPTS ]

ensure 0r-dugun
ensure 0r-marriagev2-streams
ensure 0r-marriagev2

SQL error / nothing saves#

  1. Set AutoRunSQL = true and restart
  2. Or run INSTALL/insert-me.sql

Tables:

  • 0r_marriagev2
  • 0r_marriagev2_invitations
sql
CREATE TABLE IF NOT EXISTS `0r_marriagev2` (
  `husband_identifier` varchar(255) NOT NULL,
  `husband_fullname` varchar(255) NOT NULL,
  `wife_identifier` varchar(255) NOT NULL,
  `wife_fullname` varchar(255) NOT NULL,
  `wife_old_surname` varchar(255) NOT NULL,
  `is_married` tinyint(1) NOT NULL DEFAULT 0,
  `is_engaged` tinyint(1) NOT NULL,
  `married_date` datetime DEFAULT NULL,
  `marriage_xp` int(11) NOT NULL DEFAULT 0,
  `xp_credited_days` int(11) NOT NULL DEFAULT 0,
  `claimed_rewards` longtext DEFAULT NULL,
  UNIQUE KEY `husband_identifier` (`husband_identifier`),
  UNIQUE KEY `wife_identifier` (`wife_identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

CREATE TABLE IF NOT EXISTS `0r_marriagev2_invitations` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `identifier` varchar(72) NOT NULL,
  `date` varchar(16) NOT NULL,
  `time` varchar(16) NOT NULL,
  `venue_id` int(11) NOT NULL,
  `venue_label` varchar(128) NOT NULL,
  `address` varchar(255) NOT NULL,
  `price` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  KEY `identifier` (`identifier`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

Item does nothing#

  1. Does the name match config?
  2. Is the item in inventory?
  3. Is the inventory script running?
  4. Restart inventory, then marriage

Jewelry shop empty / no payment#

  1. Is RingItems filled?
  2. Do the items exist in inventory?
  3. Does the player have money?
  4. Is the NPC location correct?

Proposal does not open#

  1. Does the player have a proposal ring?
  2. Is the other player close?
  3. Does web/dist exist?
  4. Turn debug on and check
lua
Debug = true,

Ceremony will not start#

Common reasons:

  • not engaged
  • partner far / offline
  • ceremony already running
  • booked time does not match
  • no booking, but time check is forced

Check the planner booking first.

Certificate stays on screen#

Correct flow:

  1. Both sign
  2. Signatures show for a short time
  3. Screen closes
  4. Players unfreeze

If it stays:

  1. Did both sign?
  2. Any server console error?
  3. Try again with Debug = true
  4. Restart the resource

Players stuck frozen#

Players freeze during ceremony. They should unfreeze when ceremony ends.

If stuck:

  1. Did ceremony finish?
  2. Reconnect the player
  3. Run restart 0r-marriagev2
  4. Save the logs

Bouquet invisible#

  1. Is 0r-marriagev2-streams running?
  2. Was the item used?
  3. Is the prop name resmon_bouquet in config?

Bouquet will not throw#

  1. Put it in hand first
  2. Press the config key
  3. While aiming, press E
  4. Do not aim too far
  5. requireMarried / requireWife may be blocking it

Bouquet cannot be picked up#

  1. Can other players see it?
  2. Is target running, or did you try UseTarget = false + E?
  3. Does the player have inventory space?

No music#

xsound must be running.

cfg
ensure xsound

Partner tracker missing#

  1. Is PartnerTracker.enable = true?
  2. Are they married?
  3. Was it opened from the worn ring menu?
  4. Is the partner online?

Surname does not change#

  1. Is SurnameChange.enable = true?
  2. For Qbox/QB, did you apply INSTALL/integrations.md?
  3. For ESX, are the column names correct?

Still broken? Send these#

  1. Framework name
  2. Inventory name
  3. Target name
  4. Are xsound and streams running?
  5. Which step fails?
  6. Logs with Debug = true