Jump to content

asterix2

Inactive Member
  • Posts

    124
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    0%

Posts posted by asterix2

  1. uitaskbar.py

    Search:

    def __RampageGauge_Click(self):
    print "rampage_up"
    net.SendChatPacket("/in_game_mall")

    Replace:


    def __RampageGauge_Click(self):
    print "rampage_up"
    import uiWeb
    self.wndWeb = uiWeb.WebWindow()
    self.wndWeb.LoadWindow()
    self.wndWeb.Hide()
    self.wndWeb.Open("http://google.hu")

     

    uisystem.py.

    Search: 

    def __ClickInGameShopButton(self):
    self.Close()

    net.SendChatPacket("/in_game_mall")

    replace:

    def __ClickInGameShopButton(self):
    print "rampage_up"
    import uiWeb
    self.wndWeb = uiWeb.WebWindow()
    self.wndWeb.LoadWindow()
    self.wndWeb.Hide()
    self.wndWeb.Open("http://google.hu/")
    self.wndChat.CloseChat()
     

  2. On 2016. 02. 11. at 3:11 PM, scrabbyyy said:

    hi again

     

    solve skilll bugs please cannot use skills from all characters :(

    Skill working.

     

    19 hours ago, cherabomba said:

    I have this problem during compilation in constants.cpp

    constants.cpp:365: error: too many initializers for 'const DWORD [301]'
    constants.cpp:671: error: too many initializers for 'const DWORD [301]'
    constants.cpp:977: error: too many initializers for 'const DWORD [301]'

    how to fix it?

    I used freebsd 9.2 64bits for the compile

    Constant.cpp:  http://data.hu/get/9406366/constants.cpp

    replace length.h

        PLAYER_EXP_TABLE_MAX
        PLAYER_MAX_LEVEL_CONST

    with:

        PLAYER_EXP_TABLE_MAX    = 120,
        PLAYER_MAX_LEVEL_CONST    = 120,

  3. On 2016. 01. 17. at 8:49 AM, mentalu94 said:

    can you leave here and the config files to know and us what you added for config :D

    db conf.txt: txt - no txt 1/0
    game config: stone chance succ-es rate

  4. On 2016. 01. 15. at 3:10 PM, valdirk2 said:

    Sell item npc bug

    Yes, i now look. 

    shop.cpp search this:

    if (it->second)    // if other empire, price is triple

    under change

            dwPrice *= 0;

     with:
            dwPrice *= 3;

  5. 18 hours ago, Adrian2 said:

    What about Client for it ?

    Is % hp mob inside or I have to do it myself ? :P

     

    //

     

    Are you thinkign about adding offline shops?

    I no publicate client.

    I no make offline shop. :)

    • Love 1
  6. On 2016. 01. 04. at 2:35 AM, kiroyassin said:

    that files have the sql injection of guild fixed?

    Yes fixed.

    On 2016. 01. 09. at 7:50 PM, Thanatos said:

    this game have a visual bug.in client where it must apear level instead of level apear Szint [Name_of_character].

    How i can rezolv it?

    InstancebaseEffect.cpp Search:

        sprintf(szText, "Szint %d ", level);

    And replace:

        sprintf(szText, "Lv %d ", level);

    Constant.cpp:  http://data.hu/get/9406366/constants.cpp

    replace length.h

        PLAYER_EXP_TABLE_MAX
        PLAYER_MAX_LEVEL_CONST

    with:

        PLAYER_EXP_TABLE_MAX    = 120,
        PLAYER_MAX_LEVEL_CONST    = 120,

  7. On 2015. 08. 05. at 1:19 AM, Crox said:
    
    OBJDIR/char.o: In function `std::vector<std::string, std::allocator<std::string>>::size() const':
    /usr/include/c++/4.2/bits/stl_vector.h:408: undefined reference to `SpamBlockListArray'
    /usr/include/c++/4.2/bits/stl_vector.h:408: undefined reference to `SpamBlockListArray'
    /usr/include/c++/4.2/bits/stl_vector.h:408: undefined reference to `SpamBannListArray'
    /usr/include/c++/4.2/bits/stl_vector.h:408: undefined reference to `SpamBannListArray'
    OBJDIR/cmd_gm.o: In function `do_reload(CHARACTER*, char const*, int, int)':
    /root/workspace/Server/game/src/cmd_gm.cpp:2131: undefined reference to `LoadBlockSpamList()'
    /root/workspace/Server/game/src/cmd_gm.cpp:2132: undefined reference to `LoadBannSpamList()'
    OBJDIR/main.o: In function `main':
    /root/workspace/Server/game/src/main.cpp:541: undefined reference to `LoadBlockSpamList()'
    /root/workspace/Server/game/src/main.cpp:542: undefined reference to `LoadBannSpamList()'
    gmake: *** [../gamefile] Error 1

    Add makefile .cpp

     

  8. Sorry bump.

    Added: 

    1. pc.block_exp() function added.
    2. pc.unblock_exp() function added.
    3. + Advanced spam protection installed!
    4. skill book not need exp.
    5. Enable DS_drop flag.
    6. other empire 3% text removed.
    • Love 1
  9. 40 minutes ago, scrabbyyy said:
    1. *FEATURE LIST*
      ######### V1.0 #########
      Game

      + removed the license functions so the server won't connect to a license server nor check if your server is valid
      + removed the time limitation so it won't even check the time limit. This crash issue is completely fixed.
      + 6/7 bonus are now working
      Stone chance succes in config file.
      3% tax removed.
      0 gold purchase store item enabled.
      pc_change_name (Europe) enabled.
      70024 (marble blessing) and enabled store. (hivalue_item_sell check removed)
      6-7 bonus disabled costume.
      Insight.
      Dice/ÁÖ»çŔ§/war fix.
      Player bonuses are removed bonus time.
      Stuff disappearance has dropped by 2 minutes 10 seconds players.
      Maximum stat point 90.
      90 will also receive Status Points .
      " Fingerprint " control repaired.
      Horse skill enabled.
      bonus charger fix.
      ymir licensz removed.
      invisible bug fix.
      After Teleportation will not be - life .
      imun bug fixed.
      2x fixed Kill counting.
      Magic sword sura skill fix.
      If there are multiple kk taking away one .
      Dungeon party fix.
      Cube crash fix.
      4. inventory added.
      Ingame sql inject fix.
      [FIX]Guild bug change
      No make test file.
      Full equip bug fix.
      ds slot fix.
      TP- broadcast MP bug fix ( bios bug, bug rush ) .
      Item type 33 added.
      ctrl+g mount bug fixed.
      Beltsystem some bug fix.
      Equipment wiever added.
      Ingame ch changer added.
      pet.is_mine(), item.get_attr_type, item.get_attr_value, item.set_attr, npc.get_level function added.
      /kill_all code added.

      ######### V1.1 #########
      Maximum level data type int.
      PM hack fix (and newly)
      Anti long name generator.
      Fishing without water fix.
      Reload p expanding (Shop_item, refrine proto, item_attr, item_attr_rare tables) //thanks masodikbela
      reload drop function added (etc_item_drop.txt, mob_drop_item.txt, special_item_group.txt) //thanks masodikbela
      reload group function added (group.txt, Group_group.txt) //thanks masodikbela
      reload regen function added (regen.txt, npc.txt, boss.txt, stone.txt) //thanks masodikbela
      /p map function added (disappear off the map mobs , NPCs) //thanks masodikbela
      /free_regens function added Delet loaded in regen) //thanks masodikbela

      ######### V1.2 #########
      New SellPacket from GF

      DB:
      ######### V1.0 #########
      No txt added.
      localeset fix.
      Item_award 3 stone fix.

      ######### V1.1 #########
      Maximum level data type int.
      TXT Loading proto Korean announcement transcribed .

      Binary:
      ######### V1.0 #########
      It handles True / true / false / FALSE values.
      4. inventory added.
      0 gold Shop fix.
      belt system slot fix.
      Python 2.7-re updated.
      Granny 2.9-re updated.
      npc_pet,npc_mount function added.

      ######### V1.1 #########
      Maximum level data type int.
      Monsters level show.

      ######### V1.2 #########
      New SellPacket from GF


      This is the hidden content, please

     

    wow thats are source so thanks :)


    Thank you :D

     

    • Love 1
  10. M2 Download Center

    This is the hidden content, please
    ( Internal )

     

    1. *FEATURE LIST*
      ######### V1.0 #########
      Game

      + removed the license functions so the server won't connect to a license server nor check if your server is valid
      + removed the time limitation so it won't even check the time limit. This crash issue is completely fixed.
      + 6/7 bonus are now working
      Stone chance succes in config file.
      3% tax removed.
      0 gold purchase store item enabled.
      pc_change_name (Europe) enabled.
      70024 (marble blessing) and enabled store. (hivalue_item_sell check removed)
      6-7 bonus disabled costume.
      Insight.
      Dice/ÁÖ»çŔ§/war fix.
      Player bonuses are removed bonus time.
      Stuff disappearance has dropped by 2 minutes 10 seconds players.
      Maximum stat point 90.
      90 will also receive Status Points .
      " Fingerprint " control repaired.
      Horse skill enabled.
      bonus charger fix.
      ymir licensz removed.
      invisible bug fix.
      After Teleportation will not be - life .
      imun bug fixed.
      2x fixed Kill counting.
      Magic sword sura skill fix.
      If there are multiple kk taking away one .
      Dungeon party fix.
      Cube crash fix.
      4. inventory added.
      Ingame sql inject fix.
      [FIX]Guild bug change
      No make test file.
      Full equip bug fix.
      ds slot fix.
      TP- broadcast MP bug fix ( bios bug, bug rush ) .
      Item type 33 added.
      ctrl+g mount bug fixed.
      Beltsystem some bug fix.
      Equipment wiever added.
      Ingame ch changer added.
      pet.is_mine(), item.get_attr_type, item.get_attr_value, item.set_attr, npc.get_level function added.
      /kill_all code added.

      ######### V1.1 #########
      Maximum level data type int.
      PM hack fix (and newly)
      Anti long name generator.
      Fishing without water fix.
      Reload p expanding (Shop_item, refrine proto, item_attr, item_attr_rare tables) //thanks masodikbela
      reload drop function added (etc_item_drop.txt, mob_drop_item.txt, special_item_group.txt) //thanks masodikbela
      reload group function added (group.txt, Group_group.txt) //thanks masodikbela
      reload regen function added (regen.txt, npc.txt, boss.txt, stone.txt) //thanks masodikbela
      /p map function added (disappear off the map mobs , NPCs) //thanks masodikbela
      /free_regens function added Delet loaded in regen) //thanks masodikbela

      ######### V1.2 #########
      New SellPacket from GF

      DB:
      ######### V1.0 #########
      No txt added.
      localeset fix.
      Item_award 3 stone fix.

      ######### V1.1 #########
      Maximum level data type int.
      TXT Loading proto Korean announcement transcribed .

      Binary:
      ######### V1.0 #########
      It handles True / true / false / FALSE values.
      4. inventory added.
      0 gold Shop fix.
      belt system slot fix.
      Python 2.7-re updated.
      Granny 2.9-re updated.
      npc_pet,npc_mount function added.

      ######### V1.1 #########
      Maximum level data type int.
      Monsters level show.

      ######### V1.2 #########
      New SellPacket from GF


      This is the hidden content, please

    • Metin2 Dev 67
    • kekw 4
    • Eyes 1
    • Facepalm 1
    • Dislove 2
    • Angry 1
    • Not Good 1
    • Cry 2
    • Smile Tear 1
    • Confused 2
    • Scream 2
    • Lmao 1
    • Good 34
    • Love 7
    • Love 59
  11. 7. skill:

    Skilldesc:

    7 WARRIOR Lélek védelem Mesteri védelem Szellem védelem Védd meg magad a belső energiáid felszabadításával. Ellenfél támadó értéke csökken. STANDING_SKILL jipjung 23 4 Ellenséges támadó érték -%.0f%% 1 + 28 * k
    22 WARRIOR Örvény Hideg örvény Spirituális örvény Kavarj egy örvényt magad körül, ami felgyorsítja az ütéseidet. Támadó sebesség növekedik STANDING_SKILL musa 22 4 Támadó sebesség +%.0f%% 20 * SkillPoint
    37 ASSASSIN Trükk Gonosz trükk Varázslat Védd meg magad az ellenfél támadásaitól. Az ellenfél támadása elnyelődik STANDING_SKILL seomjeon 22 4 Esély testi támadás kivédésére: %.0f%% 3+15*k
    52 ASSASSIN Tündérpor Angyali hamu Áldott por Gyorsítsd fel a képességeid feltöltési idejét. Varázslási sebesség növekedés STANDING_SKILL make_trap 23 4 Varázslási sebesség +%.0f%% 3+20*k
    67 SURA Gömbrobbantás Harci robbantás Gonosz robbantás Sújts halálos támadást ellenfeledre egy gömb felrobbantásával. Áttörő támadás Az ellenség védekezése hatástalan Intelligencia bónusz ATTACK_SKILL|STANDING_SKILL geompung 22 4 Támadó érték %.0f-%.0f 1.1 * minatk + 3*lv + 2*iq + (2*minatk + str + iq*15) * k 1.1 * maxatk + 3*lv + 2*iq + (2*maxatk + str + iq*15) * k
    82 SURA Mágikus kard Kitartás kard Áldott kard Növeld meg a mágikus kitartásod egy sötét erő segítségével. MP regenerálódik Intelligencia bónusz STANDING_SKILL jumageom 23 4 MP regeneráció %.0f%% (iq*0.84)*k
    97 SHAMAN Sárkány düh Sárkány harag Sárkány halál Támadj villámmal. Távoli támadás Támadás több célra Villám jellemzők ATTACK_SKILL|STANDING_SKILL yongsin 22 4 Magikus támadó érték %.0f-%.0f 150 + 3*lv + (22*iq+13*minmwep+130)*ar*k 150 + 3*lv + (22*iq+13*maxmwep+130)*ar*k Tartós tűz esélye  %.0f%% iq*7.5*k
    112 SHAMAN Égi méreg Méreghívás Pokoli méreg Hívj le az égből egy mérgező fénysugárt. Méreg támadás Támadás több célra Mágikus támadás ATTACK_SKILL|STANDING_SKILL buhwal 23 4 Támadó érték %.0f-%.0f 3 + 10*lv+(15*iq + minmwep) * k 3 + 10*lv+(15*iq + maxmwep) * k Mérgezési esély: %.0f%% 5+k*50

    skilltable.txt

    7 lelek_vedelem 1 1 1 0 DODGE 1 + 28 * k 65+120*k 60 60 1 + 33 * k SELFONLY NONE 60+125*k 0 0 NORMAL 1 1 0 0
    22 orveny 1 1 1 0 ATT_SPEED 20*k 40+120*k 40+80*k 34+80*k 20*k SELFONLY NONE 50*120k 0 0 NORMAL 1 1 0 0
    37 trukk 2 1 1 0 BLOCK 3 + 15 * k 30+120*k 60+100*k 50+100*k 3 +15 * k SELFONLY NONE 0 0 MAGIC 1 1 0 0
    52 tunderpor 2 1 1 0 CASTING_SPEED 3+20*k 60+100*k 60 50 5 + 35*k SELFONLY NONE 60+120*k 0 0 NORMAL 1 1 1000 0
    67 gombrobbantas 3 1 1 0 HP -(1.1*atk+3*lv+iq*2+(2*atk+str+iq*15)*k) 50+150*k 50 ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,IGNORE_TARGET_RATING,ATTACK_STUN NONE 1+k*9 0 0 MELEE 8 1 0 500
    82 magikus_kard 3 1 1 0 SP_REGEN (0.5*iq+30)*k 20+30*k 65+120*k 63+120*k (0.5*iq+30)*k SELFONLY NONE 20+30*k 0 0 MAGIC 1 0.8 0 0
    97 sarkany_duh 4 1 1 0 HP -(150+3*lv+(22*iq+13*mwep+130)*ar*k) 50+160*k 45 -(150 + 3*lv + (22*iq+13*mwep+130)*ar*k) ATTACK,SELFONLY,SPLASH,ATTACK_FIRE_CONT NONE lv+7.5*iq*k iq*7.5*k 0 0 MAGIC 15 0.8 0 500
    112 egi_mereg 4 1 1 0 HP -(3 + 10*lv+(15*iq + mwep) * k) 50+100*k 35 ATTACK,SELFONLY,USE_MAGIC_DAMAGE,SPLASH,ATTACK_POISON POISON_PCT 5+k*50 50+100*k 0 0 MAGIC 15 1 600 600

    Navicat query:

    INSERT INTO `skill_proto` VALUES ('7', 0x6C656C656B5F766564656C656D, '1', '1', '1', '0', 'DODGE', '1 + 28 * k', '65+120*k', '60', '', '60', '1 + 33 * k', '', 'SELFONLY', '', 'NONE', '', '', '', '', '', '', '', '0', '0', 'NORMAL', '1', '1', '0', '0');
    INSERT INTO `skill_proto` VALUES ('22', 0x6F7276656E79, '1', '1', '1', '0', 'ATT_SPEED', '20*k', '40+120*k', '40+80*k', '', '', '', '34+80*k 20*k', 'SELFONLY', '', 'NONE', '', '', '', '', '', '', '', '0', '0', 'NORMAL', '1', '1', '0', '0');
    INSERT INTO `skill_proto` VALUES ('52', 0x74756E646572706F72, '2', '1', '1', '0', 'CASTING_SPEED', '3+20*k', '60+100*k', '', '', '60', '50', '5 + 35*k', 'SELFONLY', '', 'NONE', '', '', '', '', '', '', '60+120*k', '0', '0', 'NORMAL', '1', '1', '1000', '0');
    INSERT INTO `skill_proto` VALUES ('67', 0x676F6D62726F6262616E746173, '3', '1', '1', '0', 'HP', '-(1.1*atk+3*lv+iq*2+(2*atk+str+iq*15)*k)', '50+150*k', '', '', '50', '', '', 'ATTACK,USE_MELEE_DAMAGE,SELFONLY,SPLASH,IGNORE_TARGET_RATING,ATTACK_STUN', '', 'NONE', '1+k*9', '', '', '', '', '', '', '0', '0', 'NORMAL', '8', '1', '0', '500');
    INSERT INTO `skill_proto` VALUES ('82', 0x6D6167696B75735F6B617264, '3', '1', '1', '0', 'SP_REGEN', '(0.5*iq+30)*k', '20+30*k', '65+120*k', '', '', '63+120*k', '(0.5*iq+30)*k', 'SELFONLY', '', 'NONE', '', '', '', '', '', '', '20+30*k', '0', '0', 'MAGIC', '1', '0.8', '0', '0');
    INSERT INTO `skill_proto` VALUES ('97', 0x7361726B616E795F647568, '4', '1', '1', '0', 'HP', '-(150+3*lv+(22*iq+13*mwep+130)*ar*k)', '50+160*k', '', '', '45', '-(150 + 3*lv + (22*iq+13*mwep+130)*ar*k)', '', 'ATTACK,SELFONLY,SPLASH,ATTACK_FIRE_CONT', '', 'NONE', 'lv+7.5*iq*k', 'iq*7.5*k', '', '', '', '', '', '0', '0', 'MAGIC', '15', '0.8', '0', '500');
    INSERT INTO `skill_proto` VALUES ('112', 0x6567695F6D65726567, '4', '1', '1', '0', 'HP', '-(3 + 10*lv+(15*iq + mwep) * k)', '50+100*k', '', '', '35', '', '', 'ATTACK,SELFONLY,USE_MAGIC_DAMAGE,SPLASH,ATTACK_POISON', '', 'POISON_PCT', '5+k*50', '50+100*k', '', '', '', '', '', '0', '0', 'MAGIC', '15', '1', '600', '600');



    Skill_power.txt

    112  Áő·ÂĽú  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
    97  ±âõ´ë°ř  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
    82  ¸¶ČŻ°Ý  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
    67  ĆÄąýĽú  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
    52  Ľ¶±¤Ĺş  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
    22  łú°Ëµµ·ˇ  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150
    7  Weisheitskreis  5 7 9 11 13 15 17 19 20 22 24 26 28 30 32 34 36 38 40 50 52 55 58 61 63 66 69 72 75 80 82 84 87 90 95 100 110 120 130 150

    char_skill.cpp

    Search:

    bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const

    replace:

    const int SKILL_COUNT = 6;

    with:

    const int SKILL_COUNT = 7;

    search:

    {
    { { 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 } },
    };

    replace :
    {
    { { 1, 2, 3, 4, 5, 6, 7 }, { 16, 17, 18, 19, 20, 21, 22 } },
    { { 31, 32, 33, 34, 35, 36, 37 }, { 46, 47, 48, 49, 50, 51, 52 } },
    { { 61, 62, 63, 64, 65, 66, 67 }, { 76, 77, 78, 79, 80, 81, 82 } },
    { { 91, 92, 93, 94, 95, 96, 97 }, { 106,107,108,109,110,111, 112 } },
    };

     

    Search:

    const DWORD SKILL_NUM = 158;

    Replace:

    const DWORD SKILL_NUM = 178;

     

    Search:

    11, // job_skill 6

    put under this:
    11, // job_skill 7
    Search:2, // job_skill 21
    put under this: 

    12, // job_skill 22
    Search:
    21, // job_skill 36
    put under this:
    21, // job_skill 37
    Search:
    22, // job_skill 51
    put under this:
    22, // job_skill 52
    Search

    31, // job_skill 66
    put under this:

    31, // job_skill 67
    Search:

    32, // job_skill 81
    put under this:

    32, // job_skill 82
    Search:

    41, // job_skill 96
    put under this:

    41, // job_skill 97
    Search:

    42, // job_skill 111
    put under this:

    42, // job_skill 112

     

    • Love 2
×
×
  • 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.