tel8618217223380 / game-golem

Automatically exported from code.google.com/p/game-golem
0 stars 0 forks source link

buy buy buy sell sell sell #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
ok i set it to auto buy items from the town 

it ends up buying like 2 angels then another 2 angels then selling 4 angels 
loosing me alot of cash

it does the same for the short swords to 

Original issue reported on code.google.com by castl...@gmail.com on 6 Aug 2010 at 4:29

GoogleCodeExporter commented 9 years ago
btw this was with 747 im still waiting on my trigger to fire for 748 to see if 
it happens again i ended up turning off the sell unused/excess to fix it

Original comment by castl...@gmail.com on 6 Aug 2010 at 4:32

GoogleCodeExporter commented 9 years ago
Heard several people with the same problem. Not sure exactly what's causing it 
- but got this idea it might be related to storing Items as their names, not by 
the image filename.

Original comment by RycochetTM on 21 Aug 2010 at 6:51

GoogleCodeExporter commented 9 years ago
I happen to have this issue with rangers recently. I got one, then golem will 
buy one, only to resell it a couple minutes later. I checked data.Resources and 
it correctly reads that quests need two rangers, but it still sells one. 
Turning off selling surplus for now.

Original comment by bparoi...@gmail.com on 1 Oct 2010 at 8:38

GoogleCodeExporter commented 9 years ago
Looks like this is all sorted out now, almost totally rewritten since then 
anyway.

Original comment by RycochetTM on 2 Apr 2011 at 6:21

GoogleCodeExporter commented 9 years ago
ah it might not be the newest ver wont stop buying footmen i got 8200 now :/

Original comment by castl...@gmail.com on 3 Apr 2011 at 2:24

GoogleCodeExporter commented 9 years ago
Hmm, have a look under the Settings tab on the dashboard, select 
"Resources.data" from the drop down, and look for the block of data in the 
output that looks something like "_Footman":{ "quest":1 }. It is unusual for 
anything to have a number higher than 541. If there is a value much higher, 
that would be why it is buying so many. Perhaps you could paste that Footman 
block here so we might better track the problem. I suspect some bad data got 
into there at some point that is throwing Town into a shopping frenzy.

Note: to get the Settings tab to show you may need to enable Advanced Options 
on the Config context menu (the little chain link dealie to the right of the 
Castle Age Golem r#### version string) if you haven't already done so. You may 
also need to refresh the window (F5) to get the dashboard tab to show if it 
doesn't pop up immediately upon enabling Advanced Options.

Original comment by lur...@hotmail.com on 3 Apr 2011 at 9:08

GoogleCodeExporter commented 9 years ago
as requested here is my resources.data contents

{
   "_Platinum Knight": {
      "invade_att": 541,
      "invade_def": 541
   },
   "_Valor Knight": {
      "invade_att": 539,
      "invade_def": 539
   },
   "_Phoenix": {
      "quest": 10,
      "invade_att": 538,
      "invade_def": 538
   },
   "_Gift Dragon": {
      "invade_att": 528,
      "invade_def": 528
   },
   "_Dragon": {
      "quest": 12,
      "invade_att": 526,
      "invade_def": 526
   },
   "_Sun Eagle": {
      "invade_att": 514,
      "invade_def": 514
   },
   "_Atlantean Archer": {
      "invade_att": 513,
      "invade_def": 512
   },
   "_Valerian Mystic": {
      "invade_att": 512,
      "invade_def": 513
   },
   "_Barbarian": {
      "invade_att": 511,
      "invade_def": 511
   },
   "_Gift Angel": {
      "invade_att": 504,
      "invade_def": 504
   },
   "_Angel": {
      "quest": 25,
      "invade_att": 502,
      "invade_def": 502
   },
   "_Fire Elemental": {
      "invade_att": 477,
      "invade_def": 475
   },
   "_Shadow Warrior": {
      "invade_att": 476,
      "invade_def": 477
   },
   "_Orc Grunt": {
      "invade_att": 474,
      "invade_def": 448
   },
   "_Water Sprite": {
      "invade_att": 467,
      "invade_def": 454
   },
   "_War Lion": {
      "invade_att": 461,
      "invade_def": 474
   },
   "_Griffin": {
      "invade_att": 445,
      "invade_def": 458
   },
   "_Gift Tree Ent": {
      "invade_att": 441,
      "invade_def": 441
   },
   "_Tree Ent": {
      "quest": 5,
      "invade_att": 437,
      "invade_def": 437
   },
   "_Mercenary": {
      "invade_att": 432,
      "invade_def": 410
   },
   "_Willow Wisp": {
      "invade_att": 426,
      "invade_def": 411
   },
   "_Gift Wizard": {
      "invade_att": 425,
      "invade_def": 432
   },
   "_Wizard": {
      "quest": 20,
      "invade_att": 424,
      "invade_def": 431
   },
   "_Gift Paladin": {
      "invade_att": 404,
      "invade_def": 404
   },
   "_Paladin": {
      "quest": 10,
      "invade_att": 399,
      "invade_def": 399
   },
   "_Earth Bandit": {
      "invade_att": 389,
      "invade_def": 381
   },
   "_Gift Cleric": {
      "invade_att": 344,
      "invade_def": 389
   },
   "_Cleric": {
      "quest": 5,
      "invade_att": 341,
      "invade_def": 386
   },
   "_Gift Knight": {
      "invade_att": 336,
      "invade_def": 336
   },
   "_Knight": {
      "quest": 5,
      "invade_att": 331,
      "invade_def": 331
   },
   "_Spartan Warrior": {
      "invade_att": 324,
      "invade_def": 324
   },
   "_Gift Ranger": {
      "invade_att": 326,
      "invade_def": 326
   },
   "_Ranger": {
      "quest": 2,
      "invade_att": 323,
      "invade_def": 323
   },
   "_Gift Footman": {
      "invade_att": 321,
      "invade_def": 321
   },
   "_Footman": {
      "quest": 1,
      "invade_att": 319,
      "invade_def": 319
   },
   "_Valerian Assassin": {},
   "_Holy Avenger": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 541,
      "invade_def": 541
   },
   "_Crusader Blade": {
      "invade_att": 540,
      "invade_def": 540
   },
   "_Crushing Blade": {
      "invade_att": 539,
      "invade_def": 539
   },
   "_Dragon Talon": {
      "invade_att": 538,
      "invade_def": 538
   },
   "_Dreadnought Greatsword": {
      "invade_att": 537,
      "invade_def": 531
   },
   "_Whisper Bow": {
      "invade_att": 536,
      "invade_def": 528
   },
   "_Mystical Dagger": {
      "invade_att": 535,
      "invade_def": 530
   },
   "_Trident of the Deep": {
      "invade_att": 533,
      "invade_def": 520
   },
   "_Crimson Dagger": {
      "invade_att": 530,
      "invade_def": 533
   },
   "_Morningstar": {
      "invade_att": 532,
      "invade_def": 535
   },
   "_Gladiator Sword": {
      "invade_att": 528,
      "invade_def": 525
   },
   "_Scepter of Light": {
      "invade_att": 523,
      "invade_def": 537
   },
   "_Crusader Dagger": {
      "invade_att": 521,
      "invade_def": 519
   },
   "_Colossal Sword": {
      "invade_att": 520,
      "invade_def": 527
   },
   "_Gildamesh's War Axe": {
      "invade_att": 518,
      "invade_def": 513
   },
   "_Staff of the Tempest": {
      "invade_att": 517,
      "invade_def": 514
   },
   "_Silver Mace": {
      "invade_att": 516,
      "invade_def": 518
   },
   "_Orc War Axe": {
      "invade_att": 512,
      "invade_def": 512
   },
   "_Battle Axe": {
      "invade_att": 486,
      "invade_def": 486
   },
   "_Long Sword": {
      "invade_att": 486,
      "invade_def": 486
   },
   "_Iron Axe": {
      "invade_att": 486,
      "invade_def": 484
   },
   "_Sword of Light": {
      "invade_att": 484,
      "invade_def": 486
   },
   "_Battle Spear": {
      "invade_att": 483,
      "invade_def": 485
   },
   "_Short Sword": {
      "invade_att": 482,
      "invade_def": 482
   },
   "_Dagger": {
      "invade_att": 482,
      "invade_def": 482
   },
   "_Crusader Shield": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 538,
      "invade_def": 536
   },
   "_Aegis of Earth": {
      "invade_att": 535,
      "invade_def": 533
   },
   "_Dragon Scale": {
      "invade_att": 520,
      "invade_def": 521
   },
   "_Shield of Dante": {
      "invade_att": 515,
      "invade_def": 517
   },
   "_Zenarean Crest": {
      "invade_att": 517,
      "invade_def": 519
   },
   "_Tempest Shield": {
      "invade_att": 513,
      "invade_def": 514
   },
   "_Serpentine Shield": {
      "invade_att": 512,
      "invade_def": 513
   },
   "_Obsidian Shield": {
      "invade_att": 503,
      "invade_def": 501
   },
   "_Berserker Shield": {
      "invade_att": 489,
      "invade_def": 489
   },
   "_Feral Staff": {
      "invade_att": 471,
      "invade_def": 478
   },
   "_Steel Shield": {
      "invade_att": 461,
      "invade_def": 465
   },
   "_Buckler": {
      "invade_att": 458,
      "invade_def": 458
   },
   "_Hour Glass": {
      "invade_att": 455,
      "invade_def": 455
   },
   "_Berserker Helm": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 541,
      "invade_def": 541
   },
   "_Crusader Helm": {
      "invade_att": 534,
      "invade_def": 534
   },
   "_Crown of Darius": {
      "invade_att": 533,
      "invade_def": 529
   },
   "_Moonfall Crown": {
      "invade_att": 510,
      "invade_def": 506
   },
   "_Atlantean Helm": {
      "invade_att": 506,
      "invade_def": 510
   },
   "_Gildamesh's War Helm": {
      "invade_att": 503,
      "invade_def": 493
   },
   "_Obsidian Helmet": {
      "invade_att": 502,
      "invade_def": 503
   },
   "_Drake Helm": {
      "invade_att": 498,
      "invade_def": 497
   },
   "_Rusted Helm": {
      "invade_att": 488,
      "invade_def": 488
   },
   "_Tempest Crown": {
      "invade_att": 480,
      "invade_def": 472
   },
   "_Wolf Helm": {
      "invade_att": 466,
      "invade_def": 462
   },
   "_Steel Helm": {
      "invade_att": 461,
      "invade_def": 465
   },
   "_Spartan Helm": {
      "invade_att": 460,
      "invade_def": 460
   },
   "_Mythril Fists": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 539,
      "invade_def": 540
   },
   "_Crusader Gauntlet": {
      "invade_att": 532,
      "invade_def": 537
   },
   "_Holy Gauntlets": {
      "invade_att": 514,
      "invade_def": 515
   },
   "_Golden Hand": {
      "invade_att": 493,
      "invade_def": 501
   },
   "_Gildamesh's Gauntlet": {
      "invade_att": 464,
      "invade_def": 465
   },
   "_Rusty Gloves": {
      "invade_att": 461,
      "invade_def": 461
   },
   "_Steel Gauntlet": {
      "invade_att": 458,
      "invade_def": 458
   },
   "_Crusader Armor": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 536,
      "invade_def": 538
   },
   "_Assassins Cloak": {
      "invade_att": 530,
      "invade_def": 528
   },
   "_Commanders Battle Plate": {
      "invade_att": 529,
      "invade_def": 527
   },
   "_Atlantean Armor": {
      "invade_att": 523,
      "invade_def": 531
   },
   "_Terran Plate": {
      "invade_att": 519,
      "invade_def": 516
   },
   "_Colossal Armor": {
      "invade_att": 500,
      "invade_def": 508
   },
   "_Gildamesh's War Plate": {
      "invade_att": 494,
      "invade_def": 490
   },
   "_Berserker Platemail": {
      "invade_att": 492,
      "invade_def": 491
   },
   "_Angelic Plate": {
      "invade_att": 491,
      "invade_def": 492
   },
   "_Steel Plate": {
      "invade_att": 490,
      "invade_def": 493
   },
   "_Steel Chainmail": {
      "invade_att": 466,
      "invade_def": 481
   },
   "_Feral Armor": {
      "invade_att": 461,
      "invade_def": 466
   },
   "_Leather Armor": {
      "invade_att": 458,
      "invade_def": 461
   },
   "_Castle Rampart": {
      "invade_att": 455,
      "invade_def": 455
   },
   "_Wolfwood Amulet": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 540,
      "invade_def": 539
   },
   "_Fear Charm": {
      "invade_att": 537,
      "invade_def": 535
   },
   "_Paladin's Oath": {
      "invade_att": 531,
      "invade_def": 532
   },
   "_Crusader Amulet": {
      "invade_att": 521,
      "invade_def": 520
   },
   "_Poseidons Horn": {
      "invade_att": 518,
      "invade_def": 511
   },
   "_Berserker Amulet": {
      "invade_att": 507,
      "invade_def": 509
   },
   "_Ice Orb": {
      "invade_att": 505,
      "invade_def": 503
   },
   "_Avenger Amulet": {
      "invade_att": 502,
      "invade_def": 495
   },
   "_Earth Orb": {
      "invade_att": 497,
      "invade_def": 500
   },
   "_Eye of the Triangle": {
      "invade_att": 495,
      "invade_def": 498
   },
   "_Earth Shard (4)": {
      "invade_att": 485,
      "invade_def": 485
   },
   "_Ruby Ore": {
      "invade_att": 485,
      "invade_def": 477
   },
   "_Dragon Tooth Amulet": {
      "invade_att": 477,
      "invade_def": 469
   },
   "_Earth Shard (1)": {
      "invade_att": 479,
      "invade_def": 471
   },
   "_Earth Shard (2)": {
      "invade_att": 474,
      "invade_def": 481
   },
   "_Frost Tear Jewel": {
      "invade_att": 474,
      "invade_def": 481
   },
   "_Obsidian Amulet": {
      "invade_att": 470,
      "invade_def": 477
   },
   "_Earth Shard (3)": {
      "invade_att": 470,
      "invade_def": 485
   },
   "_Metal Ring": {
      "invade_att": 470,
      "invade_def": 485
   },
   "_Sun Amulet": {
      "invade_att": 467,
      "invade_def": 482
   },
   "_Gildamesh's Charm": {
      "invade_att": 465,
      "invade_def": 463
   },
   "_Green Emerald Shard (2)": {
      "invade_att": 462,
      "invade_def": 466
   },
   "_Sacred Amulet": {
      "invade_att": 458,
      "invade_def": 458
   },
   "_Silver Bar": {
      "invade_att": 457,
      "invade_def": 457
   },
   "_Gold Bar": {
      "invade_att": 456,
      "invade_def": 456
   },
   "_Dragon Ashes": {
      "invade_att": 458,
      "invade_def": 458
   },
   "_Solar Desolation": {
      "duel_att": 1,
      "duel_def": 1,
      "invade_att": 541,
      "invade_def": 541
   },
   "_Mark of the Wolf": {
      "invade_att": 540,
      "invade_def": 540
   },
   "_Berserker Frenzy": {
      "invade_att": 539,
      "invade_def": 539
   },
   "_Greater Fireball": {
      "invade_att": 538,
      "invade_def": 538
   },
   "_Moonfall Aura": {
      "invade_att": 536,
      "invade_def": 530
   },
   "_Champions Aura": {
      "invade_att": 535,
      "invade_def": 536
   },
   "_Dragon Charm": {
      "invade_att": 529,
      "invade_def": 529
   },
   "_Heros Resolve": {
      "invade_att": 528,
      "invade_def": 511
   },
   "_Energy Bolt": {
      "invade_att": 524,
      "invade_def": 521
   },
   "_Angelic Blessing": {
      "invade_att": 514,
      "invade_def": 528
   },
   "_Orb of Gildamesh": {
      "invade_att": 507,
      "invade_def": 507
   },
   "_Colossal Orb": {
      "invade_att": 506,
      "invade_def": 506
   },
   "_Sylvanas Orb": {
      "invade_att": 505,
      "invade_def": 505
   },
   "_Avenger Platemail": {
      "invade_att": 490,
      "invade_def": 496
   }
}

