Git Product home page Git Product logo

conquer's People

Contributors

damianday avatar jevlomcn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

conquer's Issues

Launcher should patch client

Currently it can download patch files from account server, it should show the progress and actually patch the assets.

Local client connection

Issue: Local Client stuck at gates when the Account Server and Game Server is set up publicly. (Others can connect outside my network)

*Account Server:

  • !ServerInfo

[
{
"ServerName": "LOMCN",
"TicketAddressIP": "127.0.0.1",
"TicketAddressPort": 6678,
"PublicAddressIP": "Public_IP", (Hidden obvs)
"PublicAddressPort": 8701
}
]

  • !Settings

{
"LocalListeningIP": "192.168.1.27", (My PC's IPV4)
"LocalListeningPort": 7000,
"TicketSendingPort": 6678
}

*Game Server:

  • !Settings

    "UserConnectionIP": "192.168.1.27", (My PC's IPV4)
    "UserConnectionPort": 8701,
    "TicketReceivePort": 6678,

*Local Client

  • !Settings

{
"AccountServerAddressIP": "192.168.1.27", (My PC's IPV4)
"AccountServerAddressPort": 7000,
"SaveAccountName": "Gamemaster",
"SaveArea": "LOMCN"
}

Note: 127.0.0.1 also doesn't work

Not sure why my Local Client wont connect.

Starter Items

Some items such as WoodenSword are hardcoded and need a Config option instead for starting items such as;

A list containing structure (ItemName, RequiredGender, RequiredClass) with all items, server will give player most suitable items.

Archer attacking

Archer wont attack enemies with arrows. Could be database issue, Client is not sending correct packet to server.

Map props (Treasure chests, corpses and interactables)

Just documenting packets and features that require work/implementation as I work through code. Seems as though this was implemented as a Treasure Chest system in the old source, although it seems a little deeper.

Maps are missing "PropObject", an object players interact with (opening a chest, searching a corpse etc.)

Related server packets:
153
155
70
154

Database Error with EN db

Game Server with CN Database:

[15/05/2024 21:07:14] Connecting to 'System' database
[15/05/2024 21:07:14] Loading system data...
[15/05/2024 21:07:15] MonsterInfo Template loaded, Total: 2323
[15/05/2024 21:07:15] GuardInfo Template loaded, Total: 923
[15/05/2024 21:07:15] NpcDialog Template loaded, Total: 798
[15/05/2024 21:07:15] GameMap Template loaded, Total: 177
[15/05/2024 21:07:15] Terrain Template loaded, Total: 192
[15/05/2024 21:07:15] MapArea Template loaded, Total: 206
[15/05/2024 21:07:15] TeleportGate Template loaded, Total: 557
[15/05/2024 21:07:15] MonsterSpawn Template loaded, Total: 215
[15/05/2024 21:07:15] MonsterBossTimedZen Template loaded, Total: 124
[15/05/2024 21:07:15] MapGuard Template loaded, Total: 1070
[15/05/2024 21:07:16] GameItem Template loaded, Total: 4203
[15/05/2024 21:07:16] RandomStats Template loaded, Total: 0
[15/05/2024 21:07:16] EquipmentStats Template loaded, Total: 13
[15/05/2024 21:07:16] GameStore Template loaded, Total: 84
[15/05/2024 21:07:16] RareTreasureItem Template loaded, Total: 57
[15/05/2024 21:07:16] GameTitle Template loaded, Total: 68
[15/05/2024 21:07:16] InscriptionSkill Template loaded, Total: 396
[15/05/2024 21:07:16] GameSkill Template loaded, Total: 1302
[15/05/2024 21:07:16] SkillTrap Template loaded, Total: 749
[15/05/2024 21:07:17] GameBuff Template loaded, Total: 3128
[15/05/2024 21:07:17] GameMount Template loaded, Total: 25
[15/05/2024 21:07:17] ItemSetInfo Template loaded, Total: 0
[15/05/2024 21:07:17] MountStats Template loaded, Total: 0
[15/05/2024 21:07:17] ItemCrafting Template loaded, Total: 0
[15/05/2024 21:07:17] System.ArgumentOutOfRangeException: Exception of type 'System.ArgumentOutOfRangeException' was thrown. (Parameter 'name')
Actual value was VIPID.
at Microsoft.Data.Sqlite.SqliteDataRecord.GetOrdinal(String name)
at SqlReaderExtension.GetValue[T](DbDataReader reader, String column, T defValue) in G:\Mir3DEMU\GitHub\Conquer\Common\SqlReaderExtension.cs:line 13
at SqlReaderExtension.GetInt32(DbDataReader reader, String column, Int32 defValue) in G:\Mir3DEMU\GitHub\Conquer\Common\SqlReaderExtension.cs:line 24
at GameServer.Template.VIPSystem.LoadData() in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Template\VIPSystem.cs:line 47
[15/05/2024 21:07:17] VIPSystem Template loaded, Total: 0
[15/05/2024 21:07:17] TreasureChestInfo Template loaded, Total: 0
[15/05/2024 21:07:17] Administrator Template loaded, Total: 0
[15/05/2024 21:07:17] The system data load is complete
[15/05/2024 21:07:17] Loading user data...
[15/05/2024 21:07:17] MentorInfo Loaded, Quantity: 0
[15/05/2024 21:07:17] GuildInfo Loaded, Quantity: 0
[15/05/2024 21:07:17] TeamInfo Loaded, Quantity: 0
[15/05/2024 21:07:17] MailInfo Loaded, Quantity: 0
[15/05/2024 21:07:17] PetInfo Loaded, Quantity: 2
[15/05/2024 21:07:17] BuffInfo Loaded, Quantity: 2
[15/05/2024 21:07:17] SkillInfo Loaded, Quantity: 80
[15/05/2024 21:07:17] AccountInfo Loaded, Quantity: 26
[15/05/2024 21:07:17] SystemInfo Loaded, Quantity: 1
[15/05/2024 21:07:17] ItemInfo Loaded, Quantity: 117
[15/05/2024 21:07:17] EquipmentInfo Loaded, Quantity: 67
[15/05/2024 21:07:17] CharacterInfo Loaded, Quantity: 6
[15/05/2024 21:07:17] Start working on data correlation tasks...
[15/05/2024 21:07:17] Data correlation task processing completed, total number of tasks:170
[15/05/2024 21:07:17] Data Type:[ItemInfo], Internal Fields:[Owner], Total[107]Failed to correlate data
[15/05/2024 21:07:17] Data Type:[EquipmentInfo], Internal Fields:[Owner], Total[13]Failed to correlate data
[15/05/2024 21:07:17] Data Type:[AccountInfo], Internal Fields:[Characters], Total[20]Failed to correlate data
[15/05/2024 21:07:17] The user data is loaded

Game Server with EN Database: Stuck at Terrain

[15/05/2024 21:08:09] Connecting to 'System' database
[15/05/2024 21:08:09] Loading system data...
[15/05/2024 21:08:10] MonsterInfo Template loaded, Total: 2323
[15/05/2024 21:08:10] GuardInfo Template loaded, Total: 923
[15/05/2024 21:08:10] NpcDialog Template loaded, Total: 798
[15/05/2024 21:08:10] GameMap Template loaded, Total: 177

Game Server with EN Database (With CN terrain files): Stuck at GameItem

[15/05/2024 21:09:29] Connecting to 'System' database
[15/05/2024 21:09:29] Loading system data...
[15/05/2024 21:09:31] MonsterInfo Template loaded, Total: 2323
[15/05/2024 21:09:31] GuardInfo Template loaded, Total: 923
[15/05/2024 21:09:31] NpcDialog Template loaded, Total: 798
[15/05/2024 21:09:31] GameMap Template loaded, Total: 177
[15/05/2024 21:09:31] Terrain Template loaded, Total: 192
[15/05/2024 21:09:31] MapArea Template loaded, Total: 206
[15/05/2024 21:09:31] TeleportGate Template loaded, Total: 557
[15/05/2024 21:09:31] MonsterSpawn Template loaded, Total: 215
[15/05/2024 21:09:31] MonsterBossTimedZen Template loaded, Total: 124
[15/05/2024 21:09:31] MapGuard Template loaded, Total: 1070

Maybe Terrains (Maps) and Items are somewhere hard coded in the Game Server.
This will need to be adjusted to allow the use of an English Database.

Database - EN.zip

Account editing form

Could add something similar to the mir2 account form, replacing the account view.

Skill translations

Essential for fixing and understanding how the skill system works.
Most skills require translation.

Latest GameServer Error

TargetSite:
Void AddBuff(UInt16, GameServer.Map.MapObject)
HelpLink:

InnerException:

Source:
GameServer
Message:
Object reference not set to an instance of an object.
StackTrace:
at GameServer.Map.MapObject.AddBuff(UInt16 id, MapObject target) in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Map\MapObject.cs:line 800
at GameServer.Map.MonsterObject.Resurrect(Boolean calculate) in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Map\MonsterObject.cs:line 1662
at GameServer.Map.MonsterObject..ctor(MonsterInfo info, Map map, Int32 resInterval, Point location, Int32 range, Boolean forbidResurrection, Boolean refreshNow) in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Map\MonsterObject.cs:line 267
at GameServer.Map.MapManager.Initialize() in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Map\MapManager.cs:line 676
at GameServer.SEngine.ServiceThreadLoop() in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer\SEngine.cs:line 154

Latest Game Server Errors

This error appears when someone gets to the "Gates" and will stop any player joining the world.
[07/05/2024 21:31:10] Asynchronous connection exception: System.NullReferenceException: Object reference not set to an instance of an object.
at GameServer.Database.SystemInfo.get_Info() in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Database\SystemInfo.cs:line 86
at GameServer.Networking.NetworkManager.Connection(IAsyncResult result) in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Networking\NetworkManager.cs:line 120

CS Line 120 - if (!SystemInfo.Info.IPBans.ContainsKey(ip) || SystemInfo.Info.IPBans[ip] < SEngine.CurrentTime)

Merchant bug

Tried to sell a wooden sword to shop, got a Chinese pop up and kicked to pre char selection screen.

Unable to enter Jewelry store in BW.

Network Manager CS LINE 178

if (!SystemInfo.Info.IPBans.ContainsKey(ip) || SystemInfo.Info.IPBans[ip] < SEngine.CurrentTime)

seems to be refusing incoming connections.

Error

Game server Error:
[15/05/2024 16:48:39] Asynchronous connection exception: System.ArgumentException: Value does not fall within the expected range. (Parameter 'asyncResult')
at System.Threading.Tasks.TaskToAsyncResult.Unwrap[TResult](IAsyncResult asyncResult)
at System.Threading.Tasks.TaskToAsyncResult.End[TResult](IAsyncResult asyncResult)
at System.Net.Sockets.TcpListener.EndAcceptCore[TResult](IAsyncResult asyncResult)
at GameServer.Networking.NetworkManager.StatusConnection(IAsyncResult result) in G:\Mir3DEMU\GitHub\Conquer\GameServer\GameServer.Networking\NetworkManager.cs:line 206

Client side Error:
image

Player resurrection bug

After being killed, clicking resurrection, brings player back to life and respawns in wrong location, correct location only refreshes after moving.

Test

THIS IS JUST A TEST

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.