Register for your free account! | Forgot your password?

You last visited: Today at 08:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



help to apply this!

Discussion on help to apply this! within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 312
Received Thanks: 29
help to apply this!

Just one thing, for the level max you haven't put the dif for the /level command, on the game the /level command have a limit (120)
Spoiler
Code:
int __cdecl do_level(int a1, int a2)
{
__int32 v2; // eax@2
int v3; // eax@2
int result; // eax@3
char v5; // [sp+Ch] [bp-11Ch]@0
char nptr; // [sp+1Ch] [bp-10Ch]@1
int v7; // [sp+11Ch] [bp-Ch]@1

v7 = *(_DWORD *)_stack_chk_guard__FBSD_1_0;
one_argument(a2, &nptr, 256);
if ( nptr )
{
v2 = strtol(&nptr, 0, 10);
v3 = MINMAX(1, v2, 120);
CHARACTER::ResetPoint(a1, v3);
CHARACTER::ClearSkill(a1);
CHARACTER::ClearSubSkill(a1);
}
else
{
CHARACTER::ChatPacket(a1, 1, "Syntax: level <level>", v5);
}
result = *(_DWORD *)_stack_chk_guard__FBSD_1_0 ^ v7;
if ( *(_DWORD *)_stack_chk_guard__FBSD_1_0 != v7 )
__stack_chk_fail();
return result;
}
---------------------------------
where apply this?
thanks
bluedrago is offline  
Old 07/24/2014, 14:36   #2
 
PDDS™'s Avatar
 
elite*gold: 97
Join Date: May 2014
Posts: 777
Received Thanks: 202
This is C++, so you may have to add/edit this in your game-Source.

Regards
PDDS™ is offline  
Old 07/24/2014, 15:04   #3
 
Coniesan's Avatar
 
elite*gold: 1000
Join Date: Mar 2009
Posts: 1,408
Received Thanks: 1,007
here is the function of the source:
Code:
ACMD(do_level)
{
	char arg2[256];
	one_argument(argument, arg2, sizeof(arg2));

	if (!*arg2)
	{
		ch->ChatPacket(CHAT_TYPE_INFO, "Syntax: level <level>");
		return;
	}

	int	level = 0;
	str_to_number(level, arg2);
	ch->ResetPoint(MINMAX(1, level, PLAYER_MAX_LEVEL_CONST));

	ch->ClearSkill();
	ch->ClearSubSkill();
}
you only have to change the "PLAYER_MAX_LEVEL_CONST" (I think) so you only have to change the 120 up to 255 (if u want) in your code!
Coniesan is offline  
Reply


Similar Threads Similar Threads
Old MWx Welcome, anyone apply here
06/18/2012 - Planetside - 14 Replies
I have a ventrillo, so we can start immediately where we left off guys. I won't post the info here, you must take the initiative to PM me to get it. For the guys seeking to learn from Memory Wars, apply in the space below. Experience: (eg, novice, none, beginner, advanced, master of OLLY) Age: (Need to know if you canbe trusted not to go "Buck F***'in Wild.")
GM Apply
01/03/2011 - Dekaron Private Server - 3 Replies
Hey Guys, Wanted to make a GM application for all who have a server and searching for GM´s I am 18 years old. i am from Germany. i am MALE and my real name is Daniel. i am a funny man and very helpful too. I was 9 months GM in Frozen Dekaron but it closed because of dedi problems so im experienced and know anything about this game ;) . playing it since 4 years and can handle all chars. As all know we had CRHISTMAS i got a new pc so i will be online 3-6 hours each day ( I´M Active!...
[B]APPLY FOR GM[/B]
10/05/2010 - Aion Private Server - 0 Replies
I have ben playing aion 1 and a half years now and i have experienced lots of p servers and retail aswel, i have played both the ely and the asmos. i want to become a Gm on a new private server i prefer a low rate server, i can set up websites and forums without any costs, reply send me a PM or send me an email: [email protected], i have got a GM application ready. Thanks Ich habe Aion seit 18 monaten gespielt ich habe viel spiel erfahrung und war auf vielen p servers und auf...
Apply for a GM
09/19/2010 - Aion Private Server - 0 Replies
Hi, My name is William i have got 1 year of retail game experience and have almost played on all patches. I am 16 years old and live in cyprus (+2:00). i am online everyday at least 2h even if im not at home. i have played all sort of p server's... high rate, low rate, mid rate (Crystal aion, Infinit aion, Aion fusion, Gamez aion etc.) I want to apply for a GM on a mid or high rate server. I am not a developer but i can build websites and forums, i also know some GM commands because i have...
Cant apply for DF
02/03/2009 - Dekaron Private Server - 4 Replies
Maybe anybody knows why im with 4 more people in a pt cant apply for DF, it says that "All player must be apprepriate level range to aplly for DF" or something like that. I have changed Arc DF max lv 250. Players in pt were 170+ lv so why i get such error? Pls answear fast edited: pls close this thread. Everything were solved



All times are GMT +1. The time now is 08:22.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.