Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Gear Score & Other Things

Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
Another free release being sold by multiple people and now it's here to stay.

ServerCommon.h
Code:
#define __GEAR_SCORE
#define __NEUZ_MSGVR 00000000

//feature
#define __4TH_JOBS
#define __ADDSHOPITEM
#define __AddTextColored
#define __AELION_RAMASSEUR
#define __ADDMENU2
#define __ADDSHOPITEM
#define __AFK_STATE
#define __ALIASING
#define __ALCHEMY
#define __ANARCHY_SYSTEM
#define __ANISOTROPIC
#define __APP_TELEPORTER
#define __AUTO_HELPER_THREAD
#define __AUTO_MAX_SKILL
#define __AUTO_PERIN_CONVERTER
#define __AWAKE_JEWELRY
#define __AWAKE_MASK
#define __AWAKE_SELECT
#define __AWAKE_WINDOW
#define __BADGE_SYSTEM
#define __BAMBI_QUEST_KILL
#define __BLING_BLING
#define __BOURSE_PENYA_ALEATOIRE
#define __BUFF
#define __BUFF_GUILDE_V2
#define __BUFF_PANG_RAPIDE
#define __BUFF_PARCHO_PRETRE_PRIMAT
#define __BUFF_SERVER
#define __BUYBACK

#define __CASH_SHOP_POINTS
#define __CANDY_CRUSH
#define __CREATE_CHAR_FASHIONS
#define __CREATE_CHAR_ROTATE
#define __CREATE_CHAR_WITH_JOB
#define __CHANGE_HOT_KEY
#define __CHANGE_2ND_PASSWORD
#define __CHECKSTAFF
#define __CONEXP
#define __COUPLE_RATE
#define __CRITICAL_AWAKE
#define __CSHOUTSCR
#define __DAILY_GIFT
#define __DEATH_MATCH
#define __DELETE_CHAR_WITH_PIN
#define __DISPLAY_WORLDINFO
#define __DROP_ITEM
#define __DROP_GOLD
#define __DPSMETER_RYU

#define __EATPET_STATS
#define __EMOTICON_CHAT
#define __EVENT_CMD
#define __EXTENDED_SALE_SYSTEM
#define __FIX_ANIMATE_MODEL
#define __FLY_COUPON
#define __FAST_LOGIN
#define __FAST_NEUZ
#define __FIX_RANGER_ROLLER

#define __FIX_SETFST
#define __FLOFLO_ACHAT_RAPIDE
#define __FLOFLO_BOTH_RECYCLAGE
#define __FLOFLO_CHANGE_LOGO
#define __FLOFLO_COLOR_EXE
#define __FLOFLO_COUPLE_SCROLL
#define __FLOFLO_FAST_CLICK
#define __FLOFLO_FIN_ACTE_1
#define __FLOFLO_FIX_DUPE_ITEM_CHAR
#define __FLOFLO_FIX_FEMALE
#define __FLOFLO_NEW_MODEFLY
#define __FLOFLO_POT_COMMUN
#define __FLOFLO_RANDOM_BUFF
#define __FLOFLO_REMOVE_BUFF_TIME
#define __FLOFLO_REMOVE_CMM
#define __FLOFLO_SWITCH_WING
#define __FLOFLO_SHORTCUT_CHAT 9
#define __FLOFLO_VAGA_ICON
#define __FLOFLO_VENDOR_VISIT
#define __FLOFLO_VENUX_PVP
#define __FLOFLO_WORLDBOSS_MODIF
#define __FLY_LV1

#define __GAMEGUARD
#define __GAMEMASTER
#define __GEAR_SCORE
#define __GEMME_ARME
#define __GEMME_ARMURE
#define __GLOW_CHANGE
#define __GOLD_ATTRIBUTE
#define __GOLDEN_MINE

#define __GUILD_BUFFS
#define __GUILD_RATE


#define __HARDCORE
#define __HEAL_SHOW
#define __HIDE_COAT
#define __HOLLY_SUPPORT_GS
#define __INVENTORY_POINTER



