Line too long
Hello, first of all, I have searched around the forum regarding this issue. I'm unable to find any solution even I understand how the error generated, there is a long line in the whole code that, perhaps, longer than it should. The error is on line 291( the line which is already outside the entire code? )
Some threads I found helpful and yet still hasn't solve my issue; https://forums.alliedmods.net/showth...nput+line+long https://forums.alliedmods.net/showth...nput+line+long https://forums.alliedmods.net/showth...nput+line+long PS : The code may be too hard-coded, I am new to coding so mostly the code about making fake ghost and player in the code isn't mine, it was Dias'. Just using his code for some testing since I need his code to create ghost entities around a target and only the target can see all the entity. PHP Code:
|
Re: Line too long
Um... What line? I don't see a huge line here + the code compiles with only a tag mismatch.
|
Re: Line too long
1 Attachment(s)
Quote:
Here the errors that I got; |
Re: Line too long
The first error is in the .inc file. The code you gave doesn't have 291 lines, so it's the wrong one...
|
Re: Line too long
Quote:
That, by any chance, solved my nested comment error that I had been facing from all this time. I forgot I edited the include file as it was a mess since I installed it for the first time, well, just so that will ease me to read the include file so I can understand better. But, the long line still there. This sounds ridiculous but if you don' mind, OciXCrom, will you please attach your include files here, please? I will try to test it with yours maybe that can solve the problem. :grrr: Thanks in advance, you really awesome. :) [ EDIT ] I have alter the code in the first post, changes that I made after your replies. ^^ |
Re: Line too long
It still compiles without any problems. The .inc files depend on your AMXX version, so it's a bad idea if I give them to you + I have made some modifications. Try a different compiler.
|
Re: Line too long
2 Attachment(s)
So, I did as what you thought I should've been doing and you are right. The compiler plays the role here.
I went to two different websites( 1.8.3 AMXx Compiler and AMX Mod X Web Compiler ) and here the results that I got, respectively. [ EDIT ] It seems that we can conclude that too long line error is greatly affected by include files too. Not just the line itself. |
Re: Line too long
Could you please attach the file here rather than copying its contents?
|
Re: Line too long
2 Attachment(s)
Quote:
Which file you wish me to attach here? Include file or the original plugin? [ EDIT ] I see, so you want the original plugin, aight? :grrr: Sure, here. [ EDIT 1 ] But, the resources is still missing. My laptop has been a mess lately. You can download the resources from Dias' thread though, all his threads are still up and available for public use. :) [ EDIT 2 ] Anyone who still want the full code without error and warning, here. PHP Code:
|
Re: Line too long
The plugin that failed to compile was named SPEED.sma, perhaps you should try to attach that one instead...
The file you attached compiled fine. No errors, no warnings. Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler. |
| All times are GMT -4. The time now is 17:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.