Last edited by IDemon; 05-08-11 at 08:22 AM.
Hello RZI'm want to share some offsets and OBJECTSTRUCT for Normal Gameserver. Perhaps not all right in objectstruct, but most of the true and tested. Thanks all
Credits:Code:#define OBJECT_BASE 0xE534ED8 #define OBJECT_SIZE 0x17B0 #define OBJECT_MIN 0x2EE0 #define OBJECT_MAX 0x32C8 typedef struct OBJECTSTRUCT { /*<thisrel this+0x0>*/ /*|0x2|*/ short m_Index; //ПРАВИЛЬНО /*<thisrel this+0x4>*/ /*|0x4|*/ int Connected; /*<thisrel this+0x8>*/ /*|0x7|*/ char unkNown[0x7]; // EMPTY /*<thisrel this+0xF>*/ /*|0x4|*/ unsigned int m_socket; /*<thisrel this+0x13>*/ /*|0x16|*/ char Ip_addr[16]; /*<thisrel this+0x23>*/ /*|0x2F|*/ char unkNown2[0x2F]; // EMPTY /*<thisrel this+0x52>*/ /*|0xb|*/ char AccountID[11]; // char szAccountName[11]; /*<thisrel this+0x5D>*/ /*|0xb|*/ char Name[11]; // char szCharacterName[11]; /*<thisrel this+0x69>*/ /*|0xe|*/ char LastJoominNumber[14]; /*<thisrel this+0x77>*/ /*|0x15|*/ char unkNown3[0x15]; // EMPTY /*<thisrel this+0x8B>*/ /*|0x2|*/ unsigned short Class; //ПРАВИЛЬНО /*<thisrel this+0x8D>*/ /*|0x2|*/ unsigned char DbClass; //ПРАВИЛЬНО /*<thisrel this+0x8F>*/ /*|0x2|*/ short Level; //ПРАВИЛЬНО /*<thisrel this+0x91>*/ /*|0x2|*/ short LevelUpPoint; //ПРАВИЛЬНО /*<thisrel this+0x93>*/ /*|0x4|*/ int iFruitPoint; /*<thisrel this+0x97>*/ /*|0x4|*/ unsigned long Experience; //ПРАВИЛЬНО /*<thisrel this+0x9B>*/ /*|0x4|*/ unsigned long NextExp; //ПРАВИЛЬНО /*<thisrel this+0x9F>*/ /*|0x4|*/ int Money; //ПРАВИЛЬНО /*<thisrel this+0xA3>*/ /*|0x2|*/ short Strength; //ПРАВИЛЬНО /*<thisrel this+0xA5>*/ /*|0x2|*/ short Dexterity; //ПРАВИЛЬНО /*<thisrel this+0xA7>*/ /*|0x2|*/ short Vitality; //ПРАВИЛЬНО /*<thisrel this+0xA9>*/ /*|0x2|*/ short Energy; //ПРАВИЛЬНО /*<thisrel this+0xAB>*/ /*|0x2|*/ short Leadership; //ПРАВИЛЬНО /*<thisrel this+0xAE>*/ /*|0x4A|*/ char unkNown4[0x4A]; // EMPTY /*<thisrel this+0xF8>*/ /*|0x1|*/ unsigned char Dir; //ПРАВИЛЬНО /*<thisrel this+0xF9>*/ /*|0x1|*/ unsigned char MapNumber; //ПРАВИЛЬНО /*<thisrel this+0xFA>*/ /*|0x2B|*/ char unkNown5[0x2B]; /*<thisrel this+0x125>*/ /*|0x2|*/ short X; //ПРАВИЛЬНО /*<thisrel this+0x127>*/ /*|0x2|*/ short Y; //ПРАВИЛЬНО /*<thisrel this+0x129>*/ /*|0x1|*/ unsigned char StartX; /*<thisrel this+0x12A>*/ /*|0x1|*/ unsigned char StartY; /*<thisrel this+0x12B>*/ /*|0x2|*/ short m_OldX; /*<thisrel this+0x12D>*/ /*|0x2|*/ short m_OldY; /*<thisrel this+0x12F>*/ /*|0x2|*/ short TX; //?! /*<thisrel this+0x131>*/ /*|0x2|*/ short TY; //?! /*<thisrel this+0x133>*/ /*|0x139|*/ char unkNown46[0x137]; // EMPTY /*<thisrel this+0x26C>*/ /*|0x4|*/ int GuildNumber; /*<thisrel this+0x270>*/ /*|0x4|*/ /*struct _GUILD_INFO_STRUCT* lpGuild;*/ int lpGuild; /*<thisrel this+0x274>*/ /*|0x8|*/ char GuildName[8]; //ПРАВИЛЬНО /*<thisrel this+0x27C>*/ /*|0x4|*/ int GuildStatus; /*<thisrel this+0x280>*/ /*|0x4|*/ int iGuildUnionTimeStamp; /*<thisrel this+0x284>*/ /*|0x4|*/ int m_RecallMon; /*<thisrel this+0x288>*/ /*|0x4|*/ int m_Change; /*<thisrel this+0x28C>*/ /*|0x2|*/ short TargetNumber; //ПРАВИЛЬНО /*<thisrel this+0x28E>*/ /*|0x2|*/ short TargetShopNumber; //ПРАВИЛЬНО /*<thisrel this+0x28F>*/ /*|0x9A4|*/ char unkNown47[0x9A4]; // EMPTY /*<thisrel this+0xC33>*/ /*|0x4|*/ int m_IfState; //ПРАВИЛЬНО /* ------------------------- */ /*<thisrel this+0xaaa>*/ /*|0x4|*/ unsigned long m_InterfaceTime; //- &gObj->pInventory 0x12a9b510 CItem * * /*<thisrel this+0xC37>*/ /*|0x4| class CItem* pInventory; */ ITEMSTRUCT* pInventory; /*<thisrel this+0xC3B>*/ /*|0x4|*/ unsigned char* pInventoryMap; /*<thisrel this+0xC3F>*/ /*|0x4|*/ char* pInventoryCount; /*<thisrel this+0xC43>*/ /*|0x1|*/ char pTransaction; //ПРАВИЛЬНО /*<thisrel this+0xC44>*/ /*|0x4| class CItem* Inventory1; */ ITEMSTRUCT* Inventory1; /*<thisrel this+0xC48>*/ /*|0x4|*/ unsigned char* InventoryMap1; /*<thisrel this+0xC49>*/ /*|0x1|*/ char InventoryCount1; /*<thisrel this+0xC4D>*/ /*|0x4|*/ class CItem* Inventory2; /*<thisrel this+0xC51>*/ /*|0x4|*/ unsigned char* InventoryMap2; /*<thisrel this+0xC52>*/ /*|0x1|*/ char InventoryCount2; /*<thisrel this+0xC56>*/ /*|0x4|*/ class CItem* Trade; /*<thisrel this+0xC5A>*/ /*|0x4|*/ unsigned char* TradeMap; /* ------------------------- */ /*<thisrel this+0xC5F>*/ /*|0x4|*/ int TradeMoney; //ПРАВИЛЬНО /*<thisrel this+0xC63>*/ /*|0x1|*/ unsigned char TradeOk; //0x4 походу /*<thisrel this+0xС67>*/ /*|0x4|*/ class CItem* pWarehouse; /*<thisrel this+0xС6B>*/ /*|0x4|*/ unsigned char* pWarehouseMap; /*<thisrel this+0xC6F>*/ /*|0x2|*/ short WarehousePW; /*<thisrel this+0xC71>*/ /*|0xE|*/ char unkNown1000[0xE]; // EMPTY /*<thisrel this+0xC7F>*/ /*|0x4|*/ int WarehouseMoney; //ПРАВИЛЬНО /*<thisrel this+0xC83>*/ /*|0x4|*/ int WarehouseSave; /*<thisrel this+0xC87>*/ /*|0x4A|*/ char unkNown48[0x4A]; // EMPTY /*<thisrel this+0xCD1>*/ /*|0x1|*/ unsigned char m_bPShopOpen; //ПРАВИЛЬНО /*<thisrel this+0xCD2>*/ /*|0x1|*/ unsigned char m_bPShopTransaction; /*<thisrel this+0xCD3>*/ /*|0x1|*/ unsigned char m_bPShopItemChange; /*<thisrel this+0xCD4>*/ /*|0x1|*/ unsigned char m_bPShopRedrawAbs; /*<thisrel this+0xCD5>*/ /*|0x24|*/ char m_szPShopText[36]; //ПРАВИЛЬНО /*<thisrel this+0xCF9>*/ /*|0xA4E|*/ char unkNown49[0xA4E]; // EMPTY /*<thisrel this+0x1747>*/ /*|0x2|*/ bool bIsVip; /*<thisrel this+0x1749>*/ /*|0x66|*/ char unkNown50[0x66]; // EMPTY } OBJECTSTRUCT;
WebZen company
SCFMT
8BitCore for research
If you dont have a router then you dont need portforwarding either. Configure your firewall to allow all in-out connection
for serverfiles. Thats it. :)
You need change/write in your IP in this files.:
ConnectServer\Data\bor_serverlist.dat
Replace "YOUR_IP" whit your global ip. Keep quotationmarks.Code://--------------------------------------------------------------------------- // MU Server List // MU ConnectServer by S@nek © Copyright 2007-2009 // In one Server can be a maximum 16 Sub-Servers. (16 visibles) //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- // GameServerID | NameServer | IP | Port | Status(SHOW, HIDE) //--------------------------------------------------------------------------- // 0-65535 | 0-30 characters | 0-16 characters | 0-65535 | SHOW/HIDE //--------------------------------------------------------------------------- 0 "PVP" "YOUR_IP" 55901 "SHOW" 19 "PVP" "YOUR_IP" 55919 "HIDE"
Data\mapserverinfo.dat
Replace "YOUR_IP" whit your global IP. Keep "S" before it.Code://============================================================================== //Map Server Infomation File [KOR] //#www.darksideofmu.com //by DaRKav (darkav@hotmail.com) //------------------------------------------------------------------------------ //Revision 2 Mar, 2008 //============================================================================== // 1> . ─Ż┬ş─ů├Â┼ö├ç IP, ─ć├Ě─ć┬«├ü┬Ą┼č┬Ş (┬░┼Ö┼ö├ÄIP, ─ć├Ě─ć┬«─ů┼Ö─î┼ü ┬Ş┬Ş ┬╗├ž┼╝├ź┬░╦ç┬┤├ë) // // P.S.> InitSetting (─é├ľ─é─ś ┬Ş─ś┼ö─Ü┬Á┼╝ ├ü┬Ą┼č┬Ş ─Ż─Ż─ć─é┬░┼×) ┼ö├ç ┬░┼×┼ö├ç ┼ö├ç─ů─Ü // -1 : ├ü╦ś─Ż├ô┼č┼ç┬░╦ç - ├ü╦ś─Ż├ô┬░╦ç┬┤├ë├ç┼â ─é├ľ─é─ś─Ż┬ş─ů├Â┬Ě├Ä ├ü╦ś─Ż├ô // 0 : ├ü╦ś─Ż├ô┼č┼ç┬░╦ç - ├ü╦ś─Ż├ô┬░╦ç┬┤├ë├ç┼â ─Ż┬ş─ů├ ├ü├č ┬Ě┼ü┬┤├Ż├ç─Ä┬░├ö ├ü╦ś─Ż├ô // 1 : ├ü╦ś─Ż├ô┬░╦ç┬┤├ë // // ServerCode MapServerGroup InitSetting IpAddress PortNum //----------------------------------------------------------------------------- 0 // Normal Servers 0 0 1 SYOUR_IP 55901 //[Main] 19 0 0 SYOUR_IP 55919 //[Castle] end // 2> . ─Ż┬ş─ů├Â┼ö├ç ┬Ş─ś ┼ö─Ü┬Á┼╝ ┼č┼ç┬░╦ç┬┤├ë ├ü┬Ą┼č┬Ş (┼ö┬ž┼ö├ç ─Ż┬ş─ů├Â├ü┬Ą┼č┬Ş┼╝╦ç ─ż┼Ö┬┤├é ─Ż┬ş─ů├Â┬┤├é ┬Á├«┬Ě─Ä┬Á├ë ─Ż├ ─ż┼Ö┼ö╦Ł) // // ServerCode MoveAbleOption Map DestServerCode //----------------------------------------------------------------------------- 1 // Normal Servers 0 0 30 19 //Lorren 0 0 31 19 //DareDevil 0 0 34 19 //CryWolf 0 0 41 19 //Barraks 0 0 42 19 //Refuge // Castle Siege Servers 19 1 30 0 //Lorren 19 1 31 0 //DareDevil 19 1 34 0 //CryWolf 19 1 41 0 //Barraks 19 1 42 0 //Refuge end
SUploader\config.ini (Just added what u need to change.)
Replace "YOUR_IP" whit your global ip. Keep "ca" before it.Code:[Program 6] Path=D:\MuServer\JoinServer\JoinServer.exe Arguments=/p55970 /caYOUR_IP /cp55557 WaitSeconds = 1 RestartAfterMinutes = 0
All IPs like 127.0.0.1 in dataservers case 127 0 0 1 255 is staying the same.
Now to your sql pass:
EventServer\DATA\svconfig.ini
Replace "YOUR_SQL_PASS" whit your sql password.Code:[pim_setting] queue_no = 4 workerthread_no = 4 [odbc_connection] mu2003_dbname = MU2003_EVENT_DATA mu2003_dsn = MU2003_EVENT_DB mu2003_uid = sa mu2003_pass = YOUR_SQL_PASS
ExDB\exdb.ini
Replace "YOUR_SQL_PASS" whit your sql password. Keep qoutationmarks.Code:// ExDataServerInfo // ID, Password, Version, MaxFriend, MaxMail "sa" "YOUR_SQL_PASS" 1 50 50
SCFExDB\Config.ini
Replace "YOUR_SQL_PASS" whit your sql password. Keep a space before it.Code:[Connection] ServerODBC = MuOnline Port = 55999 Name = MuOnline NameMe = MuOnline NameRS = Ranking NameES = MU2003_EVENT_DATA Login = sa Password = YOUR_SQL_PASS
For queryinstaller and vmanager I think you will figure out. :D
---------- Post added at 08:31 PM ---------- Previous post was at 08:14 PM ----------
Oh come on, Its on first page.
Dont make us repeat ourselfs.
Last edited by d4nt3; 05-08-11 at 10:21 PM.
I use Avira. ^^. I cant remove that trojan from GameServer.exe, JoinServer.exe, EXDB.exe. Maybe we "live with it". :D
Some information about that:
Virus or unwanted program 'TR/Crypt.EPACK.Gen2 [trojan]'
detected in file 'D:\MuServer\SubServerNPVP\GameServer\GameServer.exe.
--> this trojan can steal personal information
dowload not be main.exe
Address client does not corrupted
Last edited by bistro007; 07-08-11 at 12:20 PM.
No ideas how to fix wings visual bug in BC?
who have setup this server? And have working fine ?
Finaly i finish setup this files and it work like a charm for now :)
I finaly use server 2003 R2 SP2 enterprise edition with sql 2005.
Every server configure separatly: 1Nopvp, 2PVP, 3CS.
Problems in my way:
1.I had a little dificulty with sacred items, because they must be added in client,and server files.
2.With new ancient - u can't use them. I will setup them properly.
3.Data Server Crahs and strange copy error (48,1440..etc) was fixed with a carfuly reset the server files.
4.Gs crash the server just close down with no errors - is because of the monstersetbase.txt, if u change it to original you will not have problems anymore.
5.Startup mulauncher files - i use startup 1.2.8 setup everything exept scfexdb and database shorcut.
6.Boxes drop not corectly - fix that to.
7.The skills are messed up, and expecialy the summ. You will have to redo them and the class, because you will get L2-skill error in the gs.log.
8.And meny other things...
About Monstersetbase.txt i posted on help to, but if is about this files i will post here to, maybe somebody have a solution or an opinion:
I am testing the titanstech 10.07.65 files and i have a strage problem with MonsterSetBase.txt
The problem is when i add spots and make all things ok, and i know how to add spots and npc. I work carefuly, and triple check if everything is ok...
After i finish to add all things, the GS close by himself after 15/30/60 min with no error. But i didint realise that Monstersetbase cpund be the problem because i changed a lot of things.
I discover this by trying to change all the files in mu, by changing OS, sql, every posible way i tryed.
Afther i changed the MonsterSetBase to his original...voila now the server do not close byhimself and everything is ok.
2 days this problem was buzing me and i thot that i`m going mad if i dont fix this.
What could be rong?
1. I dont hnik i added to much spots.
2. The txt have a size limit?
3. I edit with notepad, should i use notepad++ asci or unicode?
4. Why is manifesting in this way?
5. How can i modify the monsersetbase if any major modification will crash my GS server?
I read all the guides about understanding moster.txt and monstersetbase.txt but al those things i already knowed, so now i donno how to modify this txt without GS crash.
The only option will be to change pice by pice on a test server and see if it crashes.
Anybody know a solution for this?
i think there is no solution... i do all configs again and again... there are no errors when gs started... (added summoner field in accountcharacter table, change ecperience to bigint in character table, added all missing tables and procedures: WZ_PeriodItemUpdate, WZ_PeriodItemSelect, WZ_PeriodItemInsert, WZ_PeriodItemDelete, T_PeriodItem_Info table, added QWERLevel and Rkey fields in optiondata table... and many more fixes) but gameserver still crush every 3-4 hours with more than 15 ppl on... sad sad sad (btw, im running win2003 x64, mssql2000)
I will sugest you Server 2003 x86 SP1 R2 or without or Server 2003 SP2 R2 x86 and SqlServer2005 (the 2000 is a little outdated).
And use the db from latest pack.
Now i use Server2003 x86 R2 SP2 Enterprise Edition latest updates, and Sql Server 2005 Enterprise Advanced. And i belive is the best for Mu. I even tryed 2008 with 2008, and all configuration posible for dedicated machine.
I fixed That tables you sayd, not all of them...
Are you talking about dataserver crash? That it stay on standbymode and not turn active, ppl cant logon, save is not made, mobs drop zen...etc...
Because it happen to me to only when i have lots of ppl on.
Or Your GS just close by himself?
If you want to find a solution post more detalies about the crash, and maybe somebody who had that problem will help you.
Last edited by andreiehh; 08-08-11 at 08:21 PM.
I have a problem like this:
The higher the reset on characters the less he gets exp.
set reset 0. Exp increased, prescribed 25 res
Exp fell heavily
How can I fix it.
Sorry my bad English