Jump to content

Sirio

Premium
  • Posts

    81
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by Sirio

  1. Your bin reads only until SourceSkin2, you need to extend it. Go to GameLib\RaceDataFile.cpp and search: if (TextFileLoader.GetTokenString("sourceskin2", &strSourceSkin) && TextFileLoader.GetTokenString("targetskin2", &strTargetSkin)) { AppendShapeSkin(dwShapeIndex, 0, (strPathName + strSourceSkin).c_str(), (strPathName + strTargetSkin).c_str()); } add under it: if (TextFileLoader.GetTokenString("sourceskin3", &strSourceSkin) && TextFileLoader.GetTokenString("targetskin3", &strTargetSkin)) { AppendShapeSkin(dwShapeIndex, 0, (strPathName + strSourceSkin).c_str(), (strPathName + strTargetSkin).c_str()); } if (TextFileLoader.GetTokenString("sourceskin4", &strSourceSkin) && TextFileLoader.GetTokenString("targetskin4", &strTargetSkin)) { AppendShapeSkin(dwShapeIndex, 0, (strPathName + strSourceSkin).c_str(), (strPathName + strTargetSkin).c_str()); } You can add more if you want.
  2. In: game.py, introcreate.py, intrologin.py, introselect.py, uiselectmusic.py and uisystemoption.py search for "BGM/" and modify all of them in "pack/BGM/"
  3. local rnd = number(1, 10000) local rnd2 = number(1,3333333333333333333) You can change it from these 2 lines
  4. Follow this guide if you want your virtualbox machine as homeroot you'll need portmap too.
  5. For the source code for game and binary you could use this: (download visual studio 2013 to compile the binary source) and here is the tutorial to compile the game and db source:
  6. In char_skill.cpp, under: bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaster) { if (false == CanUseSkill(dwVnum)) return false; paste: int iArrayIndexSkill[] = {94, 95, 96, 109, 110, 111}; // skill index for (int iBuffSkill = 0; iBuffSkill < _countof(iArrayIndexSkill); iBuffSkill++) { if (iArrayIndexSkill[iBuffSkill] == dwVnum && pkVictim->GetMapIndex() == 26) // map index { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Say something.")); pkVictim = this; } } Not my code, but i forgot who it is.
  7. In input_login.cpp try to put under: ch->StartCheckSpeedHackEvent(); this: ch->SkillLevelPacket();
  8. Remove this from char_battle.cpp : if (iEmpire && iMapEmpire && iEmpire != iMapEmpire) { int percent = 10; if (184 <= lMapIndex && lMapIndex <= 189) { if (LC_IsYMIR() == true) percent = 7; else percent = 9; } else { if (LC_IsYMIR() == true) percent = 8; else percent = 9; } dam = dam * percent / 10; }
  9. Change the ip of adminpage_ip in your IP, localhost or 127.0.0.1 (in all configs) To setup the firewall you can see there: [Hidden Content] Or if your server provider allow you to setup a customized firewall then, block all the p2p_port from your config files
  10. You can block the p2p ports from firewall or be sure that in your CONFIG files there is ADMINPAGE_IP: localhost (or simply your ip)
  11. in uiexchange.py change these 2 lines: net.SendExchangeElkAddPacket(str(money)) with this: net.SendExchangeElkAddPacket(money)
  12. I suggest you to use notepad2 next time. [Hidden Content] [Hidden Content]
  13. You must find the 16 exadecimals of xtea and lzo (this are the default key, you must find yours) like this (i use HxD) and then put it in the python file i gave you before
  14. Do you have Shoulder Sash system?
  15. command("costume b") -- for body command("costume h") -- for hair
  16. Try this if (pItem->GetSubType() == CItemData::WEAPON_SWORD) { DWORD vnum = pItem->GetIndex(); if (vnum == 60299) { __ClearWeaponRefineEffect(); m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED7 + refine - 7; m_swordRefineEffectRight = EFFECT_REFINED + EFFECT_SWORD_REFINED_SPECIAL1; //effect 24 sword effect } }
  17. In mob_proto into the resurrection_vnum column, put the vnum of the mob you want to spawn.
  18. Download not avaliable, could you upload on mega please?
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.