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

Time and world time are of seemingly different, incompatible types #6485

Closed
1 task done
mybe opened this issue Mar 7, 2024 · 3 comments
Closed
1 task done

Time and world time are of seemingly different, incompatible types #6485

mybe opened this issue Mar 7, 2024 · 3 comments
Labels
waiting for reply The report needs a response from the reporter to determine course of action.

Comments

@mybe
Copy link

mybe commented Mar 7, 2024

Skript/Server Version

[02:33:56 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[02:33:56 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[02:33:56 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[02:33:56 INFO]: [Skript] Server Version: git-Paper-540 (MC: 1.19.4)
[02:33:56 INFO]: [Skript] Skript Version: 2.6.4
[02:33:56 INFO]: [Skript] Installed Skript Addons: 
[02:33:56 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[02:33:56 INFO]: [Skript]  - DiSky v4.12.1
[02:33:56 INFO]: [Skript]  - MorkazSk v1.3
[02:33:56 INFO]: [Skript]  - skUtilities v0.9.2 (https://tim740.github.io/)
[02:33:56 INFO]: [Skript]  - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
[02:33:56 INFO]: [Skript]  - skript-db v1.3.9
[02:33:56 INFO]: [Skript]  - SkQuery v4.1.9
[02:33:56 INFO]: [Skript]  - SkBee v2.18.4 (https://github.com/ShaneBeee/SkBee)
[02:33:56 INFO]: [Skript]  - skript-holo v1.0.2 (https://github.com/Blueyescat/skript-holo)
[02:33:56 INFO]: [Skript] Installed dependencies: 
[02:33:56 INFO]: [Skript]  - Vault v1.7.3-b131
[02:33:56 INFO]: [Skript]  - WorldGuard v7.0.8+33cdb4a

Bug Description

Getting the time of the world in ticks does not work.

Expected Behavior

You should be able to get the time of the world in ticks without a converter function.

Steps to Reproduce

You are able to get the time in ticks of a time like:

set {_t1} to ticks of 19:00 .. works! Is 22800

However,

set {_t} to time of the world "world" # becomes something like '5:07' set {_t1} to ticks of {_t} # does not work. becomes <none>

Other attempts, like
set {_t3} to "19:00" set {_t4} to {_t3} parsed as a time # becomes 19:00 set {_t5} to ticks of {_t3} # is <none>

Also do not work.

It seems that 19:00 and the time of the world are potentially of different types.

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@erenkarakal
Copy link
Member

  1. almost all of your plugins are outdated
  2. ticks of is an skbee expression, not skript

@AyhamAl-Ali
Copy link
Member

Check if that issue still occures with latest Skript and with the latest addon version of that ticks expression. It might be an addon issue.

@AyhamAl-Ali AyhamAl-Ali added the waiting for reply The report needs a response from the reporter to determine course of action. label Mar 7, 2024
@sovdeeth
Copy link
Member

sovdeeth commented Apr 6, 2024

Closing due to no response in a month. Please re-open if you have more information to add.

@sovdeeth sovdeeth closed this as completed Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for reply The report needs a response from the reporter to determine course of action.
Projects
None yet
Development

No branches or pull requests

4 participants