Commit Graph

39 Commits

Author SHA1 Message Date
Claude
1c62986096 Add horizontal color editor with GTA IV carcols.dat support
- Add complete GTA IV color database (134 colors with IDs 0-133)
- Create new Vehicle Color Editor with horizontal scrolling UI
- Use LEFT/RIGHT arrows to change color ID, UP/DOWN to select slot
- Show color preview boxes with actual RGB values from carcols.dat
- Add color presets (All Black, All White, Police Colors, etc.)
- Update footer hints to show LEFT/RIGHT controls in color editor
- Load current vehicle colors when entering the editor
- Handling parameters verified against GTA IV handling.dat format
2026-01-19 20:54:50 +00:00
Claude
350260096b Enhance UI with animations, fix handling, add color slots & upgrades
- Add glowing scrollbar with pulsing animation effect
- Add selection glow/breathing effect on highlighted items
- Add animated accent line at header with center highlight
- Add glowing toggle indicators when features are ON
- Fix vehicle handling to use proper GTA Connected API:
  - vehicle.setSuspensionHeight() for suspension
  - physical.mass property for weight
  - physical.turnVelocity for center of mass simulation
- Add custom 4-color selector (Color 1-4 slots)
  - Uses vehicle.colour1/2/3/4 properties
  - Falls back to natives.changeCarColour when needed
- Add Vehicle Upgrades menu:
  - Performance: Nitro, Hydraulics
  - Wheels: 12 different wheel types
  - Exhausts: 5 exhaust options
  - Spoilers: 6 spoiler options
  - Roof: Scoop and vents
  - Side skirts: Chrome and alien variants
  - Remove individual or all upgrades
2026-01-19 20:27:45 +00:00
Claude
98288088ad Complete UI redesign: Replace rainbow effects with clean dark glassmorphism theme
- Remove all rainbow/eye-melting visual effects (neon borders, particles, scanlines)
- Implement modern dark theme with glassmorphism style panels
- Add new customizable color themes: Midnight, Ocean, Emerald, Rose, Amber, Violet, Slate, Crimson
- Clean up animation system to smooth transitions only
- Redesign all panels (menu, stats, toggles indicator, banner) with consistent styling
- Remove floating particles and excessive glow effects
- Use single accent color per theme instead of rainbow cycling
2026-01-19 03:21:46 +00:00
Claude
6a786cbad6 Fix duplicate rainbowHue variable declaration 2026-01-19 03:05:30 +00:00
Claude
06a6bc9d5e Enhance UI with premium eye-melting Trident effects
Major visual overhaul with unique mod menu styling:

Menu Dimensions & Layout:
- Expanded menu width to 420px for more text space
- Increased item height to 48px for better readability
- Repositioned menu to center-right for premium look
- Added 12 visible items with larger header/footer

Rainbow & Neon Effects:
- Animated rainbow border with wave motion
- Multi-layer neon glow around entire menu
- Color cycling effects on all borders
- Rainbow gradient scrollbar thumb
- Chromatic aberration on logo text

Premium Selection:
- Multi-layer glow with rainbow outer ring
- Shimmer sweep animation on selected items
- Glass-effect highlight lines
- Animated left/right accent bars
- Smooth selection transitions

Enhanced Visual Elements:
- Scanline overlay effect for retro look
- Floating particle system with gold particles
- Elastic scroll bounce physics
- Premium corner bracket decorations
- Header breathing/shimmer animations

