Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 16:12

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

Advertisement



[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

Discussion on [SAMMELTHREAD] Metin2 Source Compile Tips/Tuts within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 01/08/2014, 01:14   #121
 
elite*gold: 0
Join Date: Sep 2013
Posts: 10
Received Thanks: 9
Quote:
Originally Posted by .InyaProduction View Post
The db first ports everything to the db and then reads from DB

I like the txt method anyways. Its a lot more organized and if you create little apps for it, it works pretty nice to me
That would be pretty silly no? (read, port, then read what you ported).
WSThink is offline  
Old 01/08/2014, 01:30   #122
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
No not silly. Txts for better editing as human

db for better performance as machine
therefor you have to port -> read
.Inya is offline  
Old 01/08/2014, 02:18   #123
 
miszczuuuuu's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 55
Received Thanks: 25
Code:
/libexec/ld-elf.so.1: Shared object "libIL.so.2" not found, required by "game"
anyone have this lib?
miszczuuuuu is offline  
Old 01/08/2014, 10:22   #124
 
elite*gold: 0
Join Date: Apr 2008
Posts: 35
Received Thanks: 0
is the sources in /mainline/ the sources of rev40250?
lukeido is offline  
Old 01/08/2014, 12:43   #125
 
elite*gold: 0
Join Date: Sep 2013
Posts: 10
Received Thanks: 9
Quote:
Originally Posted by .InyaProduction View Post
No not silly. Txts for better editing as human

db for better performance as machine
therefor you have to port -> read
Regardless what the game does, it would be silly to read a text file, interprete it, and don't use it for anything besides putting it into a database.

And for reading selected entries a DB is of course faster, but for loading a whole table and keeping it in memory, the speed/performance difference is pretty similar and usually faster for the txt (And for small data chunks a txt is undoubtedly faster).
WSThink is offline  
Old 01/08/2014, 13:03   #126
 
elite*gold: 0
Join Date: Dec 2010
Posts: 80
Received Thanks: 5
I have new errors:



Thank.
MrFrancisc is offline  
Old 01/08/2014, 17:08   #127
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
Habe jetzt die QC files Erfolgreich compiled. Nur besteht bei den neuen Quests wie "flame_dungeon" ein Problem, das der QC Compiler dieses "define etc. pp" nicht laden kann. Als ausgabe erhalte ich dann "*** must start with quest". Alle anderens quests ohne dieses funktionieren Problemlos.

PS: Das ganze läuft auf Windoof ab!
.Captor is offline  
Old 01/08/2014, 17:27   #128
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
Quote:
Originally Posted by WSThink View Post
Regardless what the game does, it would be silly to read a text file, interprete it, and don't use it for anything besides putting it into a database.

And for reading selected entries a DB is of course faster, but for loading a whole table and keeping it in memory, the speed/performance difference is pretty similar and usually faster for the txt (And for small data chunks a txt is undoubtedly faster).
Why should it port the tables to the db then? It could just read it from txt and its good. In your thoughts there would no db tables for mob and item be needed
.Inya is offline  
Old 01/08/2014, 17:51   #129
 
elite*gold: 11
Join Date: Nov 2010
Posts: 1,709
Received Thanks: 3,828
Quote:
Originally Posted by .Captor View Post
Habe jetzt die QC files Erfolgreich compiled. Nur besteht bei den neuen Quests wie "flame_dungeon" ein Problem, das der QC Compiler dieses "define etc. pp" nicht laden kann. Als ausgabe erhalte ich dann "*** must start with quest". Alle anderens quests ohne dieses funktionieren Problemlos.

PS: Das ganze läuft auf Windoof ab!
Compile them with qc for Windows, it will create a folder called pre_qc with all the quests ready for freebsd (without the defines)
.Shōgun is offline  
Thanks
1 User
Old 01/08/2014, 17:56   #130
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
Quote:
Originally Posted by .Shōgun View Post
Compile them with qc for Windows, it will create a folder called pre_qc with all the quests ready for freebsd (without the defines)
Do you mean This: ?

If yes, the thread is deleted and it also dont works.

Or which program do you mean with "qc for windows" ? ...
.Captor is offline  
Old 01/08/2014, 18:01   #131
 
elite*gold: 25
Join Date: Sep 2011
Posts: 5,536
Received Thanks: 1,266
Quote:
Originally Posted by .Captor View Post
Do you mean This: ?

If yes, the thread is deleted and it also dont works.

Or which program do you mean with "qc for windows" ? ...
I will send you the binary later.
IchVerabschiedeMich is offline  
Old 01/09/2014, 00:28   #132
 
elite*gold: 0
Join Date: Sep 2013
Posts: 10
Received Thanks: 9
Quote:
Originally Posted by .InyaProduction View Post
Why should it port the tables to the db then? It could just read it from txt and its good. In your thoughts there would no db tables for mob and item be needed
Maybe ymir had its plans or wanted to keep some kind of retrocompatibility for whatever external scripts that read from item_proto.
WSThink is offline  
Old 01/09/2014, 01:32   #133
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
Quote:
Originally Posted by WSThink View Post
I tried to figure that out... my guess is that ymir had its plans or wanted to keep some kind of retrocompatibility for whatever external scripts that read from item_proto.

But since you insist, please, point me to where the data from mob_proto and item_proto DB tables is being loaded. I may have missed it.
Ill analyze the function as soon as im able to. Both of our possibilities could be right. But with your version i dont understand the exist of the db tables
.Inya is offline  
Old 01/09/2014, 20:49   #134
 
elite*gold: 0
Join Date: Jan 2014
Posts: 4
Received Thanks: 1
Hello guys.

I have that error:


How i can fix it?

Thanks
Haaard is offline  
Old 01/09/2014, 23:34   #135
 
.Inya's Avatar
 
elite*gold: 50
Join Date: Mar 2013
Posts: 2,401
Received Thanks: 1,613
Spectators as observers in OX




You just have to add 3 simple lines to the OXevent.cpp

You can find the line at the GM Command "/observer"
.Inya is offline  
Reply


Similar Threads Similar Threads
Reverse Crypt Systems [Tips/Hints/Tuts needed]]
03/01/2012 - CO2 Private Server - 8 Replies
Hello PVPers, So the Title says it all, Since i came here and i am trying to learn how to be a good Coder and Co2 P.Server Specially , i guess i dd well so far but i'v noticed that all my prev experience ddnt came near Encrypting/Decrypting systems , i also aware of that most of good coders around here are very busy coding stuff and so ,i was away for sometime and about 2 months ago i came back from AD (work trip) and a friend asked for an up to date P.Server , actually i miss that fun so...



All times are GMT +1. The time now is 16:12.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.