老飞飞源码完整v15源码(包含数据库前端后端源文件)程序来源于国外网站。程序仅供参考学习游戏开发流程。以及框架内容。
测试环境搭建
Visual Studio 2013
SQL Server 2008r
Windows 10 和 11 专业版
这些文件已经过测试,搭建,运行良好。然而,我不负责安全修复、添加的功能等。如果您想要这些东西,那么您需要自己添加它们,因为它们不包括在内。
使用零售 V15客户端构建。
前端客户端已经汉化一部分。
所有功能运行正常,如果你要一些小工具。可以在源码中拷贝。
修复部分已知漏洞。
具体定义文件
程序下载地址:https://download.csdn.net/download/douluo998/88420607
#pragma warning (disable: 4244 4566 4005)
/*
====================================================================================================================================
=========================================================== Information ============================================================
====================================================================================================================================
[1 List]: Config;
[2 List]: Systems & features;
[3 List]: Fixes & improvements;
[4 List]: Official systems;
[5 List]: Disabled/not finished;
*/
//====================================================================================================================================
//======================================================== [1 List]: Config ==========================================================
//====================================================================================================================================
#define __VER 20 //| Just number
#define __NEUZ_TITLE "FlyFF" //| Default window name
#define __NEUZ_IPSET "127.0.0.1" //| IP
#define __NEUZ_MSGVR "jfueMFbfsoq13" //| Neuz version
#define __NEUZ_PHASH "kikugalanet" //| kikugalanet
#define __NEUZ_BOOTS "sunkist" //| sunkist
#define __NEUZ_CPORT "5400" //| Port
#define __MAX_SPEED 200 //| Max speed
#define __MAX_FASH 5 //| 锑?fashion-parts for char-creating
#define __MAX_FFA_BY_IP 2 //| Max ffa chars per IP (now 2 for tests, todo: admin check)
#define __MAX_COLLECT_BY_IP 3 //| Max collecting chars per IP
#define __MAX_LORD_EVENT 1 //| Max lord events at the same time
#define __FDCOUNT 20 //| Fast Diamond Count
#define __GAMEPROCESS //| [Always updated] AIO fixes/other
#define __TIMERFORPREVENTBUGS //| [Always updated] AIO Timers for prevent some bugs
#define __OFFNOTICE //| [Always updated] AIO Disable some text spam (partyskills etc) with options
#define __WINGSFX //| Item mask with SFX
#define __ANI_WING //| Animations wings
#define __FL_CUSTOM_HP_BAR_V2 1 //| Custom HP bar v2 (0 = not animated %, 1 = animated %)
#define __FL_WEAK_STRONG //| Weak/Strong element tooltip
#define __FL_NAV_TIME //| Navigator Time Display [TODO: Server time]
#define __FL_SORT_PARTY_MEMBERS //| Up/Down buttons in party window
#define __FL_REKEY_TASK //| 1-10 <---> F1-F10
#define __FL_QOL_UPDATE1 //| QoL Update #1 (Lord, Couple, Guild, Party)
#define __FL_BAG_UPDATE //| Use items (power-ups/beads/scrolls etc) from backpack
#define __FL_FAST_ELEMENT //| Fast Element change
#define __FL_COLLECTING_INFO //| Window with items & chances for collector
#define __FL_DUNGEON_ITEM_REQ //| Item req for dungeon (not forget about .lua (different for vs 2019))
#define __FL_FARM_STAT //| Farm counter v2
#define __FL_WORLD_POST_V2 //| Re-code post button
#define __FL_PARTY_ASSISTANTS_V2 //| Party assistant system v2
#define __FL_MODEL_RECOVERY //| Model Recovery Scroll
#define __FL_BAG_LOOT //| Collect loot from mobs and collector to bag
#define __FL_EXTRA_GW_REWARDS //| Extra GW rewards for 1 2 3 guild and MvP [TODO: read from file & update without restart]
#define __FL_LAST_SEEN_NEW //| Last Seen Feature (uspLoadPlayerData + character tbl + str)
#define __FL_FLASH_WINDOW_EX //| Game-icon flashing
#define __FL_ALL_EXCHANGE //| Button for exhange all items in 1 click
#define __FL_QUICK_LOGIN "Player\\Config\\Accounts" //| Quick Login Feature
#define __FL_TRANS_CHAT //| Transparent chat feature
#define __FL_NEW_SET_SFX //| Test SFX for sets (sfx_level10.sfx/newsfx_10.dds etc, todo offi glow change)
#define __FL_RENDER_ITEM_NAME //| Loot name & count
#define __FL_INTERFACE_CHANGE //| Change interface v18/v19 (NOT FOR COPY + PASTE, ONLY WORK FOR THIS FILES, m_Multi)
#define __FL_REMOVE_JEWELS //| Select remove Jewels from equipment
#define __FL_REMOVE_CARDS //| Select remove Cards from equipment
#define __FL_STACKABLE_BEADS //| Stackable beads
#define __FL_FAST_DIAMOND //| Fast Diamond Window
#define __FL_CARD_RECOVERY_SCROLL //| Scroll for Card Recovery
#define __FL_NEWCUR //| Animated & changeable cursors
#define __FL_HIDEPETS //| Hide Pets Option
#define __FL_DUNGEON_WARNING //| TODO: Dungeon name
#define __FL_NEW_GUILD_PERM //| TODO: Add kick members
#define __FL_HIDE_POWER_UPS //| Hide powerups option
#define __FL_UPD_AFK_SYS //| Afk system
#define __FL_ANGEL_SYSTEM //| Angels like PowerUps + particles
#define __FL_PAUSE_MUSIC_FIX //| Disable Rendering/Music if window is no at focus
#define __FL_RENAMEPARTY //| Ability to change party name any time
#define __FL_NEW_POWER_UPS //| All power-ups timer
#define __FL_NEW_NIGHT //| Night
#define __FL_SAVE_HIDE_PW //| Password save + show (I hope i not missed some defines, I did this without preprocessors initially)
#define __FL_UNDYING_PETS //| Undying pets
#define __FL_BALLOON_ANGEL_REMOVE //| Mini-scrolls for remove balloons & angels
#define __FL_GUILD_CREATE_SCROLL //| Scroll for guild create
#define __FL_AUTO_PERIN //| Auto convert penya to perins if > 2.0b
#define __INVENTORY_168_SLOTS //| 168 Slots inventory
#define __INVENTORY_RESIZE //| Inventory Resize (v18 & v19)
#define __INVENTORY_SORT_BUTTON //| Inventory Sorting (v18 & v19)
#define __INVENTORY_ITEM_SEARCH //| Inventory, guild bank, npc search (v18 & v19)
#define __INVENTORY_POINTER //| Point inventory slots (v18 & v19)
#define __INVENTORY_RCLICKS //| Rightclick move items on/from different windows (inventory, bank, guildbank, trade, npc, bag)
#define __INVENTORY_HIDE_FASH //| Hide fashion system
#define __INVENTORY_PERIN_DISPLAY //| Perin count at inventory window
#define __INVENTORY_FAST_BUY //| Fast buy arrow/charm at inventory
#define __OFFLINE_VENDOR //| Offline Vendors v2 (Penya)
#define __OFFLINE_VENDOR_PERIN //| Adding perins currencie to __OFFLINE_VENDOR (+ Perin)
#define __MODEL_CACHE //| NaNo Model Cache
#define __MODEL_CHANGE //| Model change
#define __MODEL_VIEW //| Model view
#define __WIKI_MONSTER //| Wiki (monsters)
#define __WIKI_ITEMS //| Wiki new (items)
#define __CREATE_CHAR_WITH_ITEMS //| Items character creation
#define __CREATE_CHAR_WITH_JOB //| Job char creation
#define __LOGIN_VIDEO //| Login Video (improved + different for 18 and 19)
#define __CHANGE_HOT_KEY //| Change Hotkeys (!)
#define __DAILY_GIFT //| Daily Gift
#define __DROP_LOG //| Drop log
#define __VIP //| Vip
#define __MADRIGAL_GIFT_POINT //| Madrigal Gifts (fixed & better)
#define __APP_TELEPORTER_DROP //| Teleport with droplist
#define __MULTIPLE_ITEM_PICKER //| AoE Pick-up
#define __LAYER_SWITCH //| Layer switch
#define __BADGE_SYSTEM //| Badge (+ my changes)
#define __PARTY_FINDER //| New Party-Finder from Fulgur Source
#define __AWAKE_WINDOW //| Good Awake Window (with animation)
#define __EMOTICON_CHAT //| Emoticons at chat (rightclick at window or *01-*40 at chat)
#define __SHIFT_SET_EFFECT //| SHIFT Set Armor Effect + text
#define __DEV_FREECAM //| Free cam for Admin /SetCam 2 (can be better)
#define __WINDOW_TITLE //| Game window title with nickname of character (fixed)
#define __MONSTER_BUFFS //| MonsterBuffs (epvp) + solo/party
#define __BUYBACK //| Buyback 回购系统
#define __REPORT //| Ingame Communication between players and the administration (fixed)
#define __NPC_BUFF_CLASS //| Classes buffs on NPC
#define __WBQT_GUILD_BUFFS //| Guildbuffs
#define __PET_FILTER //| Petfilter
#define __DEATH_MATCH //| FFA System (Not tested)
#define __EATPET_STATS //| Bonuses at buff-pets
#define __BUFF_SERVER //| Items Server Buff (bad way)
#define __NPC_SPAWN //| You can spawn any npc
#define __NEW_CHANGE_JOB //| Change Job (leveling)
#define __MESSENGER_CTRL_EXTENTED //| Rightclick messenger (guild section)
#define __PARTYLIST_MESSENGER //| Partylist at messenger
#define __TIMER_MGR //| Dungeon cooldown info (J) (fixed)
#define __MESSAGE_SYSTEM //| Announce.inc
#define __HEAL_SHOW //| Heal numbers show like damage numbers
#define __ILLIMITED_PARTY_SKILL //| Scroll of unlimited party points
#define __SFX_SHIELDS //| SFX on shield
#define __POSTBOX_UPDATE01 //| To pick up items from the post + delete posts (SHIFT button) (+ secsaveplayer 2)
#define __UPGRADE //| /ritem window
#define __BETTER_POCKET //| More bag slots
#define __PERFECT_EATPET //| Raised Pets Scrolls (13579)
#define __CASH_SHOP_POINTS //| Donate Points ingame (TODO: cooldown)
//#define __MOUNT //| Mounts
#define __LOTTERY //| Lottery
#define __SYS_MOUNT // MOUNT SYSTEM FIXED
//====================================================================================================================================
//============================================= [3 List]: Different Fixes & improvements =============================================
//====================================================================================================================================
#define __FL_STAT_CHANGE_SYNC //| Re-stat / add stat sync for all other players
#define __FL_MAIL_DB_FIXES_21_05_21 //| Added missing values (+ MAIL_STR/TBL)
#define __FL_TEST_CHAT_BLOCK_NEW //| No more annoying chat-blocking
#define __FL_AIO_14_05_21 //| AiO improvements/fixes
#define __FL_PARTYDISBAND_FIX //| Party disbanded in 10 min if all players offline
#define __FL_BUFF_TIMER //| Option for disable/enable buff timer + fix buff time display wndworld
#define __FL_AIO_15_03_21 //| AiO improvements/fixes
#define __FL_SOME_POSI_TEST //| Something from v21
#define __FL_BLADE_HACK //| Blade hack protection
#define __FL_NEWMELEE //| Just for test (for this need world protection. Now only client side)
#define __FL_TEXT_EDITS //| New text font/style for item count
#define __FL_AIO_11_03_21 //| AiO improvements/fixes
#define __FL_CHAT_IMPROVED //| Chat resize fps drop fix
#define __FL_LIMITED_PVE_DMG //| Limited damage on some bosses (TODO: World boss system)
#define __FL_GW_UPD_08_02_2021 //| Gw update
#define __FL_RANDOMSCROLL_GMCMD //| Scrolls of stat gm commant /srs
#define __FL_GVUR_HOLYEFFECT //| RM & seraph skills with holy effect (1x1 & aoe)
#define __FL_HOLY_CD //| CD on holy scroll
#define __FL_NEW_ARENA_ZONE //| New Arena Zone
#define __FL_AUTO_DEACTIVATE_PETS //| Auto deactivate pets when use mount/wings etc, TODO: Save & reactivate
#define __FL_PETS_COOLDOWNS //| Prevent some problems with pets
#define __FL_PLAYERS_CAN_LORD //| Players can do lord event + added limit
#define __FL_AIO_05_02_21 //| AiO improvements/fixes
#define __FL_ACCELOGIC //| Accessory Equip Update
#define __FL_LOGOUTFIX //| Re-logging fix
#define __FL_NEW_CHEER //| Improved cheer (+ bonuses at spec_item)
#define __FL_BAGTPFIX //| "Fix" Bag client crash when change location
#define __FL_NPCPORTBUG //| Monster teleport "fix" (Temporary, need normal fix)
#define __FL_FULLSIZECAPTURE //| Stretching the image when changing the location
#define __FL_CUSTOM_V18_TASKBAR //| TODO: New v18 taskbar (same v19, but v18). Now just small thing there...
#define __FL_BLADEDAMAGE //| Remove x2 damage for blade
#define __FL_DMGCORRECT //| Correct game-balance (block, miss etc). NOT FINALLY
#define __FL_NOPOSTBOX //| Disable send items on post. Tmp solution
#define __FL_SHIFT_0 //| Screenshot on `SHIFT + 0` instead of `0` TODO F10 on v18 taskbar
#define __FL_CAPTION_UPDATE //| Some changes in how Caption work
#define __AIO_27_05_21_V21 //| Some code (test) from v21
#define __CARD_BONUSES //| Card bonuses tooltip
#define __RECENT_EXPLOIT_FIX //| Naltalah code
#define __PET_TELEPORT_TEST //| Blouflash pet teleport code
#define __JUST_TEST01 //| ~
#define __FIX_PET_ACTIVATE //| Fix pet despawning
#define __SIEGE_RANKING_FIX //| Siege Ranking Fix
#define __GW //| Shitty Temporary fix (TODO normal fix, lazy to find exact reason)
#define __BERSERKKK //| Disable block on DoUseSkills on Berserk blade skill
#define __LOGINIMAGE //| Login Video Picture
#define __GENDERFIX //| NPC Gender fix
#define __COOLDOWNOFF //| Disable cooldown for action slots
#define __CLICK_NEXT_TARGET //| Target update
#define __V21_LEVELUP_SFX //| Nice thing from v21
#define __FIX_RANGER_ROLLER //| Fix (?) rangers
#define __NPCTRADEICON //| Displaying the currency icon in the NPC
#define __VIEWPOSFIX //| Fix of the final position
#define __FIXARROW //| First Hit Fix (aka First Arrow Fix)
#define __SYNCPLAYERSTATS //| Stat Synchronize
#define __SFXFIXX //| SFX (Buffs) Fix
#define __LOGIN_CAPS //| Caps Lock at login window
#define __NO_SWITCH_LAG //| Not possible to test it solo, so idk work or not
#define __ITEM_COUNT_TOOLTIP //| Item count tooltip
#define __AUTO_MAX_SKILL //| No levels on skills
#define __PAID_SET //| Paid....txt
#define __AUTO_GOLD_PICKUP //| Penya drop are immediately added to your inventory
#define __GRAPHIC_ANISOTROPY //| Anisotropy
#define __BUFF //| /SetBuff command for admin
#define __FIX_STAT_BUFF //| QuietSmoke fix
#define __WINDOW_STYLE //| Window
#define __SAVE_FIX //| Save fix
#define __PET_VERIFITEM //| Looter update
#define __GH_DUPE_FIX //| Guild house dupe fix
#define __DECREASE_SNAPSHOTLATENCY //| ?
#define __SFX_OPT_FIX //| ?
#define __MOD_OBJARR //| ?
#define __ATTRACTION_FIX_SKILL //| ?
#define __TRANSY_FIX //| ?
#define __CHARACTER_INJECTION //| ?
#define __REMOVE_MAX_RECOVER_RATE //| ?
#define __NO_COMMAND_LIMITATION //| cmd update
#define __NO_TICKET_RESELL //| Selling all tickets 1 penya
#define __SELECT_LORD //| Fix for lord selecting
#define __REFRESHER //| Full mana/energy after respawn
#define __DROP_ITEM //| You can drop pets/eggs/red chips
#define __FLY_LV1 //| Fly (level 1)
#define __SHOUT_LV1 //| Shout (level 1)
#define __DST_CHANCEDROP //| new dst
#define __FAST_NEUZ //| Map textures loaded later
#define __PARTYDUEL //| Party Duel
#define __FLYFF_HD //| 1920x1080
#define __AddTextColored //| AddTextColored
#define __ADDSHOPITEM //| Add items at npc
#define __NO_QUAKE //| No quake
#define __FIX_TEXTUREBUG //| Prevent crashes?
#define __ALWAYS_MODEL_LIGHT //| ?
#define __COLLISION_FIX_PLAYER //| Collision update
#define __MAPNAME_CHANGE_FIX //| Mapname change fix
#define __IMPROVEFLYING_R3 //| Increase fly speed
#define __SIEGEIMPROVE_0312 //| GW Update
#define __INCLINATION_FIX //| Inclination fix?
#define __UNLIMITED_ARROW //| New item (unlim arrow)
#define __UNLIMITED_CHARM //| New item (unlim charm)
#define __PRAISE_GLOVES //| You can cheer yourself with item + config (exp bonus)
#define __STATISTICS //| (H) Window with more stats
#define __WORLDSERVER_MENU //| Some options at WorldServer.exe
#define __MAC_BAN //| Mac ban
#define __AWAKE_MASK //| You can awake mask/wings
#define __NEW_COLOR_CHANGE //| Hair color improved
#define __GOLD_ATTRIBUTE //| Penya attr
#define __MULTI_CREATE_ITEM //| Multi create item
#define __ADDMENU2 //| AddMenu2( MMI_ "" );
#define __MMFFCOUPLE //| MM / FF couples
#define __SWING_CHANGE //| Attack glow change
#define __DELETE_CHAR_WITH_PIN //| Delete character with pin-code
#define __CHAR_CREATE_ROTATE //| You can rotate character at creation window
#define __HOLLY_SUPPORT_GS //| RMs now can have points on GW
#define __NO_COUPLE_DELAY //| No cooldown for couple
#define __NO_GUILD_DELAY //| No cooldown for guild
#define __GUILD_COLOR //| Guild color name every 10 levels
#define __RMVOBJ //| /rmvobj (you can remove any npc/monster from the world)
#define __FR_USE_EN //| Some additions from old dev [Need explore]
#define __GAMEGUARD //| Old dev fixes/changes [Need explore]
#define __GAMEMASTER //| Some GM "features" [Need explore]
//====================================================================================================================================
//================================================ [4 List]: "Official" systems ======================================================
//====================================================================================================================================
#define __NEW_EXCHANGE_V19 //| V19 - Exchange
#define __NEW_TASKBAR_V19 //| V19 - Taskbar
#define __OPTION_EX //| V19 - Options
#define __NAVIGATOR_V19 //| V19 - Minimap v19
#define __MINIMAP_NAV_OBJ //| V19 - Minimap v19 "Fix" (Don't disable it. There is a small classic v19 navigator problem with random "images")
#define __RANDOMOPTION_RETRY //| V18 - Reawake system
#define __COLOSSEUM //| V17 - Colosseum
#define __FASHION_COMBINE //| V17 - Fashion Combine
#define __TREASUREBOX //| V17 - Treasure
#define __MAP_TORCH_SYSTEM //| V17 - Torch for navigator
#define __NEW_ITEM_VARUNA //| V17 - Baruna
#define __IMPROVE_MAP_SYSTEM //| V16 - New map
#define __NEW_MAP_V16 //| V16 - New map
#define __3RD_LEGEND16 //| V16 - 3 classes
#define __NEW_SKILL_TREE //| V16 - New skill tree
#define __CROSSBOW //| V16 - Crossbow
#define __ITEMLINK //| V16 - Item linking
#define __UPGRADE_SUCCESS_SCROLL //| V16 - Parchemin d'am閘iorations
#define __UNBIND //| V16 - Unbinding scroll
#define __MAP_LOADING_UPDATE //| V16 - Map loading pictures
#define __NEW_WEAPON_GLOW //| V16 - Weapon glow
#define __NEW_STACKABLE_AMPS //| V16 - ? Exp Scrolls
#define __GLOW_CHANGE //| V16 - Glow change with items
#define __EVENTLUA_RAIN //| V15 - Rain
#define __EVENTLUA_SNOW //| V15 - Snow
#define __BS_CHANGEABLE_WORLD_SEACLOUD //| V15 - Seacloud
#define __BS_ADDOBJATTR_INVISIBLE //| V15 - Addobjattr_invisible