Raised This Month: $51 Target: $400
 12% 

Solved error 075: input line too long <after substitutions>


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
D4rkSiD3Rs
Senior Member
Join Date: Jan 2018
Location: Morocco
Old 06-17-2018 , 11:00   error 075: input line too long <after substitutions>
Reply With Quote #1

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

> Image:

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()


Last edited by D4rkSiD3Rs; 06-17-2018 at 14:32. Reason: editing
D4rkSiD3Rs is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 06-17-2018 , 11:19   Re: error 075: input line too long <after substitutions>
Reply With Quote #2

My compiler compiled that compilable code with his compilability without any errors.
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
maqi
Senior Member
Join Date: Apr 2017
Location: Serbia
Old 06-17-2018 , 11:23   Re: error 075: input line too long <after substitutions>
Reply With Quote #3

Maybe theres something wrong with you fun include
__________________
stuff
maqi is offline
D4rkSiD3Rs
Senior Member
Join Date: Jan 2018
Location: Morocco
Old 06-17-2018 , 11:38   Re: error 075: input line too long <after substitutions>
Reply With Quote #4

Quote:
Originally Posted by Ghosted View Post
My compiler compiled that compilable code with his compilability without any errors.
You tried with 1.8.3 compilator ?

Quote:
Originally Posted by maqi View Post
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.
D4rkSiD3Rs is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 06-17-2018 , 12:07   Re: error 075: input line too long <after substitutions>
Reply With Quote #5

Quote:
Originally Posted by D4rkSiD3Rs View Post
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
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 06-17-2018 , 12:23   Re: error 075: input line too long <after substitutions>
Reply With Quote #6

It compiles just fine both on 1.8.2 and 1.8.3.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
D4rkSiD3Rs
Senior Member
Join Date: Jan 2018
Location: Morocco
Old 06-17-2018 , 12:35   Re: error 075: input line too long <after substitutions>
Reply With Quote #7

Quote:
Originally Posted by OciXCrom View Post
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>
D4rkSiD3Rs is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-17-2018 , 12:39   Re: error 075: input line too long <after substitutions>
Reply With Quote #8

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.
__________________
Bugsy is offline
D4rkSiD3Rs
Senior Member
Join Date: Jan 2018
Location: Morocco
Old 06-17-2018 , 12:41   Re: error 075: input line too long <after substitutions>
Reply With Quote #9

Quote:
Originally Posted by Bugsy View Post
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?
D4rkSiD3Rs is offline
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 06-17-2018 , 12:42   Re: error 075: input line too long <after substitutions>
Reply With Quote #10

You can download from
https://www.amxmodx.org/snapshots.php
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:11.


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