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

[Closed] tag mismatch compilation error


  
 
 
Thread Tools Display Modes
Author Message
v_one
Junior Member
Join Date: Oct 2005
Old 10-10-2005 , 01:24   [Closed] tag mismatch compilation error
#1

SuperHero Mod CVS 1.18e
AMX Mod X 1.60

I'm tag mismatch warnings on this new update, I'm assuming its the include from cvs, this happens when you try to compile some heroes with something like this in the scripti
Code:
            shAddXP(attacker, id, 1)
Ex. heroes like sh_darkpredator has that problem.
v_one is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-10-2005 , 06:37  
#2

read this thread

http://forums.alliedmods.net/showthread.php?t=34675
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
mydas
Senior Member
Join Date: Mar 2005
Old 10-10-2005 , 15:30  
#3

lol, so there are a few heroes with addxp ... but doesn't matter, the fix is so easy
__________________
[2021] I would love to revive SHMOD.

My heroes: SLAYER, Akasha, Achilles, Robo-Ky,Justice, Potemkin, Juggernaut, Mirage, Leviathan, Tyrael, Marduk, Omega Red
mydas is offline
Send a message via Yahoo to mydas
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 10-10-2005 , 18:19  
#4

BTW in case you cant figure it out.... change it to

Code:
shAddXP(attacker, id, 1.0)

Also almost any hero using this function is coded incorrectly anyway, because they prob should be using shExtraDamage instead of doing everything manually. Only heroes that should use this command are heroes that give you extra XP for special events.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
 



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 05:46.


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