Jump to content

LeMinou

Member
  • Content Count

    6
  • Joined

  • Last visited

About LeMinou

  • Rank
    Junior Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. LeMinou

    [Release] Change start Location [GU; 2.2.3.2]

    Honestly i have tried, i really have no experience with visual basic but i would like to try anyway. So i was able to compile the yorozuya, and i added a template that comes with it for addons. Than i made a startinglocation.cpp and added in the following code: #include "stdafx.h" #include "StartingLocation.h" #include "../../Common/ETypes.h" #include "../../Common/Helpers/RapidHelper.hpp" #include <ATF/global.hpp> namespace GameServer { namespace Addon { void CAddon::load() { CMapData* CMapOperation::GetPosStartMap(char byRaceCode, bool bRand, float *pfoutPos) { CMapData *result; CMapData* pMapData; int pPos = -1; switch (byRaceCode) { case 0: {pPos = 0; break; } case 1: {pPos = 1; break; } case 2: {pPos = 2; break; } } if (!bRand) { pMapData = GetStartMap(byRaceCode); if (pMapData->GetRandPosInDummy(pMapData->m_pStartDummy[0].m_pDumPos, pfoutPos, 1)) { result = pMapData; } else { result = 0i64; } } else { pMapData = GetStartMapEx(byRaceCode); if (pMapData->GetRandPosInDummy(pMapData->m_pStartDummy[pPos].m_pDumPos, pfoutPos, 1)) { result = pMapData; } else { result = 0i64; } } if (!pMapData) { return 0i64; } return result; } } void CAddon::unload() { cleanup_all_hook(); } Yorozuya::Module::ModuleName_t CAddon::get_name() { static const Yorozuya::Module::ModuleName_t name = "<todo>"; return name; } void CAddon::configure(const rapidjson::Value & nodeConfig) { CMapData * CMapOperation::GetStartMapEx(char byRaceCode) { _map_fld *pMap_fld; int nMapRecordNum = m_tblMapData.GetRecordNum(); for (int dwIndex = 0; dwIndex < nMapRecordNum; ++dwIndex) { pMap_fld = m_tblMapData.GetRecord(dwIndex); if (pMap_fld->m_dwIndex == g_ModOptional->nMapIndex_StartLoc) { return &m_Map[dwIndex]; } } return 0i64; } CMapData *CMapOperation::GetStartMap(char byRaceCode) { _map_fld *pMap_fld; int nMapRecordNum = m_tblMapData.GetRecordNum(); for (int dwIndex = 0; dwIndex < nMapRecordNum; ++dwIndex) { pMap_fld = m_tblMapData.GetRecord(dwIndex); if (pMap_fld->m_nRaceVillageCode == (unsigned __int8)byRaceCode) return &this->m_Map[dwIndex]; } return 0i64; } } } } Now i know this is not going to work like this, could you give me any pointers to how to get this to work? Thanks a lot again for your time, really just want to learn and put up a creative server EDIT: I have no problem donating some money to your paypal to get this fixed too, i know time is valuable and nothing is for free
  2. LeMinou

    [Release] Change start Location [GU; 2.2.3.2]

    Well i assume i need a modules 2.2.3.2 source code for this to work, but cannot find any working links anymore. Not really sure how i could make use of this without that, maybe i am missing something. Thanks for taking the time to reply
  3. LeMinou

    [Release] Change start Location [GU; 2.2.3.2]

    Any chance you could explain a bit more? I really wanna learn but just cant find enough info to figure these things out myself. We tried to edit starting location in the map folder as someone suggested but i dont think that is even possible, and i assume for this type of edit we would need like the module source code but all links are broken. Thanks either way for sharing
  4. LeMinou

    Developer Launcher - Binary & Source Code

    How would i go about adding something like this as a auto-updater? https://github.com/S0me1ne/Simple-Updater Edit: Thanks for this launcher btw! I will try figure out how to get this working with the wyupdate
  5. LeMinou

    Setup RF Web Emulator with AppServ #1

    Kinda confused as to what my problem is, i got everything working except the launcher, it just closes when i start it up, i tried a few different files and guides, cant seem to figure out where i am going wrong. This is what the appserv shows: [Sun Aug 11 17:55:30 2019] [warn] NameVirtualHost 127.0.0.1:80 has no VirtualHosts [Sun Aug 11 17:55:30 2019] [warn] NameVirtualHost 127.0.0.1:8080 has no VirtualHosts [Sun Aug 11 17:55:30 2019] [warn] NameVirtualHost 127.0.0.1:10007 has no VirtualHosts And this is from the netlog folder after booting rf.exe (which closes) Configdata.txt 08/11/19 18:04:22: Create Log File 08/11/19 18:04:22: Config data URL : http://127.0.0.1:8080/update.dll?0 08/11/19 18:04:22: Success download file : serverConfig.dat 08/11/19 18:04:22: Config data file name : Update/ServerConfig.dat 08/11/19 18:04:22: [Not Use updatecfg.dat]Config data file URL : http://127.0.0.1:8080/Update/ServerConfig.dat 08/11/19 18:04:22: Success download file : serverConfig.dat 08/11/19 18:04:22: Number of login server: 2 08/11/19 18:04:22: Number of patch server: 2 08/11/19 18:04:22: [0] Save login server IP: 127.0.0.1 08/11/19 18:04:22: [1] Save login server IP: 127.0.0.1 08/11/19 18:04:22: Select Login Server : 1 08/11/19 18:04:22: [0] Save patch server IP: 127.0.0.1 08/11/19 18:04:22: [1] Save patch server IP: 127.0.0.1 08/11/19 18:04:22: Select Patch Server : 1 08/11/19 18:04:22: ConfigData Ok LauncherManager.txt 08/11/19 18:04:21: Create Log File 08/11/19 18:04:21: Create Log File 08/11/19 18:04:21: Use FileGuard 08/11/19 18:04:22: Use PatchFireWall 08/11/19 18:04:22: Use CRC Check 08/11/19 18:04:22: Sun Aug 11 18:04:22 2019 08/11/19 18:04:22: SetLoginArea 0 08/11/19 18:04:22: Launcher Version : Log_RF.exe | File 2019 8 11 18 2 08/11/19 18:04:22: Version : 4 08/11/19 18:04:22: Launcher Patch Server Area : 0 08/11/19 18:04:22: Launcher Patch ServerIP : 127.0.0.1 08/11/19 18:04:22: Launcher Patch ServerURL : http://127.0.0.1:80/update.dll?4 08/11/19 18:04:22: Success download file : update.dat 08/11/19 18:04:22: Number of files : 2 08/11/19 18:04:22: Version of new launcher : 4 08/11/19 18:04:22: [Not Use updatecfg.dat]Number of patch server : 1 08/11/19 18:04:22: Rnadom select index : Server1 08/11/19 18:04:22: Patch Server IP : http://127.0.0.1:80/ 08/11/19 18:04:22: Download file URL: http://127.0.0.1:80/Update/ServerConfig.dat 08/11/19 18:04:22: Success download file : .\ServerConfig.dat 08/11/19 18:04:22: Save new version to R3Engine : 4
  6. LeMinou

    Setup RF Web Emulator with AppServ #1

    Kinda confused as to what my problem is, i got everything working except the launcher, it just closes when i start it up, i tried a few different files and guides, cant seem to figure out where i am going wrong. This is what the appserv shows: [Sun Aug 11 17:55:30 2019] [warn] NameVirtualHost 127.0.0.1:80 has no VirtualHosts [Sun Aug 11 17:55:30 2019] [warn] NameVirtualHost 127.0.0.1:8080 has no VirtualHosts [Sun Aug 11 17:55:30 2019] [warn] NameVirtualHost 127.0.0.1:10007 has no VirtualHosts And this is from the netlog folder after booting rf.exe (which closes) Configdata.txt 08/11/19 18:04:22: Create Log File 08/11/19 18:04:22: Config data URL : http://127.0.0.1:8080/update.dll?0 08/11/19 18:04:22: Success download file : serverConfig.dat 08/11/19 18:04:22: Config data file name : Update/ServerConfig.dat 08/11/19 18:04:22: [Not Use updatecfg.dat]Config data file URL : http://127.0.0.1:8080/Update/ServerConfig.dat 08/11/19 18:04:22: Success download file : serverConfig.dat 08/11/19 18:04:22: Number of login server: 2 08/11/19 18:04:22: Number of patch server: 2 08/11/19 18:04:22: [0] Save login server IP: 127.0.0.1 08/11/19 18:04:22: [1] Save login server IP: 127.0.0.1 08/11/19 18:04:22: Select Login Server : 1 08/11/19 18:04:22: [0] Save patch server IP: 127.0.0.1 08/11/19 18:04:22: [1] Save patch server IP: 127.0.0.1 08/11/19 18:04:22: Select Patch Server : 1 08/11/19 18:04:22: ConfigData Ok LauncherManager.txt 08/11/19 18:04:21: Create Log File 08/11/19 18:04:21: Create Log File 08/11/19 18:04:21: Use FileGuard 08/11/19 18:04:22: Use PatchFireWall 08/11/19 18:04:22: Use CRC Check 08/11/19 18:04:22: Sun Aug 11 18:04:22 2019 08/11/19 18:04:22: SetLoginArea 0 08/11/19 18:04:22: Launcher Version : Log_RF.exe | File 2019 8 11 18 2 08/11/19 18:04:22: Version : 4 08/11/19 18:04:22: Launcher Patch Server Area : 0 08/11/19 18:04:22: Launcher Patch ServerIP : 127.0.0.1 08/11/19 18:04:22: Launcher Patch ServerURL : http://127.0.0.1:80/update.dll?4 08/11/19 18:04:22: Success download file : update.dat 08/11/19 18:04:22: Number of files : 2 08/11/19 18:04:22: Version of new launcher : 4 08/11/19 18:04:22: [Not Use updatecfg.dat]Number of patch server : 1 08/11/19 18:04:22: Rnadom select index : Server1 08/11/19 18:04:22: Patch Server IP : http://127.0.0.1:80/ 08/11/19 18:04:22: Download file URL: http://127.0.0.1:80/Update/ServerConfig.dat 08/11/19 18:04:22: Success download file : .\ServerConfig.dat 08/11/19 18:04:22: Save new version to R3Engine : 4
×
×
  • Create New...