#define __ITEM_ANIMATE_FIX
#define __ITEM_CONVERTER
#define __ITEMLOCK
#define __INSTANCE_AGGRO_SYSTEM
#define __ILLIMITED_PARTY_SKILL
#define __KIRA_AILE
#define __KIRA_DST_DROP
#define __KIRA_SCROLL_PENYA
#define __LAYER_SWITCH
#define __LOGIN_CAPS
#define __LOOKCHANGE
#define __LOOKCHANGE_PET
#define __LOTTERY
#define __MADRIGAL_GIFT_POINT
#define __MAC_BAN
#define __MAP_TORCH_SYSTEM
#define __MARKET_TELEPORT_V19
#define __MAX_GIFT_BOX
#define __MAX_INCANTE
#define __MAX_COLLECT_BY_IP
#define __MESSAGE_SYSTEM
#define __MESSENGER_CTRL_EXTENTED
#define __MIN_MAX_PENYAS
#define __MODEL_NPC_VIEW
#define __MODEL_VIEW
#define __MODS_MANAGER
#define __MORE_OR_LESS
//#define MI_PET_RISEM // its used for ifdef for sfx.
#define __MULTIPLE_ITEM_PICKER
#define __MULTIPLE_THEME
#define __NAME_COLOR
#define __NAME_FONT
#define __NEW_BUFF_FORMAT
#define __NEW_CHANGE_JOB
#define __NEW_COLOR_CHANGE // hair color start
#define __NEW_COLLECTOR_LV
#define __NEWCRYPTAGE
#define __NEWS_ARME_SEULMAIN
#define __NEWS_DIAMOND
#define __NEWSCROLLS
#define __NPC_SPAWN
#define __NO_COMMAND_LIMITATION
#define __NO_PARTY_GW_JOIN
#define __NO_PET_LIFE
#define __NO_QUAKE
#define __NO_GUILD_DELAY
#define __NOUVEAU_FAMILIER 1
#define __OFFLINE_VENDORS
#define __ONEHANDYOYO
#define __PANG_SYSTEM
#define __PARTYLIST_MESSENGER
#define __PARTY_FIND
#define __PET_AUTO_LEVEL_UP
#define __PET_EXP
#define __PET_GLOW
#define __PET_FILTER
#define __PETS_RATE
#define __PERFECT_EATPET 13579
#define __PLAYER_LIST
#define __PMA_FIX_ATKMSG
#deifne __PMA_OPT_1
#define __PNJ_NAME_VENDOR

#define __PRAISE_GLOVES
#define __PROFESSION_SB
#define __POSI_BUG_FIX
#define __QUICK_SELL
#define __RANDOMOPTION_RETRY
#define __READ_PNG_FILES
#define __RESIZE_CHARACTER
#define __REBUFF
#define __REMOVE_MAX_RECOVER_RATE
#define __REMOVE_TARGET_PETS
#define __RMVOBJ
#define __REFRESHER
#define __REPORT
#define __RUNES
#define __SAVE_PASSWORD
#define __SCROLL_ARROUNKILL
#define __SCROLL_AWAKESLOT
#define __SCROLL_COLOR_SWING
#define __SECURITY_FIXES
#define __SFX_OPT
#define __SHOPPING_CART
#define __SHOUT_LV1
#define __SHOWEXPINC
#define __SPEED_CAST
#define __SQK_MULTIALTERNATEPRICE
#define __SQK_PARTYSKILLS
#define __SQK_STACKABLEITEM
#define __STATISTICS
#define __STAT_SYNC
#define __SWITCH_GLOW_OLDNEW
#define __SWITCH_EQUIP
#define __SYS_AUTO_POWER_UPS
#define __SYS_AUTO_SHOUT
#define __SYS_HONORSTAT

#define __TABBED_INV
#define __TAXES
#define __TICKETS_DETAILS
#define __TIMER_MGR
#define __TRADE_FASHION_PET
#define __TRANSFER_AWAKE
#define __UNBIND
#define __UNLIMITED_ARROW
#define __UNLIMITED_CHARM
#define __UPGRADE
#define __UPGRADE_CARDS
#define __UPGRADE_SUCCESS
#define __USER_OWN_TITLE
#define __VIP
#define __WEAPON_RARITY
#define __WIKIPEDIA_TITLE
#define __WIKIPEDIA_MONSTER
#define __WIN_BUFF_GS
#define __WINDOW_TITLE
#define __ZONE_AFFICHAGE


