Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

talk #2

Open
NL0bP opened this issue Aug 10, 2018 · 48 comments
Open

talk #2

NL0bP opened this issue Aug 10, 2018 · 48 comments

Comments

@NL0bP
Copy link
Owner

NL0bP commented Aug 10, 2018

It is impossible to make reconnection or to enter another client

@Kalle801
Copy link

Yanlong deleted his project. Its over...

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 11, 2018

Yes, it's unexpected .... But there are 11 forks, for example [here] (https://github.com/veraalex97/Archeage-Server-emulator-or-files).

@Kalle801
Copy link

oh lol didnt know that. Amazing :)

@JeyFrey
Copy link

JeyFrey commented Aug 11, 2018

Hey I also keep downloading all new files and stages of development, so if all stuff gets deleted, I still have a few backups.

@Kalle801
Copy link

Kalle801 commented Aug 12, 2018

Hello again :) I try to get into the work with the newst files but i cant even load the characters. It is like the server does not read the tables.

----------------------------------------------------------------------[ MySQL ] 12.08.2018 04:02 [INFO] - Error: Unknown error 12.08.2018 04:02 [INFO] - Load to 0 accounts

What do i have to do with the: archeage_world Database which i can not find ?

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 12, 2018

For LoginServer, the database should be called archeage. The database must have tables accounts and characters.

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 12, 2018

Let me remind you: the password is encrypted by MD5 and written to the token field.

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 12, 2018

GameServer does not use any database yet, so it's like it's written in the config.

@Kalle801
Copy link

Kalle801 commented Aug 12, 2018

i got it all like this but i use your filesonly, do i need other files also?

No matter what i do. It wont connect to mysql: https://img1.picload.org/image/dloppgcr/2018.08.12-12.47.png

It Says: The Host does not support SSL connections: https://img3.picload.org/image/dlopprgi/2018.08.12-13.04.png

@sxeroot
Copy link

sxeroot commented Aug 12, 2018

@Kalle801 localhost or 127.0.0.1 run mysql servers usualy have ssl off unless configured otherwise, loginserver tries to connect with ssl you need to add SslMode=none to the connection string in the Settings.cs file of the loginserver

@Kalle801
Copy link

Kalle801 commented Aug 12, 2018

hm i dont know wehere to add it. Im still learning c#

@sxeroot
Copy link

sxeroot commented Aug 12, 2018

@Kalle801

Loginserver files Settings.cs line 24

looks like

string connection = "server=" + Settings.Default.DataBase_Host + ";user=" + Settings.Default.DataBase_User + ";database=" + Settings.Default.DataBase_Name + ";port=" + Settings.Default.DataBase_Port + ";password=" + Settings.Default.DataBase_Password + ";";

change to

string connection = "server=" + Settings.Default.DataBase_Host + ";user=" + Settings.Default.DataBase_User + ";database=" + Settings.Default.DataBase_Name + ";port=" + Settings.Default.DataBase_Port + ";password=" + Settings.Default.DataBase_Password + ";SslMode=none";

@Kalle801
Copy link

Kalle801 commented Aug 12, 2018

Got it! Thank you :)

Im in the World! :)
The quest crashed it ^^

We need quest and item database right?

@Kalle801
Copy link

@NL0bP Would you be so kind and upload the client u use? With the ArcheRage client i cant do anything.
Or are you using another client database?

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 12, 2018

This is all that is at the moment. There is no one, nothing can be done. You can only see the world.
The fact that we see three NPCs and the quest is the result of hardcoded packages.
To re-enter, you need to restart the server - this is not the resolved issue of this topic.

PS
Please open new issues as needed. Do not use this issue for communication.

@Kalle801
Copy link

Kalle801 commented Aug 12, 2018

If i got an ArcheAge mysql database (full) not encrypted. Would that help?

Oh sorry dint saw the last message.

@Rain0Ash
Copy link

Rain0Ash commented Aug 12, 2018

I think yes. More - no less, come in handy.

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 12, 2018

Yes, if you can give a link to it.

@Kalle801
Copy link

I had one but deleted it. I have to find it again. Give me a view days.

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 12, 2018

Good. Let's wait.

@Rain0Ash
Copy link

Perhaps not in the subject, but as far as I can remember, in the early versions of AA there was no protection for the packages. It remains to find a beta client or early patches 1.x. But it's just, for the sake of information.

@JeyFrey
Copy link

JeyFrey commented Aug 12, 2018

