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

War3:Source
October 24, 2012, 09:01:20 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: war3_autobuy_on_max_gold  (Read 418 times)
.:.FK.:.DiGGaBoON.:.
Jr. Member
**
Posts: 64


View Profile
« on: January 12, 2012, 09:32:31 PM »

Quick question to avoid mixing up my config file and database and molesting the other players with restarts to make the changed cvars working...

I use war3_autobuy_on_max_gold "tome". Is it possible to use it with "tome10"?
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #1 on: January 13, 2012, 10:48:16 AM »

no, the addon uses item shortname only


although its possible to modify the addon yourself.
Logged

DarkEnergy
.:.FK.:.DiGGaBoON.:.
Jr. Member
**
Posts: 64


View Profile
« Reply #2 on: January 13, 2012, 03:07:41 PM »

It could be possible if I knew how to code it. I'm busy finding all the bugs Wink

Little request here to this cvar:
Can you change the check for MaxGold from Spawn to Kill/GetGold please? There are situations in which the players reach MaxGold in the middle of a round and get several kills before the round ends (or before they die in case of deathmatch) and their gold gets wasted.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #3 on: January 13, 2012, 03:44:34 PM »

it is checked on getgold / kill

engine_XpGold

line 550
Logged

DarkEnergy
.:.FK.:.DiGGaBoON.:.
Jr. Member
**
Posts: 64


View Profile
« Reply #4 on: January 13, 2012, 05:03:43 PM »

game CSS with CSDM
I recorded a short demo, under 1 minute, showing that the autobuy does not trigger when the MaxGold is reached or exceeded but after a round restart ("kill" in console would have worked as well)

edit:
I tried the latest full release and the latest svn, both with and without deathmatch. It's always the same result like in the attached replay.
« Last Edit: January 13, 2012, 07:43:43 PM by .:.FK.:.DiGGaBoON.:. » Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #5 on: January 13, 2012, 07:50:47 PM »

ahhaa opps, it prints add 1 gold when it still adds 2, used the wrong variable.
http://goo.gl/NkBHb
Logged

DarkEnergy
.:.FK.:.DiGGaBoON.:.
Jr. Member
**
Posts: 64


View Profile
« Reply #6 on: January 13, 2012, 10:45:38 PM »

I redownloaded and recompiled the complete svn. Still no autobuy on kill, only on respawn. Tested with and without deathmatch.
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #7 on: January 13, 2012, 11:08:10 PM »

it only buys on spawn
Logged

DarkEnergy
.:.FK.:.DiGGaBoON.:.
Jr. Member
**
Posts: 64


View Profile
« Reply #8 on: January 14, 2012, 07:16:41 AM »

Then again my little request: can you change it to buy when MaxGold is reached or exceeded please? Smiley
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #9 on: January 14, 2012, 06:46:03 PM »

you know this will cause more ragequits because players automatically receive items right?
Logged

DarkEnergy
.:.FK.:.DiGGaBoON.:.
Jr. Member
**
Posts: 64


View Profile
« Reply #10 on: January 14, 2012, 08:30:29 PM »

Youre right, I forgot about the dialog box that appears when the player already owns the maximum number of items and then the autobuy tries to give him another one.
That makes me think of another possible scenario with the current autobuy on spawn: I already play with maximum item(s). I reach MaxGold during the round. I die and on the next spawn the autobuy gives me an item. Now I buy my wanted item(s) again but the autobuy item is blocking one slot and the annoying dialog box appears and steals time. That would really piss me off.

I think we can find a good compromise that eliminates nearly all possible annoying scenarios:
-maxgold check only on GetGold and not on spawn
-only autobuy when there is at least one free item slot or the item doesn't take any slot (like tome of XP)

Lets imagine some possible scenarios with that:
-people don't care about gold or items => they don't care if its spend automatically and gives them a bonus
-people don't use all possible item slots => why rage when there is another bonus which doesn't prevent them from buying their other item?
-people always use max items => no autobuy when there is no free slot so no problem here
people usually buy items after spawning, so when they are in combat where the MaxGold check on kill can occur they already bought all the wanted items and thus the autobuy can either fill a free slot or the autobuy does nothing cause there is no free slot left.

Or do you mean ragequits because the precious gold is used automatically? If they reach MaxGold they either have a smashing kpd that they earn so much gold or they don't buy items at all. 2, 3 or 10 gold from the whatsoever MaxGold... And if the MaxGold is really low on the server, the server owner should leave the cvar empty, because in that case the autobuy on spawn would be annoying, too.


edit:
Please don't get me or my text wrong. I don't want to tread on someones toes.
« Last Edit: January 14, 2012, 08:37:31 PM by .:.FK.:.DiGGaBoON.:. » Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2046



View Profile WWW Email
« Reply #11 on: January 14, 2012, 08:45:02 PM »

"
Or do you mean ragequits because the precious gold is used automatically? If they reach MaxGold they either have a smashing kpd that they earn so much gold or they don't buy items at all. 2, 3 or 10 gold from the whatsoever MaxGold... And if the MaxGold is really low on the server, the server owner should leave the cvar empty, because in that case the autobuy on spawn would be annoying, too.

"

i really dont want all the good players automatically getting all the benefit.
Logged

DarkEnergy
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!