diff --git a/Client/js/GameInitializer.js b/Client/js/GameInitializer.js index 1dbf404..c4e6517 100644 --- a/Client/js/GameInitializer.js +++ b/Client/js/GameInitializer.js @@ -14,7 +14,7 @@ class GameInitializer { this.currentUser = null; this.socket = null; this.apiBaseUrl = 'https://api.korvarix.com/api'; // API Server - this.gameServerUrl = 'https://dev.gameserver.galaxystrike.online'; // Game Server for Socket.IO (local dev server) + this.gameServerUrl = 'https://dev.gameserver.galaxystrike.online'; // Game Server for Socket.IO console.log('[GAME INITIALIZER] Constructor - gameServerUrl set to:', this.gameServerUrl); } @@ -74,6 +74,7 @@ class GameInitializer { const FORCED_URL = 'https://dev.gameserver.galaxystrike.online'; console.log('[GAME INITIALIZER] FORCING URL to:', FORCED_URL); console.log('[GAME INITIALIZER] Original this.gameServerUrl:', this.gameServerUrl); + console.log('[GAME INITIALIZER] Using remote development server'); // Connect to the game server with FORCED URL this.socket = io(FORCED_URL, { diff --git a/Client/js/core/Economy.js b/Client/js/core/Economy.js index d9a3f52..963f784 100644 --- a/Client/js/core/Economy.js +++ b/Client/js/core/Economy.js @@ -547,25 +547,36 @@ class Economy { const canAfford = this.canAfford(item.price, item.currency); const isOwned = item.type === 'cosmetic' && this.ownedCosmetics.includes(item.id); + // Generate image URL - server will serve images + const imageUrl = this.getItemImageUrl(item); + const placeholderUrl = 'https://dev.gameserver.galaxystrike.online/images/ui/placeholder.png'; + return `
${item.description}
-${item.description}
+