• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Search results

  1. vitorbertolucci

    Linux GDB constantly printing 121212211112

    I am confident it is GDB because the numbers appear everytime anything is printed, like All above ones are printed in source, but it also occurs to lua prints, like All above print examples first display tons of 1212 and then the print result after the numbers. But that is a really good...
  2. vitorbertolucci

    Linux GDB constantly printing 121212211112

    Hehe, that's the first thing I thought, but I searched every print possibility and found nothing that could cause this.
  3. vitorbertolucci

    Linux GDB constantly printing 121212211112

    ~ Not sure if I should use Linux or C++ tag ~ My GDB keeps printing tons of numbers 1 and 2 whenever something else is printed, here is an example: Does anyone have any idea of what can it be?
  4. vitorbertolucci

    C++ Crash Party TFS 0.4 (8.60)

    @Gesior.pl you are awesome.
  5. vitorbertolucci

    Lua Transfer information between environments (folders)

    Because our server ir 8 years old now and we have so many scripts and source modifications. But the primary issue for us to convert was converting all scripts, I also didn't know about backwards compatibility... I will take a look at it
  6. vitorbertolucci

    Lua Transfer information between environments (folders)

    Oh... it sucks being stuck to 0.4, TFS 1.2 is so much better =/ But I'm still accepting ideas on how to do something like what I showed in the thread.
  7. vitorbertolucci

    Lua Transfer information between environments (folders)

    Hello, as everyone that codes in lua must know, each datapack folder has it's own lua enviroment (or at least seems like). The lib folder is the only one that's able to declare global variables that will be known to all other folders, but the thing I'm dealing with right now is that I need to...
  8. vitorbertolucci

    C++ Check if a kill is unjustified

    I changed the topic tag to C++ now since we found out it is actually a source issue. Could some experienced C++ programmer help?
  9. vitorbertolucci

    C++ Check if a kill is unjustified

    I recompiled it with brackets and still doen't print anything uint32_t flags = 0; if(entry.isLast()) { flags |= 1; std::cout << "1"; } if(entry.isJustify()) { flags |= 2; std::cout << "2"; }...
  10. vitorbertolucci

    C++ Check if a kill is unjustified

    I went a little deeper and tryied: if(entry.isLast()) flags |= 1; std::cout << "1"; if(entry.isJustify()) flags |= 2; std::cout << "2"; if(entry.isUnjustified()) flags |= 4; std::cout << "4"; (This code...
  11. vitorbertolucci

    C++ Check if a kill is unjustified

    Again the result is No matter what I kill... I was feeling retarded too @Xikini, but now i think neither of we are and it is just a source issue xD Could you help with that, @Summ?
  12. vitorbertolucci

    C++ Check if a kill is unjustified

    Always 3, no matter whats I kill... That's weird because bit.band(flags, 1) == 1, bit.band(flags, 2) == 2, bit.band(flags, 3) ==3 and bit.band(flags, 4) == 0
  13. vitorbertolucci

    C++ Check if a kill is unjustified

    bit.band(flags, 4) is always == 0 even when the kill is not justified =x
  14. vitorbertolucci

    C++ Check if a kill is unjustified

    It only gives an error because flag is not a table but a number =X
  15. vitorbertolucci

    C++ Check if a kill is unjustified

    I tryied but no matter what I kill (monsters, skulled players or non-skulled players) it always prints 'isLast' and nothing more. Which means that for some reason bit.band(flags, 1) is always 1 And when I print(flags) it always prints 3
  16. vitorbertolucci

    C++ Check if a kill is unjustified

    Hello I need to know how to check wether a kill was justified or not in the callback onKill. Could someone help?
  17. vitorbertolucci

    Using lua instead of xml

    Seems like a very cool release, I would love to have lua's versatility on registering my scripts. Cheers.
  18. vitorbertolucci

    Negative experience per hour counting

    Oh its a shame... Ill figure out another way to show this information then. Valeu matheus
  19. vitorbertolucci

    Negative experience per hour counting

    So I have this bug in my server that when you place your mouse cursor over your experience bar it shows like: "You need 1921212 exp to next level. Currently making -12192192 exp per hour. You will reach next level in 0 hours and 0 minutes" Here's a print: I tested it running a character...
  20. vitorbertolucci

    Lua Copy item attributes

    That's exacatly what I was looking for, Ill test it to see what happens :) I thought about doing it by iterating a table but I didnt want to go through all attributes with an iteration
Back
Top