DIR Return Create A Forum - Home
---------------------------------------------------------
Dragonscape Forums
HTML https://dragonscapeforums.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Announcements
*****************************************************
#Post#: 341--------------------------------------------------
Challenge
By: inoxent Date: September 14, 2012, 10:14 am
---------------------------------------------------------
Ok guys i see you like challenges :p heres one with the best
reward you could get:
the 1st person getting me the code to make the snowballs hitting
players will get co-owner :D
Beware that this is the biggest challenge till now since it is a
little hard to find who ever gets me the full code will get
co-owner status (tht if the code works ofc xD)
#Post#: 345--------------------------------------------------
Re: Challenge
By: Michael Date: September 17, 2012, 4:12 pm
---------------------------------------------------------
i might just do that :D
gl everyone
#Post#: 376--------------------------------------------------
Re: Challenge
By: Krone34 Date: October 1, 2012, 8:34 am
---------------------------------------------------------
OMG!!! Inoxent i think i have completed the challenge ;D
#Post#: 377--------------------------------------------------
Re: Challenge
By: inoxent Date: October 1, 2012, 8:38 am
---------------------------------------------------------
[quote author=Krone34 link=topic=148.msg376#msg376
date=1349098461]
OMG!!! Inoxent i think i have completed the challenge ;D
[/quote]
relly ?
#Post#: 378--------------------------------------------------
Re: Challenge
By: Krone34 Date: October 1, 2012, 9:24 am
---------------------------------------------------------
public void Snowball (final Client c) {
Client o = (Client)Server.playerHandler.players[playerIndex];
final int oX = c.getX();
final int oY = c.getY();
final int pX = o.getX();
final int pY = o.getY();
final int offX = (oY - pY)* -1;
final int offY = (oX - pX)* -1;
c.getPA().createProjectile(oX, oY, offX, offY, 50, 90, 1281,
21, 21, getId() - 1, 65);
startAnimation(7530);
c.turnPlayerTo(pX, pY);
EventManager.getSingleton().addEvent(new Event() {
Client o = (Client)Server.playerHandler.players[playerIndex];
int snowballtime = 3;
public void execute(EventContainer snowball) {
if(snowballtime==1){
o.gfx100(1282);
}
if (this == null || snowballtime <= 0) {
snowball.stop();
return;
}
if (snowballtime >= 0) {
snowballtime--;
}
}
}, 600);
if(getItems().playerHasItem(11951,1)){
getItems().deleteItem(11951, 1);
} else {
getItems().removeItem(playerEquipment[playerWeapon],
playerWeapon);
getItems().deleteItem(11951, 1);
}
}
public void makesnow() {
startAnimation(7528);
gfx0(1284);
getItems().addItem(11951, 28);
}
#Post#: 379--------------------------------------------------
Re: Challenge
By: inoxent Date: October 1, 2012, 10:33 am
---------------------------------------------------------
put it with the right spaces how can ik the distances if i will
add it like it is here i will probbably get errors and i think i
saw this code somewhere
#Post#: 381--------------------------------------------------
Re: Challenge
By: Dave Date: October 1, 2012, 2:39 pm
---------------------------------------------------------
Seems impossible to find this! I told you to tweet mod mark and
ask him for the code....
#Post#: 382--------------------------------------------------
Re: Challenge
By: inoxent Date: October 2, 2012, 5:19 am
---------------------------------------------------------
[quote author=Of 187 link=topic=148.msg381#msg381
date=1349120386]
Seems impossible to find this! I told you to tweet mod mark and
ask him for the code....
[/quote]
u didnt gave me his correct tweeter lol cuz i send him a message
but i dnt think i sent to the right person lol and probabbly rs
code is much more complicated to put on the server lol
#Post#: 385--------------------------------------------------
Re: Challenge
By: Dave Date: October 2, 2012, 9:56 am
---------------------------------------------------------
Ist my fault there are like 100 million mod marks...
#Post#: 389--------------------------------------------------
Re: Challenge
By: inoxent Date: October 3, 2012, 7:42 am
---------------------------------------------------------
lol
*****************************************************