Grinlock
Newbie

Posts: 33
|
 |
« on: April 30, 2012, 10:23:33 PM » |
|
http://184.82.206.28/raceerror.pngHey, I'd really appreciate tour help on this one thanks. I downloaded race pack: http://war3source.com/index.php?topic=490.0All common races use across many servers. When I complied these races all I get out of the 29 races are 3 complied, leaving 26 races unable, un-compiled. I get these races, oddity sniper, Auramaster, Panorama, none of the others... How did I compile?I download all latest packs. [sdkhooks-2.1.0-windows.zip, sourcemod-1.4.2-windows.zip, War3SourceP1.2.3.6.rar] for windows. then putting all file where they should be. [addons\sourcemod\scripting\W3SIncs] & [addons\sourcemod\scripting\include\(sdkhooks stuff)] & 9race include fine)[addons\sourcemod\scripting\include\haaaxfunctions.inc], and of course the races in [addons\sourcemod\scripting] Then ran the compile.exe, it reports back I have 3 compluied races ready to be used, and 26 races are errors!!! example from above: 
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #1 on: April 30, 2012, 10:28:17 PM » |
|
that race pack as been abandoned by the author a long time ago.
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #2 on: April 30, 2012, 10:34:07 PM » |
|
So are you saying this race pack is broken? Or unusable due to new releases?
Just asking for my understanding, just because the author abandoned the races, doesn't mean they shouldn't work. These races are on many different servers that I have been on.
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #3 on: April 30, 2012, 10:44:12 PM » |
|
broken and maintained by nobody publically
and the problem is, those that have fixed it don't share it
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #4 on: April 30, 2012, 10:50:02 PM » |
|
Time to get my hack on  Jokes, well in that case, that sucks. So by what you said, these races didn't work when they were released? I cant get an old version of War3Source and compile them? Time to start learning to to build races then, maybe I can fix a few.
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #5 on: April 30, 2012, 10:53:35 PM » |
|
why not use existing supported quality races instead?
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #6 on: April 30, 2012, 10:56:56 PM » |
|
Thanks for the help Ownz so far Just finding them is an effort and a half. And I'd like them races.
|
|
|
|
|
Logged
|
|
|
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #8 on: May 01, 2012, 01:35:29 AM » |
|
Alright, these 29(-agent) Races seem really easy to fix. I have done a couple, Once they are done, I'll re-upload and share for you all.
|
|
|
|
|
Logged
|
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #9 on: May 01, 2012, 03:39:30 AM » |
|
Alright, I have fixed/workarounds on 23 races. They now work on the latest version. These races are: Wisp, [Oddity]Sniper, Auramaster, AVATAR, BoyScout, CrazyHound, FlamePred, Genocide, Luckystrike, Lurker, Molecule, Panorama, Raidem, SniperClass, Spierman, Strider Hiryu, Terran Ghost, Terran Space Marine, Risen, Vagabond, Zergling, Zeus.
Through there are 7 other races I have to look into more. File attached.
|
|
|
|
« Last Edit: May 01, 2012, 03:45:13 AM by Grinlock »
|
Logged
|
|
|
|
|
Revan
|
 |
« Reply #10 on: May 01, 2012, 03:57:59 AM » |
|
I've attached 2 of the unfinished races which has been updated by me (they should work with the recent w3s version)
I also added some effects to both
|
|
|
|
|
Logged
|
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #11 on: May 01, 2012, 04:06:04 AM » |
|
Thanks for sharing them.
How do you remove the 26 errors when compiling? W3SIncs/War3Source_interface.inc : error [17/10/201/21] invalid/undefined/Symbol already defined
I've only made workarounds, Not Fixed/Fixed. when Compile still get warning 234: symbol "OnRaceSelected" is marked as deprecated: Use OnRaceChanged(Client, oldrace, newrace);
Sadly I read that error wrong. It's now an easy fix. Things are so much easier when u re-read things.
I'll fix them ASAP, and re-upload.
|
|
|
|
« Last Edit: May 01, 2012, 04:10:44 AM by Grinlock »
|
Logged
|
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #12 on: May 01, 2012, 04:30:26 AM » |
|
Here is the 25 Races now.
|
|
|
|
|
Logged
|
|
|
|
|
Vulpone
|
 |
« Reply #13 on: May 01, 2012, 06:52:53 AM » |
|
The reason that chicken was not supported is because i never released it to the public.
Anyway, I'll get you the sounds and the models if you really want the race. It was one of my first ones so it's mostly Copy-paste (another reason I never released it)
edit:
also, that chicken version is insanely outdated (typos and possibly bugs) so I'd not use it :p
I abandoned the race a while back
|
|
|
|
« Last Edit: May 01, 2012, 06:56:02 AM by Vulpone »
|
Logged
|
Sapere aude!
|
|
|
|
Vulpone
|
 |
« Reply #14 on: May 01, 2012, 11:37:46 AM » |
|
here are your files
|
|
|
|
|
Logged
|
Sapere aude!
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #15 on: May 02, 2012, 12:35:55 AM » |
|
Thanks mate, the race made me laugh as I read through it, thought I'd be a bit of fun. Crack out an egg or two and tele around the map!
|
|
|
|
|
Logged
|
|
|
|
|
Vulpone
|
 |
