- Joined
- Dec 16, 2010
- Messages
- 304
- Reaction score
- 164
Haha do it. Then release =PMonster Carni is a pain in the butt. Maybe i should just code it from scratch because Jvlaple's is all effed up, i cant even fix it, LOL
And HorrorChix, yeah I agree.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Haha do it. Then release =PMonster Carni is a pain in the butt. Maybe i should just code it from scratch because Jvlaple's is all effed up, i cant even fix it, LOL
Do you know who Jvlaple is at all? lols.Monster Carni is a pain in the butt. Maybe i should just code it from scratch because Jvlaple's is all effed up, i cant even fix it, LOL
Where are you looking at mana reflection and freeze standing?Your mana reflection and freeze standing don't work but decent release, at least
Alright, I'll put that in later.I recommend giving more instructions for the TakeDamageHandler as in other versions, if a specified piece of packet data is not there, it could crash the player whenever they take damage.
I get this errors :/
1st:
2nd:
3rd:
What am I missing?
---------- Post added at 07:55 PM ---------- Previous post was at 07:39 PM ----------
I followed everything, and was working, untill I got to the rates I started having problems, so I decided to skip that and go ahead with the next part and got another error, so Idk what to do.
private MapleClans mapleclan = MapleClans.None;
public MapleClans mapleclan = MapleClans.None;
I get this errors :/
1st:
2nd:
3rd:
What am I missing?
---------- Post added at 07:55 PM ---------- Previous post was at 07:39 PM ----------
I followed everything, and was working, untill I got to the rates I started having problems, so I decided to skip that and go ahead with the next part and got another error, so Idk what to do.
Ugh, my bad. -_- Sorry about that. Posting the fixes to both problems.removing the 's should do the job.
ex. '250' should be 250
Ugh, my bad. -_- Sorry about that. Posting the fixes to both problems.
Eagle(100, "Eagle", 3001003, "Focus"[COLOR="Red"],1.2[/COLOR]),
private MapleClans(int id, String name, int skillB, String skillN[COLOR="red"], double exp[/COLOR]){
clanid = id;
clanname = name;
skillBuff = skillB;
skillName = skillN;
[COLOR="Red"]ratio = expratio;[/COLOR]
}
Sure, I'll add that in with a command later. Good idea.Why don't you add an exp ratio to each clan like this:
Code:Eagle(100, "Eagle", 3001003, "Focus"[COLOR="Red"],1.2[/COLOR]),
Code:private MapleClans(int id, String name, int skillB, String skillN[COLOR="red"], double exp[/COLOR]){ clanid = id; clanname = name; skillBuff = skillB; skillName = skillN; [COLOR="Red"]ratio = expratio;[/COLOR] }
etc etc.
So you could set the exprate for certain clans ingame at events and stuff like that.
Ugh, my bad. -_- Sorry about that. Posting the fixes to both problems.
===========
Posted.
public int[] getMapleClanRates(){
int exprate = ServerConstants.EXP_RATE;
int mesorate = ServerConstants.MESO_RATE;
int droprate = ServerConstants.DROP_RATE;
if(getMapleClan().getId() == 100){ // Eagle
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.MESO_RATE;
droprate = ServerConstants.DROP_RATE;
} else if(getMapleClan().getId() == 200){ // Serpent
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.MESO_RATE;
droprate = ServerConstants.DROP_RATE;
} else if(getMapleClan().getId() == 300){ // Lion
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.MESO_RATE;
droprate = ServerConstants.DROP_RATE;
} else if(getMapleClan().getId() == 400){ // Salamander
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.MESO_RATE;
droprate = ServerConstants.DROP_RATE;
} else if(getMapleClan().getId() == 500){ // Roadrunner
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.MESO_RATE;
droprate = ServerConstants.DROP_RATE;
} else if(getMapleClan().getId() == 600){ // Shark
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.MESO_RATE;
droprate = ServerConstants.DROP_RATE;
} else {
exprate = ServerConstants.EXP_RATE;
mesorate = ServerConstants.DROP_RATE;
droprate = ServerConstants.DROP_RATE;
}
return new int[]{exprate, mesorate, droprate};
}
You can obviously see that he changed it, look at the switch.Did you change it or something, cause when I got it it didn't look liek that...i got thisPHP:public int[] getMapleClanRates(){ int exprate = ServerConstants.EXP_RATE; int mesorate = ServerConstants.MESO_RATE; int droprate = ServerConstants.DROP_RATE; if(getMapleClan().getId() == 100){ // Eagle exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.MESO_RATE; droprate = ServerConstants.DROP_RATE; } else if(getMapleClan().getId() == 200){ // Serpent exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.MESO_RATE; droprate = ServerConstants.DROP_RATE; } else if(getMapleClan().getId() == 300){ // Lion exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.MESO_RATE; droprate = ServerConstants.DROP_RATE; } else if(getMapleClan().getId() == 400){ // Salamander exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.MESO_RATE; droprate = ServerConstants.DROP_RATE; } else if(getMapleClan().getId() == 500){ // Roadrunner exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.MESO_RATE; droprate = ServerConstants.DROP_RATE; } else if(getMapleClan().getId() == 600){ // Shark exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.MESO_RATE; droprate = ServerConstants.DROP_RATE; } else { exprate = ServerConstants.EXP_RATE; mesorate = ServerConstants.DROP_RATE; droprate = ServerConstants.DROP_RATE; } return new int[]{exprate, mesorate, droprate}; }
LOL! Spelled ServerConstants wrong. Or if I didn't, you did o_oWhat about this?