Register for your free account! | Forgot your password?

You last visited: Today at 16:37

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

Advertisement



[RELEASE][C++] DB without .txt files

Discussion on [RELEASE][C++] DB without .txt files within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old 03/03/2014, 00:45   #16


 
Mr. 'Avenue™'s Avatar
 
elite*gold: 222
The Black Market: 101/0/0
Join Date: Oct 2012
Posts: 2,361
Received Thanks: 3,388
Quote:
Originally Posted by .Risan. View Post
Kann ja auch Schlecht, hab ich selber so mir vor einiger Zeit so eingebaut..
Das solltest du dann aber auch dazu schreiben.

Naja der Source wird (jedenfalls war's bei mir so) nicht ohne Veränderungen funktionieren. Danke nochmal an Sanchez der's mir gefixt hat.
Mr. 'Avenue™ is offline  
Old 03/14/2014, 10:53   #17
 
fannan10's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 130
Received Thanks: 16
can you tell me how can i add this function please
fannan10 is offline  
Old 03/14/2014, 13:08   #18
 
elite*gold: 0
Join Date: May 2011
Posts: 24
Received Thanks: 2
work for me perfectly thx man !
Madamemisa is offline  
Old 03/14/2014, 13:10   #19
 
elite*gold: 0
Join Date: May 2009
Posts: 95
Received Thanks: 95
Quote:
Originally Posted by fannan10 View Post
can you tell me how can i add this function please
You must replace functions in sources DB and compile it
deco016 is offline  
Thanks
1 User
Old 03/14/2014, 14:36   #20
 
fannan10's Avatar
 
elite*gold: 0
Join Date: Apr 2013
Posts: 130
Received Thanks: 16
where can i find this "sources DB"
fannan10 is offline  
Old 03/14/2014, 19:38   #21
 
.Despero™'s Avatar
 
elite*gold: 75
Join Date: Mar 2012
Posts: 2,655
Received Thanks: 742
Quote:
Originally Posted by .Risan. View Post


DISABLE_PROTOS = 1
Use SQL

DISABLE_PROTOS = 0
USE TXT

Ich habe es mal für die 34083 game versucht und es klappt. Danke :P
.Despero™ is offline  
Old 03/14/2014, 19:59   #22
 
RatedR203 © TGC-TEAM's Avatar
 
elite*gold: 0
Join Date: Mar 2014
Posts: 130
Received Thanks: 205
thk!
RatedR203 © TGC-TEAM is offline  
Old 03/15/2014, 00:53   #23
 
elite*gold: 198
Join Date: Mar 2011
Posts: 835
Received Thanks: 263
Nice but this looks like the source from iMer
ƬheGame is offline  
Old 03/15/2014, 03:26   #24
 
elite*gold: 0
Join Date: May 2009
Posts: 95
Received Thanks: 95
Quote:
Originally Posted by ƬheGame View Post
Nice but this looks like the source from iMer
No, i created this functions not imer
deco016 is offline  
Old 03/15/2014, 03:52   #25
 
KillHumans's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 416
Received Thanks: 95
Quote:
Originally Posted by deco016 View Post
Hey, in last year i rewrite DB functions for loading item_proto and mob_proto from MySQL without .txt files, Here is source :
ClientManagerBoot.cpp
Imporant!
Remove from bool CClientManager::InitializeTables() two calls functions :
MirrorMobTableIntoDB() and MirrorItemTableIntoDB()

Note:
Theard create for elitepvpers.com , do not copy for another board (like mpcforum.pl) !
Im feeling like a noob,
now. Where I put this?
KillHumans is offline  
Old 03/15/2014, 04:05   #26
 
elite*gold: 0
Join Date: May 2009
Posts: 95
Received Thanks: 95
If you have sources of game/db open ClientManagerBoot.cpp and replace function bool CClientManager::InitializeMobTable() and bool CClientManager::InitializeItemTable() , save and compile it
deco016 is offline  
Old 03/15/2014, 10:36   #27
 
.Captor's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 223
Received Thanks: 93
Works perfectly! thanks
.Captor is offline  
Old 04/22/2014, 10:20   #28
 
elite*gold: 0
Join Date: Aug 2011
Posts: 61
Received Thanks: 13
You saved me!!
I don't like that ymir moved the item_proto and mob_proto into txt it looks messed up like that.
Anyway thanks

Edit:Getting some errors

PHP Code:
map is not a member of std
dword was not declared in this scope
value type was not declared 
and many more.

Shall i replace the whole clientmanagerboot.cpp ??
What includes shall i do?
koullis1 is offline  
Old 03/28/2015, 21:16   #29
 
elite*gold: 0
Join Date: Nov 2011
Posts: 15
Received Thanks: 0
#
kirill55 is offline  
Old 03/30/2015, 02:46   #30
 
Water77's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 10
Received Thanks: 8
does not work / funktioniert nicht
kann jemand diesen code in meine datei einbauen / ersetzen?
Attached Files
File Type: txt ClientManager.txt (140.7 KB, 54 views)
Water77 is offline  
Reply




All times are GMT +2. The time now is 16:37.


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