| 11-19-2008, 10:06 PM | #1 | |
Hi there everyone! Yes, I know that I haven't posted that much(yet) and have no "rep" at all. I hope that doesn't reduce the chance that this request will be done. I actually had half year ago a thread in here about the project I was making, but I forgot whole thing, because I'm more active in www.hiveworkshop.com and in my own project website www.TCOcampaign.com. However I do hope that this doesn't reduce the chances of getting support for this request. About the project I'm making. The project I'm making is called: "The Chosen Ones". I have been making it over a year and released over 20 alpha versions from it and I'm still going strong. I'll never give up. The campaign currently have over 200 cinematics, over 100 spells, over 20 boss battles, etc, etc. So this is a huge campaign. About the request. Because the campaign have over 500 items, I need a system for chapter 7(the campaign have 11 chapters). This system is called: "Auction System". I would like you to make an "Auction System" for the campaign. So what is actually "Auction"? Quote:
Here are some information about this "Auction System":
[YOUTUBE]http://www.youtube.com/watch?v=thW7d1y4Rl0[/YOUTUBE] Please ask from me anything about the system, or the project itself I'm making. I'm a positive guy, and I'm ready to answer anything. And, as you can see, my english is not the best and I'm a bit bad explaining new stuff, so ask me anything! The easiest way to contact me is to put me to your MSN list or just send an email. My email is [email protected]. I will of course watch this thread daily to see if someone is brave enough to take this great challenge. I will improve the first post, if something is asked. Making this system may take few weeks, but hey, I'm ready to wait. And no hurry. If you can do this, I will give you some REP in here, and great credits at the campaign. I will put your name to epilogue and perhaps to prologue(depending if the system is awesome!). I really hope you can do this. It will be a huge boost for the campaign and for other projects that may use this system also. Thank you beforehand. |
| 11-19-2008, 10:15 PM | #2 |
I would make sure to Spell Check the name of your project. "The Chosen Ones". |
| 11-19-2008, 10:23 PM | #3 |
Yea, typo, fixed. |
| 11-20-2008, 04:22 AM | #4 |
This is easily doable, but without vJass I don't really want to. This is some psuedo code that may point you in the right direction if you want to try coding it yourself. Code:
Initially item properties[0] = first ... item properties[1] = second ... item properties[n] = nth .. maximum items = n current item = 0 current bid = 0 winning bidder = -1 every x seconds current bid = item minimum[current item] if current bid < item maximum[current item] then current bid = current bid + random amount winning player = random computer display item was bidded on by winning player elseif current bid < item maximum[current item] + item type offset[item type[current item]] then current bid = current bid + random amount winning player = player[item type[current item]] // item type offset[item type[current item] and player[item type[current item]] will require global variables at init probably. display item was bidded on by winning player end endif every 5 minutes if winning bidder = player then create item for player //this removes it set item properties[current item] to item properties[maximum items] maximum items = maximum items - 1 end winning player = -1 current bid = 0 set current item = current item + 1 if current item > maximum items then set current item = 0 end update item display on bid gold = S2I(substring(entered chat string, x, y)) if bid > current bid then current bid = bid winning player = you display item was bidded on by winning player end |
| 11-20-2008, 11:19 AM | #5 |
Like I said, I don't understand about JASS that much and vJASS is unknown to me. We also have to remember that the campaign doesn't work with vJASS... Oh yes, I forgot to add the reasons why I'm actually requesting this system. Well, here they are:
|
| 12-31-2008, 12:21 PM | #6 |
-bump- |
| 12-31-2008, 11:40 PM | #7 |
Auction bidding is an incredibly human thing to simulate, so I think any way you did this would be pretty static in execution. For instance, you'd have some limits on the maximum an AI would bid on a specific item, but how would you determine which AIs bid on which items? Just because a guy is partial to potions doesn't mean he won't bid on a shield. Sure, you could throw some random checks in there, but then how do you stop a player from getting away with buying an item for 50 gold when an AI is willing to bid 10,000 for it? I guess perhaps you could do something like having an expected value for an item and then the chance for an AI to bid on an item could be like (PlayerBid/Value)*(1/Preference)*(Some other factor relating to whether or not the AI has bid on the item already)With preference being a number between 1 and 5, ordering the type of items the AI prefers from 1 being the most to 5 being the least. Hmm... it might be possible, but I would only attempt it with vJASS. Seriously. Because you could have something like this: JASS:struct Bidder integer array Preferences[5] //Stores the preferences in order from most to least HandleTable BidMax = HandleTable.create() HandleTable PreviouslyBid = HandleTable.create() real Money = 0.00 real BidFactor = 1.00 endstruct Then perhaps you could have different presets for types of bidders: JASS:struct Greedy extends Bidder real Money = 3000.00 //Increased starting money real BidFactor = 4.00 //Do something else to make the AI bid on a lot of items as long as he still has money endstruct struct Determined extends Bidder real Money = 15000.00 //High money real BidFactor = 0.25 //Do something so that the AI bids less often, but once he does he is determined to win the item, going very high beyond the item's value endstruct //Etc. Now, getting that coded and working is another story, but I guess it could be done. Edit: Also, this is in the wrong forum. In the future, post threads like this in the General Development or Triggers & Scripts forums. I'm sure a moderator or admin other than myself will move this thread eventually, though, so no need to repost. |
| 01-01-2009, 08:20 PM | #8 |
I talked with Eleandor some weeks ago about this and he said the same: He told me that vJASS could make things go a lot smoother and with vJASS everything could be done a lot faster than with GUI or basic JASS. He said he probably will do this, but now he's gone(again). That is why I bumped this thread, to find someone else to make this system I really need. I'm not sure how to answer your post because I'm not the one who knows stuff about JASS. The best way to ask from me things is to answer clearly or just chat with me few minutes. Anyways, I'm sorry I did post this to wrong place. Request updated. |
