Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Plugin does not compile. can you help me? #176

Open
OO0000O opened this issue Jul 10, 2022 · 7 comments
Open

Plugin does not compile. can you help me? #176

OO0000O opened this issue Jul 10, 2022 · 7 comments
Labels
Bug Something isn't working

Comments

@OO0000O
Copy link

OO0000O commented Jul 10, 2022

After the 7th July game update, FF2 was not working properly.

So, I tried to compile the latest build of FF2, but an error appeared in the compilation window.

I tried to compile using sourcemode 1.10, but there was a problem with the public void CW3_OnWeaponSpawned that exists in impl/hooks and the build did not work.

There seems to be a problem with the version, so I tried compiling with source mode 1.11, but to no avail.

_//// freak_fortress_2.sp
//
// impl\commands.sp(1761) : warning 217: inconsistent indentation (did you mix tabs and spaces?)

\scripting\include\SteamWorks.inc(273) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not constant
\scripting\include\SteamWorks.inc(274) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not constant
scripting\include\SteamWorks.inc(275) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not ### constant_

I tried compiling with source mode 1.11, but this time there was a problem related to steamwork.

Does anyone else have the same symptoms as me?

@OO0000O OO0000O added the Bug Something isn't working label Jul 10, 2022
@Batfoxkid
Copy link
Owner

You will need an update-to-date include hosted here: https://github.com/ksgoescoding/SteamWorks/blob/patch-1/Pawn/includes/SteamWorks.inc

@OO0000O
Copy link
Author

OO0000O commented Jul 11, 2022

Fortunately, the steamwork.inc problem is gone, but a new problem has arisen.


//SourceMod Batch Compiler
// by the SourceMod Dev Team

//SourceMod Batch Compiler
// by the SourceMod Dev Team

//// freak_fortress_2.sp
//
// impl\utils.sp(356) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2052) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2052) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2052) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2052) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2052) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2052) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2105) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2105) : warning 209: function has explicit 'int' tag but does not return a value
// impl\utils.sp(2326) : warning 209: function has explicit 'int' tag but does not return a value
// impl\formula_parser.sp(11) : warning 209: function has explicit 'int' tag but does not return a value
// impl\music.sp(2) : warning 242: function "Timer_PrepareBGM" should return an explicit value
// impl\hooks.sp(2808) : error 180: function return type differs from prototype. expected 'int', but got 'void'
// impl\timers.sp(134) : warning 242: function "Timer_CalcQueuePoints" should return an explicit value
// impl\natives.sp(626) : warning 209: function has explicit 'int' tag but does not return a value
// impl\natives.sp(653) : warning 209: function has explicit 'int' tag but does not return a value
// impl\natives.sp(653) : warning 209: function has explicit 'int' tag but does not return a value
// impl\natives.sp(653) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(136) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(334) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(334) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(334) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(576) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(576) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(576) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(754) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(754) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(754) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(1230) : warning 209: function has explicit 'int' tag but does not return a value
// impl\panels.sp(1230) : warning 209: function has explicit 'int' tag but does not return a value
// impl\database_vars.sp(37) : warning 241: scalar assignment to array is deprecated; use "{ , ... }" instead
//scripting\freak_fortress_2.sp(1761) : warning 217: inconsistent indentation (did you mix tabs and spaces?)
//
// 1 Error.
//
// Compilation Time: 1.72 sec
// ----------------------------------------

The same error occurred when compiling using source mode 1.10.

However, there was only one warning at that time.

@Batfoxkid
Copy link
Owner

Batfoxkid commented Jul 11, 2022

I guess source code would have to be changed to compile properly on SourceMod 1.11

@OO0000O
Copy link
Author

OO0000O commented Jul 14, 2022

Can you upload the latest FF2.SMX file? I keep trying to compile, but I keep getting errors related to public void CW3_OnWeaponSpawned.

@Batfoxkid
Copy link
Owner

Can you upload the latest FF2.SMX file? I keep trying to compile, but I keep getting errors related to public void CW3_OnWeaponSpawned.

See here: https://github.com/Batfoxkid/FreakFortressBat/actions/runs/2633300161

@OO0000O
Copy link
Author

OO0000O commented Jul 16, 2022

After applying the latest version, some problems arose.

The latest version changes all .ff2 files included in plugins/freak to .smx and deletes them.

In addition, we also confirmed the phenomenon that the boss is fixed to the ground and cannot move.

I thought it was a problem with the server version, so I tested it with source mode 1.10 and 1.11 servers, but it was not resolved.

Also tested with version 1.204, no such problem was detected with version 1.204.

I wonder if other people experience this as well.

@leo-proct
Copy link

After applying the latest version, some problems arose.

The latest version changes all .ff2 files included in plugins/freak to .smx and deletes them.

In addition, we also confirmed the phenomenon that the boss is fixed to the ground and cannot move.

I thought it was a problem with the server version, so I tested it with source mode 1.10 and 1.11 servers, but it was not resolved.

Also tested with version 1.204, no such problem was detected with version 1.204.

I wonder if other people experience this as well.

I am also having this issue, my plugins get removed on the following map change

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants