Jump to content
  • Create New...

Earned Exp

Recommended Posts

can make a config? in the index? pls

z.b. text_exp: 1

Open the char_battle.cpp:

iExp = AdjustExpByLevel(to, iExp);

add this:

	if (show_exp)
		to->ChatPacket(CHAT_TYPE_INFO, "|cff00ff00|H|hEarned Exp : %d", iExp);



now open config.h and add this:

extern bool show_exp;


now open config.cpp and annd under this:

bool		bXTrapEnabled = false;


bool show_exp = false;



now under this funktion:

			int tmp = 0;

			str_to_number(tmp, value_string);

			if (0 == tmp)
				g_BlockCharCreation = false;
				g_BlockCharCreation = true;


add this:

			int exp = 0;

			str_to_number(exp, value_string);

			if (1 == exp)
				show_exp = true;
				fprintf(stderr, "Show EXP: %in", exp);



done but not testet....




Edited by Kori
  • Love 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Activity

    1. 4

      Ludus2: a metin2-like browser game

    2. 6
    3. 9

      Help in implementing a switch bot

    4. 0

      Special Inventory System Can't Sell To Npc's

    5. 0

      ROV2.GLOBAL | International | Server start 14.05.2022

    6. 75

      Services - System Ard [C ++ / Python / Lua]

    7. 76

      Chatting Window Renewal (Mini Version)

    8. 2

      ItemShop GM ZONE TAB

  • Recently Browsing

    • No registered users viewing this page.

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.