Search:

Type: Posts; User: AufderWelt

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    47

    yeah, to be honest, it is actually also not...

    yeah, to be honest, it is actually also not obvious to look there for api infos for me at least, but sometimes helpful.
  2. Replies
    3
    Views
    47

    hi, you have to look at the patch notes. there...

    hi, you have to look at the patch notes. there are many functions, which are currently not part of the API.

    https://www.tabletopsimulator.com/news/patch-notes. there you will find many other...
  3. hi, could you provide a minimalistic example...

    hi, could you provide a minimalistic example (Code) to reproduce your observation.
  4. hi, without the whole code, i would assume that...

    hi, without the whole code, i would assume that you have a typo. the Values (functions, variables...) are case sensitiv.You must use the same spelling.

    you need to debug to find the position/cause...
  5. onObjectDestroy or onDestroy triggers by game exit

    Describe the bug
    the lua onObjectDestroy(dying_object) functions triggers by exiting the game, which causes error messages, that the object reference passed to lua onObjectDestroy (dying_object) is...
  6. obj.getComponent("Transform").get("localScale") access error

    Describe the bug
    the call


    obj.getComponent("Transform").get("localScale")

    generates an error, if the object does not contain lua code. the call works, if the obj contains some lua code, for...
  7. hi, it sounds reasonable what you did. i see no...

    hi, it sounds reasonable what you did. i see no fault at the first sight. could you try to rotate it by yourself without the usage of the flip() function. you have to set the rotation parameter, i...
  8. Replies
    13
    Views
    214

    yeah, i tried also to catch the error, but it was...

    yeah, i tried also to catch the error, but it was not possible.
    i know, that the error message is ugly, but is the worth the effort to create a function to check the integrity...
  9. hi, the coordinate defintion for the xml ui is...

    hi, the coordinate defintion for the xml ui is different compared to the normal TTS coordinates.

    you can transform the coordinates with the call





    local pos = Vector(x,y,z) -- your...
  10. Replies
    13
    Views
    214

    yeah, i also not happy with the solution. i also...

    yeah, i also not happy with the solution. i also could not find a attribute or event to prevent it. and to be honest im convinced that this behaviour must be bug.

    i get you, programming in TTS lua...
  11. hi, i correct the version and deleted not...

    hi, i correct the version and deleted not necessary statements



    function testcase()
    print('starting')
    for id, obj in pairs(deckzone.getObjects()) do

    print(obj.getGUID())
    ...
  12. Replies
    13
    Views
    214

    i was thinking about a workaround. tested the...

    i was thinking about a workaround. tested the code below several times without an error. my idea is to delay the creating of the new object, which was the cause of the error.



    function...
  13. Replies
    13
    Views
    214

    at first i thought, if you try to clone the...

    at first i thought, if you try to clone the table. TTS would try to clone also the objects, which are not available, but it doesnt to seem so.

    it seems like, that sometimes not always the objects...
  14. Replies
    13
    Views
    214

    yeah i tested it also, i dont get the error all...

    yeah i tested it also, i dont get the error all the time, but still there....

    Could you try this one. It seems like the table is passed sometimes also, which is really funny and must be a bug. at...
  15. Replies
    13
    Views
    214

    thats funny i could not find the function...

    thats funny i could not find the function onObjectDestroyed in the API also not in the patch notes, but its working....
    it seems like a bug, if you ask me

    do you also get the error, if you use...
  16. Replies
    13
    Views
    214

    the message sounds like there is something wrong...

    the message sounds like there is something wrong with your script. i dont know, why you get the error during the shutdown, i guess that there is a save operation... however, within your code, there...
  17. Replies
    3
    Views
    89

    was nice to help you out and more fun than...

    was nice to help you out and more fun than working on my own mod....:rolleyes:
  18. Replies
    3
    Views
    89

    hi, i dont get it, why you cant mimic the script...

    hi, i dont get it, why you cant mimic the script zone. i guess, the only thing you want to copy is the sacle value and mabe the y position from the 1. player setup. i would open the gizmo tool on the...
  19. Replies
    42
    Views
    679

    i meant not to use it as generic library...

    i meant not to use it as generic library function, which you use everytime you need to trigger an action, if an object is resting. Eventually you will start to build up your own library, if you...
  20. Replies
    42
    Views
    679

    ok, i understand it now, that makes also sense,...

    ok, i understand it now, that makes also sense, but i would have expected an error, that the object does not exist due to deck forming.

    i tested that behaviour with the following code and get same...
  21. Replies
    11
    Views
    317

    thats nice to know. i found out, if you...

    thats nice to know.


    i found out, if you attach an object (blueRectObj) to another (greenTriObj) , the reference of the object (blueRectObj) seems to get invalid. after i took a closer look to...
  22. Replies
    42
    Views
    679

    good to hear, that you found a solution for your...

    good to hear, that you found a solution for your project. cannot wait to see the final product.

    but i will have sleepless nights as a consequence of the error, which i dont understand :D
  23. Replies
    42
    Views
    679

    my god, what a strange error.... and after...

    my god, what a strange error.... and after reading it multiple time, is still dont get it. you concluded, that another function which puts the card sfrom the script zone to the box is causing the...
  24. Replies
    42
    Views
    679

    based on the log, the only statement, which could...

    based on the log, the only statement, which could cause the error would be nextCard.setHiddenFrom({}), what happens, if you take it out?

    or add stupidly logs to each statement between both logs
    ...
  25. Replies
    42
    Views
    679

    thats really strange, do you get the same error,...

    thats really strange, do you get the same error, if you try to access the GUID with the 1. version?


    a silly question, is this function also triggered, if you spawn an object by script and drop...
Results 1 to 25 of 99
Page 1 of 4 1 2 3 4