//__DEBUG_PNJ_DEPOP
//CNpcChecker::IsCloseNpc
//II_SYS_SYS_SCR_PET_VITAMINE_MEGA II_SYS_SYS_SCR_PET_VITAMINE_GIGANTESQUE
//float			m_fScrAngleZ;
//getPathTheme
//isBambiTheme
//CDamageNum::Render
//GUILDHOUSE_PCKTTYPE_SETUP > guildhouse
//CMiniGame::Bet_FiveSystem
//__MINIGAME_EXT_PACKET : public __MINIGAME_PACKET
// CMover::Replace -> pet tele fix
//AddSfxSnd
//CString Separator
//CTransformerEgg::IsValidStuff
//__BARUNA_WAKEUP
//__FASHION_COMBINE
//__NEW_ITEM_VARUNA
//__BARUNA_PIERCING
// functextcmd fixes


//__TARGET_INF_V19
__VER >= 19
__TREASUREBOX
__CROSSBOW
__3RD_LEGEND16
__ITEMLINK
#define __ELLDIN_POTION
#define __NEW_TASKBAR_V19

0 support will be given by me as you guys never hit the thanks button and(or) say thanks in general.

Download: | Password: RageZone
 
Last edited:
Newbie Spellweaver
Joined
Oct 10, 2012
Messages
27
Reaction score
3
A great addition. Thank you for keeping this section alive!
 
Initiate Mage
Joined
Oct 7, 2020
Messages
1
Reaction score
0
Thank you Ketchup for all your dedicated work and endless useful threads and answers.
 
Junior Spellweaver
Joined
Mar 22, 2004
Messages
103
Reaction score
1
Re: Gear Score & Other Things

The issues I encounter while trying to add this to Ketchup 18.3

1st issue was this in InstanceDungeonBase.cpp:

Code:
#ifdef __GEAR_SCORE
		if (pUser->GetGearScore() < it->second.nMinGearScore || pUser->GetGearScore() > it->second.nMaxGearScore)
		{
			CString str;
			str.Format( "You must have a GearScore between %d and %d to enter this instance!", it->second.nMinGearScore, it->second.nMaxGearScore );
			pUser->AddText(str, 0xFFFF0000);
			return FALSE;
		}
#endif // __GEAR_SCORE

it didn't like : pUser->AddText(str, 0xFFFF0000);

so i had to do this and it worked:

Code:
#ifdef __GEAR_SCORE
		if (pUser->GetGearScore() < it->second.nMinGearScore || pUser->GetGearScore() > it->second.nMaxGearScore)
		{
			CString strMessage;
			strMessage.Format( "You must have a GearScore between %d and %d to enter this instance!", it->second.nMinGearScore, it->second.nMaxGearScore );
			pUser->AddText( strMessage );
			return FALSE;
		}
#endif // __GEAR_SCORE

2nd issue is this in InstanceDungeonBase.lua

Code:
function SetGearScore( nMinGearScore, nMaxGearScore )
	local nIndex = #( tDungeon )
	tDungeon[nIndex].nMinGearScore = nMinGearScore
	tDungeon[nIndex].nMaxGearScore = nMaxGearScore
end

should be:

Code:
function SetGearScore( nMinGearScore, nMaxGearScore )
	local nIndex = #tDungeon
	tDungeon[nIndex].nMinGearScore = nMinGearScore
	tDungeon[nIndex].nMaxGearScore = nMaxGearScore
end



does anyone knows were this Gear Score will show up?
ty
 
Last edited:
Experienced Elementalist
Joined
Jan 7, 2020
Messages
257
Reaction score
97
Re: Gear Score &amp; Other Things

well then I guess I have a problem because nothing of sorts shows for me there

You also need to edit your APP_INVENTORY in your ResData.inc . You might gonna have to change the WIDC_STATICGEAR1 & 2 as well.
Code:
    WTYPE_STATIC WIDC_STATICGEAR1 "" 0 153 193 187 209 0x2220000 0 0 0 0 246 204 77
    {
    " "
    }
    {
    " "
    }
    WTYPE_STATIC WIDC_STATICGEAR2 "" 0 78 193 153 208 0x2220000 0 0 0 0 246 204 77
    {
    "Gear Score:"
    }
    {
    " "
    }
 
Last edited:
Junior Spellweaver
Joined
Mar 22, 2004
Messages
103
Reaction score
1
Re: Gear Score &amp; Other Things

I added the Buttons above


