Gear Score & Other Things

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,922Posts

    Gear Score & Other Things

    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: Click Here | Password: RageZone
    Last edited by Ketchup; 12-12-21 at 05:53 AM. Reason: Link Fixed


  2. #2
    127.0.0.1 Groxy101 is offline
    MemberRank
    Apr 2010 Join Date
    417Posts

    Re: Gear Score & Other Things

    Thanks.

  3. #3
    I ❤️ Shawarma Percuflex is offline
    MemberRank
    Jan 2020 Join Date
    IsraelLocation
    252Posts

    Re: Gear Score & Other Things

    Thank You

  4. #4
    Enthusiast arimukun is offline
    MemberRank
    Oct 2012 Join Date
    27Posts

    Re: Gear Score & Other Things

    A great addition. Thank you for keeping this section alive!

  5. #5
    Enthusiast wulaofa is offline
    MemberRank
    Mar 2020 Join Date
    29Posts

    Re: Gear Score & Other Things

    thank!

  6. #6
    Novice martinkhouria is offline
    MemberRank
    Oct 2020 Join Date
    1Posts

    Re: Gear Score & Other Things

    Thank you Ketchup for all your dedicated work and endless useful threads and answers.

  7. #7
    Enthusiast wulaofa is offline
    MemberRank
    Mar 2020 Join Date
    29Posts

    Re: Gear Score & Other Things

    Thank You

  8. #8
    BlaBlaBla daddy is offline
    MemberRank
    Mar 2004 Join Date
    RomaniaLocation
    276Posts

    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
    - - - Updated - - -

    does anyone knows were this Gear Score will show up?
    ty
    Last edited by daddy; 24-04-22 at 10:25 PM. Reason: typo

  9. #9
    Enthusiast styxhelix3 is offline
    MemberRank
    Dec 2020 Join Date
    39Posts

    Re: Gear Score &amp; Other Things

    does anyone knows were this Gear Score will show up?
    Inventory below your character

  10. #10
    BlaBlaBla daddy is offline
    MemberRank
    Mar 2004 Join Date
    RomaniaLocation
    276Posts

    Re: Gear Score &amp; Other Things

    Quote Originally Posted by styxhelix3 View Post
    Inventory below your character
    well then I guess I have a problem because nothing of sorts shows for me there

    https://prnt.sc/SRF_uTMMXBDK

  11. #11
    I ❤️ Shawarma Percuflex is offline
    MemberRank
    Jan 2020 Join Date
    IsraelLocation
    252Posts

    Re: Gear Score &amp; Other Things

    Quote Originally Posted by daddy View Post
    well then I guess I have a problem because nothing of sorts shows for me there

    https://prnt.sc/SRF_uTMMXBDK
    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 by Percuflex; 25-04-22 at 04:26 PM.

  12. #12
    BlaBlaBla daddy is offline
    MemberRank
    Mar 2004 Join Date
    RomaniaLocation
    276Posts

    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

  13. #13
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,922Posts

    Re: Gear Score &amp; Other Things

    Quote Originally Posted by daddy View Post
    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.

  14. #14
    BlaBlaBla daddy is offline
    MemberRank
    Mar 2004 Join Date
    RomaniaLocation
    276Posts

    Re: Gear Score &amp; Other Things

    Quote Originally Posted by Ketchup View Post
    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

  15. #15
    I ❤️ Shawarma Percuflex is offline
    MemberRank
    Jan 2020 Join Date
    IsraelLocation
    252Posts

    Re: Gear Score &amp; Other Things

    Quote Originally Posted by daddy View Post
    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?



Page 1 of 2 12 LastLast

Advertisement