Jump to content
metin2dev

Evor

Member
  • Content Count

    84
  • Joined

  • Last visited

  • Days Won

    1

Evor last won the day on November 6 2014

Evor had the most liked content!

Community Reputation

49 Good

About Evor

  • Rank
    Friendly

Profile Information

  • Gender
    Male
  • Location
    Poland

Recent Profile Visitors

1,695 profile views
  1. @Kronzu Search for QuestionDialogItem2 and paste here ur py-class. (my guess is uicommon.py) Detail: Class QuestionDialogItem2 dosen't have dropType attribute.
  2. Hello. Does anyone have clean database sql files? Regards.
  3. Evor

    [Official] Unpacked Updates Metin2.de

    Is it possible to extract new cython modules? I'm curious if there is any nifty way of doing so.
  4. Hello folks. I encountered a very strange problem with the itemtext. When i drop any item it is working for a while, but one moment and it become like this: How can i fix this issue? I haven't any idea. Regards.
  5. Evor

    Antiflag for HotKeys

    He want's to disable moving certain items (with antiflags) on taskbar, so players cannot use them by pressing hot keys. For me, it's matter of client-side edit.
  6. Evor

    CyberGhost VPN Premium for free

    Same here, maybe cyberghost permit only some countries to their offer?
  7. Hello folks. Today i will show you have to solve some more or less serious bugs. P2P BASHPANEL: DB Account BUG: Kind regards.
  8. Evor

    [FIX] PM flooder kick hack

    Having the information public is the fastest way to get people to take action against it and the fix is in the thread. If you're able to create libs then it should be no problem for you Also having the hack we could test if the c++ fix works http://wklej.to/BZqOB password: metin2dev only for testing purposes only and i don't know this works because i didn't use it While reading source, i think that, it is an older version of kick hack, because of using WHISPER instead of MESSENGER (friend adding.). Regards..
  9. Hello. Recently, my server is doing really strange things. The main problem is that after several minutes players got randomly disconnected. I mean, they are logged in the first channel, in the first map of empire and randomly they got disconnected. I'm unable to debug game core (more than 1000 players). My syslog showed only that: http://pastebin.com/Sj3ekt7w I removed sequence checking: if (m_pPacketInfo->IsSequence(bHeader)) { BYTE bSeq = lpDesc->GetSequence(); BYTE bSeqReceived = *(BYTE *) (c_pData + iPacketLen - sizeof(BYTE)); if (bSeq != bSeqReceived) { LPCHARACTER ch = lpDesc->GetCharacter(); if(!ch) { lpDesc->SetPhase(PHASE_CLOSE); return true; } } lpDesc->push_seq(bHeader, bSeq); lpDesc->SetNextSequence(); } and i bump buffer size from 8192 to 9216. I got really confused... Kind regards, Evor.
  10. Evor

    [FIX] Wrong hp/sp computing.

    Nova has an account here on nickname "Alpha". Ask him for further information.
  11. Hello folks. I don't know if it was "a feature" or not, but it was really annoying and it caused some bugs. So, let's begin. Firstly, we should go to the char.cpp (and we will stay here) Now, let's find the ApplyPoint function and then certain cases.. case APPLY_MAX_HP: case APPLY_MAX_HP_PCT: { int i = GetMaxHP(); if(i == 0) break; PointChange(aApplyInfo[bApplyType].bPointType, iVal); float fRatio = (float)GetMaxHP() / (float)i; PointChange(POINT_HP, GetHP() * fRatio - GetHP()); } break; case APPLY_MAX_SP: case APPLY_MAX_SP_PCT: { int i = GetMaxSP(); if(i == 0) break; PointChange(aApplyInfo[bApplyType].bPointType, iVal); float fRatio = (float)GetMaxSP() / (float)i; PointChange(POINT_SP, GetSP() * fRatio - GetSP()); } break; This part of code is written by Nova, which is used in novaline, but i know that some of you use it in other branches. It is causing the main problem, we should change it to look like this: case APPLY_MAX_HP: case APPLY_MAX_HP_PCT: { int i = GetMaxHP(); if(i == 0) break; PointChange(aApplyInfo[bApplyType].bPointType, iVal); } break; case APPLY_MAX_SP: case APPLY_MAX_SP_PCT: { int i = GetMaxSP(); if(i == 0) break; PointChange(aApplyInfo[bApplyType].bPointType, iVal); } break; Done, now we should conern next problem, it will cause a disproportion between max_hp and current hp. Moving on, we should find PointChange function (still in char.cpp). Then, find case POINT_MAX_HP and POINT_MAX_SP, and change it like that: case POINT_MAX_HP: { SetPoint(type, GetPoint(type) + amount); int i = GetMaxHP(); int hp = GetRealPoint(POINT_MAX_HP); int add_hp = MIN(3500, hp * GetPoint(POINT_MAX_HP_PCT) / 100); add_hp += GetPoint(POINT_MAX_HP); add_hp += GetPoint(POINT_PARTY_TANKER_BONUS); SetMaxHP(hp + add_hp); float fRatio = (float)GetMaxHP() / (float)i; PointChange(POINT_HP, GetHP() * fRatio - GetHP()); val = GetMaxHP(); } break; case POINT_MAX_SP: { SetPoint(type, GetPoint(type) + amount); int i = GetMaxSP(); int sp = GetRealPoint(POINT_MAX_SP); int add_sp = MIN(800, sp * GetPoint(POINT_MAX_SP_PCT) / 100); add_sp += GetPoint(POINT_MAX_SP); add_sp += GetPoint(POINT_PARTY_SKILL_MASTER_BONUS); SetMaxSP(sp + add_sp); float fRatio = (float)GetMaxSP() / (float)i; PointChange(POINT_SP, GetSP() * fRatio - GetSP()); val = GetMaxSP(); } break; Short description: I'm using Nova method to calculate HP/SP ratio gain. It should prevent people from using it as a infinite source of hp (using affect.add(max_hp.. affect.add(hp... we would create another bug.) Kind regards, Evor. @DISCLAIMER This method was tested by me and my team. We find it fixing the whole problem, but whenever you find another bug, please report it. Ratio calculation courtesy of Nova.
  12. Evor

    Mob_Proto fix

    Hello guys! It is common that, whenever u want to use an old mob_proto, u need to rewrite mob_color column for every mob (serverside mob_proto dosen't include mob_color). I write this really simple python code to convert old mob_proto columns to a sql version of it. (Simply, insert that .sql file). To do: - Place your old mob_proto_dump.xml in a folder with converter.py - Remove first and last line of mob_proto_dump.xml - Make sure that u have python installed. (no matter which version) - Run it and save time PS. Run it with: Kind regards. @Update. Smaller code.
  13. Evor

    Long long as python input

    Hm i see, so it is an error with setting variable. By the way, did somebody rise the yang limit in exchange / private shop menu?
  14. Hello. Did somebody find out how to convert str (input) to a long long value? Kind regards. In c++ afaik it is atoll, but i don't know if it is something for python. In the worst scenario i should write a c++ func which converts it.
  15. Did u change GetStatus function in binary, the container of statuses and size of packets? It's really tricky, but u can do it.
×