Code Monkey home page Code Monkey logo

uchu's People

Contributors

arkshocer avatar dependabot[bot] avatar elenawinters avatar enteryournamehere avatar frozenreflex avatar jettford avatar mickvermeulen avatar na-2n avatar ninjaoflu avatar ramen2x avatar teccheck avatar thematt2 avatar thenexusavenger avatar viper-sta avatar wincent01 avatar zxc8027 avatar

Stargazers

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

Watchers

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

uchu's Issues

Mobs Ain't Dropping Loot

After while, 90% of the mobs I kill won't drop their loot. I am not sure if it is lag or an issue with the code.

unknown players throw exceptions

When an unknown player sends UDP packets (for example when their forwarding is messed up) an exception is thrown each time, lagging the server. Simply handling this as a warning would be better.

Not able to buy a item from Klaus Zett even if you have enough coins for it

Not able to buy a item from Klaus Zett even if you have enough coins for it. I also tried moving items around in my inventory in case it wasn't a problem with money but rather with me trying to buy something to a slot that had maybe like an invisible item in it, but this didn't seem to be the case.
Might be related to issues 56 and 57.
Video

Mech throws player upwards after getting smashed

Mech throws player upwards after getting smashed. Also while I was in the air I couldn't start a double jump, so it probably was another state than jumping. It kinda felt and looks more like I was falling upwards for a moment.
Video

Y axis respawn issue

When smashing your minifig the minifig is put back to the respawn point but the y axis is what it was when you smashed yourself this could cause issues when going under your spawn point/.

remove physics logging

currently all physics are logged creating tons of messages like:

[1004088507069542417] "MegaSpaceVortex" stayed [70368747895174] "PrimitiveModel phantom (humans only)"

this floods the logs and isn't necessary.

Python scripting: OnHealth player becomes a GameObject after Stromling attack

The referenced source-game-object in the listener function passed to OnHealth and OnDeath in a python script is a GameObject rather than a Player when the last negative health update was caused by damage from a Stromling. This results in the inability to get player info like their name, and to send a chat message to them. On subsequent health updates, such as by healing from a consumable, respawning or picking up a heart, the referenced object stays a GameObject. After being damaged by a Mech or Spider Queen, it once again becomes a Player, and stays like this for all updates until a Stromling attacks again.

Python script

# (b) means the message was broadcasted
def handleHealth(health, delta, player):
    Broadcast("[py] (b) Health update for " + type(player).__name__ + " " + player.Name)
    Broadcast("[py] (b) Delta:" + str(delta) + ", health: " + str(health))
    Chat(player, "[py] Your health just got updated")

def handleChat(player, message):
    Chat(player, "[py] Received chat: " + message)

def handleDeath(player):
    Broadcast("[py] (b) A " + type(player).__name__ + " was smashed")
    Chat(player, "[py] You were smashed")

def load():
    OnChat(handleChat)
    for player in Zone.Players:
        ref_health = OnHealth(player, handleHealth)
        Chat(player, "[py] Loaded!")
        OnDeath(player, handleDeath)

LU chat output

Getting attacked and killed by a stromling (note the absence of non-broadcast messages, as sending a chat message to a GameObject is impossible):

[py] (b) Health update for GameObject 
[py] (b) Delta: -1, health: 0
[py] (b) A GameObject was smashed

When respawning:

[py] (b) Health update for GameObject
[py] (b) Delta: 4, health: 4

Getting attacked and killed by a Mech or by the Spider Queen:

[py] (b) Health update for Player MusicalMarbleMachine
[py] (b) Delta: -1, health: 0
[py] Your health just got updated
[py] (b) A Player was smashed
[py] You were smashed

When respawning:

[py] (b) Health update for Player MusicalMarbleMachine
[py] (b) Delta: 4, health: 4
[py] Your health just got updated

I'm running Uchu built from the latest source.

55% load issue on AG

