Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 09/10/2019 in all areas

  1. 3 points
    At first the project revolved around trying to get some "better" lua code going, but ended up being at attempts at winging the 2.x C++ source code to work successfully, ofc with the great help from @Snre3nfrom the C++ side of things. The instructions on how to build and more info on it are in https://gitlab.com/deguix/top-recode. Sry for not making a thread earlier, I'm not really good at publishing stuff, and also a bit afraid of going all out on it too because of my limited time that I can dedicate to it. Also have a discord: https://discord.gg/uwcR74E. It's a bit of a mess, but I guess you can bug me there too if you like. Just don't bug me too much, as in, please have some previous experience in development. I definitely want to hear about the success of compiling it, because that's something most people struggle with with any C++ project on Windows. Anyways, most of the notifications I get are from people not being able to compile it. Just run build.bat as admin please and tell me the errors that pop up. Oh yes, this project built by default will only work on Windows 10 and above. You can install the Windows 7 SDK and retarget all projects to use that, not sure if errors will pop up though. I won't support it. I use currently MSQL 2017. Once MSQL 2019 gets released, use it, and you can have free UTF-8 support. On Windows 10, there's a feature to force all older apps to use UTF-8. Remember, it only works with MSQL 2019! Older MSQL won't run!
  2. 1 point
    Thanks all who help me, scripts are arealdy considered finished. That what i've achieved arealdy : https://gyazo.com/1e3d05833ef6214bf8836ab56c7883bd
  3. 1 point
    you have a completely opposite view of mine, i don't want the mine to be mysterious, i want new maps to be, i'm creating with unity and so enlarging the maps and creating new maps is no problem, i agree about the camera being too high , but this is for development it makes it easier for me to have a better view, but still being able to see the argent mine is a good thing, I hate the top limited camera system, it only existed to make the game lighter because at that time it was need. but thank you for your opinion and of course it matters to me. voce tem uma visao completamente oposta a minha, eu nao quero que a mina seja misteriosa, quero que novos mapas sejam, estou criando com unity e por isso aumentar os mapas e criar mapas nóvos nao seram problema, eu concordo sobre a camera estar muito alta, mas isso é pro desenvolvimento me facilita ter uma melhor visao, mas ainda assim poder ver a mina de argent é algo bom, eu odeio o sistema de camera tao limitada do top, isso só existia pra tornar o jogo mais leve porque ná época era preciso. mas agradeço sua opiniao e claro que ela importa pra mim.
  4. 1 point
    It can be achieved with "string.format" and "os.time()". This is how to read the starting date: local oYear, oMonth, oDay, oHour, oMin = Table.Time:match('(%d+)/(%d+)/(%d+)/(%d+)/(%d+)') Then onto reading opening interval, portal duration and map duration: local iDay, iHour, iMin, pDay, pHour, pMin, mDay, mHour, mMin = Table.Time:match('"(%d+)/(%d+)/(%d+)", "(%d+)/(%d+)/(%d+)", "(%d+)/(%d+)/(%d+)"') "Table" refers to this: MapTimerNPC.Table['abandonedcity'] = {ID = 88, Map = 0, PosX = 0, PosY = 0, Time = '"2005/8/30/0/0", "0/3/0", "0/1/0", "0/2/0"'} I have achieved this: You have to turn the dates into seconds, get the current date and the seconds passed since start date (referring to "2005/8/30/0/0"). From there you also need start comparing times which is not that hard having the 2 functions I mentioned at the start.
  5. 1 point
    I'm assuming split returns a list of table values? if so, you need to compare the opening time to the current server time. I'm unsure what would be the best and some real quality code, but pseudo code would be as follows:
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...