« Reply #16 on: May 02, 2012, 05:16:38 AM » |
|
Haha, yeah, it was supposed to be a goofy race.
Last time I checked it wasn't too OP on our servers, but you might need to tweak it to suit your game.
|
|
|
|
|
Logged
|
Sapere aude!
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #17 on: May 02, 2012, 07:06:00 AM » |
|
Hey, I've been looking at a few races I've been fixing up. And I've noticed that one of them is to deal damage to self, not heal, this is for TSM, Terran Space Marine! - War3_DealDamage( client, 20, client, DMG_BULLET, "space_marine_stim" );
I changed this to - War3_HealToMaxHP( client, HealthGain[ult_level] );
Yay it heals, but It doesn't heal past 100Hp, Max HP is 150, so I added - "War3_GetMaxHP( client );"
the Line before it. This did work after casting "sm plugins refresh". Being happy I restart the server, It then didn't heal past 100HP Again. Here's the code. public OnUltimateCommand( client, race, bool:pressed ) { if( race == thisRaceID && pressed && IsPlayerAlive( client ) && !Silenced( client ) ) { new ult_level = War3_GetSkillLevel( client, race, ULT_STIM ); if( ult_level > 0 ) { if( War3_SkillNotInCooldown( client, thisRaceID, ULT_STIM, true ) ) { War3_GetMaxHP( client ); War3_HealToMaxHP( client, HealthGain[ult_level] ); War3_SetBuff( client, fMaxSpeed, thisRaceID, StimSpeed[ult_level] ); War3_SetBuff( client, fAttackSpeed, thisRaceID, StimAttackSpeed[ult_level] ); CreateTimer( 8.0, StopStim, client ); War3_CooldownMGR( client, 15.0, thisRaceID, ULT_STIM, _, _ ); } } else { W3MsgUltNotLeveled( client ); } } }
What Have I missed, or done slightly incorrectly?
|
|
|
|
|
Logged
|
|
|
|
|
Revan
|
 |
« Reply #18 on: May 02, 2012, 07:23:02 AM » |
|
Idk what u are trying to do, since the idea behind that ultimate is "loose hp and get speed for a few of seconds" ? you should be able to leave the ultimate untouched
edit: You will heal to the Max hp when using that native, you can either increase the Max hp(with a buff) or manually heal to the target health
|
|
|
|
« Last Edit: May 02, 2012, 07:34:32 AM by Revan »
|
Logged
|
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #19 on: May 02, 2012, 07:57:24 AM » |
|
Have I missed read the text on the ulti? U LT_STIM = War3_AddRaceSkill( thisRaceID, "Stim Pack", "You can heal your self a bit.", true, 5 ); You can heal your self a bit. I read this as you gain HP. I'll continue with this being right, and what's it's meant to do for my knowledge, knowing it was fine.. What do you mean by this? "You will heal to the Max hp when using that native, you can either increase the Max hp(with a buff) or manually heal to the target health" The races MAX HP by skill is set to 150HP. What command should I be using if not War3_HealToMaxHP( client, HealthGain[ult_level] ); So, why can i not heal past 100 when i have the getmaxhp command above it?
|
|
|
|
|
Logged
|
|
|
|
|
Revan
|
 |
« Reply #20 on: May 02, 2012, 08:34:42 AM » |
|
Oh sorry I misunderstood you.
War3_GetMaxHP only retrieves the max amount of health a player can have normally. so you could either use War3_HealToMaxHP and heal to max HP or use War3HealToHP(client,addhp,maximumHP) to go beyond that limit.
edit: if you want to use the first method show that skill which is increasing the maxhp since that way how to increase that value has been changed
|
|
|
|
« Last Edit: May 02, 2012, 08:36:55 AM by Revan »
|
Logged
|
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #21 on: May 02, 2012, 08:43:05 AM » |
|
War3_HealToMaxHP( pram1, pram2 ); There isn't a pram3, how am I mean to do War3_HealToMaxHP(client,addhp,maximumHP) and "War3_HealToHP()" isn't a command.
and If War3_GetMaxHP only retrieves the max amount of health a player can have normally, how do I get the increased health for use of abilities?
|
|
|
|
|
Logged
|
|
|
|
|
Vulpone
|
 |
« Reply #22 on: May 02, 2012, 08:47:39 AM » |
|
If you just want him to have more HP, not raise maxHP (since if you raise maxHP, Mask of Death and Ring of Regen. will ALSO go up to the new maximum), use: SetClientHealth(client, amount);
that should do the job. It temporarily sets the HP to the person to this HP, WITHOUT touching MaxHP
|
|
|
|
|
Logged
|
Sapere aude!
|
|
|
Grinlock
Newbie

Posts: 33
|
 |
« Reply #23 on: May 02, 2012, 08:58:02 AM » |
|
Again, SetClientHealth(client, amount); reports back error, undefined, not a command.
|
|
|
|
|
Logged
|
|
|
|
|
Revan
|
 |
« Reply #24 on: May 02, 2012, 02:05:30 PM » |
|
I already wrote how to do this.... use War3HealToHP It IS a command i even checked the w3s interface. you probably added a underscore between War3 and HealToHp, Re read my previous Post please
|
|
|
|
« Last Edit: May 02, 2012, 02:08:53 PM by Revan »
|
Logged
|
|
|
|
|