Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: [Main 5.2] Fix Jewel Bug | Pegasus  (Visto 498 veces)

benyuty and 1 Guest are viewing this topic.

Offline Zytrous Posteado: November 21, 2025, 09:03:25 PM | Modificado: Today at 01:38:19 AM by ZabiinoOo

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 22
  • Gracias recibida: 787
  • ph
⚠️ FREE CODE RELEASE - CUSTOM JEWEL FIX ⚠️
Since the main thread was removed, here's the solution for the community
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📝 What This Does:
This code fix resolves issues with Custom Jewel application on specific items, particularly wings and custom items. It prevents jewels from being applied to incompatible equipment slots.

🎯 What's Fixed:
- Prevents jewel application on invalid wing items (index 7-11, 62-72)
- Proper validation for weapon slots (EnableSlotWeapon)
- Proper validation for armor slots (EnableSlotArmor)
- Proper validation for wing slots (EnableSlotWing)
- Custom wing compatibility check

💻 Implementation:

⚠️ Important: Backup your files before making changes!

Step 1: Locate these functions in your GameServer source:
- `BOOL CCustomJewel::CheckCustomJewelByItem(int ItemIndex)`
- `BOOL CCustomJewel::CheckCustomJewelApplyItem(int ItemIndex,int TargetItemIndex)`

Step 2: Replace them with the code below:



✅ Testing:
After implementation, test the following:
1. Try applying jewels to weapons (should work if EnableSlotWeapon = 1)
2. Try applying jewels to armor (should work if EnableSlotArmor = 1)
3. Try applying jewels to wings (should work if EnableSlotWing = 1)
4. Verify jewels cannot be applied to invalid items

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💬 Final Thoughts:

Citar
"What a waste of effort supporting those kids." - Indeed, but the real community appreciates quality work. This is for those who truly value development and aren't afraid to learn.

This code is provided FREE to the community because real developers support each other, not take down threads out of jealousy or ignorance.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📢 IMPORTANT NOTICE 📢

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Citar
This might be our last post here since our main thread was not welcome to progress here.

If you want more fixes, quality content, and professional support, feel free to contact us directly through our official channels.

We appreciate those who valued our work. To the rest - good luck.

BYE!

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

"Quality doesn't beg for attention. It simply moves on to those who appreciate it."
- Zytrous & Phanh | PegasusXElev8Games Team[/size]




Marcado como mejor respuesta por: Zytrous Posteado November 22, 2025, 07:36:33 PM

Offline zpzwb113 #1 Posteado: November 21, 2025, 09:18:08 PM

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 38
  • Gracias recibida: 31
  • cn
Thank you for your comeback. Looking forward to more


Offline bigrealtk92 #2 Posteado: November 21, 2025, 10:26:14 PM

  • 0 puntos por ventas
  • *
  • Rank: Usuario activo
  • Posts: 68
  • Gracias recibida: 14
  • vn
When the Archangel Item+0 is normal, its tooltip is pink, but when the item has Excellent options, it becomes green


Offline Odisk #3 Posteado: November 21, 2025, 11:02:18 PM

  • Colaborador
  • 0 puntos por ventas
  • *
  • Rank: Puto amo
  • Posts: 921
  • Gracias recibida: 14459
  • pr
Citar
This might be our last post here since our main thread was not welcome to progress here.

If you want more fixes, quality content, and professional support, feel free to contact us directly through our official channels.

We appreciate those who valued our work. To the rest - good luck.

BYE!

I don't think anyone here has wasted your time or told you not to do anything here. Of course, I understand your point of view, but the forum benefits when people come to it.
On your own channel, you've removed the support option and the ability for people to comment on anything or report bugs. I know that many will come to help or lend a hand for that.
I don't know what your final point is about what you want to do.

one day

Offline HayllanderBR #4 Posteado: November 22, 2025, 08:40:42 PM | Modificado: November 22, 2025, 08:42:48 PM by HayllanderBR

  • 0 puntos por ventas
  • *
  • Rank: Dedicado
  • Posts: 44
  • Gracias recibida: 455
  • br

Offline Zytrous #5 Posteado: Today at 12:39:03 AM

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 22
  • Gracias recibida: 787
  • ph
Citar
This might be our last post here since our main thread was not welcome to progress here.

If you want more fixes, quality content, and professional support, feel free to contact us directly through our official channels.

We appreciate those who valued our work. To the rest - good luck.

BYE!

I don't think anyone here has wasted your time or told you not to do anything here. Of course, I understand your point of view, but the forum benefits when people come to it.
On your own channel, you've removed the support option and the ability for people to comment on anything or report bugs. I know that many will come to help or lend a hand for that.
I don't know what your final point is about what you want to do.

My original intention was to keep a single thread so no one will be misguided from wrong source, but it was relocated. But its okay Ill just need to comply with forums regulation.




Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
36 Replies
3068 Views
Last post Today at 12:02:02 AM
by 2ooooo2
6 Replies
903 Views
Last post November 20, 2025, 05:51:48 PM
by 2ooooo2
5 Replies
234 Views
Last post Today at 03:25:39 AM
by bigrealtk92
0 Replies
144 Views
Last post November 22, 2025, 09:26:10 PM
by Odisk
7 Replies
223 Views
Last post Today at 04:51:36 AM
by bigrealtk92