When a character leaves AG their character is not deconstructed, making it impossible for the player to rejoin. It seems to happen in AG specifically so it might be a script.

broken pipe exceptions

Sometimes broken pipe exceptions are thrown at RakDotNet.TcpUdp.TcpUdpConnection.Send, this causes lag. A warning would be preferred here along with deleting the connection afterwards.

The given key 'assemblyPartLOTs' was not present in the dictionary.

I just got a local server up and running, but when I try to load into the Avant Gardens I get thrown this error.

[Error] System.Collections.Generic.KeyNotFoundException: The given key 'assemblyPartLOTs' was not present in the dictionary. at System.Collections.Generic.Dictionary``2.get_Item(TKey key) at InfectedRose.Lvl.LegoDataDictionary.get_Item(String key) in /mnt/d/vscode/Uchu/InfectedRose/InfectedRose.Lvl/LegoDataDictionary.cs:line 26 at Uchu.World.Handlers.WorldInitializationHandler.<>c__DisplayClass9_0.<ItemContainerNode>b__1(InventoryItem i) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 270 at System.Linq.Enumerable.WhereSelectListIterator``2.ToArray() at Uchu.World.Handlers.WorldInitializationHandler.ItemContainerNode(Character character, InventoryType type) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 267 at Uchu.World.Handlers.WorldInitializationHandler.InventoryNode(Character character) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 244 at Uchu.World.Handlers.WorldInitializationHandler.GenerateCharacterXmlData(Character character) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 223 at Uchu.World.Handlers.WorldInitializationHandler.SendCharacterXmlDataToClient(Character character, IRakConnection connection, Session session) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 189 at Uchu.World.Handlers.WorldInitializationHandler.ClientLoadCompleteHandler(ClientLoadCompletePacket packet, IRakConnection connection) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 122 at Uchu.World.Handlers.WorldInitializationHandler.ClientLoadCompleteHandler(ClientLoadCompletePacket packet, IRakConnection connection) in /mnt/d/vscode/Uchu/Uchu.World/Handlers/WorldInitializationHandler.cs:line 139 at Uchu.Core.Server.InvokeHandlerAsync(Handler handler, IRakConnection endPoint) in /mnt/d/vscode/Uchu/Uchu.Core/Server.cs:line 414 at Uchu.Core.Server.HandlePacketAsync(IPEndPoint endPoint, Byte[] data, Reliability reliability) in /mnt/d/vscode/Uchu/Uchu.Core/Server.cs:line 340

relogging during mission 179 makes 664 succeed but leaves 179 stuck

When collecting imagination orbs and logging out, having > 1 and < 6 imagination orbs, then logging in and completing the mission causes the "Gain your imagination" (664) mission to succeed but leaves the imagination orb collect mission stuck, leaving 6/6 at the top of the screen. Afterwards the player is frozen and can't interact with bob anymore. When logging out and logging in again everything works as expected and the player can proceed.

I suspect line 256 of the MissionInventoryComponent file. If you remove these lines mission 179 actually succeeds properly, but sadly 664 is not triggered and the player is frozen again.

Mission "Gain Your Imagination" Bug

Completing the mission "Gain Your Imagination" causes Bob and the player to both lock up and Bob does not give any more missions. I am using the most recent version of Uchu.

Cannot Generate Config File

I have downloaded all the necessary apps and have cloned and built. When I run dotnet Uchu.Master.dll it does not generate a config file. I am doing this with Git bash in the place where I built Uchu.Master. I already tried using an old config file (changing the necessary things), but that did not work either. What am I doing wrong?

create resource files for missions

Currently mission ids are used throughout the source as magic numbers, this is bad for code readability and thus a .resx is preferred.

Imagination issue

When receiving Imagination from Bob the animation hangs somewhere and the mission is never given to go to sky lane

the new message screen can't be closed

When opening a mailbox, messages can be composed and received but the screen can't be closed, as a result the client has to relog to gain access over their character again.