Footer & Info Bar:
- Styled key hint boxes with rainbow borders
- Rainbow-gradient separator lines
- Animated page indicator
- Neon glow on info bar borders
- Premium INFO badge with glow
2026-01-19 03:03:14 +00:00
Claude
983099e95e Enhance Trident UI with advanced visual elements
- Add animated outer glow/shadow effects around menu
- Add decorative corner elements with pulsing animations
- Enhance header with shimmer effect and gradient backgrounds
- Add multi-layer selection highlight with glow effects
- Add animated scrollbar with thumb glow
- Add enhanced footer with styled navigation hints
- Add Player Status panel (health/armor bars, wanted level, vehicle status)
- Add real-time clock display with date
- Add active toggles indicator (shows when menu closed)
- Add bottom screen banner with branding
- Add floating particle effects around menu
- Add sparkle effects on menu corners
- Add Trident Edition badge above menu
- Improve info bar with styled border and label box
- Add page indicator for scrollable menus
2026-01-19 02:54:58 +00:00
Claude
e9d93229c6 Remove unused glowIntensity variable 2026-01-18 17:56:07 +00:00
Claude
b27ac95eec Implement exact MDB Trident style menu design
- Add MDB color definitions (Gold 164,134,35, Steelblue 70,130,180, etc)
- Add MDB animation effects (FlashingGhost 150-255, Glowing 0-190)
- Update window background to Steelblue with alpha 180
- Add MD prefix in Steelblue with menu title in Gold
- Add centered subheader in SubHeader color (58,95,205)
- Add white line separator under header
- Update scrollbar to use MDB Glowing effect
- Update item text colors (gray normal, white selected, orange ON)
- Add JumpOver/separator styling
- Update toggle indicators with MDB Bool colors
- Add Gold scroll indicators with FlashingGhost effect
- Update info bar to MDB Steelblue style
2026-01-18 17:53:11 +00:00
Claude
a63ec60010 Fix duplicate highlight variable declaration 2026-01-18 17:32:27 +00:00
Claude
9d437ad155 Update menu to Trident style with Steel Blue/Gold/Orange theme
- Add Trident theme as default (Steel Blue primary, Gold accent, Orange highlight)
- Update header with MD prefix and periodic flash effect
- Add animated scroll indicators (up/down arrows) when list is scrollable
- Update footer with styled helper text showing navigation keys
- Update menu item rendering with Trident-style selection highlighting
- Update outer glow and borders with mixed Steel Blue/Gold colors
- Update corner accents to use Gold/Orange Trident signature colors
2026-01-18 17:22:04 +00:00
iDisaster
85edfb45a4 Merge branch 'readme.md' into claude/enhance-gta-server-9Dezg 2026-01-17 22:44:42 +04:00
Claude
d157adc494 Fix skins and neon lights with verified GTA IV hashes
- Added 15 verified male skin hashes (story characters + NPCs)
- Added 8 verified female skin hashes
- Expanded skins menu with organized categories
- Fixed neon lights using drawLightWithRange native
- Added multiple light points for full underglow effect
- Improved skin loading with interval-based model loading
2026-01-17 18:42:57 +00:00
iDisaster
ca8abfe759 Update client.js 2026-01-17 22:39:01 +04:00
Claude
d63ba64ed5 Fix skin loading and toggle effects based on GTAConnected wiki
- Use loadAllObjectsNow() instead of hasModelLoaded() for skins
- Fix Invisible: use setCharAlpha(0)
- Fix Unlimited Ammo: use addAmmoToChar for all weapon types
- Fix No Reload: use setCharAmmoInClip
- Fix Spinbot: use direct heading property
2026-01-15 01:04:21 +00:00
Claude
f5549deee4 Fix MP skin errors and set default theme to gray 2026-01-15 00:57:59 +00:00
Claude
3fbac2b109 Add new menu features: skins, invisible, weapons, spinbot
Skins menu:
- Random MP Boy (male multiplayer models)
- Random MP Girl (female multiplayer models)

Self Options:
- Invisible toggle (makes player invisible)

Weapons Options:
- Unlimited Ammo (constantly refills ammo)
- No Reload (instant weapon ready)

Fun Options:
- Spinbot (visual rotation while movement stays normal)
2026-01-15 00:53:26 +00:00
Claude
ff3a74d1de Remove bottom status display, keep only menu ON/OFF indicators 2026-01-15 00:43:36 +00:00
Claude
46d868ab65 Remove color tags from menu labels, keep bottom status only
- Menu toggle labels now show plain names (God Mode, Invincible, etc.)
- ON/OFF indicator boxes remain in menu
- Bottom status shows "God Mode: On/Off" with colored state text
- Removed unused getToggleLabel function and toggleBaseLabels
2026-01-14 13:36:48 +00:00
Claude
d25945937f Restore toggle indicators and add BetterIV-style status display
- Restore ON/OFF toggle indicator boxes inside menu
- Add BetterIV-style status at bottom center of screen
- Shows "God Mode: On" (with On in cyan) or "God Mode: Off" (with Off in red)
- Status displays for 3 seconds after toggling
- Keep color-coded labels in menu items
2026-01-14 12:15:35 +00:00
Claude
82525ea32c Add color-coded toggle labels and remove old notifications
- Toggle items now show state in label with GTAConnected color tags
- Example: "God Mode: <#00FF00>ON" or "God Mode: <#FF0000>OFF"
- Labels update dynamically when clicked
- Remove rainbow notification system on left side
- Remove old ON/OFF indicator boxes from menu
- Keep status indicator at bottom for active toggles
2026-01-14 12:07:43 +00:00
Claude
35053497c8 Add theme system and status indicator for mod menu
- Add 8 theme options (Black, Red, Blue, Green, Purple, Pink, Gold, Gray)
- All menu elements now respect the selected theme color
- Add status indicator at bottom of screen showing active toggles in green
- Active toggles display as "God Mode | Super Run | etc." at screen bottom
- Replace hardcoded red colors with dynamic theme-based colors
- Add "Mod Menu Theme" submenu under Settings in main menu
2026-01-14 11:56:44 +00:00
Claude
76271ca6b4 Fix vehicle spawning - use Vec3 and correct signed hash values
- Fix createCar to use Vec3 instead of separate x,y,z coordinates
  (GTAConnected requires Vec3 for second parameter)
- Fix all vehicle hashes to use signed 32-bit integers
  (Previous code incorrectly used 0x prefix with decimal numbers)
- All hash values verified against GTAConnected wiki
2026-01-14 02:12:13 +00:00
iDisaster
8873811055 Merge branch 'readme.md' into claude/enhance-gta-server-9Dezg 2026-01-14 06:02:35 +04:00
Claude
8471b19824 Fix vehicle model hashes and improve vehicle spawning
- Fixed incorrect vehicle hashes (turismo, comet, nrg900, coquette, feltzer)
- Fixed typo: "stalion" -> "stallion"
- Added more GTA IV vehicles: Super GT, Buccaneer, Ruiner, Faction,
  Rancher, Bobcat, Freeway, NOOSE, Tour Maverick, Dinghy, Squalo
- Updated vehicle spawn code to use separate x,y,z coordinates
- Added better error logging for vehicle spawning
- Verified hashes against GTAMods wiki
2026-01-14 02:00:06 +00:00
iDisaster
72a9365b9c Update print statement from 'Hello' to 'Goodbye' 2026-01-14 05:49:35 +04:00
Claude
937fd103ab Fix network player list and enhance Red/Black UI theme
- Fix network player list serialization by using pipe-separated strings
  instead of arrays (fixes "Failed to read network arguments" error)
- Enhanced phone blocking with multiple native calls
- Redesign UI with deep black background and pulsing red accents
2026-01-13 14:29:58 +00:00
Claude
fff1896848 Redesign UI: Revolution ModMenu with eye-melting animations
UI Overhaul:
- Renamed to "REVOLUTION ModMenu (Beta)"
- Rainbow cycling glow border around entire menu
- Animated gradient header with color transitions
- Pulsing glowing title text
- Slide-in animation when opening menu
- Smooth fade-out when closing

Visual Effects:
- Rainbow colored outer glow that pulses
- Animated border colors cycling through spectrum
- Selection bar pulses and moves with animation
- Submenu arrows animate when selected
- Items have subtle hover/selection glow

Toggle Indicators:
- ON: Green pulsing background with bright green text
- OFF: Red background with red text
- Clear visual distinction between states

Notifications:
- Slide-in animation from left
- Rainbow colored border
- Smooth fade-out

Phone Fix:
- destroyMobilePhone() to remove any active phone
- scriptIsUsingMobilePhone(true) to prevent creation
- setPlayerControlForPhone() to disable input
- Properly re-enables controls when menu closes
2026-01-13 14:15:48 +00:00
Claude
0e0a001fff Add self options and fix network player list
Self Options (new):
- Invincible toggle (setCharInvincible + setCharProofs)
- Super Run toggle (setCharMoveAnimSpeedMultiplier at 3x)
- No Ragdoll toggle (setPedCanRagdoll + switchPedToAnimated)

Network Options (fixed):
- Auto-refresh player list when entering network menu
- Show player count in menu header
- Direct teleport to player action (no submenu)
- Server now sends target position directly for teleport
- Added debug logging for player list retrieval
- Show helpful message when no players found
2026-01-13 14:03:59 +00:00
Claude
8e7d49a48c Add advanced vehicle, world, and weapon features
Vehicle Options:
- Drive on water toggle (keeps car floating on water)
- Rainbow color toggle (cycles through car colors)
- Drift mode toggle (adds sliding physics)
- Neon lights with color selection (light coronas under car)
- Fly mode toggle (anti-gravity flying car)
- Vehicle shoots RPG toggle (auto-fires rockets)

World Options:
- Rainbow sky toggle (cycling sky colors)
- Sky color selection menu (red, blue, green, purple, etc.)

Weapons:
- Explosive ammo toggle (bullets cause explosions)

