Raised This Month: $ Target: $400
 0% 

ZM + WAR3 (Help)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-15-2011 , 00:23   ZM + WAR3 (Help)
Reply With Quote #1

Hello everybody, i have problem with these mods to get work together, problem are on team changing, war3:ft use default get_user_team function, but Zombie Plague fm_cs_get_user_team which are custom, i have changed default function from get_user_team to cs_get_user_team, a situation are better but not good enough, only part of team kills are fixed, now team kills are after round end when zombie plague mod again changes teams to block infecting, killing... So please help me to get these mods work together correctly! And there also are some bugs with ZP hardmoded move speed and gravity, that actualy dont work, i mean war3 skills, items, abilities, because humans and zombies have gravity and move speed limit! In attachments i have added WAR3:FT and Zombie Plague mods! I hope i got help
Attached Files
File Type: zip zp_plugin_43.zip (353.5 KB, 108 views)
File Type: zip war3ft_v3.0rc13.zip (2.13 MB, 257 views)
Podarok is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 05-03-2011 , 07:50   Re: ZM + WAR3 (Help)
Reply With Quote #2

Ok, this theme should be the one which isnt trashed! So Guys, can you help me changing default get_user_team function to cs_get_user_team! I have changed into main plugin war3ft.sma get_user_team ( id, szTeam, 15 ) to cs_get_user_team ( id ) and that was ok! But there are some other files in my attached files (war3ft_v3.0rc13.zip) scripting/war3ft/ inl files! There I have no idea how to change from get_user_team to cs_get_user_team! HELP PLEASE!
Podarok is offline
HBxander
Senior Member
Join Date: Jan 2011
Location: Behind you!
Old 05-03-2011 , 09:29   Re: ZM + WAR3 (Help)
Reply With Quote #3

You cant in an inl file because it doesnt load from other inl files

E: I have asked about that bfore but you cant. else the ppl i asked was stupid but .. :b
__________________
Selling:

- PointMod for Hide And Seek - $20
- Private BlockMaker with Weapon Block And More - $50
- Achievements ( FFA GamePlay ) - $25

PM Me about Private Work!
HBxander is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 05-03-2011 , 09:59   Re: ZM + WAR3 (Help)
Reply With Quote #4

No I can! And I dont understand what you mean !
Podarok is offline
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 05-03-2011 , 10:02   Re: ZM + WAR3 (Help)
Reply With Quote #5

Quote:
Originally Posted by Podarok View Post
No I can! And I dont understand what you mean !
can you not understand WHAT he said? this is not a laughing matter!

Do I have to rephrase it for you?

Quote:
He Have Asked About That Before But You Can't Do It.
__________________
jc980 is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 05-03-2011 , 12:41   Re: ZM + WAR3 (Help)
Reply With Quote #6

Ok, thanks! But Really I can do it! I know, I have seen it on the other server. So the problem is that I don't know how to change it, the only thing I know how to
Code:
get_user_team ( id, szTeam, 15 ) to cs_get_user_team ( id )
But I have no idea how to change harder constructions for example :
Code:
 if ( iTeam == get_user_team( players[i] ) )
Podarok is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-03-2011 , 12:52   Re: ZM + WAR3 (Help)
Reply With Quote #7

Quote:
Originally Posted by Podarok View Post
Ok, thanks! But Really I can do it! I know, I have seen it on the other server. So the problem is that I don't know how to change it, the only thing I know how to
Code:
get_user_team ( id, szTeam, 15 ) to cs_get_user_team ( id )
But I have no idea how to change harder constructions for example :
Code:
 if ( iTeam == get_user_team( players[i] ) )
It's pretty easy.

PHP Code:
new iTeam
 
if ( iTeam == get_user_teamplayers[i] ) ) 

PHP Code:
new CsTeamsiTeam;
if(
iTeam == cs_get_user_team(players[i])) 
You have to change iTeam to avoid getting a tag mismatch during compilation
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 05-03-2011 , 13:15   Re: ZM + WAR3 (Help)
Reply With Quote #8

Ok, I have changed it, plugin compiled succesfully but there was one warning! Have I correctly corrected it ? Please take a look! I cant upload .inl file , so I uploaded the .txt copy of it and my corrected .sma file!
Attached Files
File Type: txt admin(c).txt (10.9 KB, 256 views)
File Type: sma Get Plugin or Get Source (war3ft.sma - 680 views - 22.4 KB)
Podarok is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-03-2011 , 14:28   Re: ZM + WAR3 (Help)
Reply With Quote #9

I have looked into the source now and it seems like a lot of work to make it cs only.
I recommend you to try this plugin: http://forums.alliedmods.net/showthread.php?t=137996
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 05-03-2011 , 14:54   Re: ZM + WAR3 (Help)
Reply With Quote #10

Thanks, but it is not working Anyway, please, can you help me?
Podarok is offline
Old 05-04-2011, 11:05
Podarok
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
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 19:58.


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