Cách khắc phục lỗi setting vo lam 2 năm 2024

Bổn Trang chân thành cáo lỗi và mong quý nhân sĩ thông cảm vì sự bất tiện này. Các thắc mắc liên quan đến Võ Lâm Truyền Kỳ II, quý nhân sĩ vui lòng gửi thông tin về trang hotro.zing.vn hoặc liên hệ trực tiếp đến đường dây nóng 1900 561 558 để nhận được sự hỗ trợ tốt nhất.

Bài viết này ITC chia sẻ đến các bạn hướng dẫn cách cài đặt Game Võ lâm truyền kỳ 2 (VLTK2, JX2) phiên bản mà trên thị trường hiện nay đang sử dụng. Phần 1: Hướng dẫn cài đặt:

yum update yum install glibc.i686 yum install zlib.i686 yum install libstdc++.i686

yum install mariadb-server systemctl start mariadb systemctl enable mariadb mysql_secure_installation

quan22021995

ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock vi /etc/my.cnf [mysqld] lower_case_table_names=1

systemctl restart mariadb

sudo service networking restart

mysql -uroot -p CREATE DATABASE jx2ib_database; CREATE DATABASE jx2ib_database_log; use jx2ib_database; source /home/jx2ib_database_new.sql; use jx2ib_database_log; source /home/jx2ib_database_log_newsua.sql; GRANT ALL PRIVILEGES ON jx2ib_database.* TO 'root'@'localhost' IDENTIFIED BY 'quan22021995' WITH GRANT OPTION; GRANT ALL PRIVILEGES ON jx2ib_database_log.* TO 'root'@'127.0.0.1' IDENTIFIED BY 'quan22021995' WITH GRANT OPTION; FLUSH PRIVILEGES; localectl set-locale LANG=zh_CN.gb18030

quan22021995

firewall: sudo yum install firewalld sudo systemctl enable firewalld sudo reboot https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 firewall-cmd --get-active-zones sudo firewall-cmd --zone=home --list-all sudo firewall-cmd --zone=public --list-ports

sudo firewall-cmd --zone=home --change-interface=tencardlan sudo firewall-cmd --set-default-zone=home sudo firewall-cmd --zone=public --add-port=5622/tcp --permanent sudo firewall-cmd --zone=public --add-port=6660/tcp --permanent sudo firewall-cmd --zone=public --add-port=6661/tcp --permanent firewall-cmd --reload

setup paysys: mysql command: create database paysys; use paysys ; source e:\\pay\\paysys1.sql; exit; setup file paysys.ini

step run server: run pay/vzopaysys.exe run pay/gmc/GameMasterCentralD.exe

copy all file in folder x to xmission

run goddess run bishop run relay if error with 2 ip can remove 1 ip with repair file /etc/sysconfig/network-scripts/ifcfg-ens33 change BOOTPROTO="dhcp" to BOOTPROTO="static"

copy file RelayChannelCfg.ini to relay

Phần 2: JX2Function

