Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2013-01-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog

War3:Source

General Discussion => War3: Source - General Discussion => Topic started by: struMf on January 12, 2013, 02:04:25 PM



Title: Flaming gloves?
Post by: struMf on January 12, 2013, 02:04:25 PM
Hello,

I'm using 2.4.1 W3S and looking for flaming gloves for orc ....
Someone know where i can find or activate it?


Title: Re: Flaming gloves?
Post by: Revan on January 12, 2013, 03:50:37 PM
There is no "2.4.1 W3S"

Please give us more information otherwhise we can't help you.
Flaming gloves is a shopmenu item.


Title: Re: Flaming gloves?
Post by: struMf on January 12, 2013, 04:05:16 PM
Ok, i know is an item just i can't find it on shopmenu's

Version that i use: www.ownageclan.com/war3source/War3SourceP1.2.4.1.rar


Title: Re: Flaming gloves?
Post by: Revan on January 12, 2013, 04:52:49 PM
try writing "glove" in the chat to buy it. should work


Title: Re: Flaming gloves?
Post by: Ownz on January 12, 2013, 08:49:10 PM
glove is enabled for CS but not CS GO. we have not tested if it is compatible with CS GO


Title: Re: Flaming gloves?
Post by: struMf on January 13, 2013, 04:27:56 AM
glove is enabled for CS but not CS GO. we have not tested if it is compatible with CS GO

Oh, thank you. I forgot to tell you that i use CS:GO server.
Please let me know if you wish to test on CS:GO this awesome mode.

Many ppl, are going to CS:GO and let CS:S behind.


Title: Re: Flaming gloves?
Post by: Ownz on January 13, 2013, 08:33:09 AM
I am in school and currently do not have time :P


Title: Re: Flaming gloves?
Post by: Revan on January 13, 2013, 08:57:12 AM
Gloves should work for CS:GO
where in the code it checks for game == cs?

Code:
if(GameCSANY())
{
    iShopitem[ITEM_ANKH] = War3_CreateShopItemT("ankh", 3, 2000);
    iShopitem[ITEM_GLOVES] = War3_CreateShopItemT("glove", 5, 3000);
    iShopitem[ITEM_MOLE] = War3_CreateShopItemT("mole", 10, 10000);
}


Title: Re: Flaming gloves?
Post by: Ownz on January 13, 2013, 08:58:34 AM
he can try.

revan your code would change default order in menu


Title: Re: Flaming gloves?
Post by: Glider⠠⠵ on January 13, 2013, 10:31:04 AM
Revan you're looking at War3-2.0 code, not the *.rar release.


Title: Re: Flaming gloves?
Post by: struMf on January 13, 2013, 11:31:53 AM
Later:

In source i've been added in shopitems code and works :)
Code:
if(GameCSANY())

Now gloves got in shopmenuitem but the server don't respect menu shopitem request.
So ... i got a successfully glove purchased but server don't giving me a HE nade at x secounds.


Title: Re: Flaming gloves?
Post by: Glider⠠⠵ on January 13, 2013, 01:20:28 PM
In that case the weapon to give in CS:GO is a different one than in CS:S.

Post an issue to github (https://github.com/War3Source/War3Source/issues) and we'll get around fixing it.


Title: Re: Flaming gloves?
Post by: struMf on January 14, 2013, 04:18:29 AM
In that case the weapon to give in CS:GO is a different one than in CS:S.

Post an issue to github (https://github.com/War3Source/War3Source/issues) and we'll get around fixing it.

Done, thank you!


Title: Re: Flaming gloves?
Post by: Revan on January 14, 2013, 09:50:47 AM
In that case the weapon to give in CS:GO is a different one than in CS:S.

Post an issue to github (https://github.com/War3Source/War3Source/issues) and we'll get around fixing it.

Done, thank you!

Fixed.
Apparently you just missed out the "Game_CS" check in the GrenadeLoop(thats why you don't got a nade).


Title: Re: Flaming gloves?
Post by: struMf on January 14, 2013, 10:06:35 AM
Thank you!

For others:

Replace this:
Code:
//gloves giving nades
public Action:GrenadeLoop(Handle:timer,any:data)
{
if(war3ready&&War3_GetGame()==Game_CS){

With This:
Code:
if(GameCSANY())

In http://ownageclan.com/svn/war3source/War3Source_ShopItems.sp


Title: Re: Flaming gloves?
Post by: Revan on January 14, 2013, 11:15:17 AM
Thank you!

For others:

Replace this:
Code:
//gloves giving nades
public Action:GrenadeLoop(Handle:timer,any:data)
{
if(war3ready&&War3_GetGame()==Game_CS){

With This:
Code:
if(GameCSANY())

In http://ownageclan.com/svn/war3source/War3Source_ShopItems.sp
np
https://github.com/War3Source/War3Source/commit/8d9f51ed08ddbc3aec5bc5b525e0326fee216de4 (https://github.com/War3Source/War3Source/commit/8d9f51ed08ddbc3aec5bc5b525e0326fee216de4)
github diff :3


Title: Re: Flaming gloves?
Post by: struMf on January 14, 2013, 12:38:15 PM
Good, now server is working fine.
Thank you and i will return with more issue if i got :)


Title: Re: Flaming gloves?
Post by: CamKrist on January 24, 2013, 06:20:46 AM
I decided to give a hand and sent a post into social bookmarks. I hope the popularity will rise in.