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
Chat

War3:Source
January 24, 2013, 10:11:11 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Flaming gloves?  (Read 176 times)
struMf
Newbie
*
Posts: 10


View Profile Email
« 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?
Logged

Revan
Sr. Member
****
Posts: 346



View Profile
« Reply #1 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.
Logged

#war3source
struMf
Newbie
*
Posts: 10


View Profile Email
« Reply #2 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
Logged

Revan
Sr. Member
****
Posts: 346



View Profile
« Reply #3 on: January 12, 2013, 04:52:49 PM »

try writing "glove" in the chat to buy it. should work
Logged

#war3source
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2169



View Profile WWW
« Reply #4 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
Logged

DarkEnergy
struMf
Newbie
*
Posts: 10


View Profile Email
« Reply #5 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.
Logged

Ownz
Developer
Administrator
Hero Member
*****
Posts: 2169



View Profile WWW
« Reply #6 on: January 13, 2013, 08:33:09 AM »

I am in school and currently do not have time Tongue
Logged

DarkEnergy
Revan
Sr. Member
****
Posts: 346



View Profile
« Reply #7 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);
}
Logged

#war3source
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2169



View Profile WWW
« Reply #8 on: January 13, 2013, 08:58:34 AM »

he can try.

revan your code would change default order in menu
Logged

DarkEnergy
Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 454


⠠⠵


View Profile
« Reply #9 on: January 13, 2013, 10:31:04 AM »

Revan you're looking at War3-2.0 code, not the *.rar release.
Logged

struMf
Newbie
*
Posts: 10


View Profile Email
« Reply #10 on: January 13, 2013, 11:31:53 AM »

Later:

In source i've been added in shopitems code and works Smiley
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.
« Last Edit: January 13, 2013, 12:14:57 PM by struMf » Logged

Glider⠠⠵
Global Moderator
Sr. Member
*****
Posts: 454


⠠⠵


View Profile
« Reply #11 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 and we'll get around fixing it.
Logged

struMf
Newbie
*
Posts: 10


View Profile Email
« Reply #12 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 and we'll get around fixing it.

Done, thank you!
Logged

Revan
Sr. Member
****
Posts: 346



View Profile
« Reply #13 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 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).
Logged

#war3source
struMf
Newbie
*
Posts: 10


View Profile Email
« Reply #14 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
« Last Edit: January 14, 2013, 10:15:25 AM by struMf » Logged

Revan
Sr. Member
****
Posts: 346



View Profile
« Reply #15 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
github diff :3
Logged

#war3source
struMf
Newbie
*
Posts: 10


View Profile Email
« Reply #16 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 Smiley
Logged

CamKrist
Newbie
*
Posts: 1


View Profile Email
« Reply #17 on: Today at 06:20:46 AM »

I decided to give a hand and sent a post into social bookmarks. I hope the popularity will rise in.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!