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

Console notifications #5

Closed
DieterKoblenz opened this issue Oct 6, 2015 · 9 comments
Closed

Console notifications #5

DieterKoblenz opened this issue Oct 6, 2015 · 9 comments

Comments

@DieterKoblenz
Copy link

Console notifications are not working properly. The function "consolenotify" and "consolenotifyall" are present in the compiled functions and respond when not given the right arguments however the commands themselves don't work.

@DieterKoblenz DieterKoblenz changed the title console_notify not working Console notifications Oct 6, 2015
@mike347
Copy link
Collaborator

mike347 commented Oct 6, 2015

Sounds like you didn't update your console list and run @space/consoles. See the main wiki page:https://github.com/ray73864/aspace/wiki

@DieterKoblenz
Copy link
Author

Hi,

Actually I did this! Consoles do work (for example I can activate systems, and I get an error while activating sensors when my ship isn't equiped with them). So all the "sdb" things work.

@mike347
Copy link
Collaborator

mike347 commented Oct 6, 2015

Those will work because they work off by grabbing your dbref directly off of the console and sending it to you directly, if notifications aren't working then usually it's due to the consoles not being setup properly. Try setting one manually by doing this: [sdb(var,console,fighter,dbref)] where dbref is the dbref of your fighter console, make sure your console is in fighter mode and do an sdb(r,dbref#) on it to force it to refresh sensor contacts. See if it works then.

@DieterKoblenz
Copy link
Author

Not sure if I got it completely but:

First I did: th [sdb(var,console,fighter,#35)](where #35 is console 1, which I man and is in fighter mode)
Second I did: th sdb(r,#33) (where #33 is my ship) it returns "1"

@mike347
Copy link
Collaborator

mike347 commented Oct 6, 2015

Now test whatever notification wasn't working previously and see if it works?

@DieterKoblenz
Copy link
Author

Checked this:
For example "main 100" I would expect [Wiz]--[M/A reactor set at 100%], but it doesn't.

Neither does "th consolenotifyall(3, hi)"

@mike347
Copy link
Collaborator

mike347 commented Oct 6, 2015

Is tiny math @config option turned on?

On Tuesday, October 6, 2015, DieterKoblenz notifications@github.com wrote:

Checked this:
For example "main 100" I would expect [Wiz]--[M/A reactor set at 100%],
but it doesn't.

Neither does "th consolenotifyall(3, hi)"


Reply to this email directly or view it on GitHub
#5 (comment).

@DieterKoblenz
Copy link
Author

tiny_math Yes

@mike347
Copy link
Collaborator

mike347 commented Oct 6, 2015

Ultimate issue was &CONSOLES not being properly set on the space object. All fixed :)

@mike347 mike347 closed this as completed Oct 6, 2015
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

2 participants