Damage taken after enemy is destroyed

Health is lost even after smashing the enemy.

To replicate this: Smash an enemy, and stand where it died before it respawns. You will take damage in the same way it attacks.

skill syncing isn't up to date

Sometimes when smashing a mech they don't respawn properly. They respawn with 1/3rd of health in place and the turret also doesn't drop.

Rocket building can induce a client crash

Rocket building can induce a client crash.

Steps to reproduce:

  1. Enter building mode.
  2. Drag a rocket piece out of your inventory, and place it on the ground.
  3. Pick it up with shift. You will notice that nothing will appear in your hands but you will be holding something.
  4. Press shift again, so you can interact with buttons.
  5. Hit the Exit X that is above the rocket hologram.

The client will crash.

This wont likely be an issue for everyone, as people are likely to drag and drop rocket pieces into the hologram.

factions can't be joined

Choosing a faction to join does not register a join message and as such no follow-up missions are presented making the user stuck in play through afterwards.

Spiderlings disappear

When entering the spider cave in Avant Gardens, Spiderlings disappear when nearing them. Server restart respawns them, but cycle continues afterwards.

Portabello's Waters

Yea if you go into the waters in this zone, you will get frozen. Only way to get out is through punches or via /fly on command.

Setting up public server non functional

Talked about this in the discord.

Right now, Uchu cannot be used as a public server due to certificate issues. Server is able to run and client can connext, but it errors out due to not being able to handle a cert

Issue with dotnet ef

I'm trying to set up Uchu on my linux PC. I have everything set up except when I get to generating the database with: dotnet ef database update -c UchuContext

No matter where I use the command, I get the standard error:

Could not execute because the specified command or file was not found.
Possible reasons for this include:
  * You misspelled a built-in dotnet command.
  * You intended to execute a .NET Core program, but dotnet-ef does not exist.
  * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.

I have dotnet ef installed and it works otherwise

Unhandled exception. Relation "Specifications" does not exist

When I try to run Uchu.Master.dll, I get this error:

Unhandled exception. Npgsql.PostgresException (0x80004005): 42P01: relation "Specifications" does not exist
   at Npgsql.NpgsqlConnector.<>c__DisplayClass161_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Npgsql.NpgsqlConnector.<>c__DisplayClass161_0.<<ReadMessage>g__ReadMessageLong|0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming)
   at Npgsql.NpgsqlDataReader.NextResult()
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
   at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   at System.Data.Common.DbCommand.ExecuteReader()
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues)
   at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteReader(IRelationalConnection connection, IReadOnlyDictionary`2 parameterValues)
   at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider._TrackEntities[TOut,TIn](IEnumerable`1 results, QueryContext queryContext, IList`1 entityTrackingInfos, IList`1 entityAccessors)+MoveNext()
   at Uchu.Master.MasterServer.Main(String[] args) in /home/kurt/Downloads/Uchu/Uchu.Master/MasterServer.cs:line 34
   at Uchu.Master.MasterServer.Main(String[] args) in /home/kurt/Downloads/Uchu/Uchu.Master/MasterServer.cs:line 45
   at Uchu.Master.MasterServer.<Main>(String[] args)
Aborted

Even when I comment out the offending lines, it does not work. Everything works up until now though

Two Windows Open And Immediately Close

I am trying to update to the most recent version of Uchu. I have followed the steps with the config file. However, when I open Uchu.Master.exe it opens two windows and immediately closes them. I have tried specifying a different character port like the readme says but it does not fix the issue.

Make Redis setup configurable

The Redis server is currently statically discovered at localhost:6379 but a configurable way like the database would be preferred

Semi-Random Deaths

After being near a mech for so long, my character dies about 7-10 times in a row.

fix collectables in character init packet

Currently there is no full support for collectibles in the character init packet, leading to bugs like the imagination orbs mission being unbeatable after relogging when all orbs are collected

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.