We need to find out how the database can be decrypted, I am just extracting the game_pak (still loading) from the 3.0.3.0 version and found some websites with hints how to decrypt it. Will keep you updated, but I literally just started learning programming, so dont expect anything.

@Kalle801
Copy link

Kalle801 commented Aug 12, 2018

i got the client (game_pak) editor if someone needs it.

https://www.file-upload.net/download-13270844/ArcheAgePackTool_v1.0.1.rar.html

@JeyFrey
Copy link

JeyFrey commented Aug 12, 2018

Unpacking the game_pak gives me lots of data, including compact.sqlite - but it seems one needs a compact.sqlite3 to do anything further instead, so how do you convert a .sqlite to .sqlite3?

@sxeroot
Copy link

sxeroot commented Aug 12, 2018

@JeyFrey you dont, or more like you cant with that one since it needs to be decrypted first that is the issue the old databases werent encrypted cant remmeber the point of when they started encrypting them but the 2013 leaked files had a sqlite3 file that had alot of things maybe as a base could be used link below

https://anonfile.com/2fw6N7fcba/compact.sqlite3

i believe its more or less the same db provided in the other opened issue as plain sql there

@JeyFrey
Copy link

JeyFrey commented Aug 12, 2018

@sxeroot I see. I thought from reading this thread post, that it should still work if I find any way to convert it into the right sqlite3: http://forum.ragezone.com/f857/tools-archeage-db-converter-pack-1040661/#post8281281

So what we basically need is a way to encrypt the new compact.sqlite as well as a way to create + delete characters, right?

@sxeroot
Copy link

sxeroot commented Aug 13, 2018

@JeyFrey i did try that method described in ragezone that you linked yesterday evening tho it was getting late and didnt get any promising results so i gave up, that there takes in an sqlite3 file can change it to take sqlite instead and see if it decrypts it will do that later today and post results.

as for the rest if someone is able to decrypt it would be awesome since we would get all the structures used by the game however they arent really nessesary the database can be recreated in theoretical way like the character table we know what the game will need to store more or less on character data so we can play around with it ofcourse this will take longer to do, tho i still believe the old database can be atleast used as base and newer stuff added to it because even tho its been like 5 years probably not much has changed in the main structure of the database.

@Kalle801
Copy link

Kalle801 commented Aug 13, 2018

I am able to import the unencrypted compact.sqlite to the client without errors. If that helps, let me know.

I found this : ASCII "9e53f9e9ea97e79c0d97c29b30aa171e0a3ddf6f"
In ArcheRage client (Russian)

Maybe somebody knows what it is for.

@Rain0Ash
Copy link

In archeage.exe - .xlgames? I also found it, but I think it's some kind of hash. Also I found two old programs for decrypt db, but it's not very clear how they work.
App.zip

@JeyFrey
Copy link

JeyFrey commented Aug 13, 2018

@Rain0Ash
Its basically the same stuff that can be found in my link few comments above - you can also find a FAQ on how to use it there.
It needs a compact.sqlite3 but I only have a compact.sqlite. So I took the code and tried to exchange the sqlite3 with sqlite but I ended up with some "numbers too big" error while debugging in Visual Studio 2017.

@Rain0Ash
Copy link

Rain0Ash commented Aug 13, 2018

@JeyFrey
As I understand it, CA1 should create a decrypted.data file with some information in hex, however it creates an empty file. CA2 requires data in this file, but file is empty -> error. There it is said that in patch 2.0 updated the encryption base, apparently because of this.
My CA2 error:
Unhandled exception: System.Security.Cryptography.CryptographicException: Invalid data length for decryption.
in System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock (Byte [] inputBuffer, Int32 inputOffset, Int32 inputCount)
in System.Security.Cryptography.CryptoStream.FlushFinalBlock ()
in System.Security.Cryptography.CryptoStream.Dispose (Boolean disposing)
in System.IO.Stream.Close ()
in ConsoleApplication2.Program.Decrypt (String encryptedFile, String decryptedFile, String keyFile)
in ConsoleApplication2.Program.Main (String [] args)

@JeyFrey
Copy link

JeyFrey commented Aug 13, 2018

@Rain0Ash
Yeah I had that same error, I just didnt knew the exact same words in english, thats why I translated it in a kinda free way.
From what I know, you need to place the CA1 and the compact.sqlite in the unpacked game_pak folder bin32 and then start the CA1.
Did you try it that way or with a compact.sqlite only? And do you have a compact.sqlite or .sqlite3?

I seems that the method only worked before they changed the encryption OR we are just missing something.

@Rain0Ash
Copy link

