#SIMPLE Wheatfarm (AI)

1 messages · Page 1 of 1 (latest)

dim rapids
#

SIMPLE Wheatfarm (AI)

heavy leaf
#

:(

#

u changed title before i could say anything about it >:(

dim rapids
dim rapids
hot maple
#

Need to secure that server event 'wheat:plow', Some sort of cooldown and a distance check will help.

wise igloo
#

local QBCore = exports['qbx_core']:GetCoreObject()

dim rapids
wise igloo
#

its not a thing

dim rapids
wise igloo
#

for qbox you should just use the correct exports directly instead of utilizing the bridge

dim rapids
wise igloo
dim rapids
#

Thats why i ask.

wise igloo
#

That's the bridge function, for qbcore scripts, like i said, you should use the direct exports.

#

Doesn't matter at the end of the day but its good practise to use proper exports per framework.

dim rapids
#

New Release and Bugfixed

#
Version Framework License ox_lib

A feature-rich, optimized wheat farming system for FiveM servers. Supports QBox (Native), QBCore, and ESX Legacy with automatic framework detection, multi-language support, and advanced features.

✨ Features
🎮 Dual Farming Modes
Manual Mode - Press E to farm wheat with higher yield (1-3 wheat)
Auto-Farm Mode - Press G to activate automatic farming with cooldown progressbar (1-2 wheat)
🌍 Multi-Framework Support
✅ QBox - Native Exports (no bridge required!)
✅ QBCore - Full compatibility
✅ ESX Legacy - Complete support with dynamic import
✅ Auto-Detection - Automatically detects your framework
🛠️ Advanced Tool System
Durability Mode - Tools degrade with use (100 uses + 5% break chance)
Permanent Mode - Buy once, use forever
Client & server-side validation
🎨 Rich User Experience
4 different farming animations with props
ox_lib TextUI integration with smart hide/show
Progressbars with cancel instructions
Field-leave & death detection
Instant input response (0.00-0.01ms)
🌐 Multi-Language Support
6 fully translated languages:

🇩🇪 German (Deutsch)
🇬🇧 English
🇫🇷 French (Français)
🇪🇸 Spanish (Español)
🇵🇱 Polish (Polski)
🇹🇷 Turkish (Türkçe)
📦 Inventory Compatibility
ox_inventory (with metadata support)
qs-inventory
🔒 Security Features
Rate limiting (Anti-Spam)
Server-side cooldown enforcement
Distance validation with tolerance
Tool verification (client & server)
Optional kick on exploit detection
⚡ Performance Optimized
0.00-0.01ms resmon when in field
0.00ms when outside field
Separate threads for markers & interactions
Smart throttling system
Optional marker disable for maximum performance
dim rapids
#

Release Notes - v1.0.1
🎒 qs-inventory Support Added!
This update adds full support for qs-inventory (Quasar Advanced Inventory), making HM Wheat Farm compatible with both major inventory systems!

✨ What's New
qs-inventory Support
✅ Full compatibility with Quasar Advanced Inventory
✅ Universal inventory functions work seamlessly with both systems
✅ Automatic metadata structure handling
✅ Durability system works with both ox_inventory and qs-inventory
Inventory Auto-Detection
✅ Config.Inventory = "auto" automatically detects your inventory system
✅ No manual configuration needed in most cases
✅ Checks for ox_inventory first, then qs-inventory
✅ Intelligent fallback system
✅ Clear console output showing detected system
Console Output:

[WheatFarm] Framework detected: QBox (Native Exports)
[WheatFarm] ✅ Inventory System detected: qs-inventory
Universal Inventory Functions
The script now uses universal helper functions that automatically detect and use the correct inventory system:

-- These work with BOTH ox_inventory and qs-inventory
AddItem(source, 'wheat', amount, metadata)
RemoveItem(source, 'hoe', 1, metadata)
GetItem(source, 'hoe')
CanCarryItem(source, 'wheat', amount)
SetItemMetadata(source, slot, metadata)
Metadata Handling
ox_inventory: Uses metadata.durability
qs-inventory: Uses info.quality
Script: Handles both automatically!

twin hedge
low orchid
#

ew, quasar

dim rapids
#

Why?

harsh spruce
dim rapids
#

Wow, okay. Remove qs now!

simple pilot
#

@dim rapids - Did you take this down? Your github is showing not found.

dim rapids
#

Im Not - GitHub ban me. Close please - i reuplad them After a ti e