Jump to content

regal

Member
  • Posts

    40
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by regal

  1. Hello everyone, I hope you had a nice day. So.. as the title might tell you, I have the famous problem with the commands xmas_boom and xmas_snow, I get syserr whenever I use any of these( /xmas_boom 1, xmas_snow 1 etc). A quick "fix" would be using /e, it seems that if I trigger the command like that I don't get any errors, BUT... If I relog, or if another player logs in, it is still day(even if I "turned on" the night), same with snow. I call the command, it's snowing, if I relog.. snow is gone. Does anyone have any clue about this error? I've searched it, I've seen a lot of problems similar to this one but no answer. Thank you for taking your time, regal. syserr(in case you don't know it): 1023 19:45:10928 :: Unknown Server Command xmas_snow 1 | xmas_snow 1023 19:45:10928 :: Unknown Server Command xmas_boom 1 | xmas_boom
  2. Hello there! You need to put the 6th skill in special.active_skill_list in order for this to work. You can find it in locale/xx/quest/questlib.lua usually. It should be something like this: special.active_skill_list = { { { 1, 2, 3, 4, 5, 6}, { 16, 17, 18, 19, 20, 21}, }, { {31, 32, 33, 34, 35, 36}, {46, 47, 48, 49, 50, 51}, }, { {61, 62, 63, 64, 65, 66}, {76, 77, 78, 79, 80, 81}, }, { {91, 92, 93, 94, 95, 96}, {106, 107, 108, 109, 110, 111}, }, }
  3. In Visual Studio, after debugging, I came up to this: Metin2Client.exe!memcpy(unsigned char * dst, unsigned char * src, unsigned long count) Line 194. But I don't know how to find out actually where is this line located. In Debug version of the client there's no crash. EDIT: The topic can be closed now. After playing around with some things, even though the debug outcome didn't bring me any result I've found the problem. Actually, it was only a problem about the loading and loading bar images, i don't know why this happened. I replaced the images with mine and moved them into locale(they were in ETC/UI before) and the problem is gone(yay). Thank you for the answer ASIKOO, at least now I've learned a new thing(that you can live debug metin2). Sincerely, regal.
  4. Hello, metin2dev community! I'm encountering a very strange problem with a new serverfile I'm working on. Sometimes, when I change the character or I teleport etc, right after the loading screen the client crashes. I get no syserr in the serverside(also the syslog looks ok) or clientside, only a minidump generated by the client with this error: Unhandled exception at 0x007A89BE (Metin2Client.exe) in metin2client_40999_20201017_200808.dmp: 0xC0000005: Access violation reading location 0x03C00000. I tried turning off the antivirus(I thought that maybe it's using some files or detecting them as virus and that is the cause, but nothing changed). If I unpack the client in D:/ymir work it doesn't crash anymore. Does anyone have any idea..? Thank you!
  5. EDIT: I solved the problem, it was from "AttackRange" from mob_proto, if anyone has this problem in the future, it's good to check also that one. Hello everyone, I'm having a problem with mobs from my server which have special attacks(skills). So, I have a motlist.txt like this: GENERAL SPAWN spawn.msa 100 GENERAL WAIT stay00.msa 100 GENERAL SPECIAL skill00.msa 100 GENERAL SPECIAL1 skill01.msa 100 GENERAL SPECIAL2 skill02.msa 100 GENERAL FRONT_DEAD dead.msa 100 I receive damage from this monster, but it's not doing any movement, it is only performing the "FRONT_DEAD" action. I've put the folder in my /data/monster from my server with everything included(.msa files and motlist.txt), but still no change(I also gave permissions to this folder). I tried putting some skill vnums from navicat in the "SkillVnum" category from mob proto, but still no change. I have in skill proto ID's 256-262. .GR2 files are working properly as I checked with granny to see if the animation is working or not. I've put the monster folder in mob_proto, both server and client. Even if I use poly to transform into a monster with this problem, I cannot perform those acctions. I've tried replacing "SPECIAL" with "NORMAL_ATTACK" and, when I'm transformed I can attack, but the mob still cannot do any actions. Is there anything else I should check? Or maybe I missed anything in the mobproto? 218 ???? BOSS MONSTER MELEE 235 0 0 "STUN,SLOW,CURSE,TERROR" 0 mehees_monster 0 91 46 66 23 250 450 95000 25 20 150000 150000 320000 82 110 130 100 2000 150 0 0 0 0 0 50 15 20 40 35 40 40 40 40 0 0 60 0 0 10.28 2205 0 0 0 40 256 40 257 40 258 40 259 40 260 20 0 0 0 0 Thank you in advance!
  6. Yup, that was the fault. It is interesting that you find a lot of tutorials of how to add a map, but no one mentioned about this rule which is mandatory. Thank you for the answers, guys! Have a nice day!
  7. Version of Files : 40k Hello everyone! 1. Description of the problem / Question : So i added a new map to my server. Until here, everything ok. But the map came with 0, 0 Base position(in setting.txt) so I have to make the coordinates. Is there any rule, or how should I make them? Or can I find the coordinates in some file inside the map? I tried putting 975397000 x 307205900 Actually, it teleports me near the map(the map is a dungeon) in a dark space. Do you know how to fix it? 4. Screenshots ? [Hidden Content] Thanks, Sincerly, regal
  8. Yes, actually using D:/ymir work/bgm/ and packing the files accordingly solves the issue. Thank you for the answers, have a nice night/day.
  9. Thank you for your answer! Ok, so I changed everything but I still get the syserr like it is not finding the music. 0816 21:09:01071 :: CSoundManager::PlayMusic - Failed to load stream sound : pack/bgm/login_window.mp3 Should I do any further steps? I tried putting the music inside a bgm folder before packing with EPack32(I thought that maybe it could help), but it's still not working
  10. Version of Files : 40k [[ Hi / Hello / Hey... ]] 1. Description of the problem / Question : Hello everyone! I want to make the metin2 client read the music from bgm.eix/.epk, for example, not from BGM folder. Is that possible? I want to move all the music(character,select,maps etc) in bgm.eix/epk in pack. If yes, from where I can change the path for BGM? Thanks, Sincerly, regal
  11. Actually I figured it out eventually. It was as easy as annoying it could get. I made a folder "ymir work" in Local Disk D few weeks ago so that granny would show me the .DDS textures for .GR2 correctly(sometimes it's not showing if the location is not properly set) and somehow that made my client dizzy I think, lol. Because it was getting files from that folder, not the actual pack. Pretty weird tho. So, in case somebody else has a similar issue, make sure you don't have an ymir work folder in your local disk D or you keep it up to date to what you have in pack, otherwise.. it's gonna make you little bit nervous. Thank you for your support, guys! Have a nice day!
  12. Version of Files : 40k 1. Description of the problem / Question : Hello everyone! So, I've changed a lot of things in my client, but now I'm facing a big issue(at least, for me). Let's say, I change something in PC(ymir work), when I put the new packed files in my client, I do not see the changes, but if I give the new files to another player, he can see the changes, everything is fine. As an example, one friend changed the skill effects in PC. He can see the changes, he gave me the packed PC, I changed it in my client but the skills remained the same. Does metin2 have some weird cache or something and my PC is overloaded, something like that? I've done a lot of changes in the client since I'm the one who's dealing with client side, but this is the first time I encounter an issue like this. I rebooted the PC, I tried deleting temporary files using Disk Cleanup, but nothing happened. I tried searching for similar issues but I ended up to no result. Does anyone know how to deal with this issue? Thank you very much for your effort, Sincerly, regal
  13. The Test1 appears everytime I login or change map, still it doesn't do anything. In syserr I've got this: SYSERR: May 24 20:37:57 :: RunState: LUA_ERROR: [string "empire"]:2: attempt to compare nil with number SYSERR: May 24 20:37:57 :: WriteRunningStateToSyserr: LUA_ERROR: quest empire.start click Actually I solved it out, it worked by changing pc.get_empire() > 1 then like you said. Thank you very much!
  14. First, thank you for answering this topic. So, I made a quest like this: quest empire begin state start begin when login begin if pc.get_empire() > 1 then pc.change_empire(1) command("quit") end end end end But, when I login, nothing happens. The empire doesn't change and I'm not logged out. Do you know what I did wrong? Thank you
  15. Version of Files : 40k 1. Description of the problem / Question : Hello everyone. I want to make only one kingdom available for players , I changed everything from client side according to one tutorial found here(in locale/root) and now, in my client, you cannot choose anymore another empire. The problem is I want to put also something in source to check the empire and if it is different from empire id 1 for example(shinso), disconnect the player or something similar. I've come across this code from input_login.cpp, as I guess here I should work. Can someone help me to solve it out as I don't really know how I should change the values to make what I want. Right now I can change another empire if I use another client to login, so I want to forbid this, we all know that some people like to make problems, you're never safe enough... void CInputLogin::Empire(LPDESC d, const char * c_pData) { const TPacketCGEmpire* p = reinterpret_cast<const TPacketCGEmpire*>(c_pData); if (EMPIRE_MAX_NUM <= p->bEmpire) { d->SetPhase(PHASE_CLOSE); return; } const TAccountTable& r = d->GetAccountTable(); if (r.bEmpire != 0) { for (int i = 0; i < PLAYER_PER_ACCOUNT; ++i) { if (0 != r.players[i].dwID) { sys_err("EmpireSelectFailed %d", r.players[i].dwID); return; } } } TEmpireSelectPacket pd; pd.dwAccountID = r.id; pd.bEmpire = p->bEmpire; db_clientdesc->DBPacket(HEADER_GD_EMPIRE_SELECT, d->GetHandle(), &pd, sizeof(pd)); } Thank you very much for spending your time to read my problem, regal.
×
×
  • 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.