@JeyFrey
compact.sqlite, for CA1 i renamed it to compact.sqlite3, i try to add 16 hex \x00 in file head, but no difference.

@JeyFrey
Copy link

JeyFrey commented Aug 13, 2018

@Rain0Ash
Guess we need to find someone who is able to decrypt it in a way that we cant see or we just need to trial and error with databases until we find the right way how they work.

@Rain0Ash
Copy link

@NL0bP It would be nice if all information about undefined packets were displayed (and save optionaly). Unfortunately, C# I can only read, but not write.

@DancerS
Copy link

DancerS commented Aug 13, 2018

I ask, create new topics for discussion on various issues, and then it's not on the topic went ... and have a long flipping to the bottom

@NL0bP NL0bP changed the title disconnect when re-entering the lobby talk Aug 13, 2018
@JeyFrey
Copy link

JeyFrey commented Aug 16, 2018

Can anyone explain me how the tables "accounts" and "characters" need to look like and what the syntax is?
Or can someone upload their sql database for loginserver? Struggeling to get it setup.

@NL0bP
Copy link
Owner Author

NL0bP commented Aug 16, 2018

@JeyFrey look in the folder:
ArcheAgeLogin\bin\Debug\sql\accounts+.sql
ArcheAgeLogin\bin\Debug\sql\characters+.sql

@JeyFrey
Copy link

JeyFrey commented Aug 16, 2018

@NL0bP
Thanks, its working now. As you cant accept the quest on the boat (at least I cant), how do you progress to the open world? Or what parameter is needed where to get started directly there?

@Kalle801
Copy link

The quest is a thing which need a database to be done (variable) so its not possible yet.

NL0bP pushed a commit that referenced this issue Aug 17, 2018
@CaioFPeres
Copy link

Hello, i couldnt understand how do i make the server work. Could someone help me on this? The exe's crash after i run them...

@NL0bP
Copy link
Owner Author

NL0bP commented Sep 21, 2018

@CaioFPeres
Copy link

CaioFPeres commented Sep 21, 2018

Well i have seen it but the exes crash. Do i have to create an database under 3306 port for it to run?

@NL0bP
Copy link
Owner Author

NL0bP commented Sep 21, 2018

@CaioFPeres, all tables must be installed in the database archeage

@CaioFPeres
Copy link

Ok, i did it. But now it wont get past char creation screen. I put name and click, and nothing happens...

@NL0bP
Copy link
Owner Author

NL0bP commented Sep 21, 2018

@CaioFPeres, сreating characters and entering into the world of running for version 1.0.1406. In version 3.0.3.0 encrypted traffic.

@CaioFPeres
Copy link

Ok, thanks for the replys. But on the past pictures you posted on the main page, there was showing the client 3.0.3.0 running into the world. Can't it do it?

@NL0bP
Copy link
Owner Author

NL0bP commented Sep 22, 2018

@CaioFPeres, hardcoded packages can. You cannot make your character and them to enter.

