Register for your free account! | Forgot your password?

You last visited: Today at 14:00

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

Advertisement



[Release] World Conquer Source v2

Discussion on [Release] World Conquer Source v2 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 04/17/2020, 18:33   #241
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
Quote:
Originally Posted by emobaba31 View Post
EDİT: I WİLL FİXED. IM SETUP mysql-connector-net-6.6.6.msi PROBLEM FİXED.


AppServ v 8.5.0

Apache 2.4.23
PHP 5.6.26
PHP 7.0.11
MySQL 5.7.15
phpMyAdmin 4.6.4


Error Log here
PHP Code:
2020-04-17 08:49:30 [ERROR] - Could not connect to mysql server.
2020-04-17 08:49:30 [EXCEPTION] - FluentNHibernate.Cfg.FluentConfigurationExceptionAn invalid or incomplete configuration was used while creating a SessionFactoryCheck PotentialReasons collection, and InnerException for more detail.

 ---> 
NHibernate.HibernateExceptionCould not create the driver from NHibernate.Driver.MySqlDataDriverNHibernateVersion=3.3.1.4000Culture=neutralPublicKeyToken=aa95f207798dfdb4. ---> System.Reflection.TargetInvocationExceptionÖzel durum bir çağırma hedefi tarafından oluşturuldu. ---> System.ArgumentException: İstenen .Net Framework Veri Sağlayıcısı bulunamadı. Yüklü olmayabilir.
   
konumSystem.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
   
konumNHibernate.Driver.ReflectionBasedDriver..ctor(String providerInvariantNameString driverAssemblyNameString connectionTypeNameString commandTypeName)
   
konumNHibernate.Driver.MySqlDataDriver..ctor()
   --- &
#304;ç özel durum yığını izlemesinin sonu ---
   
konumSystem.RuntimeTypeHandle.CreateInstance(RuntimeType typeBoolean publicOnlyBoolean noCheckBooleancanBeCachedRuntimeMethodHandleInternalctorBooleanbNeedSecurityCheck)
   
konumSystem.RuntimeType.CreateInstanceSlow(Boolean publicOnlyBoolean skipCheckThisBoolean fillCacheStackCrawlMarkstackMark)
   
konumSystem.Activator.CreateInstance(Type typeBoolean nonPublic)
   
konumSystem.Activator.CreateInstance(Type type)
   
konumNHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings)
   --- İç özel durum yığını izlemesinin sonu ---
   konum: NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary
`2 settings)
   
konumNHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2 settings)
   konum: NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary
`2 properties)
   
konumNHibernate.Cfg.Configuration.BuildSettings()
   
konumNHibernate.Cfg.Configuration.BuildSessionFactory()
   
konumFluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
   --- &
#304;ç özel durum yığını izlemesinin sonu ---
   
konumFluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
   
konumDB.SessionFactory.CreateLoginFactory() E:\zf\DB\Session Factory.cs içindesatır 126
   
konumDB.SessionFactory..ctor(String szHostBoolean bIsLoginE:\zf\DB\Session Factory.cs içindesatır 56
   
konumLoginServer.Program.ServerStartup() E:\zf\LoginServer\Program.cs içindesatır 87 
Copying MySql.Data.Dll to the folder would solve too
pintinho12 is offline  
Old 04/18/2020, 09:31   #242
 
elite*gold: 0
Join Date: Sep 2010
Posts: 13
Received Thanks: 2
Quote:
Originally Posted by pintinho12 View Post
I like the cq_action design because it makes it easier to create events, remove them or update. I don't need to create tons of classes and C# code to create events, makes my executable smaller (which is not an advantage at all) and I can easily follow the code even inside of the server (since I can print it while it executes with a PM character).
You can always call /reloadaction to reaload the server, /reloadtasks or even /reloadnpcs, /reloadgenerators and others to update your server, tho, I still think that updates must be done while server is shutdown so you can backup data and do things safely.
It's okay, depending on how you handle things (like I do on this version of the server) it can be slower, but if you do the correct changes you can make it so fast you wont feel the actions executing.
I don't need to write the same piece of code or thousand of times for every event, If an error is thrown I just need to change it in one place (if it's a code problem) or in the action itself. If you have an manager (like me), you can easily see your events and track problems.
Maybe an scripting language like Lua would be better? Okay, but to be fair, this model doesn't hurt at all. I have all checks in one place and I don't even need to write on cq_actions the requirements for executing something. I can write it on cq_task and it will avoid 5-6 actions of checking if a character is enabled to execute something.
Optmizing the event system on this server actually just depends on how much you know about it.
Since most of the database is from TQ, most of the actions don't care about cq_task, but you can check for money, item, marriage and a lot of other things in 1 row instead of a lot.
My brother is really confused. The system is good but I can't find anythink. You didn't give any information.
I cant find normal monsters drop rate ı removed pheasant cq_action and still drop meteor and drogonball.
I Cant edit emoneyshop ı want to add meteor. ican add. but ı cant buy and not change meteor price.