My client crashes with this error:
Code:
2022/ 4/25   12:39:41   CProject::LoadGearScoreFile Cannot load GearScore.inc

I have the file in Client/Client and Server/Resource/ folders so I'm not sure what I'm doing wrong
 
Inactive
Joined
Jan 20, 2009
Messages
1,014
Reaction score
1,830
Re: Gear Score &amp; Other Things

I added the Buttons above


My client crashes with this error:
Code:
2022/ 4/25   12:39:41   CProject::LoadGearScoreFile Cannot load GearScore.inc

I have the file in Client/Client and Server/Resource/ folders so I'm not sure what I'm doing wrong

GearScore doesn't use buttons lol.

Also make the file is in your Server/Resource as well as Resource.txt, You make new res files using Merge then copy the stuff in ResClient to your client.
 
Junior Spellweaver
Joined
Mar 22, 2004
Messages
103
Reaction score
1
Re: Gear Score &amp; Other Things

GearScore doesn't use buttons lol.

Also, make the file in your Server/Resource as well as Resource.txt, You make new res files using Merge then copy the stuff in ResClient to your client.

Thanks, I added the GearScore.ini to Resource.txt and that removed the error BUT still, I cannot see the GearScore when I open character inventory.

I doubled check several times the files using WinMerge to make sure everything has been added as it should and it is, any ideas?

ty
 
Experienced Elementalist
Joined
Jan 7, 2020
Messages
257
Reaction score
97
Re: Gear Score &amp; Other Things

Thanks, I added the GearScore.ini to Resource.txt and that removed the error BUT still, I cannot see the GearScore when I open character inventory.

I doubled check several times the files using WinMerge to make sure everything has been added as it should and it is, any ideas?

ty
did you add the WTYPE_STATIC to your ResData.inc as well? you added everything to your source?
 
Junior Spellweaver
Joined
Mar 22, 2004
Messages
103
Reaction score
1
Re: Gear Score &amp; Other Things

did you add the WTYPE_STATIC to your ResData.inc as well? you added everything to your source?

I didn't add anything to ResData.inc because there is nothing of sorts in the GearScore Package
 
Last edited:
Experienced Elementalist
Joined
Jan 7, 2020
Messages
257
Reaction score
97
Re: Gear Score &amp; Other Things

I didn't add anything to ResData.inc because there is nothing of sorts in the GearScore Package
Are you trying to be smartass or what? Because I didn't even let you put in a little bit effort to solve your issue (I mean if you can count copy&paste as an effort lol) and just gave you the damn solution which is again, copy & paste these values ​​into your resdata.inc.
 
Junior Spellweaver
Joined
Mar 22, 2004
Messages
103
Reaction score
1
Re: Gear Score &amp; Other Things

Are you trying to be smartass or what? Because I didn't even let you put in a little bit effort to solve your issue (I mean if you can count copy&paste as an effort lol) and just gave you the damn solution which is again, copy & paste these values ​​into your resdata.inc.

I'm not trying to be either of what are you implying, I'm not sure why are you even thinking that. All source files changes have been made and they are the same, I double-checked several times to make sure they are identical. I did add the stuff you recommended since you pasted it but I see now why it did not work, thanks to Ketchup's post. I was going to recheck the source to see if there is any WIDC_STATIC in it. Your example didn't work because your WIDC_STATIC is renamed to WIDC_STATICGEAR2. My Apologies, I will change the values to match. I'm just trying to learn here, please have patience. Thanks
 
Experienced Elementalist
Joined
Jan 7, 2020
Messages
257
Reaction score
97
Re: Gear Score &amp; Other Things

I'm not trying to be either of what are you implying, I'm not sure why are you even thinking that. All source files changes have been made and they are the same, I double-checked several times to make sure they are identical. I did add the stuff you recommended since you pasted it but I see now why it did not work, thanks to Ketchup's post. I was going to recheck the source to see if there is any WIDC_STATIC in it. Your example didn't work because your WIDC_STATIC is renamed to WIDC_STATICGEAR2. My Apologies, I will change the values to match. I'm just trying to learn here, please have patience. Thanks

Lodelight - Gear Score & Other Things - RaGEZONE Forums


Anyway I'm glad you made it work. And don't let it discourage you. this way far from what I'm trying to do.But you could've save yourself the headache if you would've noticed what I was writing.
 
Back
Top