NL0bP pushed a commit that referenced this issue Mar 31, 2024
NL0bP pushed a commit that referenced this issue Mar 31, 2024
NL0bP pushed a commit that referenced this issue Mar 31, 2024
…ry) (#84)

* quest handling changes

1. quests that give a quest item to progress, has been implemented
2. custom exp and copper rewards have been fixed (requires updates to DB as well)
3. quest reward items implemented

* Delete QuestManager.cs.bak

* Delete CharacterQuests.cs.bak

* Delete QuestActSupplyCopper.cs.bak

* Delete QuestActSupplyItem.cs.bak

* Delete Quest.cs.bak

* re commit of quest changes

1. quests that give a quest item to progress, has been implemented
2. custom exp and copper rewards have been fixed (requires updates to DB as well)
3. quest reward items implemented

* request changes to Quest changes

great suggestion were requested and changed

* Quest changes/fixes part #2

1. Dropped/abandoned quests now remove quest items from inventory and no longer remove quest rewards
2. completed quests no remove quest items from inventory
3. added enum as requested in previous change

* Update Quest.cs

* QuestComponentKind into file model

QuestComponentKind into file model

* Update Quest.cs
NL0bP pushed a commit that referenced this issue Mar 31, 2024
* quest handling changes

1. quests that give a quest item to progress, has been implemented
2. custom exp and copper rewards have been fixed (requires updates to DB as well)
3. quest reward items implemented

* Delete QuestManager.cs.bak

* Delete CharacterQuests.cs.bak

* Delete QuestActSupplyCopper.cs.bak

* Delete QuestActSupplyItem.cs.bak

* Delete Quest.cs.bak

* re commit of quest changes

1. quests that give a quest item to progress, has been implemented
2. custom exp and copper rewards have been fixed (requires updates to DB as well)
3. quest reward items implemented

* request changes to Quest changes

great suggestion were requested and changed

* Quest changes/fixes part #2

1. Dropped/abandoned quests now remove quest items from inventory and no longer remove quest rewards
2. completed quests no remove quest items from inventory
3. added enum as requested in previous change

* Update Quest.cs

* QuestComponentKind into file model

QuestComponentKind into file model

* Update Quest.cs

* [Game] -fix: Quests Object interactions/backpacks

1. quest fix for object interactions
2. quest item backpack goes on back / gets remove on quest drop
3. optimized the QuestActSupplyItem.cs

* Update Quest.cs

* Update QuestActSupplyItem.cs
NL0bP pushed a commit that referenced this issue Mar 31, 2024
NL0bP pushed a commit that referenced this issue Mar 31, 2024
* [Items] Set Bonuses Implemented

* [Effects] FIx Bonus Calculation

* [Doodad] Prevent crash from happening

* [Skills] Combat buffs start

* [Skill] Optional GCD Bypass

* [Skills] GlobalCooldownMul(Attack Speed) Implemented

* [Items] Added Wield Buffs & Fixed GCDMul

* [Misc] Add safeguards to not go above level 55

* [Genesis] Add CI

* [Misc] Demo loading of Buff Modifiers

* [Buffs] Fixed Buff Durations

* [Buffs]RemoveOn Enum Created

* [Skills] Fix for SkillController animation

* [Skills] Forgot to write ActorFlags..

* Fix boats

* [Boats] Basic boat movement

* [Boats] Cleanup

* [Combat] Added Hostility Checks for Safe Zones

* [Combat] Initialize hostilePlayers

* [Boat] Fix position issue

* [Combat] SafeZone Fixes

* [Combat] SafeZone & Flagging Fixes

* [Commands] ClearCombat QOL

* [Skills] Fix charge count server side, proper use of charge for damage & heals

* [Unit] Attributes Cleanup / Fix HitRate Gems

* [Buffs] Some Weird Stuff With Triggers/Combat Buffs

god help us

* [Boats] Attempt to fix the doodad issue, MySlave ping, drag/steer fix

* [Doodads] Add nullcheck on attach

* [Boats] Broadcast the attach/deattach packets

* [Boats] Fix attachment reason & bond kind

* [Boats] Spawn attached slaves (cannons)

* [Boats] Fix cannon skills not dealing dmg

* [Buffs] Triggers & Combat Buff Changes

* [Buffs] Fix combat buff targetting (hack)

* [Targeting] Fix raid targeting

* [TickManager] Implemented & Added Combat Ticks

* [Targeting] Fix raid targeting

* [Combat] Defense Penetration Added

* [Combat] Added Immunity to Combat Roll

* [Combat] Fix Immune Hopefully

* [Genesis] Add basic Discord bot

* Fix build

* [Skills] Fix damage increase combos

* [AreaTrigger] Fix exceptions, make cuboid "spheres" fitting their size

* [Skills]Add mana burning

* [Skills] Fixes for damage popups

* [Skills]Add immune buffs

* [TickManager] Custom EventHandler

* [Unit] Buff Modifiers (Untested)

* [GameData] Fix loading to use singletons

* [Buffs] Use Duration & InDuration modifiers

* [Skills] Fix server crash related to Area Triggers

* [Slave] Move vehicles (non boats) server side

* [Buffs] Send modified duration in packet

* [Combat] BuffsRemoveOn Started & Attempted to fix channeling plots

* [Plots] Fixed Channeled Buff Removal

* [Plots] Vicious Implosion Fixed

* [Skills] Mana cost

* [Skills] Try to fix FX getting stuck

* [Skills] Add skill interruption (on death, on cc)

* [Items] Fix some enums

* [Skill] CSStartSkill Packet Bug Fix

* [IdManager] Add release queue

* [Skills] Compute normal skills delay properly SCSkillFired

* Fix tests

* [Test] Disable Tl release

* [Test] Release ids

* [Skills] Fix negative GetDistanceTo values

* [Skills] Skill Ids Moved to SkillManager

* [Merge] Fix Merge Conflict

* [TickManager] Added Optional Tickrate

* [Buffs] Rewrite Effects into Buffs

Remove dumb inheriting, remove need to cast to a billion fucking classes every god damn time

* [Various] Fixed HDPS & Minor Fixes

* [Buffs] Subscribe to death event, area trigger tick fix

* [DamageEffect] Added DE Modifiers (HackFix)

* [DE] Precision Strike Hackfix

* [DE] Fix Killing Dead Players

* [Buffs] Add PVP duration reduction

* [Buffs] Area Tick Started

* [Buffs] Fixed TickEffect -> TickEffects

* [Buffs] Add tolerance steps

* [Buffs] Timeout trigger, stack rule refresh, cancellation

* [Unit] CastTimeMul Attr Implemented

* [Healing] Added Critical Healing

* [Character] Remove Testing Line

* [Character] Fix Block Rate From Buffs

* [Stats] Tempering [Skills] Raid targetting for ATs

* [Character] Fall Damage Started

* [Items] Add lunastoning

* [Attribs]Add Melee,Ranged,SpellDamageMul

* [Items] Fix untempered items having 0 stats

* [Items] Armor Grade Buff will only update when moving armor items

* [World]Add model dist to GetAround

* [Doodads] Fix potential crash with AT

* [Unit]Disable unit hp regen, enable proper character hp regen

* [Unit] Add heal multipliers [AT]Fix AT crashing with too many triggers

* [Items/Buffs] ItemGradeBuffs Implemented

* [Items] ItemBuffs Cleanup

* [Buffs] Combat buff update 1

* [Buffs]Fix AreaTick list casting

* [Doodad] Fix SummonDoodad caster pos clone

* [Skills] Fix healing from potions, mana consumption, range calc, self targetting

And armor grade buff on login

* [Buffs] Stop refresh from reducing duration

* [ItemSets] Set Procs & GHA Fixed

* [Buffs]Basic ChargeRefresh stack rule

* [Items]Add armor type set buff

* [Housing] Add /build

* Fix doodad crash

* Doodad crash fix

* [Dispell] Cure/Dispell Correct Targets

* [Combat] Heals Proc Zeal & Float CD Fix

* [Skills]Fix reset 'forgetting' skill points, CB not removing

* [Other] Add dominion declare effect (TODO: save)

* [Misc]Add fall damage popup

* Use backpack with dominion

* [DE] Fix Piercing Shot Damage

* [Buffs] Fix Deaths Vengeance

* [CombatBuffs] IsHeal Arg Implemented

* [Skills]Fix Health/Mana steal

* [Misc] Faction command

* [Buffs] Fix glider buffs staying when landing [Misc] Fix Revive

* [Cmd] Add /kick_player

* [AccessLevels] Default Set To 100

* [Commands] Fix Empty Command Crash

* [Kits] Tentative linux loading fix

* [Unit] IncomingDamageMul Implemented & Update Kits

* [Unit] Fix Spell Dmg Reduc

* [DE] Fix Tick Damage to not be additive

* [Logging] Reduce log spam for very common stuff

* [Procs] Add proc CD [Skills] Fix UseFixedDamage

* Suppress logs

* [Skills] Stop healing dead people, DD04 effects plots

* [World] Reduce Neighborhood size to 2

Makes render distance ~150m, saves up on 2x regions

* [Buffs] Switch to ".ToList()" instead of "new List"

* [Buffs] Fix Ezi's Glider buff staying on after glider removal

* [Skills] Fix Telekinesis

* [Skills] Fix Heal amount on buff ticks

* [AT] Add AreaTrigger try/catch to avoid server crashes

* [Doodad] Log potential infinite loops

* Logging

* [Log] Doodad func exceptions

* Logging

* Add unhandled exception

* Add unhandled exception

* [Boats] Basic physics, need collision testing

* [Plots] Fixed Glider Nitros & Created FallDamageMul Attr

* [Boats]Move via delta

* [Plots] Fix More Glider SkillControllers

* [Buffs] Timeout Buff Trigger Fixed & Limited Duration Times

* [Boats] Collisions... kinda working ?

* Cleanup boat physx

* [Boats] Add ship models

* [Game]Add TowerDef packets & data loading

* [CS] Separate Read & Logic

* Cleanup CSMoveUnit

* [Doodads] Trees now fall

* [Game] Added drowning (#2)

* [Skills] Fix Packet Error after targetting a mailbox & using self skill

* Revert "[IdManager] Add release queue"

This reverts commit ed8f9f0a71a492eddb1e5e6862bf66f83ee4db42.

* [Task] Release TaskId properly

* Task manager catch exception

* [Character] Fix Spell Criticals for Zeal

* Fix boat related crash

Co-authored-by: Hexlulz <[email protected]>
Co-authored-by: Nick Messer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants