Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 13:31

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

Advertisement



ITEM_DBF changes

Discussion on ITEM_DBF changes within the Flyff Private Server forum part of the Flyff category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
ITEM_DBF changes

Hi elitepvpers,

Well i was looking for an easy way to make an backend panel for an shop.
So i felt inspired with this topic

With thanks to Xxl3lubbs for making such an topic and velmore and FlyCraft.TobiLap for their contribution


Now what i wanted was to make my own ITEM_TBL with my own columns etc.
This is now almost 100% working if i didnt have 2 problems that i cant seem to find

inside the spec_item there are 2 rows szIcon and szComment that i wanted to use

However eveytime the server starts the szIcon and szComment inside the ITEM_TBL remains empty. Now i have tried somethings but it seems i cant get it to work.

i am inserting it into ITEM_TBL like this

i will only show what i am having problems with

sprintf( szSQL, "ITEM_STR 'I1', '%s', '%s'," //0
pItemProp->szIcon, pItemProp->szComment

Those are not working or give an empty result.
Any help will be appriciated.

With kind regards,
raventh1984 is offline  
Old 11/24/2013, 23:27   #2
 
elite*gold: 59
Join Date: Oct 2012
Posts: 716
Received Thanks: 465
I am not sure about the icon but I think it is tha same as the comment.
The comment is only loaded and defined if __CLIENT is defined so it is only loaded in the Neuz.
Just go into the "LoadPropitem" function and look for #ifdef __CLIENT
FlyCraft.TobiLap is offline  
Thanks
2 Users
Old 11/25/2013, 08:41   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Thank you for the tip. And yes indeed it was located there so i changed it.

Now its working as it should be.
raventh1984 is offline  
Old 11/27/2013, 13:50   #4
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Hmm i found yet an other problem with this system.

I have 21 rows that i want to insert.

Now almost everything works fine except for 1 row/value

This is the Funtion to update the ITEM_TBL
As you can see there are 3 more dwDestParam and nAdjParamVal
so up to dwDestParam5 is working normaly how ever if it reaches dwDestParam6
It insert nAdjParamVal1 into the database
So i got now this


i have checked dwDestParam6 in spec_item and the value is an (=) so it should be an -1 instead of the value that is from nAdjParamVal1.

Does anyone have an clue about this?
raventh1984 is offline  
Closed Thread




All times are GMT +1. The time now is 13:34.


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