longwelwind / phi Goto Github PK
View Code? Open in Web Editor NEWPhi is a Rimworld mod that enables multiplayer interactions between players
Phi is a Rimworld mod that enables multiplayer interactions between players
you get force disconnect and cant connect before server restarts if you change language in the game
and cant join before server is rebooted
other bug know bug is when 2 players have diffence language you will not be able to recive like 90-99% of the items :)
*"found both of them with wolkii from steam because i let him into my realm for cheaking for bugs in console but got no bugs but no items recived to whem we had difference langauge packages selected but works when you have the same langauge packages"
for not taking the credit alone
it says
{
"type": "auth",
"name": "|MW|TIBA ???",
"version": "0.4",
"hashedKey": "8E4B88632464A57786A3E326C5EE43EC908895A098DA1BAC3557A1AF113EC9FC"
}
even i download the version 0.5 client and server file from here ^^
Sending a colonist to player removes all health effects of the colonist. Including permanent ones.
Just had a guy figure out how to crash people on the main server thru spamming phi.sendcolonist() and phi.senditem() by querying so many tabs the game integer overflows/just nopes due to some inbuilt limit and either crashes, or removes your GUI and pauses your game until reload of save
Unable to set a port, checked thru all configurations.
Hi,
there is no similar issue, so i create one.
Support for B19 would be great
Hello! I'm trying to setup your server as systemd service but got some trouble.
When I run it manually it works well
aiscy@ogryzok2:~$ mono /home/aiscy/PhiServer/PhiServer.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Launching server for 0.0.0.0 on port 16180
But if I run as service, I get this message:
Loaded: loaded (/etc/systemd/system/phiserver.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2017-01-11 15:49:35 UTC; 1s ago
Process: 28328 ExecStart=/usr/bin/mono /home/aiscy/PhiServer/PhiServer.exe (code=exited, status=0/SUCCESS)
Main PID: 28328 (code=exited, status=0/SUCCESS)Jan 11 15:49:34 ogryzok2 systemd[1]: Started Rimworld Phi server.
Jan 11 15:49:35 ogryzok2 mono[28328]: Launching server for 0.0.0.0 on port 16180
Jan 11 15:49:35 ogryzok2 mono[28328]: 1/11/2017 3:49:35 PM|Fatal|WebSocketServer.receiveRequest|System.Threading.ThreadAbortException
Jan 11 15:49:35 ogryzok2 mono[28328]: at (wrapper managed-to-native) System.Net.Sockets.Socket:Accept_internal (intptr,int&,bool)
Jan 11 15:49:35 ogryzok2 mono[28328]: at System.Net.Sockets.Socket.Accept_internal (System.Net.Sockets.SafeSocketHandle safeHandle, System.Int32& error, System.Boolean blocking) [0x0000c] in <5071a6e4a4564e19
Jan 11 15:49:35 ogryzok2 mono[28328]: at System.Net.Sockets.Socket.Accept () [0x00008] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
Jan 11 15:49:35 ogryzok2 mono[28328]: at System.Net.Sockets.TcpListener.AcceptTcpClient () [0x00016] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
Jan 11 15:49:35 ogryzok2 mono[28328]: at WebSocketSharp.Server.WebSocketServer.receiveRequest () [0x00012] in <38d3cef14c5a4fc9a92de0991034bc1a>:0
Jan 11 15:49:35 ogryzok2 mono[28328]: WARNING: The runtime version supported by this application is unavailable.
Jan 11 15:49:35 ogryzok2 mono[28328]: Using default runtime: v4.0.30319
Here's my service script:
[Unit]
Description=Rimworld Phi server
[Service]
ExecStart=/usr/bin/mono /home/aiscy/PhiServer/PhiServer.exe
WorkingDirectory=/home/aiscy/PhiServer
Type=simple
[Install]
WantedBy=multi-user.target
Could you please tell me what am I doing wrong?
the bug we had about the 0,6,2 yester day with the person bug when joinen the chat happen there is enough player to fill the whole player box out ^^
The PhiData and Assembly-CSharp libraries included in the 0.10 server package are actually from version 0.9.
This is causing colonist trades to fail on the basis that pawns' 'skinWhiteness' property has been renamed to 'melanin'.
My friends and I are having trouble with this issue on all of our computers and we are not sure what to do.
Here is the error log:
Mod Phi-master has incorrectly formatted target version 'Unknown'. For the current version, write: 0.18.1722
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(String)
Verse.ModLister:RebuildModList()
Verse.ModLister:.cctor()
Verse.<>c__Iterator0:MoveNext()
Verse.<>c__Iterator0:MoveNext()
System.Collections.Generic.List1:AddEnumerable(IEnumerable
1)
System.Collections.Generic.List1:.ctor(IEnumerable
1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:m__1()
Hey,
anyone has the same problem? I am not into coding or something but i guess the mod needs an update? or is it possible to fix this myself?
RimWorld 0.17.1557 rev1153
Verse.Log:Message(String)
RimWorld.VersionControl:LogVersionNumber()
Verse.Root:CheckGlobalInit()
Verse.Root:Start()
Verse.Root_Entry:Start()
Mod PhiServer has incorrectly formatted target version 'Unknown'. For the current version, write: 0.17.1557
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:.ctor(String)
Verse.ModLister:RebuildModList()
Verse.ModLister:.cctor()
Verse.<>c__Iterator211:MoveNext()
Verse.<>c__Iterator211:MoveNext()
System.Collections.Generic.List1:AddEnumerable(IEnumerable
1)
System.Collections.Generic.List1:.ctor(IEnumerable
1)
System.Linq.Enumerable:ToList(IEnumerable`1)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:m__84E()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:m__84C()
Seems to happen on both Linux and Windows.
If you hit enter on the command line, or pipe it in anyway, the error message appears:
10/14/2016 9:21:57 PM|Fatal|WebSocketServer.receiveRequest|System.Threading.ThreadAbortException
at (wrapper managed-to-native) System.Net.Sockets.Socket:Accept_internal (intptr,int&,bool)
at System.Net.Sockets.Socket.Accept_internal (System.Net.Sockets.SafeSocketHandle safeHandle, System.Int32& error, Sys
at System.Net.Sockets.Socket.Accept () [0x00008] in <6c7c03f48a9747c8a644da4f63a34480>:0
at System.Net.Sockets.TcpListener.AcceptTcpClient () [0x00016] in <6c7c03f48a9747c8a644da4f63a34480>:0
at WebSocketSharp.Server.WebSocketServer.receiveRequest () [0x00012] in <38d3cef14c5a4fc9a92de0991034bc1a>:0
It seems that all trades initiated on the default server are flagged as spam and subsequently denied, regardless of the recipient or preferences.
I have not been able to reproduce this on a local server nor another supposedly unmodified public server (spiffy.id.au).
The aim is to allow players to feel like they are part of the same world or region.
It would be useful to be able to choose from a list of events that should be synchronised. For example they could choose to share weather events between colonies but raids occur on an individual basis.
This is what the debug log says about this mod.
"Mod Phi-master has incorrectly formatted target version 'Unkown'. For the current version, write:
0,14,1249
Verse.Log:Error(sting)
Verse.Log:ErrorOnce(String, Int32)
Verse.ModMetaData:Init()
Verse.ModMetaData:ctor(string)
if you can fix this that world be great.
Im running Version 0.14.1249 for Rimworld AlphaD release
As the client stores the last user id it was provided in the phikey.txt file, it (usually) does not match when joining a different server, leading to another user id being generated and stored in the file. The process repeats whenever the server is changed and the id provided does not match, creating a lot of unusable usernames as they are checked for uniqueness and tied to the user's id.
This change will allow you to search for modded items more easily without having to worry about case.
this.filteredInventory = this.inventory.Where((t) => t.Label.Contains(filterTerm)).ToList();
Add the StringComparison value OrdinalIgnoreCase to the Contains() method:
this.filteredInventory = this.inventory.Where((t) => t.Label.Contains(filterTerm, StringComparison.OrdinalIgnoreCase)).ToList();
I play at 3840x2160 which means the UI scale is 2.0 to look okay... but the problem is, the scaling on your UI doesn't account for this so when I go to send Items it cuts over over 1/2 the top and the bottom of the send items list
Hello! Thanks for making this awesome mod!
I've been using the RimFridge mod, but the items stored in the fridges don't show up in the send items menu. Is there any way to fix this?
I've asked the RimFridge modder for a fix but he said it isn't his fault :/
Thanks!
Some items can slightly change after being send to another player using Phi.
For example:
If i send a mining neurotrainer, the other player receives an animals neurotrainer.
It would most likely require some extra data/parameter to fix this since it seems like Phi sends rimworld:item instead of rimworld:item:subdata
Just as it says. When I run Phi Server it starts and I can connect but once I connect I get that error.
PS D:\Downloads\PhiServer> .\PhiServer.exe
[17-12-2018 19:08:24] [INFO] Server launched on port 16180
[17-12-2018 19:08:29] [INFO] Connection from a06adefdc962404b9ae9ace8284e855d
17-12-2018 19:08:29|Error|WebSocket.message|System.Runtime.Serialization.SerializationException: Unable to find assembly '03-PhiData'.
at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream)
at PhiClient.Packet.Deserialize(Byte[] data, RealmData realmData, User user) in D:\Documents\Projects\Phi\PhiData\Packet.cs:line 34
at PhiServer.Program.MessageCallback(ServerClient client, Byte[] data) in D:\Documents\Projects\Phi\PhiServer\Program.cs:line 106
at SocketLibrary.Server.MessageCallback(ServerClient client, Byte[] data) in D:\Documents\Projects\Phi\SocketLibrary\Server.cs:line 56
at SocketLibrary.ServerClient.OnMessage(MessageEventArgs e) in D:\Documents\Projects\Phi\SocketLibrary\ServerClient.cs:line 35
at WebSocketSharp.Ext.Emit[TEventArgs](EventHandler`1 eventHandler, Object sender, TEventArgs e)
at WebSocketSharp.WebSocket.messages(MessageEventArgs e)
@Longwelwind
Your authentication code prevents new people/anyone connecting and chatting passing a HASHKEY auth error, i have regenerated mine 5 times and because ??? is now checked as a username. my hashkey will always return that error no matter what it is
Hi,
i created a docker container for the PhiServer so you can run it within a linux server with an i386 or amd64 architecture.
Hope this will help to host own server more easily. Plus you can switch the port with the publish option of the docker daemon.
If you want to mention this in your README.md, here is the link.
https://hub.docker.com/r/vlli/docker-phi-server/
I also hope this is okay because i cant find any license information for your project. So if you are not comfortable with it i can remove my repo.
Title should explain this sufficiently.
Child colonists fail to send, because they don't have an adult backstory, which causes a null reference exception. Pull request forthcoming.
send lot of furniture but the reciver never get them. tried with 5 beds and 2 chair ^^ but 1 meal and he got it xD
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.