Thanks for help...
emobaba31 is offline  
Old 04/19/2020, 04:52   #243
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
Quote:
Originally Posted by emobaba31 View Post
My brother is really confused. The system is good but I can't find anythink. You didn't give any information.
I cant find normal monsters drop rate ı removed pheasant cq_action and still drop meteor and drogonball.
I Cant edit emoneyshop ı want to add meteor. ican add. but ı cant buy and not change meteor price.

Thanks for help...
Maybe because they are things that I don't want to make actions handle it?
You could get answers to your questions by just thinking a little bit more.


You can edit emoneyshop, but it's not only in the client. cq_goods for shop and cq_itemtype for prices.
pintinho12 is offline  
Old 04/19/2020, 07:28   #244
 
elite*gold: 0
Join Date: Sep 2010
Posts: 13
Received Thanks: 2
Quote:
Originally Posted by pintinho12 View Post
Maybe because they are things that I don't want to make actions handle it?
You could get answers to your questions by just thinking a little bit more.


You can edit emoneyshop, but it's not only in the client. cq_goods for shop and cq_itemtype for prices.
Thanks. I am a C # UNITY developer to the coding language. It is an interesting coding language through the database but it works very well. As I said, I don't want db and meteor to fall easily because I will make the game difficult. ım editing itemtype price and emoneyshop but ıdk edit cq_goods
emobaba31 is offline  
Old 04/19/2020, 08:17   #245
 
elite*gold: 0
Join Date: Aug 2010
Posts: 940
Received Thanks: 76
Any idea why the client closes without any errors but doesn't log me in even though the msg server says I am logged in?
denominator is offline  
Old 04/19/2020, 19:48   #246
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
Quote:
Originally Posted by emobaba31 View Post
Thanks. I am a C # UNITY developer to the coding language. It is an interesting coding language through the database but it works very well. As I said, I don't want db and meteor to fall easily because I will make the game difficult. ım editing itemtype price and emoneyshop but ıdk edit cq_goods
cq_goods
owner_id = ID of the NPC
itemtype = self explanatory
moneytype = 0 -> silvers 1 -> CPs
monopoly = 0 normal 1 bound

If you want to change the rates just make something harder then, find BeKill on Monster and change the rates, it's commented

Quote:
Originally Posted by denominator View Post
Any idea why the client closes without any errors but doesn't log me in even though the msg server says I am logged in?
When it happens? If before login, it may be the DH Key Exchange packet. At any time, a packet being sent with an invalid size
pintinho12 is offline  
Thanks
1 User
Old 04/19/2020, 23:25   #247
 
elite*gold: 0
Join Date: Aug 2010
Posts: 940
Received Thanks: 76
Seems to be when it goes to login the game server afaik, tried without any of the patches first then added the patches you recommended
denominator is offline  
Old 04/20/2020, 15:32   #248
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
Quote:
Originally Posted by denominator View Post
Seems to be when it goes to login the game server afaik, tried without any of the patches first then added the patches you recommended
The patches would only make a disconnection, if it's closing the client then you'll need to debug sending packet by packet to see what's crashing. Probably something with invalid length
pintinho12 is offline  
Old 04/20/2020, 16:49   #249
 
