Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+8 votes

I've tried and I think there might some error when I SHELL other simdevice,
it does take it but it kinds of shares with whoever had it before...
It does not kick out or remove who used to own it. It looks like they are teaming up.

Is this on purpose

asked in CSC335_Spring2019 by (1 point)

2 Answers

+1 vote
Best answer

That sounds like how the game should work.

Multiple players can log in with a shell to the same device. Then one player can use the DISPEL command to disconnect the other person's shell...

answered by (508 points)
+6 votes

I tried, the client program killed itself...

answered by (1 point)

Hmmm, maybe because I tried in ServerMain, 'creating local client' ?
I don't know


I don't think you can create a local client; unless you use multi-threading in ServerMain