Jump to content

Zonni

Premium
  • Posts

    165
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by Zonni

  1. You changed this line? if (g_szPublicIP == "192.x.x.x") {Sorry for dumb question but sometimes human makes stupid mistakes @Edit Moreover, you called somewhere this function?
  2. It's skill window i guess. And... in my opinion skills initially was like in wow.
  3. Query("INSERT INTO fish_log%s VALUES(NOW(), %u, %d, %u, %d, %u, %u, %u)", get_table_postfix(), dwPID, prob_idx, fish_id, fish_level, dwMiliseconds, dwVnum, dwValue); Set your column name to the right. 1 -> datatime 2 -> player_id 3 -> prob_idx 4 -> fish_id 5 -> fish_level 6 -> miliseconds (unix timestamp) 7 -> vnum 8 -> value
  4. Then find function which making accept to pvp? It's really so hard to think? Okey, I describe to you way. You must code this. When player accept PVP using TPacketGCPVP. This packet is good described in pvp.cpp in function CPVP::Packet. What you should do? Send this packet OMG. TPacketGCPVP pack; pack.bHeader = HEADER_GC_PVP; pack.bMode = PVP_MODE_FIGHT; pack.dwVIDSrc = me; pack.dwVIDDst = oponent; As i said. This is only way. You can find another PVP modes in packet.h -> EPVPModes
  5. Of course you can use VS2008 compiler in other VS versions.
  6. My own. Mainline source. Novaline client. Without revision because its only fixed mainline.
  7. Where's error? Try to change your lib directory for correct to your python version.
  8. Seriously man? Count inventory slots. You must edit couple things more to get this 2 systems working.
  9. M2 Download Center Download Here ( Internal ) Usage: GrannyConverter directory true/false choose true to save old gr2 file as file_old.gr2 choose false to delete old gr2 file GrannyConverter can be used for convert granny files with file format revision 6 to file format revision 7 (used by granny 2.9) You can start "run_gc.bat" to test File Format converting with test directory.
  10. That's quite easy. Just find function which run when character get killed. In there you must add quest event which handle death like kill. Sorry but i can't give you better explanation
  11. I red this book half year ago and i must say one thing. Seriously improve your ability to think like woman. Based in my experience this can be usefull in hooking up with girls
  12. iMer's libgame item2.get_attr() & item2.set_attr() int tItem2::get_attr(lua_State* L){ CItem* item = CQuestManager::instance()->GetCurrentItem(); if (!lua::IsNumber(L,1)||!item){ return 0; } int attr_index = lua::ToNumber(L,1); if (attr_index <0 || attr_index > 6){ return 0; } TPlayerItemAttribute attr=item->GetAttribute(attr_index); lua::PushNumber(L,attr.bType); lua::PushNumber(L,attr.sValue); return 2; } int tItem2::set_attr(lua_State* L){ CItem* item = CQuestManager::instance()->GetCurrentItem(); if (!lua::IsNumber(L,1)||!lua::IsNumber(L,2)||!lua::IsNumber(L,3)||!item){ lua::PushBoolean(L,0); return 1; } int attr_index = lua::ToNumber(L,1); if (attr_index <0 || attr_index > 6){ lua::PushBoolean(L,0); return 1; } item->SetForceAttribute(attr_index,lua::ToNumber(L,2),lua::ToNumber(L,3)); lua::PushBoolean(L,1); return 1; }
  13. Silly boy, you don't look into syserr & syslog? Firstly look into them, secondly compile your own server core. After that steps you can kick out your friend because his work don't look good if server started with vanilla's core works. BETTER! Your friend is stealer. What console's saying in 0:44? "Ro-zone.com blah blah blah (something about loading items/mobs from database)" Lame. Um, seriously. That's iMer code, i don't think that your friend is so smart to code whole function.
  14. um. That's OK but when we work on large numbers we can have badly suprises
  15. I'm using novaline client. But when i changed to mainline_sg client error disappear. So, is good to use mainline_sg client with mainline server? @Edit: my solution - i changed my client to novaline's and error's gone.
  16. I simply changed Visual Studio to 2008 SP1 and error disappeared.
  17. Hello everyone, i can't move on in modifying source because i have one really bad error. I can fix mostly of source errors, but in past i never have any kind of this error . So, can someone help me? This is my log: Linking... cryptlib-5.6.1MT.lib(integer.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance InstanceBase.obj : error LNK2001: unresolved external symbol "public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z) PythonPlayerModule.obj : error LNK2001: unresolved external symbol "public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z) PythonNetworkStreamPhaseGameActor.obj : error LNK2001: unresolved external symbol "public: long __thiscall CItemData::GetValue(char)const " (?GetValue@CItemData@@QBEJD@Z) InstanceBase.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CMapManager::isAttrOn(float,float,char)" (?isAttrOn@CMapManager@@QAE_NMMD@Z) InstanceBaseBattle.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CMapManager::isAttrOn(float,float,char)" (?isAttrOn@CMapManager@@QAE_NMMD@Z) PythonPlayerSkill.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ) InstanceBase.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ) PythonItem.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ) PythonPlayerModule.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetSubType(void)const " (?GetSubType@CItemData@@QBEDXZ) PythonPlayerSkill.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) PythonNetworkStreamPhaseGame.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) PythonNetworkStreamPhaseGameActor.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) InstanceBase.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) PythonItem.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) PythonPlayerModule.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetType(void)const " (?GetType@CItemData@@QBEDXZ) InstanceBase.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CMapManager::isAttrOn(int,int,char)" (?isAttrOn@CMapManager@@QAE_NHHD@Z) PythonCharacterManagerModule.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CRaceData::SetMotionRandomWeight(unsigned short,unsigned short,unsigned short,char)" (?SetMotionRandomWeight@CRaceData@@QAE_NGGGD@Z) PythonCharacterManagerModule.obj : error LNK2001: unresolved external symbol "public: class CGraphicThing * __thiscall CRaceData::RegisterMotionData(unsigned short,unsigned short,char const *,char)" (?RegisterMotionData@CRaceData@@QAEPAVCGraphicThing@@GGPBDD@Z) PythonEffectModule.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CFlyingManager::RegisterIndexedFlyData(unsigned long,char,char const *)" (?RegisterIndexedFlyData@CFlyingManager@@QAE_NKDPBD@Z) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: char __thiscall CItemData::GetSize(void)const " (?GetSize@CItemData@@QBEDXZ) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: int __thiscall CItemData::GetLimit(char,struct CItemData::SItemLimit *)const " (?GetLimit@CItemData@@QBEHDPAUSItemLimit@1@@Z) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: int __thiscall CItemData::GetApply(char,struct CItemData::SItemApply *)const " (?GetApply@CItemData@@QBEHDPAUSItemApply@1@@Z) PythonItemModule.obj : error LNK2001: unresolved external symbol "public: long __thiscall CItemData::GetSocket(char)const " (?GetSocket@CItemData@@QBEJD@Z) PythonNonPlayer.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CLZO::Decompress(class CLZObject &,char const *,unsigned long *)" (?Decompress@CLZO@@QAE_NAAVCLZObject@@PBDPAK@Z) PythonSkill.obj : error LNK2001: unresolved external symbol "public: int __thiscall CTextFileLoader::GetTokenByte(class std::basic_string,class std::allocator > const &,char *)" (?GetTokenByte@CTextFileLoader@@QAEHABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAD@Z) MarkImage.obj : error LNK2001: unresolved external symbol "public: char * __thiscall CLZO::GetWorkMemory(void)" (?GetWorkMemory@CLZO@@QAEPADXZ) AccountConnector.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CEterPackManager::RegisterPack(char const *,char const *,char const *)" (?RegisterPack@CEterPackManager@@QAE_NPBD00@Z) UserInterface.obj : error LNK2001: unresolved external symbol "public: bool __thiscall CEterPackManager::RegisterPack(char const *,char const *,char const *)" (?RegisterPack@CEterPackManager@@QAE_NPBD00@Z) AccountConnector.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEterPackManager::RetrieveHybridCryptPackKeys(char const *)" (?RetrieveHybridCryptPackKeys@CEterPackManager@@QAEXPBD@Z) PythonNetworkStreamPhaseHandShake.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEterPackManager::RetrieveHybridCryptPackKeys(char const *)" (?RetrieveHybridCryptPackKeys@CEterPackManager@@QAEXPBD@Z) AccountConnector.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEterPackManager::RetrieveHybridCryptPackSDB(char const *)" (?RetrieveHybridCryptPackSDB@CEterPackManager@@QAEXPBD@Z) PythonNetworkStreamPhaseHandShake.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEterPackManager::RetrieveHybridCryptPackSDB(char const *)" (?RetrieveHybridCryptPackSDB@CEterPackManager@@QAEXPBD@Z) gamelib.lib(MapManager.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CMapOutdoor::GetAreaPointer(unsigned char,class CArea * *)" (?GetAreaPointer@CMapOutdoor@@QAEHEPAPAVCArea@@@Z) gamelib.lib(MapOutdoorRender.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CMapOutdoor::GetAreaPointer(unsigned char,class CArea * *)" (?GetAreaPointer@CMapOutdoor@@QAEHEPAPAVCArea@@@Z) gamelib.lib(MapManager.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall CMapOutdoor::isAttrOn(float,float,unsigned char)" (?isAttrOn@CMapOutdoor@@QAE_NMME@Z) gamelib.lib(MapManager.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall CMapOutdoor::GetAttr(float,float,unsigned char *)" (?GetAttr@CMapOutdoor@@QAE_NMMPAE@Z) gamelib.lib(MapManager.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall CMapOutdoor::isAttrOn(int,int,unsigned char)" (?isAttrOn@CMapOutdoor@@QAE_NHHE@Z) gamelib.lib(MapManager.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall CMapOutdoor::GetAttr(int,int,unsigned char *)" (?GetAttr@CMapOutdoor@@QAE_NHHPAE@Z) gamelib.lib(MapOutdoorRender.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CMapOutdoor::GetTerrainPointer(unsigned char,class CTerrain * *)" (?GetTerrainPointer@CMapOutdoor@@QAEHEPAPAVCTerrain@@@Z) gamelib.lib(MapOutdoorRenderHTP.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CMapOutdoor::GetTerrainPointer(unsigned char,class CTerrain * *)" (?GetTerrainPointer@CMapOutdoor@@QAEHEPAPAVCTerrain@@@Z) gamelib.lib(MapOutdoorRenderSTP.obj) : error LNK2001: unresolved external symbol "public: int __thiscall CMapOutdoor::GetTerrainPointer(unsigned char,class CTerrain * *)" (?GetTerrainPointer@CMapOutdoor@@QAEHEPAPAVCTerrain@@@Z) gamelib.lib(MapOutdoor.obj) : error LNK2001: unresolved external symbol "public: void __thiscall CScreenFilter::SetBlendType(char,char)" (?SetBlendType@CScreenFilter@@QAEXDD@Z) Release/metin2client.exe : fatal error LNK1120: 25 unresolved externals Configuration Release :: Win32 Actually I using Visual Studio 2008 SP1. Maybe i must change my VS for newer or older? Um, another question - is good to use novaline client for mainline server? I appreciate any help.
×
×
  • 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.