Jump to content
metin2dev

charparodar

Members
  • Content count

    815
  • Joined

  • Last visited

  • Days Won

    3

charparodar last won the day on March 2

charparodar had the most liked content!

Community Reputation

64 Excellent

About charparodar

  • Rank
    Chivalric

Profile Information

  • Gender
    Male
  • Location
    Portugal

Recent Profile Visitors

5,328 profile views
  1. charparodar

    New Pickup Yang Logs

    It's working, but: How can I make it look like yours? Like this isn't very eye friendly...
  2. charparodar

    open [SEARCHING]Locale_de/en/it etc

    Metin2 on steam, it has a bunch of languages...
  3. charparodar

    open Sura Manashield Bug

    BUMP
  4. Thanks for sharing! The second I can't use, it doesn't do anything... The second, I managed to get it to work on Python 3: import os import math count = 0 extensions = ('prb','prt','prd','pre','pra') with open("property/list", "w", encoding='utf-8') as a: for path, subdirs, files in os.walk(r'property'): for filename in files: f = os.path.join(path, filename) if filename != "list" and filename !="reserve": extension = filename.split ('.')[-1] if (extension in extensions): a.write(str(f) + '\n') else: print ("Strange file: " + f) count = count + 1 print ('Total: ' + str(count) + ' files listed on property/list!') input("Press any key to exit") raw_input doesn't exist anymore, it's now knows as input. print needs parenthesis. I also added the encoding for the file, otherwise I would be getting a encoding message while it wrote the file and couldn't complete it.
  5. charparodar

    open Sura Manashield Bug

    INSERT INTO `player`.`skill_proto`(`dwVnum`, `szName`, `bType`, `bLevelStep`, `bMaxLevel`, `bLevelLimit`, `szPointOn`, `szPointPoly`, `szSPCostPoly`, `szDurationPoly`, `szDurationSPCostPoly`, `szCooldownPoly`, `szMasterBonusPoly`, `szAttackGradePoly`, `setFlag`, `setAffectFlag`, `szPointOn2`, `szPointPoly2`, `szDurationPoly2`, `setAffectFlag2`, `szPointOn3`, `szPointPoly3`, `szDurationPoly3`, `szGrandMasterAddSPCostPoly`, `prerequisiteSkillVnum`, `prerequisiteSkillLevel`, `eSkillType`, `iMaxHit`, `szSplashAroundDamageAdjustPoly`, `dwTargetRange`, `dwSplashRange`) VALUES (79, 0xC8E6BDC5BCF6C8A3, 3, 1, 1, 0, 'DEF_GRADE', '(0.5*iq+15)*k', '20+30*k', '60+120*k', '5+10*k', '63+120*k', '(0.5*iq+15)*k', '', 'SELFONLY,TOGGLE', 'MANASHIELD', 'MANASHIELD', '100-((iq*0.84)*k)', '60+120*k', '', '', '', '', '20+30*k', 0, 0, 'MAGIC', 1, '0.8', 0, 0); On source I'm using the one, also tried the one from vanilla source but didn't work: if(!bugfix_sura_manashield) { // POINT_MANASHIELD ´Â ÀÛ¾ÆÁú¼ö·Ï ÁÁ´Ù int iDamageSPPart = dam / 3; int iDamageToSP = iDamageSPPart * GetPoint(POINT_MANASHIELD) / 100; int iSP = GetSP(); // SP°¡ ÀÖÀ¸¸é ¹«Á¶°Ç µ¥¹ÌÁö Àý¹Ý °¨¼Ò if (iDamageToSP <= iSP) { PointChange(POINT_SP, -iDamageToSP); dam -= iDamageSPPart; } else { // Á¤½Å·ÂÀÌ ¸ðÀÚ¶ó¼­ ÇÇ°¡ ´õ ±ï¿©¾ßÇÒ‹š PointChange(POINT_SP, -GetSP()); dam -= iSP * 100 / MAX(GetPoint(POINT_MANASHIELD), 1); } } else { // POINT_MANASHIELD ´Â ÀÛ¾ÆÁú¼ö·Ï ÁÁ´Ù int iDamageSPPart = (dam * GetPoint(POINT_MANASHIELD)) / 100; int iDamageToSP = iDamageSPPart * 0.2f; int iSP = GetSP(); // SP°¡ ÀÖÀ¸¸é ¹«Á¶°Ç µ¥¹ÌÁö Àý¹Ý °¨¼Ò if (iDamageToSP <= iSP) { PointChange(POINT_SP, -iDamageToSP); dam -= iDamageSPPart; } else { // Á¤½Å·ÂÀÌ ¸ðÀÚ¶ó¼­ ÇÇ°¡ ´õ ±ï¿©¾ßÇÒ‹š PointChange(POINT_SP, -GetSP()); dam -= (iSP / 20) * 100; } }
  6. charparodar

    open Sura Manashield Bug

    BUMP
  7. charparodar

    c++ IP Account security

    What about players with dynamic IP's? Before I reset the router I had a different IP every single day, and even now, I just need to reboot the router and it's done... I don't think this is a great system...
  8. charparodar

    Metin2 | Instant Pickup

    10 more from each player (depending on how many players and how many drops) (imagine 100 players and 20 drops for each, 1000 packets in practically 1 second)...
  9. charparodar

    Metin2 | Instant Pickup

    Won't this cause lag on servers with a considerable amount of players? Since it'll send a packet for each item like light speed... But anyway, thanks for sharing
  10. charparodar

    open Poison given by monster crash server

    If I could pay, I would buy marty's source, but, unfortunately I can't, so I stick to my source... Thanks for that, I'll see if the crashs stops... What do you mean about that?
  11. charparodar

    open Poison given by monster crash server

    BUMP Monsters aren't crashing the server anymore, but sometimes when players get poison on each other it crashs... # lldb game -c game.core (lldb) target create "game" --core "game.core" Core file '/usr/home/game/cores/channel1/game1/game.core' (i386) was loaded. (lldb) bt all * thread #1, name = 'game', stop reason = signal SIGSEGV * frame #0: game`CHARACTER::Damage(this=0x3eb47840, pAttacker=0x00000000, dam=<unavailable>, type=DAMAGE_TYPE_POISON) at char_battle.cpp:2121 frame #1: game`long poison_event(event=LPEVENT @ 0x00000008, processing_time=0) at char_resist.cpp:68 frame #2: 0x08491210 game`nBATTLE_ARENA_MAP + 16 thread #2, name = 'game', stop reason = signal SIGSEGV frame #0: 0x2889d8e9 libc.so.7`__umtx_op + 5 frame #1: 0x28889bac libc.so.7`sem_clockwait_np + 236 frame #2: 0x28889c70 libc.so.7`sem_wait + 32 frame #3: 0x0848ee98 game`CSemaphore::Wait(void) + 24 thread #3, name = 'game', stop reason = signal SIGSEGV frame #0: 0x2889d8e9 libc.so.7`__umtx_op + 5 frame #1: 0x28889bac libc.so.7`sem_clockwait_np + 236 frame #2: 0x28889c70 libc.so.7`sem_wait + 32 frame #3: 0x0848ee98 game`CSemaphore::Wait(void) + 24 thread #4, name = 'game', stop reason = signal SIGSEGV frame #0: 0x2889d8e9 libc.so.7`__umtx_op + 5 frame #1: 0x28889bac libc.so.7`sem_clockwait_np + 236 frame #2: 0x28889c70 libc.so.7`sem_wait + 32 frame #3: 0x0848ee98 game`CSemaphore::Wait(void) + 24 (lldb)
  12. charparodar

    [How²] Monitoring MYSQL Server and MariaDB

    Do I need to change it only to the first configuration and that change it back again once it's done?
  13. charparodar

    [How²] Monitoring MYSQL Server and MariaDB

    But we need to make a basic configuration first without SSH Tunnel, I don't even have the mysql port open on firewall and I even binded the mysql to localhost only on my.cnf, I use Navicat with SSH Tunnel to manage it...
×