Register for your free account! | Forgot your password?

You last visited: Today at 03:29

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Invisible gears in inventory

Discussion on Invisible gears in inventory within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2014
Posts: 38
Received Thanks: 0
Invisible gears in inventory

Hi epvp , idk why i cant see my gear but i can use it . And thx .

Hi epvp , idk why i cant see my gear but i can use it . And thx
tadjer is offline  
Old 03/03/2016, 21:08   #2
 
wallerus's Avatar
 
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 472
Using an EP4 game.exe with an EP5 data.saf will cause this, due to the game.exe not being able to properly read the .dds files associated with item icons.

Episode 5; 18.dds

Episode 4.5; 18.dds

I'm sure you can see the difference in size, you'll need to update your icon files to suit your game.exe, located in
Code:
Data > interface > icon
wallerus is offline  
Thanks
1 User
Old 03/04/2016, 10:31   #3
 
elite*gold: 0
Join Date: Feb 2014
Posts: 38
Received Thanks: 0
Ok ill try ,
tadjer is offline  
Old 03/04/2016, 16:36   #4
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,359
Quote:
Originally Posted by wallerus View Post
Using an EP4 game.exe with an EP5 data.saf will cause this, due to the game.exe not being able to properly read the .dds files associated with item icons.
You certainly mean using a dds from the Icon folder of an EP5 ... coz using a (whole) EP5 data.saf will crash the client preventing it to display anything.

From my own experience, using last format (1 .dds 128x512px; instead of up to 2 .dds 128x256 px) doesn't prevent any display of icons - the sonov client uses the low level DirectX method to obtain bitmap from DDS file, it so obtain an HBITMAP w/o checking its full height and then map the HBITMAP (whatever it is) to a 4x8 icons for a client 4 (and 4x16 for the last), consequently using a 128x512px DDS file results in final icons containing 2 images (originally defined on 32x64, resampled on 32x32).

"From my own experience" doesn't mean for all possible clients, but only those for which I could do a test.

Another simple possible reason is that you have left the icon field to 0.

Edit:

checking your pict (if ePvP prevents u to use their embedded pict system, make sure your links are visible)
it appears that indeed icons ARE displayed, and indeed they contain 2 icons resampled as one because you're using wrong DDS file height.
the equiped gears as well as the item in first cell of inventory DO have icons, a double-empty one, likely because icon field was invalid (possibly to high, more likely null).
castor4878 is offline  
Old 03/04/2016, 18:38   #5
 
wallerus's Avatar
 
elite*gold: 0
Join Date: Apr 2014
Posts: 300
Received Thanks: 472
Quote:
Originally Posted by castor4878 View Post
You certainly mean using a dds from the Icon folder of an EP5 ... coz using a (whole) EP5 data.saf will crash the client preventing it to display anything.
Yes, sorry. What I meant was when using Ep5 data with an Ep4 game, certain files must be converted to suit the Ep4 format, including the .dds files otherwise you will have errors as we see here.

The problem is 100% he is using .dds files that are 512*128 instead of 256*128. I don't have an Ep4 setup atm to prove it, but I have done the reverse (using 256*128 instead of 512*128).

As you can see the equipped weapon is elongated due to how the game.exe reads it, whereas the unchanged boots (21.dds) are read correctly. This will happen regardless of the (valid) icon value set in the Item.SData.

The game.exe reads the files and divides them by a certain value, an Ep5 game.exe dividing value is twice that of an Ep4 game.exe, this is the root cause of that error. (credits to Nubness for that info)
wallerus is offline  
Thanks
1 User
Old 03/04/2016, 21:22   #6
 
castor4878's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 717
Received Thanks: 3,359
Quote:
Originally Posted by wallerus View Post
Yes, sorry. What I meant [...]

The game.exe reads the files and divides them by a certain value, an Ep5 game.exe dividing value is twice that of an Ep4 game.exe, this is the root cause of that error. (credits to Nubness for that info)
Don't be sorry I pretended not to understand just to add comments to your point.

"The client does divide the bitmap ["whatever it is"!] - by a certain value", it's the key point indeed, and the info is that that certain value has changed in episo 5; the icon files have been changed as a basic consequence.

I will also do a test to highlight it, well apparently I forgot to explain it before Nubness, pity it remains for me to make drawings

Let's work with current european client (patch 290), if we replace the 17.dds file with this one:

which is 256x256, the gears seller shows tops as:


(note that the "new" 17.dds is a TGA of course, but since the 17.tga already exists - it's the former 128x128 file - they had stored the TGA 128x512 as "17.dds" and since DirectX doesn't care about file extension (it actually manages loaded streams) all is fine)
castor4878 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Trading, tao gears for Pirate or monk Gears,Ninja !!! Storm Server
10/16/2013 - Conquer Online 2 Trading - 3 Replies
I have Full +8 set tao gears, with p6 and p4 souls and some +12 items Let me know if your interested ! Pm me, or skype me Pierce.Williams2
Statue Of Zeus +8Monk Gears +7 Archer Assassin Gears
05/20/2013 - Conquer Online 2 Trading - 0 Replies
Statue Of Zeus +8Monk Gears +7 Archer Assassin Gears full sets for sale with many extras on US Server Statue Of Zeus please contact me for more information if interested already have established online store with 100 percent satisfaction rating on over 79 sales with real payment processing and checkout threw Google wallet and receipt complete with buyer and seller protection. Photos of actual items in store for sale with details available in photo for your viewing, you will not have to worry...
Selling Account + Gears + Gears & More Gears @ Snowwhite!
06/29/2010 - Conquer Online 2 Trading - 1 Replies
Server: Cinderella/Snowwhite (Tro) Gears: Sup +6 SDG/SDG -5 Ears lvl 112 (102HP) Sup +6 SDG -5 130 Necky lvl 130 (130HP) Sup +6 SDG/SDG Blade lvl 130 (142HP) Sup +6 SDG/SDG -3 Trojan Armor lvl 120 (130HP) GoodLuck -1 Sup +6 SDG/SDG -5 Sword lvl 130 (225HP) Sup +6 SGG/SGG -1 Fan
Trading Tro-water acc pretty good gears for a tro with same gears or close
07/25/2009 - Conquer Online 2 - 1 Replies
Trading tro-water acc with +3 super tro armor super +3 1 soc club super +3 ring elite +2 boots elite +2 sword super no + necky super +2 coro super +2 super fan and a ref tower lol (lost elite one getting red) his tao gears are the following uni 1 soc tao robe super bracelet super ears uni tao backsword elite bag i will like a lv 110 or higher tro for this acc with alike tro gears this is a real old acc had it for a long time i know someone whats it sry if this wrong place to post



All times are GMT +2. The time now is 03:29.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.