Посмотреть вложение 92804
Вот такая ошибка вылетает при телепорте, не подскажете куда копать ?
А их можно выпилить полностью с интерфейса ?Попробуйте в настройках отключить тени и потом телепортнуться.
Тени не в интерфейсе, а в клиенте. Я не знаю можно ли их выпилить, но в option.ini можно поставить PawnShadow=False и чекбоксу в OptionWnd.uc поставить SetDisable();А их можно выпилить полностью с интерфейса ?
Hello,Petr добавил(а) новый ресурс:
"Abstract" interface for Interlude - Интерфейс для 746 протокола
Узнать больше об этом ресурсе...
Yes, that's right, it's an off-server calculation. You can change the function as you like. I still don't understand what stones you're talking about.Hello,
Regarding the Item Enchantment Window (ItemEnchantWnd): It appears that the current enchantment success rate is calculated locally rather than being retrieved from the server. Additionally, the support stone function also seems to be currently missing.
Sorry, my English is very poor. I didn't express myself clearly. I was referring to the Weapon-Type Enhance Backup Stone, and it seems I was mistaken—it doesn't appear to exist in INTERLUDE.Yes, that's right, it's an off-server calculation. You can change the function as you like. I still don't understand what stones you're talking about.
Why would you want to get a chance from the server if you can write the necessary logic and simulate getting a chance on the client side?Sorry, my English is very poor. I didn't express myself clearly. I was referring to the Weapon-Type Enhance Backup Stone, and it seems I was mistaken—it doesn't appear to exist in INTERLUDE.
Moreover, my technical skills are not strong. Thank you for your reply; I'm currently researching how to retrieve the success rate from the server!
The only thing I can tell you is that I recently read that modern game server administrators are people who have absolutely no understanding of what they are doing and how it works.If the server success rate is modified, the interface also needs to be updated accordingly, and custom scrolls are not supported.
Local calculations—can users modify the success rate themselves? This seems risky, doesn't it?
Thank you, your work is excellent. Keep learning!The only thing I can tell you is that I recently read that modern game server administrators are people who have absolutely no understanding of what they are doing and how it works.
systextures/L2Font-e.utx, L2Font-r.utxЧто-то я не могу найти где прописаны картинки лого при входе в игру.
как я и думал ) эх не хотелось в дллы лазить )systextures/L2Font-e.utx, L2Font-r.utx
Ну прописаны они в nwindow.dll
Позже я мог бы заменить их на прозрачные что б можно было просто в TrueWnd.uc пихать куда угодно и что угоднокак я и думал ) эх не хотелось в дллы лазить )
function string GetEnchantRate( ItemInfo Item )
{
local string strRate;
local EItemType EItemType;
local float nonWeaponChance;
strRate = "100%";
EItemType = EItemType(Item.ItemType);
switch ( EItemType )
{
case ITEM_WEAPON:
if ( Item.enchanted >= 3 && Item.enchanted < 15 )
{
if ( isMagicalWeapon(Item.ClassID) )
strRate = "40%";
else
strRate = "70%";
}
else if ( Item.enchanted >= 15 )
{
if ( isMagicalWeapon(Item.ClassID) )
strRate = "20%";
else
strRate = "35%";
}
break;
case ITEM_ARMOR:
case ITEM_ACCESSARY:
if ( Item.enchanted == 3 && Item.SlotBitType == 32768 )
return strRate;
else
{
nonWeaponChance = Pow(0.66, (Item.enchanted - 2)) * 100;
strRate = int(nonWeaponChance)$"%";
}
break;
}
return strRate;
}
else if ( Index == 1517 ) // bless failed
else if ( Index == 1517 || Index == 1987 ) // bless failed
Позже я мог бы заменить их на прозрачные что б можно было просто в TrueWnd.uc пихать куда угодно и что угодно
Замените функцию в ItemEnchantWnd.uc (я там слегка ошибся и не правильно вычисляло шанс фуллбоди армор)
C-подобный:function string GetEnchantRate( ItemInfo Item ) { local string strRate; local EItemType EItemType; local float nonWeaponChance; strRate = "100%"; EItemType = EItemType(Item.ItemType); switch ( EItemType ) { case ITEM_WEAPON: if ( Item.enchanted >= 3 && Item.enchanted < 15 ) { if ( isMagicalWeapon(Item.ClassID) ) strRate = "40%"; else strRate = "70%"; } else if ( Item.enchanted >= 15 ) { if ( isMagicalWeapon(Item.ClassID) ) strRate = "20%"; else strRate = "35%"; } break; case ITEM_ARMOR: case ITEM_ACCESSARY: if ( Item.enchanted == 3 && Item.SlotBitType == 32768 ) return strRate; else { nonWeaponChance = Pow(0.66, (Item.enchanted - 2)) * 100; strRate = int(nonWeaponChance)$"%"; } break; } return strRate; }
И ещё я заметил что после одноразовой точки на люцере при заточке например с 0 до +1 показывает результат +1 -> +2 а на всех остальных движках 0 -> +1 У вас тоже так? Если да то это ошибка и нужно поправить
У кого RusAcis (замечено на версии 3.8)! В ItemEnchantWnd.uc в районе 779 строки замените строку
наC-подобный:else if ( Index == 1517 ) // bless failed
C-подобный:else if ( Index == 1517 || Index == 1987 ) // bless failed
так как приходит сообщение о фейле блески не через 1517 (КАК У ВСЕХ), а через 1987, фух ужас....
да пишит +3 хотя шмотка +2 и на картинке и сверху.
есть ещё проблемма со скроллами он просит вписать количество но покупает только один. не важно сколько напишишь
это с админского ГМ шопа. мультиселлы пока не прикрутил проверить не могу.
//info.Enchanted = info.Enchanted + 1;
На счёт цифр нужно закоментить в ItemEnchantWnd.uc строку примерно в районе 844 строки
Код://info.Enchanted = info.Enchanted + 1;
По поводу покупки заточек и в магазине и в гмшопе попробовал вроде покупает сколько пишешь
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?