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.FluentConfigurationException: An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.
---> NHibernate.HibernateException: Could not create the driver from NHibernate.Driver.MySqlDataDriver, NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=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.
konum: System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
konum: NHibernate.Driver.ReflectionBasedDriver..ctor(String providerInvariantName, String driverAssemblyName, String connectionTypeName, String commandTypeName)
konum: NHibernate.Driver.MySqlDataDriver..ctor()
--- İç özel durum yığını izlemesinin sonu ---
konum: System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
konum: System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
konum: System.Activator.CreateInstance(Type type, Boolean nonPublic)
konum: System.Activator.CreateInstance(Type type)
konum: NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings)
--- İç özel durum yığını izlemesinin sonu ---
konum: NHibernate.Connection.ConnectionProvider.ConfigureDriver(IDictionary`2 settings)
konum: NHibernate.Connection.ConnectionProviderFactory.NewConnectionProvider(IDictionary`2 settings)
konum: NHibernate.Cfg.SettingsFactory.BuildSettings(IDictionary`2 properties)
konum: NHibernate.Cfg.Configuration.BuildSettings()
konum: NHibernate.Cfg.Configuration.BuildSessionFactory()
konum: FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
--- İç özel durum yığını izlemesinin sonu ---
konum: FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
konum: DB.SessionFactory.CreateLoginFactory() E:\zf\DB\Session Factory.cs içinde: satır 126
konum: DB.SessionFactory..ctor(String szHost, Boolean bIsLogin) E:\zf\DB\Session Factory.cs içinde: satır 56
konum: LoginServer.Program.ServerStartup() E:\zf\LoginServer\Program.cs içinde: satır 87
Copying MySql.Data.Dll to the folder would solve too
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...
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.
Monsters still drop Dragon *****, Meteors, Gems... why? They are ordinary drops and may drop anywhere, humm, and they drop when the monsters DIE. Then, maybe I should take a look into the monster death code which has the same name as on DynamicNPCs, Characters and everything! I'll take a look into BeKill method.
You can edit emoneyshop, but it's not only in the client. cq_goods for shop and cq_itemtype for prices.
Monsters still drop Dragon *****, Meteors, Gems... why? They are ordinary drops and may drop anywhere, humm, and they drop when the monsters DIE. Then, maybe I should take a look into the monster death code which has the same name as on DynamicNPCs, Characters and everything! I'll take a look into BeKill method.
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
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
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
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
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
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.
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.
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.
[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 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: