AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved error 075: input line too long <after substitutions> (https://forums.alliedmods.net/showthread.php?t=308351)

D4rkSiD3Rs 06-17-2018 11:00

error 075: input line too long <after substitutions>
 
Hello, I found that error when I compile the plugin:
<2> error 075: input line too long <after substitutions>

> Image: https://ibb.co/b4oKSy

Can someone help me to fix it?

> Plugin:

PHP Code:

#include <amxmodx>
#include <fun>

new health_add
new health_hs_add

new nKiller
new nKiller_hp
new nHp_add

public plugin_init()
{
    
register_plugin("Vampire""1.0c""Shalfey")

    
health_add register_cvar("amx_vampire_hp""10")
    
health_hs_add register_cvar("amx_vampire_hs""15")

    
register_event("DeathMsg""hook_death""a""1>0")
}

public 
hook_death()
{
    
nKiller read_data(1)

    if ( (
read_data(3) == 1) && (read_data(5) == 0) )
    {
        
nHp_add get_pcvar_num (health_hs_add)
    }
    else 
nHp_add get_pcvar_num (health_add)

    
nKiller_hp get_user_health(nKiller)
    
nKiller_hp += nHp_add

    set_user_health
(nKillernKiller_hp)

    
set_hudmessage(02550, -1.00.1501.01.00.10.1, -1)
    
show_hudmessage(nKiller"Bonus: +%d HP"nHp_add)

    
message_begin(MSG_ONEget_user_msgid("ScreenFade"), {0,0,0}, nKiller)
    
write_short(1<<10)
    
write_short(1<<10)
    
write_short(0x0000)
    
write_byte(0)
    
write_byte(0)
    
write_byte(200)
    
write_byte(75)
    
message_end()



Ghosted 06-17-2018 11:19

Re: error 075: input line too long <after substitutions>
 
My compiler compiled that compilable code with his compilability without any errors.

maqi 06-17-2018 11:23

Re: error 075: input line too long <after substitutions>
 
Maybe theres something wrong with you fun include

D4rkSiD3Rs 06-17-2018 11:38

Re: error 075: input line too long <after substitutions>
 
Quote:

Originally Posted by Ghosted (Post 2597465)
My compiler compiled that compilable code with his compilability without any errors.

You tried with 1.8.3 compilator ?

Quote:

Originally Posted by maqi (Post 2597468)
Maybe theres something wrong with you fun include

I don't think so, I already changed it and try to compile it and the same error.

Ghosted 06-17-2018 12:07

Re: error 075: input line too long <after substitutions>
 
Quote:

Originally Posted by D4rkSiD3Rs (Post 2597472)
You tried with 1.8.3 compilator ?



I don't think so, I already changed it and try to compile it and the same error.

i tried 1.8.3

OciXCrom 06-17-2018 12:23

Re: error 075: input line too long <after substitutions>
 
It compiles just fine both on 1.8.2 and 1.8.3.

D4rkSiD3Rs 06-17-2018 12:35

Re: error 075: input line too long <after substitutions>
 
Quote:

Originally Posted by OciXCrom (Post 2597485)
It compiles just fine both on 1.8.2 and 1.8.3.

so what does this error means ?
> error 075: input line too long <after substitutions>

Bugsy 06-17-2018 12:39

Re: error 075: input line too long <after substitutions>
 
Compiles fine for me on an older 1.8.3 dev build.
Code:

AMX Mod X Compiler 1.8.3-dev+4748
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Header size:            512 bytes
Code size:            1204 bytes
Data size:              484 bytes
Stack/heap size:      16384 bytes
Total requirements:  18584 bytes
Done.


D4rkSiD3Rs 06-17-2018 12:41

Re: error 075: input line too long <after substitutions>
 
Quote:

Originally Posted by Bugsy (Post 2597492)
Compiles fine for me on an older 1.8.3 dev build.
Code:

AMX Mod X Compiler 1.8.3-dev+4748
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

Header size:            512 bytes
Code size:            1204 bytes
Data size:              484 bytes
Stack/heap size:      16384 bytes
Total requirements:  18584 bytes
Done.


Can you give me your fun include to try with it please?

Ghosted 06-17-2018 12:42

Re: error 075: input line too long <after substitutions>
 
You can download from
https://www.amxmodx.org/snapshots.php


All times are GMT -4. The time now is 12:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.