EnableConsole Say TimeLimitedSelect Say2SomeOne Talk Talk2SomeOne GetSex IncludeLib unpack CreateTrigger GetRunningTrigger GetTrigger SetKillType SetMapID SetTargetName SetKillCountType SetKillCount SetTimerType SetTimerCount SetTimerTime ContinueTimer PauseTimer SetRectType SetRectRect SetLogType SetTriggerParam GetTriggerParam SetTriggerScript SetTriggerFunction RemoveTrigger GetTriggerCustomID GetTaskTemp SetTaskTemp GetBit GetByte SetBit SetByte SafeGetBit SafeGetByte SafeSetBit SafeSetByte SafeGetInt GetMapTaskTemp SetMapTaskTemp Include PutMessage AddGlobalNews AddGlobalTimeNews AddGlobalCountNews AddLocalNews AddLocalTimeNews AddLocalCountNews ReloadSkill SetRandSeed NpcChat GetItemLevel GetCash GetSaveMoney GetTargetNpc SetTargetNpc GetTargetNpcName GetBody GetName GetSafeName GetItemLockStatus LinearValue String2Hash TabFile_Load TabFile_Unload TabFile_GetRowCount TabFile_GetColCount TabFile_GetData IniFile_Load IniFile_Unload IniFile_GetData SetPos SetNpcPos GetPos GetWorldPos GetNpcWorldPos NpcChangeModel IsNpcChangeModel CanNpcChangeModel SetAntiEnthrallmentInfo GetAntiEnthrallmentInfo GetAntiEnthrallmentStatus GetEventStartDate GetEventEndDate GetEventOpen GetEventCount JoinGestConvention QuitGestConvention GetPairGestPlayer GetGestQueueSize GetPlayerByGestQueueIndex SignUpGestResult BuildBWRank BuildBWRankInfo GetBWRankWeekCount ApplyBWRankInfo GetPlayerBwRank ForbitLevelUp ForbitAddProp GetBwAllRank GetGlobalBwRand TongResDialog CreateTongDialog AddTongDialog IsTongMember IsRegMember CreateTong AddTong SetTongJob ExchangeJob LeaveTong KickPlayerFromTong IsTongMaster DestroyTong IsHaveTongRight GetTongID GetTongName GetTongGlory GetTongDuty AddTongRes AddTongContri GetTongContri GetJoinTongTime GetLastAssignTime SetTongAttr GetTongAttr AddTongLevel GetTongLevel GetTongPopulation GetTongPopuLadder SendTongMessage GMDemiseTongMaster GetMapInfoFile GetMapPlayer GetMapNpcIdx ClearMapNpc ClearMapObj ClearMapTrap AddMapTrap KickOutSelf SetFreezeFlag SetBeSpreadFlag GetBeSpreadFlag EnableDeleteWaitFlag EnableDeleteImmedFlag ExitGame ApplyIndemnitor GetLevel GetAwardLevel SetLevel LevelUp SetPlayerStatus SetStrength SetDexterity SetVitality SetEnergy SetObserve ResetProperty AddProp Restore RestoreNeili RestoreStamina RestoreAll GetPlayerGenre SetPlayerGenre GetPlayerRoute SetPlayerRoute GetPlayerFaction SetPlayerFaction GetLife GetNeili GetMaxLife GetMaxNeili GetStamina PayStamina ModifyLife ModifyNeili SetFightState GetFightState GetFactionRepuLimit GetExp ModifyGoldenExp GetGoldenExp ThiExpTime CanEatXianLu ModifyExp CanModifyExp GetReputation ModifyReputation GetReputationLimit AddTitle RemoveTitle SetCurTitle GetCurTitle SetTitleTime AddTitleTime GetTitleTime IsTitleExist SetLockCurTitle AddPKValue GetPKValue SetZoomPKValue GetZoomPKValue SetCanRestorePK ModifyPopur GetPopurLimit GetPopur SetReadSpeed InsertAddenda CastState CastState2Npc RemoveState RemoveStateFromNpc RemvoeTempEffect RemvoeRevivalsTempEffect SyncCustomState GetWound SetWound CureWound DoubleExpTime DoubleExpCount GetEatDoubleCount DesaltPlayer GetAccount SaveNow UseSilver GetYinPiao AddYinPiao DecYinPiao RandomGenePic GetKillNpcNum GetPunishNum SetPunishNum GetLeftPunishTime GetLikeUsePluginNum GetAnswerErrorNum GetPrisonLeftTime SetPrisonLeftTime GetBePrisonedNum SetBePrisonedNum SetLeftPunishTime SetPunishFlagEnable GetNeedPrisonTime GetLastLoginTime GetLastLogoutTime GetCreateTime IsSleeping SetLeaveGameLapse GetPlayerServiceID GetIndexFromServiceID GetPlayerID CheckSpecialFlag SetSpecialFlag IsHaveState GetPlayerWorldRank GetMomentum SetMomentum SetMomentumBoundSwitch HaveLearnedSkill LearnSkill RemoveSkill GetSkillLevel LevelUpSkill GetLearningSkill AllowLearnSkill SetPopBoost DoFireworks SetLRSkill QueryCurrentSkill BlockSkill UnBlockSkill LimitSkill UnLimitSkill ClearStolenSkill SetDistTryGoCloserMaster LearnLifeSkill AbandonLifeSkill GetLifeSkillsNum GetJ2LifeSkillsNum SetLifeSkillMaxLevel GetLifeSkillLevel GetLifeSkillExp AddLifeSkillExp AddRecipe RemoveRecipe SetInGatherMap IsInGatherMap HasMainLifeSkill SetMainLifeSkill GetGatherToolNum GetMainLifeSkill GetMainLifeSkill2 GetAssistLifeSkill GetAssistLifeSkill2 HaveLearnRecipe GetLifeSkillMaxLevel AbradeDigTool IsFakeGathering StartFakeGathering StopFakeGathering IsTishenGatherExist GetTishenGatherItem CalcTishenGatherData GetCanGatherItemList GetUseableGatherSkillList StartTishenGather GetGatherSkillName GetFreeTishenGather UpdateTishenGatherInfo GetTishenGatherExp AddTishenGatherExp GetTishenGatherSkillID ChangeTishenGather AddTishenGatherTime EnchaseItem GetItemCount GetItemIndex DelItem Sale EpurateStone GetPlayerEquipInfo GetPlayerEquipIndex GetItemInfoByIndex UnEquipAtPosition AbradeWeapon AddStone Abrade ChangeItemDurability DropItem GetObjCount EnhanceItem AdvanceRepair LevelUpBook SetBookInfo FeedHorse GetFeedHorsePrice FillItemInPos GetAllItem UnLockAllItem BaguaCompose BaguaDepose KnifeStone LuckyEnhanceEquipment

