Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal Kingdoms Events (https://forums.graalonline.com/forums/forumdisplay.php?f=75)
-   -   new events (https://forums.graalonline.com/forums/showthread.php?t=77172)

xAndrewx 10-14-2007 07:03 PM

new events
 
i want to make some new events for gk !!!! do you have any cool suggestions?

Tigairius 10-14-2007 07:07 PM

I don't have many suggestions, but I am also willing to make events for GK.

Mousymee 10-14-2007 07:28 PM

Some kind of castle wars would be pretty awesome.

xAndrewx 10-14-2007 07:43 PM

Here's a betting spar.

Change the "this.boxName" to 1 or 2 [Only two per level, could add more on slight modifications]. Add two of these in the level.
HTML Code:

function onCreated() {
  this.setShape(1, 32, 32);
  this.boxName = 1;
}

//Function called to pick up an item
function onActionFound(id) {
  if (level.("objectOwner" @ this.boxName) != null) {
    return false;
  }
  for (temp.i: findnearestnpcs(this.x - 2, this.y - 2, 4, 4) {
    if (temp.i.itemid == temp.id) {

      level.("objectOwner" @ this.boxName) = player;
      level.("objectItem1" @ this.boxName) = {temp.i.mudid, temp.i.mudquantity};
      temp.i.destroy();
      return;
    }
  }
}

Here's the main control, on the GK system this will probably need ajusting more than anything

HTML Code:

function onCreated() {
  this.setShape(1, 32, 32);
  this.boxModes = {1, 2};
  level.deathAction = {this.x, this.y};
  //Maybe there's a public function for when a person dies in a level!
  //If not, I could add a timeout, just better to send an action once someone dies
}

//If there is, here's how it'd work
function onActionDeathAction(accountName) {
  for (temp.i: this.boxModes) {
    temp.ownerAccounts.add(level.("objectOwner" @ temp.i).account);
    temp.itemDetails.add(level.("objectItem1" @ temp.i));
  }
  if (temp.ownerAccounts == null) {
    return false;
  }
  if (temp.accountName in temp.ownerAccounts) {
    temp.winner = temp.ownerAccounts.remove(temp.accountName);
    temp.winner.chat = "You've won the bet by slain thy opponent!";
    for (temp.i: temp.itemDetails) {
    //addinvobject(int, int) - I assue id/quantity
      temp.winner.addinvobject(temp.i[0], temp.i[1]);
    }
    level.objectOwner1 = null;
    level.objectOwner2 = null;
  }
}


Sam 10-15-2007 10:48 AM

Quote:

Originally Posted by xAndrewx (Post 1352870)
i want to make some new events for gk !!!! do you have any cool suggestions?

I am still thinking about an auction house. You should be able to offer diamonds, plats, nails, stones and so on to buy offers at the auction.

Ravenblade1979 10-15-2007 04:36 PM

Quote:

Originally Posted by Sam (Post 1352961)
I am still thinking about an auction house. You should be able to offer diamonds, plats, nails, stones and so on to buy offers at the auction.

Don't think about it lets get it done...they would love it.

ViperZakuto 10-15-2007 05:02 PM

both these idea's are nice =D

xAndrewx 10-15-2007 07:27 PM

hmm auction sounds fun. how would you like it?
once you lay an item down it'll ask you what you'd like to sell it for, either diamonds, plat, stones etc and then the amount you'd like for the item maybe?

Sam 10-15-2007 07:40 PM

Quote:

Originally Posted by xAndrewx (Post 1353001)
hmm auction sounds fun. how would you like it?
once you lay an item down it'll ask you what you'd like to sell it for, either diamonds, plat, stones etc and then the amount you'd like for the item maybe?

I don't know. Maybe you offer your item and set what sort of stuff you want and the minimum of amount, so ppl can start their offers. But it must be so that they can only bid what they have in their inventory.

xAndrewx 10-15-2007 07:50 PM

hmm so say someone wanted to sell 50 diamonds, I'd place an auction in a box [also amount] and then its up to the seller to accept or not?

Sam 10-15-2007 08:07 PM

Quote:

Originally Posted by xAndrewx (Post 1353004)
hmm so say someone wanted to sell 50 diamonds, I'd place an auction in a box [also amount] and then its up to the seller to accept or not?

No. Ever bought by ebay? You place your auction in the box and set the min. price to 2 dias. Now ppl can start to offer 3 dias, the next player offers 5 dias aso.

seanthien 10-15-2007 08:10 PM

Quote:

Originally Posted by xAndrewx (Post 1353004)
hmm so say someone wanted to sell 50 diamonds, I'd place an auction in a box [also amount] and then its up to the seller to accept or not?

-places down silver coin-
Me: Big starts at 1 dia!

Some kid:OMg omG TAT RARE?!??!!m-Places down 10 dias-

W1N

Castle/guild wars would sound ok.

xAndrewx 10-15-2007 08:13 PM

oh thats cool @ ebay !!!
would need to set up some value for each item depending on the other. could maybe make a gBay [graal bay]
generally, all the people make a bid, once the time has ran out the player chooses which item[s] to go for?

Sam 10-15-2007 09:25 PM

Quote:

Originally Posted by xAndrewx (Post 1353009)
oh thats cool @ ebay !!!
would need to set up some value for each item depending on the other. could maybe make a gBay [graal bay]
generally, all the people make a bid, once the time has ran out the player chooses which item[s] to go for?

Nice idea ^^

ViperZakuto 10-15-2007 10:02 PM

Here's a quick idea. kinda like castle wars lol

Make a spar that has two teams. Any improvements on weapons and armor will be void in this arena. Also, make everybody's speed the same. make a minimum number of slots on each team say 2 per team, and a max of 10 per team. the winners of the round will get tokens that they can spend on items. Come up with some cool items, with not too great of stats. Then, they can spend there tokens on these items.

can anybody improve on this idea? I will think more about it.

xAndrewx 10-15-2007 10:11 PM

that'd be cool, maybe make the players damage all count the same. so then it's based on luck of the winning people alive

ViperZakuto 10-15-2007 10:19 PM

yeah so it's more skill than items.


All times are GMT +2. The time now is 02:52 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.