Jump to content
Forgot your email address? ×
×
×
  • Create New...

Solution for War


Recommended Posts

With this solution you can use all fields of war!

 

Go to /usr/src/your_source/Srcs/server/game/src 
Open cmd_general.cpp and search function:
 
      if (type >= GUILD_WAR_TYPE_MAX_NUM)
         type = GUILD_WAR_TYPE_FIELD;

Under her place:

      if (arg2[0] == '-' || strtol(arg2, 0, 10) <0)
      {
         ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<War> No negative numbers."));
         return;
      }

I think it is a good solution :D

 

For me work 

 

Link to comment
if (type >= GUILD_WAR_TYPE_MAX_NUM || type < 0)
			type = GUILD_WAR_TYPE_FIELD;

:rolleyes:

 

 

With this code block command to use only the type of war 0

So you can only use arena

With my code you can use all fields

 

Morphe you are plagiator,put the source Freakplay.

 

I am Georgemicu  <_<

Link to comment

 

if (type >= GUILD_WAR_TYPE_MAX_NUM || type < 0)
			type = GUILD_WAR_TYPE_FIELD;

:rolleyes:

 

 

With this code block command to use only the type of war 0

So you can only use arena

With my code you can use all fields

 

Morphe you are plagiator,put the source Freakplay.

 

I am Georgemicu  <_<

 

 

You're wrong. 0 = field, 1 = arena, 2 = flag. That function set type 0 if and only if type is higher than 2 or lower than 0. So it blocks nothing.

Link to comment
Morph is an only child for 15 years. What is believed programmer.
Most are those who have server in romania are children.
 
And I am ashamed of some of them.
But not all are the same :)
 
And that community freakpla *** are only and only and only children.
Link to comment

 

Morph is an only child for 15 years. What is believed programmer.
Most are those who have server in romania are children.
 
And I am ashamed of some of them.
But not all are the same :)
 
And that community freakpla *** are only and only and only children.

 

 

http://metin2dev.org/board/topic/2627-flame-dungeon-problem/?p=17775 [ =)) ]

Link to comment

 

Morph is an only child for 15 years. What is believed programmer.
Most are those who have server in romania are children.
 
And I am ashamed of some of them.
But not all are the same :)
 
And that community freakpla *** are only and only and only children.

 

 

I just I showed another solution for war.

Close this thread please.

Link to comment

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

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.