Register for your free account! | Forgot your password?

You last visited: Today at 12:13

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

Advertisement



[Release] Resizeable Inventory

Discussion on [Release] Resizeable Inventory within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old 05/05/2018, 15:25   #16
 
elite*gold: 0
Join Date: Mar 2012
Posts: 26
Received Thanks: 3
when i open the inventory in game i crash and with log folder text file.

Quote:
2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory00.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory00.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory01.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory01.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory02.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory02.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory03.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory03.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory04.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory04.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory05.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory05.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory06.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory06.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory07.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory07.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory08.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory08.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory09.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory09.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory10.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory10.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:19 CTarga::Load Failed = Theme\Default\WndInventory11.tga

2018/ 5/ 5 08:20:19 CWndNeuz::AdditionalSkinTexture¿¡¼* WndInventory11.tga Open1 ½ÇÆÐ

2018/ 5/ 5 08:20:20 rCnt=1

Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:007CFFF0

- Registers

EAX=00001000 EBX=00267000 ECX=00000630 EDX=00000000 ESI=0019B380
EDI=773D4FB0 EBP=0019B18C ESP=0019A920 EIP=007CFFF0 FLG=00010246
CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

0023:007CFFF0 Neuz.exe
0023:004DC4AE Neuz.exe
0023:004DAC7C Neuz.exe
0023:005199CC Neuz.exe
0023:004DA716 Neuz.exe
0023:004DB4BC Neuz.exe
0023:00574397 Neuz.exe
0023:00513568 Neuz.exe
0023:004DBE69 Neuz.exe
0023:00570915 Neuz.exe
0023:004C5769 Neuz.exe
0023:004C5E91 Neuz.exe
0023:004C59BC Neuz.exe
0023:0060E4D6 Neuz.exe
0023:00513FFC Neuz.exe
0023:004C7DAF Neuz.exe
0023:004719EB Neuz.exe
0023:00492290 Neuz.exe
0023:004920D1 Neuz.exe
0023:00479F01 Neuz.exe
0023:0093899C Neuz.exe
0023:773D8654 KERNEL32.DLL
0023:77B54B17 ntdll.dll
0023:77B54AE7 ntdll.dll
accelerated is offline  
Old 05/05/2018, 17:20   #17
 
mcoocr's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 92
Received Thanks: 101
Quote:
Originally Posted by accelerated View Post
when i open the inventory in game i crash and with log folder text file.
Check your resdata.inc, you obviously got an merge error there.

Take some special attention if you are not using the one from V15 Clean Repack.
mcoocr is offline  
Thanks
1 User
Old 05/06/2018, 01:19   #18
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Anyone can share their v19 resource code of this inventory. Thank you.

Thank you Thank you !



I'm just going to fix the other resdata part and cut v19 inventory eq slots. lol Btw, Look at the Inventory Slots, items were not perfectly place in each slot and look at the Penya to Perin Converter it is changing its place when I change the Inventory Height.



but still thank you. an update will be more helpful . Lol

EDIT:

If you want to change Inventory Slots.

Search :
Code:
  const int nGridTexSize = 32; // texturesize grid
Change : 32 to what size are you going to use.
yazuka21 is offline  
Old 05/06/2018, 04:10   #19
 
mcoocr's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 92
Received Thanks: 101
Quote:
Originally Posted by yazuka21 View Post
Anyone can share their v19 resource code of this inventory. Thank you.

Thank you Thank you !



I'm just going to fix the other resdata part and cut v19 inventory eq slots. lol Btw, Look at the Inventory Slots, items were not perfectly place in each slot and look at the Penya to Perin Converter it is changing its place when I change the Inventory Height.



but still thank you. an update will be more helpful . Lol

EDIT:

If you want to change Inventory Slots.

Search :
Code:
  const int nGridTexSize = 32; // texturesize grid
Change : 32 to what size are you going to use.
As mentioned in the initial post, make sure you add the control from the perin counter to the methods saveOriginRects() and getItemRect() to move them properly when the inventory size changes.
mcoocr is offline  
Old 05/06/2018, 04:35   #20
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by mcoocr View Post
As mentioned in the initial post, make sure you add the control from the perin counter to the methods saveOriginRects() and getItemRect() to move them properly when the inventory size changes.
Yep yep I did, and it works now. ^_^ What I am currently facing is perfect placed items on each slots. I think 38 is the perfect size cuz I advance to 40. Lol

You know any size that you think fits for my inventory ?


34/36/38/40, Isn't perfect. :/
yazuka21 is offline  
Old 05/06/2018, 13:39   #21
 
mcoocr's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 92
Received Thanks: 101
Quote:
Originally Posted by yazuka21 View Post
Yep yep I did, and it works now. ^_^ What I am currently facing is perfect placed items on each slots. I think 38 is the perfect size cuz I advance to 40. Lol

You know any size that you think fits for my inventory ?


34/36/38/40, Isn't perfect. :/
With an V15 base 32 is the size of each items .dds file (and the actual space between each item) and also the size for each grid bitmap.

If you are trying to change the texture size to 38 you may also edit the real size of the bitmaps to 38x38 because otherwise the grid items will stretch and overlap the actual items.

But since every item should be 32x32 too i really wonder why the space would be different than 32 pixels.

Another option is, rather than resizing the grid bitmaps, to put an extra offset between each grid element, right here:

Code:
CTexture *ptex = NULL;
CPoint cp;
cp.x = (left + (nGridTexSize * x));
cp.y = (top + (nGridTexSize * y));
Though i also dont have anything other than a V15 source so i only can speculate on this one.
mcoocr is offline  
Old 05/06/2018, 15:12   #22
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Can you give me an example of changes here:

Code:
        int left = (pwnd->GetWndRect().left + 5) - 1;
        int top = (pwnd->GetWndRect().top + 1) - 1;
        int width = (pwnd->GetWndRect().Width() - 23);
        int height = (pwnd->GetWndRect().Height() - 22);
Thanks !
yazuka21 is offline  
Old 05/06/2018, 15:42   #23
 
mcoocr's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 92
Received Thanks: 101
Quote:
Originally Posted by yazuka21 View Post
Can you give me an example of changes here:

Code:
        int left = (pwnd->GetWndRect().left + 5) - 1;
        int top = (pwnd->GetWndRect().top + 1) - 1;
        int width = (pwnd->GetWndRect().Width() - 23);
        int height = (pwnd->GetWndRect().Height() - 22);
Thanks !
These are the boundries of the inventory, no need to change them.

You‘d better try something like this (assuming that you have not altered the nGridTexSize already):
Code:
CTexture *ptex = NULL;
CPoint cp;
cp.x = (left + (6 * (x + 1)) + (nGridTexSize * x));
cp.y = (top + (6 * (y + 1)) + (nGridTexSize * y));
mcoocr is offline  
Old 05/06/2018, 16:43   #24
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by mcoocr View Post
These are the boundries of the inventory, no need to change them.

You‘d better try something like this (assuming that you have not altered the nGridTexSize already):
Code:
CTexture *ptex = NULL;
CPoint cp;
cp.x = (left + (6 * (x + 1)) + (nGridTexSize * x));
cp.y = (top + (6 * (y + 1)) + (nGridTexSize * y));
Sorry

yazuka21 is offline  
Old 05/06/2018, 17:21   #25
 
mcoocr's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 92
Received Thanks: 101
Quote:
Originally Posted by yazuka21 View Post
Sorry

According to your screenshot the items are indeed 32x32px, also you got 3px space between each item... tweak it a bit and you should get it right.
mcoocr is offline  
Old 05/07/2018, 08:27   #26
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by mcoocr View Post
According to your screenshot the items are indeed 32x32px, also you got 3px space between each item... tweak it a bit and you should get it right.
You think it's fine or enough ?



And look at the Item equiped and its background is blurry ? Image error or what ?
yazuka21 is offline  
Old 05/07/2018, 17:53   #27
 
Mike Oxmaul's Avatar
 
elite*gold: 50
Join Date: Feb 2014
Posts: 288
Received Thanks: 245
if it's tga set bmyLoader true
Mike Oxmaul is offline  
Old 05/07/2018, 18:14   #28
 