elite*gold: 0
Join Date: Aug 2010
Posts: 940
Received Thanks: 76
I've been having all kinds of problems with private servers and connecting since having to replace my hard drive. Private server that I was working on before the new hard drive was working 100% but not now soo I'm guessing it is probably something that I'm missing but my PC isn't actually telling me lol. sfc /scannow gave me an error about connecting issues >.<

So I managed to get some 6300 server running and the client logs in but what is really weird is I can only host with a 192.168.0.*** IP o.O Using an external IP refuses to login

Meh it's a stupid firewall issue, all fixed now though
denominator is offline  
Old 04/21/2020, 10:35   #250
 
elite*gold: 0
Join Date: Sep 2010
Posts: 13
Received Thanks: 2
shop price

Quote:
Originally Posted by pintinho12 View Post
The patches would only make a disconnection, if it's closing the client then you'll need to debug sending packet by packet to see what's crashing. Probably something with invalid length
Whatever I did, the prices don't change!
cq_itemtype prices ı will changed but not work.
and and the player CP's disappears after 2-3 times entry and exit. if you add any cps it all comes back.

emobaba31 is offline  
Thanks
1 User
Old 04/27/2020, 00:47   #251
 
elite*gold: 0
Join Date: May 2015
Posts: 14
Received Thanks: 0
hey how run this source please ?
mohanad2001 is offline  
Old 04/28/2020, 14:31   #252
 
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 29
Quote:
Originally Posted by emobaba31 View Post
Whatever I did, the prices don't change!
cq_itemtype prices ı will changed but not work.
and and the player CP's disappears after 2-3 times entry and exit. if you add any cps it all comes back.

You will have to change the item prices at itemtype.dat.
The prices you are changing are only server side, so you'll see if you buy something (after restart of your server ofcourse) that you only pay 675 instead of 675000.

There are editors on the forums, so use Search for that.

Quote:
Originally Posted by mohanad2001 View Post
hey how run this source please ?
Build it using Visual Studio.
bashondegek is offline  
Thanks
1 User
Old 04/29/2020, 14:06   #253
 
elite*gold: 0
Join Date: Sep 2010
Posts: 13
Received Thanks: 2
Yes but have big bugs this source. When dc character and re-login 2-3 times cps and bound cps is lost.

And get promed rewards not working. Because database cq_action e_money2 not finding game action.

For fix
GameAction.cs
Character.cs
emobaba31 is offline  
Thanks
1 User
Old 05/03/2020, 18:30   #254
 
elite*gold: 0
Join Date: Nov 2008
Posts: 63
Received Thanks: 11
This source have a bug but cannot find the problem yet.

Look the image: (some bosses in same site of dragon city)
darkhc is offline  
Old 05/03/2020, 23:39   #255
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 908
Received Thanks: 390
Quote:
Originally Posted by darkhc View Post
This source have a bug but cannot find the problem yet.

Look the image: (some bosses in same site of dragon city)
It's cq_action, not a source bug. Except for the event engines, mostly everything can be fixed by checking the database.
The action which is spawning Banshees is missing the check if there are already Banshees in the map.
pintinho12 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[RELEASE]Conquer Emulator Source 5165
11/22/2010 - CO2 PServer Guides & Releases - 29 Replies
Latest Version: v1.0.0 Last Updated: 07:37AM 29/07 2010 This is a small project in NewestCOServer. Why this? To make a better NewestCOServer source. Ive deleted alot things so far and started building things up. I will work on this time after time, untill it will be good :) Hope you find this useful
[RELEASE] Conquer v5065 Source
10/20/2009 - CO2 PServer Guides & Releases - 2 Replies
Edited
[Release] Conquer Source
08/23/2009 - CO2 PServer Guides & Releases - 1 Replies
Heya. Since wrong people got ahold of this (immature kids, ofcourse) I decided to release it. It's a source which base was made by Tanel, and was rewritten and continued by me. I will not say that the coding in this source is great, because it's sure not. I stopped developing somewhere in 2008, so it's poorly coded in some places, but it has the basic stuffs + some more. Here's a little list to give you a little information:



All times are GMT +2. The time now is 14:00.


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.