[SAMMELTHREAD] Game Source Changes

01/01/2014 21:15 Adasaurus#31
Adding ores to the mining

mining.cpp

and edit this line to count of your ORES
01/01/2014 21:25 Mario23231#32
Quote:
Originally Posted by Adasaurus View Post
Adding ores to the mining

mining.cpp
[...]
and edit this line to count of your ORES
first useable ext :) but if you mine ores, the can be destroyed :) xD
01/01/2014 21:29 RageAtMeBros#33
Quote:
Originally Posted by Adasaurus View Post
Change the LicenceTime for game

limit_time.h
Thx bro.
01/01/2014 21:34 koullis1#34
Where is the full source?I cannot find it lol
01/01/2014 21:34 Kraizy IV#35
Adding new commands:

cmd.cpp:


Now you have to add the function into cmd_gm or cmd_general.cpp:


Done.

If you want to use arguments watch the functions one_argument() , two_arguments().

Example:

01/01/2014 21:38 lollo_9_1#36
Quote:
Originally Posted by Adasaurus View Post
Change the LicenceTime for game

limit_time.h
You can disable it undefining it.
01/01/2014 21:42 ~Ok#37
Quote:
Originally Posted by Kraizy IV View Post
Adding new commands:

cmd.cpp:


Now you have to add the function into cmd_gm or cmd_general.cpp:


Done.

Thenks stronk kreyzi

I can add command to call quest functions ?

an example; affect.add quest command to /bonus ID Minute Rate
01/01/2014 21:45 Sujino#38
Which Line of these should be the best for dev?
Because dev, novaline had removed the Metin2Server_Check with comments
01/01/2014 21:48 Kraizy IV#39
Quote:
Originally Posted by ~Ok View Post
Thenks stronk kreyzi

I can add command to call quest functions ?

an example; affect.add quest command to /bonus ID Minute Rate
If you want to use arguments watch the functions one_argument() , two_arguments().

Example:

01/01/2014 21:49 RageAtMeBros#40
Quote:
Originally Posted by Sujino View Post
Which Line of these should be the best for dev?
Because dev, novaline had removed the Metin2Server_Check with comments
You should do it because it is not supposed to be there.

The untouched versions should be the mainlines, I prefer using mainline.
01/01/2014 21:49 Mario23231#41
offical is mainline_released, but the dev line and the novaline are newer
01/01/2014 21:52 PauloFerreira19#42
edited #
01/01/2014 21:54 .Captor#43
Kann mir jemand sagen, wie genau man die z.B game auf FreeBSD compilen muss/kann? Komme mit dem gmake nicht ganz klar (Will nicht so recht :P ).
01/01/2014 21:55 #Secresy#44
Quote:
Originally Posted by .Captor View Post
Kann mir jemand sagen, wie genau man die z.B game auf FreeBSD compilen muss/kann? Komme mit dem gmake nicht ganz klar (Will nicht so recht :P ).
dein FreeBSD root braucht erstmal /etc/rc.d/netif -restart
01/01/2014 21:57 .Captor#45
Quote:
Originally Posted by [LxR]Secresy View Post
dein FreeBSD root braucht erstmal /etc/rc.d/netif -restart
Wohl eher nicht?? xD Bitte gescheite antworten die mir auch Helfen.