time.pwn, language.pwn, message.pwn
vasya092 opened this issue · 2 comments
(This is translate)
Hi. I used sampctl(1.5.2) to download the project. First, I loaded the project (build 1917). Then, using the command 'sampctl p ensure' downloaded the required dependencies. After that I used the 'p sampctl build' to build the project. First, I gave a few errors about not enough time file.pwn ss/utils/... and several more, such as the message, language...
After I took these files from the latest release, I have a mod started to compile. Got these errors.
What I did wrong?
sss/core/vehicle/core.pwn(963) : warning 208: function with tag result used before definition, forcing reparse
sss/core/player/core.pwn(710) : warning 208: function with tag result used before definition, forcing reparse
sss/core/weapon/core.pwn(1075) : warning 208: function with tag result used before definition, forcing reparse
/home/vasya/Загрузки/sc/ScavengeSurvive/dependencies/samp-logger/logger.inc(129) : warning 213: tag mismatch
/home/vasya/Загрузки/sc/ScavengeSurvive/dependencies/samp-logger/logger.inc(152) : warning 219: local variable "_s" shadows a variable at a preceding level
sss/utils/message.pwn(31) : warning 234: function is deprecated (symbol "va_formatex") Use formatex instead
sss/utils/message.pwn(95) : warning 234: function is deprecated (symbol "va_formatex") Use formatex instead
sss/utils/message.pwn(95) : warning 213: tag mismatch
sss/utils/message.pwn(103) : warning 234: function is deprecated (symbol "va_formatex") Use formatex instead
sss/utils/message.pwn(103) : warning 213: tag mismatch
sss/utils/message.pwn(111) : warning 234: function is deprecated (symbol "va_formatex") Use formatex instead
sss/utils/message.pwn(111) : error 017: undefined symbol "GetPlayerLanguage"
sss/utils/message.pwn(119) : warning 234: function is deprecated (symbol "va_formatex") Use formatex instead
sss/utils/message.pwn(119) : warning 213: tag mismatch
sss/utils/dialog-pages.pwn(51) : error 017: undefined symbol "CORE"
sss/utils/item.pwn(37) : error 017: undefined symbol "GetContainerPlayerBag"
sss/utils/item.pwn(49) : error 017: undefined symbol "GetContainerBagItem"
sss/core/server/settings.pwn(65) : error 017: undefined symbol "file_Open"
sss/core/server/settings.pwn(67) : error 017: undefined symbol "file_IsKey"
sss/core/server/settings.pwn(69) : error 017: undefined symbol "file_SetVal"
sss/core/server/settings.pwn(71) : error 017: undefined symbol "file_Save"
sss/core/server/settings.pwn(74) : warning 213: tag mismatch
sss/core/server/settings.pwn(74) : warning 213: tag mismatch
sss/core/server/settings.pwn(78) : error 017: undefined symbol "file_GetVal"
sss/core/server/settings.pwn(81) : warning 213: tag mismatch
sss/core/server/settings.pwn(81) : warning 213: tag mismatch
sss/core/server/settings.pwn(85) : error 017: undefined symbol "file_Close"
sss/core/server/settings.pwn(91) : error 017: undefined symbol "file_Open"
sss/core/server/settings.pwn(93) : error 017: undefined symbol "file_IsKey"
sss/core/server/settings.pwn(95) : error 017: undefined symbol "file_SetFloat"
sss/core/server/settings.pwn(97) : error 017: undefined symbol "file_Save"
sss/core/server/settings.pwn(100) : warning 213: tag mismatch
sss/core/server/settings.pwn(100) : warning 213: tag mismatch
sss/core/server/settings.pwn(104) : error 017: undefined symbol "file_GetFloat"
sss/core/server/settings.pwn(107) : warning 213: tag mismatch
sss/core/server/settings.pwn(107) : warning 213: tag mismatch
sss/core/server/settings.pwn(111) : error 017: undefined symbol "file_Close"
sss/core/server/settings.pwn(117) : error 017: undefined symbol "file_Open"
sss/core/server/settings.pwn(119) : error 017: undefined symbol "file_IsKey"
sss/core/server/settings.pwn(121) : error 017: undefined symbol "file_SetStr"
sss/core/server/settings.pwn(124) : error 017: undefined symbol "file_Save"
sss/core/server/settings.pwn(127) : warning 213: tag mismatch
sss/core/server/settings.pwn(127) : warning 213: tag mismatch
sss/core/server/settings.pwn(131) : error 017: undefined symbol "file_GetStr"
sss/core/server/settings.pwn(134) : warning 213: tag mismatch
sss/core/server/settings.pwn(134) : warning 213: tag mismatch
sss/core/server/settings.pwn(138) : error 017: undefined symbol "file_Close"
sss/core/server/settings.pwn(214) : error 017: undefined symbol "file_Open"
sss/core/server/settings.pwn(222) : error 017: undefined symbol "file_IsKey"
sss/core/server/settings.pwn(226) : error 017: undefined symbol "file_SetStr"
sss/core/server/settings.pwn(227) : error 017: undefined symbol "file_Save"
Hi,
sampctl is currently stable and working so this is not an issue with sampctl as far as I know.
Scavenge and Survive is undergoing a lot of re-structuring right now so it will not compile at all. You will have to wait for the stable version to be released. All the modules are being moved to the Scavenge and Survive GitHub organisation: https://github.com/ScavengeSurvive
The gamemode has not been ready for a long time so I did this in the master
branch.
I will post an announcement on https://forum.southcla.ws and in my Discord server when the gamemode is ready. Until than, please wait or use an older unsupported version.
thanks