elite*gold: 50
Join Date: Jun 2015
Posts: 100
Received Thanks: 210
Quote:
Originally Posted by Jupsi332 View Post
if it's tga set bmyLoader true
can deal with tga images as well.
ディオニュソス is offline  
Thanks
1 User
Old 05/10/2018, 05:52   #29
 
yazuka21's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 305
Received Thanks: 19
Quote:
Originally Posted by Jupsi332 View Post
if it's tga set bmyLoader true
It's not tga, it is bmp file.
yazuka21 is offline  
Old 07/16/2018, 22:02   #30
 
elite*gold: 0
Join Date: May 2018
Posts: 62
Received Thanks: 27
Help when i try to open my inventory it crash. and i have this
Code:
2018/ 7/17   04:01:27   Jul 17 2018 03:42:59 1 rCnt=1

Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:005B9AD6, CWndInventory::OnInitialUpdate()+0710 byte(s), d:\flyff\source\program\_interface\wndfield.cpp, line 3069+0022 byte(s)

 - Registers

EAX=00000020  EBX=105DF3EC  ECX=0B645350  EDX=00000026  ESI=105DA710
EDI=1049F250  EBP=00000000  ESP=0018B68C  EIP=005B9AD6  FLG=00210202
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B

0023:005B9AD6 Neuz.exe, CWndInventory::OnInitialUpdate()+0710 byte(s)
0023:00514629 Neuz.exe, CWndBase::Create()+0249 byte(s)
0023:004E4ADB Neuz.exe, CWndNeuz::InitDialog()+0251 byte(s)
0023:0057838E Neuz.exe, CWndInventory::Initialize()+0078 byte(s)
0023:004D1673 Neuz.exe, CWndMgr::CreateApplet()+0243 byte(s)
0023:004DE6D7 Neuz.exe, CWndMgr::ObjectExecutor()+0951 byte(s)
0023:703D77F6 d3d9.dll
0023:70116707 atiu9pag.dll, XopOpenAdapters9()+2995 byte(s)
0023:6EF3E6E7 atiumdag.dll, OpenAdapter()+17191 byte(s)
0023:759743E4 USER32.dll, ScreenToClient()+0047 byte(s)
0023:008B449F Neuz.exe, free()+0112 byte(s)
0023:008F3C87 Neuz.exe, CPtrArray::SetSize()+0043 byte(s)
0023:009F6878 Neuz.exe, type_info::`vftable'()+0088 byte(s)
AMD A4-6300 APU with Radeon(tm) HD Graphics     Service Pack 1
AMD Radeon HD 8370D, 48234496(1404)
0x7d:0x7d-YS1003 1 73-last Model:part_fStarguardianFoot.o3d
PaintTexture - IN
Surface 256 256, Pt 208 128 IMG_BIT = 3, D3DFORMAT = 26
PaintTexture - OUT
MPZooey is offline  
Reply

Tags
flyff, inventory, resizeable, snippet, source


Similar Threads Similar Threads
[Selling] Sell CS.GO Inventory | Verkaufe mein CS.GO Inventory "CHEAP"
10/10/2015 - Counter-Strike Trading - 3 Replies
Sold Verkauft Best regards Souza
Verkaufe Inventory/Sell Inventory
09/16/2015 - Counter-Strike Trading - 3 Replies
Verkaufen mein Inventar, wenn ihr Interesse an was habt pn´t mich. Steam Community :: Mr.NoAIm :: Item Inventory Akzeptiere Paypal und PSC. ihr gebt First oder MM den wir zusammen aussuchen. LG Erek :)
[Release]Automatic Cps in Inventory
08/29/2012 - CO2 PServer Guides & Releases - 95 Replies
This is for 5165! Go to Mob.cs and search for this. else if (MyMath.ChanceSuccess(DropRates.CPBag)) Under that void put this. if (MyMath.ChanceSuccess(DropRates.CPs)) { if (Char != null) { Char.CPs += CPS AMOUNT YOU WANT;
resizeable 9dragons window
10/01/2008 - 9Dragons - 4 Replies
hi all how do i make resizeable 9dragons window that i can use not on a full screen? like this on picture: http://i34.tinypic.com/ibxa20.jpg thanks



All times are GMT +1. The time now is 12:19.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.