Jump to content

Solution for War


Morphe

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
Share on other sites

 

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
Share on other sites

 

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
Share on other sites

 

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
Share on other sites

Announcements



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