UpgradeSwordCollectorEquipment ShowAwardWindow AddAward UpdateAward RemoveAward ComposeSilingMount ForbidEquipSolt GetForbidEquipSoltStatus SetPlayerRestrictions PutinItemBox GetPlayerItemIdxByID GetPutinItem SyncGuInsectNumInGuDing ListOfflineTradeItem AddOfflineTradeItem GetOfflineTradeItem OpenBox EnableBoxLock SetBoxPassword CancelBoxPassword LockBox UnlockBox ShowBoxState GetBoxUnlocking IsBoxLocking GetBoxLastLockElapseTime ChangeNpcToFight SummonNpc KillFollower GetFollower RemoveRevivals CreateNpc CreateNpcCorpse SetTargetPlayer SetNpcLifeTime SetNpcDir MedicNpcDeath CleanInteractive InteractiveEnable GetInteractivePlayerIndex SetCurrentNpcSFX GetNpcCountNear StallEnable ExercisePK IsPlayerNear UseScrollEnable AddSucess AddFail UseSkillEnable ClearFreeze IsFreeze GetUseSkillEnable RemoveNpcInSubworld GetNpcName OpenRankWindow OpenNewGatherWindow SetPlayerRebornParam GetPlayerRebornParam GetRebornParam PlayerReborn Msg2Player HeadMsg2Player FloatMsg2Player Msg2SomeOne NewWorld ChangeGroupWorld GetExchangeState DynamicLoadMap FreeDynamicMap GetMapLoadCount GetMapTemplate GetSameMaps LeavePrison Earn Pay PayVMoney GetVMoney GetCollectionCoin CostCollectionCoin EarnCollectionCoin GetPlayerCollectionData SetPlayerCollectionData GetCollectionName GetCollectionIndex PaySaveMoney PrePay DoMarry ModifyFriendliness OpenFriendliness GetExpScale GetBilling GetMaskStatus UseMask UseFlightList FlightToSite DoWait ReloadAllScript LoadScript SetPerfectRepairItem GetGameLoop GetTime GMMsg2Player SetChatFlag MakeSignCode ThrowIntoPrison AddOfflineLiveTime GetOfflineLiveTime OfflineLive IsOfflineLive IsStalling GetStallAdv IsGathering IsReading IsTraining IsDoingSomething SetGMSpecailState ActiveLiuShen ActiveSanqin DoScriptByName DoScriptByServiceID DoScriptByMapID ProgressSlot ProgressSlotCancle GmtNow ForceItemColdDownTime, LuaForceItemColdDownTime GetToNpcDamage GetToPlayerDamage GetToNpcDamageByName GetToPlayerDamageByName DelToNpcDamageByName DelToPlayerDamageByName ResetToNpcDamage ResetToPlayerDamage SetPlayerLoginPri GetPlayerLoginPri SetCampRelation SetCampToPlayer GetPlayerCampName SetCampToNpc GetNpcCampName CreateCamp MonitorCampRelation UnMonitorCampRelation GetTeamSize GetTeamMember GetCaptainName LeaveTeam GetPlayerDistance GetMemberFriendliness ForceJoinTeam CreateTeam GetTeamID GetTeamInfo GetTeamMemberInfo GetTeamMemberIndex SetTeamLeader SetTeamLootType SetTeamPKStatus SetTeamForbitType AddTeamMember DismissMember DisbandTeam Msg2Team ForbidRiding SetSelectState GetTask SetTask AddNote GetWorldTempTask SetWorldTempTask TaskTip RandomTaskTip RandomTaskTipEx SetNpcScript GetNpcScript SetPlayerScript CustomDataSave CustomDataRemove CustomDataRead CustomDataClear GetRealmType

AddRelayShareDataToSourceRealm