Added HSV to RGB conversion for smooth rainbow effects.
2026-01-13 09:59:44 +00:00
Claude
6492a84196 Fix vehicle/skin model loading and remove broken preventDefault
- Request model before spawning vehicles to prevent crashes
- Wait for model to load using hasModelLoaded before createCar
- Request model before changing skins to fix all skins being Niko
- Remove event.preventDefault which is not supported in GTAConnected
- Use destroyMobilePhone native to block phone when menu is open
- Add try/catch around toggle natives for error resilience
2026-01-13 09:49:17 +00:00
Claude
33cbef2eb4 Fix mod menu issues: vehicle spawn, god mode, skins, and phone
- Fix vehicle spawning to use Vec3 for position parameter
- Warp player into spawned vehicle automatically
- Fix skin change to use player index 0 for changePlayerModel
- Fix suicide using explodeCharHead native
- Fix god mode using setCharInvincible native properly
- Fix vehicle god mode using setCarCanBeDamaged native
- Rename "Indestructible" to "God Mode" in vehicle options
- Fix nitro boost using vehicle velocity instead of force
- Add ExecuteTeleportToPlayer handler for network teleport
- Disable phone when menu is open using setPlayerControlForTextChat
- Block UP arrow from triggering phone while menu is open
2026-01-13 09:42:47 +00:00
Claude
3443ed5a17 Fix vehicle spawning and reduce notification duration
- Use natives.createCar(hash, x, y, z, true) for vehicle spawning
- Add vehicleHashes map with correct GTA IV model hashes
- Reduce notification duration from 3000ms to 1000ms
- Quick fade starting at 700ms for snappier UI
2026-01-13 09:29:14 +00:00
Claude
97efbf6a8e Rewrite modmenu to use client-side natives for all actions
Server-side:
- Remove all spawn checks and spawn code
- Relay actions to clients via network events

Client-side:
- Add handlers that execute actions using GTA IV natives
- natives.forceWeatherNow(id) for weather
- natives.forceTimeOfDay(hour, min) for time
- natives.giveWeaponToChar for weapons
- natives.fixCar, natives.changeCarColour for vehicles
- Direct localPlayer property access for health/armor/position
2026-01-13 04:07:10 +00:00
Claude
fb7640e5de Fix font creation: use correct createDefaultFont signature
- lucasFont.createDefaultFont(size, family, style) - style is string not bool
- Changed from (16.0, "Tahoma", false, false) to (16.0, "Arial", "Regular")
- Added fallback to try Tahoma if Arial fails
2026-01-13 03:52:37 +00:00
Claude
889c3e56e5 Fix mod menu: control locking and use default font
- Fix control locking: gui.showCursor(false, true) re-enables controls on close
- Use lucasFont.createDefaultFont instead of loading external TTF file
- Use graphics.drawRectangle with pixel coordinates for menu boxes
- Use toColour() for color integers
- Menu positioned at right side of screen (x=1050)
2026-01-13 03:45:07 +00:00
Claude
3c68c3a4a4 Rewrite mod menu drawing to use GTA IV natives with Vec2
- Move menu to right side of screen (x=0.73) to avoid chat
- Use normalized coordinates (0-1) for screen positions
- Use natives.drawRect(Vec2 pos, Vec2 size, r, g, b, a)
- Use natives.displayText(Vec2) with addTextComponentString/drawText
- Separate RGBA color components instead of toColour integer
- Fix text rendering with proper native text function sequence
2026-01-12 15:51:25 +00:00
Claude
7bc52ef9d4 Fix client-side drawing API to use Vec2 and graphics API
- Replace natives.drawRect with graphics.drawRectangle using Vec2 objects
- Replace natives text functions with font.render using Vec2 position
- Correct signatures: graphics.drawRectangle(null, Vec2, Vec2, colour...)
- Correct signatures: font.render(text, Vec2, width, align, justify, size, colour)
2026-01-12 15:41:25 +00:00
Claude
fee097c7db Fix mod menu client-side drawing API errors
- Remove gta.setCursorEnabled (not available in GTAC)
- Use gui.showCursor with proper checks
- Fix drawing functions to use natives API with correct parameters
- Add fallback drawing methods with try-catch
- Use GTA IV native text/rect drawing functions
2026-01-10 23:28:55 +00:00
Claude
dad2741754 Add interactive mod menu with GUI for all players
Features:
- Press F5 to open/close the mod menu
- Self options: health, armor, weapons, god mode, skins
- Vehicle spawner: 50+ vehicles organized by category
- Vehicle options: repair, flip, colors, drift mode, handling
- Network options: player list, teleport to other players
- Teleport locations: 15+ Liberty City locations
- World options: time and weather control
- Weapons menu: individual and all weapons
- Fun options: launch, ragdoll, ped spawning

Menu navigation via arrow keys, Enter to select, Backspace to go back
2026-01-10 23:21:39 +00:00