Original comment by castl...@gmail.com on 3 Apr 2011 at 2:55

GoogleCodeExporter commented 9 years ago
Ok, those numbers are completely wrong for what's trying to be bought - will 
have a look through Town to see if there's anything obvious that's getting 
missed when it gets that data from Resources...

Original comment by RycochetTM on 3 Apr 2011 at 3:08

GoogleCodeExporter commented 9 years ago
hmm any way i can just reset to defaults ??? prehaps it happened during a 
upgrade at somepoint.

ok will look now

Original comment by castl...@gmail.com on 3 Apr 2011 at 3:25

GoogleCodeExporter commented 9 years ago
hmm this is footmen section from the town section 

 "Footman": {
      "page": "soldiers",
      "img": "upgrade_footmen.jpg",
      "own": 8200,
      "att": 1,
      "def": 1,
      "tot_att": 1.7,
      "tot_def": 1.7,
      "cost": 300,
      "id": 1,
      "buy": [
         1,
         2,
         3,
         4,
         5,
         10,
         25,
         50,
         100
      ],
      "sell": [
         1,
         2,
         3,
         4,
         5,
         10,
         25,
         50,
         100
      ],
      "use": {
         "invade_att": 319,
         "invade_def": 319
      }
   },

Original comment by castl...@gmail.com on 3 Apr 2011 at 3:28

GoogleCodeExporter commented 9 years ago
To reset you can just edit Resources.data in the Settings tab - and replace the 
entire lot of it with "{}" (minus quotes) - revisit all the quest pages and the 
town pages to re-grab all the info that goes in there.

If you can wait a day or so then hopefully we'll finish tracking it down...

Original comment by RycochetTM on 3 Apr 2011 at 3:28