ApplyRelayShareDataInMatchRealm ApplyRelayShareDataInSourceRealm AddRelayShareData ModifyRelayShareData ApplyRelayShareData ClearRelayShareData GetRelayShareDataByKey GetRelayShareDataByIndex GetRelayShareDataSortType RemoveRelayShareDataByIndex RemoveRelayShareDataByKey DelRelayShareDataCopy

QueryAPlayerRenameRecordIsExist QueryATongRenameRecordIsExist TransInfo_ApplyBaseInfo TransInfo_ApplyCountByGroup TransInfo_ApplyCountInAccount TransInfo_ApplyRoleListInAccount TransInfo_ApplyTransfer TransInfo_FilterItem SetZhuanFuData RenameQuerySubmitedName RenameSubmit SelectRandomTask SelectFixTask QueryTaskFinish FinishTaskStep CleanTask GetIfDoingTask FillTaskValue TryCostStamina GetChainTaskStatus GetTaskTurns GetStep GetTaskContribute GetInfo GetTaskType GetTaskPrize GetCurTaskLinkMapIndex RepairAllChainTask StartFactionEvent FinishFactionEvent QueryFactionEventInfo GetTriggeringUnit GetUnitCurStates GetUnitBaseStates AddUnitStates CountGroupUnit AddGroupUnit DelGroupUnit ClearGroup AddUnitStatesByGroup SetGroupLifeTime ModifyNpcData GetMissionV SetMissionV GetMissionS SetMissionS OpenMission CloseMission StartMissionTimer StopMissionTimer GetMSRestTime GetMSIdxGroup OpenGlbMission RunGlbMission CloseGlbMission StartGlbMSTimer StopGlbMSTimer GetGlbMissionV SetGlbMissionV AddMSPlayer DelMSPlayer GetNextPlayer PIdx2MSDIdx MSDIdx2PIdx NpcIdx2PIdx PIdx2NpcIdx GetMSPlayerCount SetPMParam GetPMParam Msg2MSGroup Msg2MSAll Msg2MSPlayer SetDeathScript SetNpcDeathScript SetNpcRemoveScript SetGroupDeathScript Death GetLevelExp IsPlayerDeath IsOpenItemLock GetStrength GetDexterity GetEnergy GetObserve GetVitality GetAllStrength GetAllDexterity GetAllEnergy GetAllObserve GetAllVitality SetStrengthMaxAddOn SetDexterityMaxAddOn SetVitalityMaxAddOn SetEnergyMaxAddOn SetObserveMaxAddOn GetStrengthMaxAddOn GetDexterityMaxAddOn GetEnergyMaxAddOn GetObserveMaxAddOn GetVitalityMaxAddOn SetLogoutRV SetCreateTeam ForbidChangePK GetGameTime SetPKFlag GetPKFlag GetPKEnmityState ForbitTrade SetDeathPunish GetDeathPunish ForbidRead VoteForShiningNight EnterCatchLifeSkill QueryCatchLifeSkill GetLifeScrollInfo MakeALifeScroll GetMapNpcCount SetPlayerRevivalPos SetTempRevPos SetTempRevScript IdentifyAll GetAllIdentifyPrice EnterIdentify GameSpaceLogicSpeed SubWorldID2Idx SubWorldIdx2ID GetGlbValue SetGlbValue Msg2SubWorld Msg2Global GetGSStatus GetGSIndex GetPlayerPosition SetNpcActivator CancelNpcActivator SetPiPView ClosePiP CreateChannel DeleteChannel EnterChannel LeaveChannel WriteLog Msg2Faction Msg2Tong AskClientForNumber AskClientForString SendSpreaderCDKey GetExtPoint PayExtPoint AddExtPoint LogSetEnable LogSetLevel LogGetEnable LogGetLevel GetMateName GetMatePlayerIndex GetMateOnlineStatus IsDollActive ActivateDoll ReBuildBattleData ApplyCityWarData BuildCityWarData GetCityWarAD SetCityWarAttack SetCityWarWinner SetReviveCD SetCityWarCess CanGetArchiveBox GetCityWarMoney SetCityWarPlayerDuty GetCityWarInfo GetCityWarOpCD SetCityWarDutyFlag GetCityWarDutyFlag AddCityWarRevenue AddCityBoxCount GetCityBoxCount SetCityWarTask SetCityWarTaskAwardFlag ToBeMaster DisbandMaster TakeOnAMaster BetrayOnAMaster KickoutPrentice ChangeMasterWords PrecticeGraduate BuyLovefund GetLovefund MasterCreateTask PrenticeGetTask PrenticeCompleteTask Want2TakeOnAMaster GetMPBaseInfo FreeChangeTaskPoint ChangeTaskPoint MPUpdate QueryMailList ReceiveMail DelMail GetAttachments RemoveGSMailCache xxTestPaysysRet ChargeTimeUseCoin GetGoldCoin GetPlayerTmpInt SetPlayerTmpInt FirstPlayer NextPlayer MkTime GmTime GetLoginIP PlayMusic PlaySound StartTrainPet SetHorseEffect SendScript2Client SendScript2VM GetMapName BuildTmzTongData BuildTmzTongRankData UpdateTmzTongData UpdateTmzTongRankData AddStatValue OpenMissionAward MissionAwardSyncItem GetEquipShopGoodData GetEquipShopExchangeData AddPet DelPet ChangeModel2WorkingPet ForbitChangeModel MeridianRestore AwardGenuineQi MeridianUpdateLevel DoStartScriptCallBack SetSubSystemSwitch SetSpecialSwitch IsSubSystemOpen IsSpecialSystemOpen MeridianGetLevel MeridianGetNodeLevel MeridianGetLeftGenuineQiCapcity MeridianGetQiHai MeridianGetDanTian GetPetList LearnPetSkill ForgetPetSkill GetPetCount GetDailyTask SetDailyTask GetDailyTaskCount CheckAndDoRegularClear GetBookInfo GetVipLevel GetVipExp SetVipExp GetVipCost GetVipJinJuan ModifyJinJuan ModifyEnergy ModifyYinJuan AddRuntimeStat NvnHall_Enter NvnHall_Leave NvnHall_Clear NvnHall_CreateRoom NvnRoom_Enter NvnRoom_Leave NvnRoom_GetInfo NvnRoom_EndBattle P3v3_Enable P3v3_Join P3v3_StartARound P3v3_Enter P3v3_Leave P3v3_GetPlayers P3v3_GetTeams P3v3_SetBattleState P3v3_SetProgress P3v3_SetTimer P3v3_Msg2Player P3v3_Msg2All SetNpcDecorateEffect SyncNpcDecorateEffect SetNpcHorse BuildXvXRankData SendGlbDBData GetRouterGroupName IsRouterAlive GetXvxPlayerRank Update3v3RankData UpdateTongMeleeData AddPlayerToQueuing DelPlayerFromQueuing IsPlayerQueuing GetLoginTime StateChessPassTask StateChessReset StateChessRoundOver StateChessFinishGl StateChessFinishEv GetVipCardName GetVipCardStartTime GetVipCardEndTime GetVipCardTime ActivatingVipCard IsActivatedVipCard AddVipCardValue GetVipCardValue GetVipCardRemainTime GetVipCardIndex GetVipCardActivateTime GetVipCardParam GetVipCardLevel StartLuckyBox GetNpcTempData GetNpcTempDataByte GetNpcTempDataBit SetNpcTempData SetNpcTempDataByte SetNpcTempDataBit CountDownRevive GetCountDownData IsHaveTargetNpc AddLoaclTimeNews Goto GetSkillIdFromName LuaGetSkillLevel GM_TRADE LuaGetRelayShareDataByKeyName LuaGetRelayShareDataByIndex LuaGetRelayShareDataSortType LuaRemoveRelayShareDataByKey LuaRemoveRelayShareDataByIndex LuaModifyRelayShareData LuaAddRelayShareData LuaAddRelayShareDataToSourceRealm LuaDelRelayShareDataCopy LuaQueryATongRenameRecordIsExist LuaQueryAPlayerRenameRecordIsExist LuaClearRelayShareData LuaApplyRelayShareData LuaApplyRelayShareDataInSourceRealm LuaApplyRelayShareDataInMatchRealm LuaPlayerReborn FactionTaskPrize CreatorLevel BaseREQ CreatorCredit Money MoneyREQ ItemGenre ItemREQ ItemDetail ItemParticular ItemREQ2 AddLevel AddREQ AddCredit DestroyTong LeaveTong

Phần 3: Bật tắt server

Bật server thì: goddress->bishop->s3relay===> xong bật GS

./KG_BishopD query-gs-state ---?Kiểm tra người online

tat bishop->s3relay->goddress ==> cách tắt sever

Đây là cách cài đặt cho các bạn đã có server game Võ lâm 2 nhé! Các bạn nhớ theo dõi ITC sẽ đăng các bài về hướng dẫn fix lỗi game võ lâm truyền kỳ, sửa các lỗi bug game và chống DDoS cho game Võ lâm nhé.