You are Unregistered, please register to gain Full access.
    


RaGEZONE sponsored advertisment:

Dragonica Image
The free 3D side scrolling MMORPG.

 
 
LinkBack (2) Thread Tools
Old 07-04-2008   2 links from elsewhere to this Post. Click to view. #1 (permalink)
FacePalm yourself please.
 
scarlet12379's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: Peoria, Illinoi
Posts: 331
Thanked 5 Times in 5 Posts

[release] Morphs

Your Ad Here
This one has no patch file


open: MapleBuffStat.java

Add
Quote:
MORPH(0x200000000l),
open: MaplePacketCreator.java

In function giveBuff, add parameter (meaning find this string "giveBuff" no quoat marks tho)
Quote:
boolean morph
Function giveBuff
Change the last mplew.write(0); (find mplew.write(0); and change to this)


Quote:
if(!morph)
mplew.write(0); // combo 600, too
else
mplew.write(1);
open: MapleStatEffect.java

Add these fields (some where that wont mess up the code.)
Quote:
private boolean isMorph = false;
private int morphId = 0;
Add these where similar stuff appear in loadFromData (open search it in MapleStatEffect.java)

Quote:
ret.morphId = MapleDataTool.getInt("morph", source, 0);
ret.isMorph = ret.morphId > 0 ? true : false;
Add this after the if(skill) block in loadFromData (search for if(skill) and add this skill meaning skill name =])


Quote:
if(ret.isMorph())
statups.add(new Pair<MapleBuffStat, Integer>(MapleBuffStat.MORPH, Integer.valueOf(ret.getMorph())));

Add these functions (put it at the bottem i think)

Quote:
public boolean isMorph(){
return isMorph;
}

public int getMorph(){
return morphId;
}
open: UseCashItemHandler.java

Add this where similar stuff appear
Quote:
} else if(itemType == 530) {
MapleItemInformationProvider ii = MapleItemInformationProvider.getInstance();
ii.getItemEffect(itemId).applyTo(c.getPlayer());


Credits go to AngelSL from www.dev-odinms.com

I dont take any credit for this nor do i really know how to use this scince im busy


btw Morphs alowes you to turn into monsters suck as pig grays mushroom =]



p.s. Dont come in calling me a leacher because leaching is when you steal some ones work and dont give them proper credit =P i toke no credit for this =3
__________________


Last edited by scarlet12379; 07-05-2008 at 06:40 PM.
scarlet12379 is offline   Reply With Quote

RaGEZONE sponsored advertisment:
Old 07-04-2008   #2 (permalink)
Account Upgraded | Title Enabled!
 
Rank: Member +
Join Date: Apr 2008
Posts: 663
Thanked 0 Times in 0 Posts

Re: {release} Morphs

OMG yes!
finally!
<333333333333
moshik12 is offline   Reply With Quote

Endorsement
Old 07-04-2008   #3 (permalink)
Infraction Banned
 
Rank: Member
Join Date: Feb 2008
Location: California
Posts: 160
Thanked 0 Times in 0 Posts

Re: {release} Morphs

Sean, Add This To Your Awesome Repack!
coasterguy26 is offline   Reply With Quote

Endorsement

Old 07-04-2008   #4 (permalink)
Member
 
Rank: Hobbit
Join Date: Apr 2008
Posts: 40
Thanked 0 Times in 0 Posts

Re: {release} Morphs

Weee :D
maplebest12 is offline   Reply With Quote
Old 07-04-2008   #5 (permalink)
b0ib0ii!
 
Rank: Member +
Join Date: Apr 2008
Location: I'm in RaGEZONE
Posts: 273
Thanked 0 Times in 0 Posts

Re: {release} Morphs

anyone got it to work?
b0ib0ii is offline   Reply With Quote
Old 07-04-2008   #6 (permalink)
FacePalm yourself please.
 
scarlet12379's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: Peoria, Illinoi
Posts: 331
Thanked 5 Times in 5 Posts

Re: {release} Morphs

lol yes indeed add it and fix your files for luid sean =] im tired of fixing them for my friends servers
__________________

scarlet12379 is offline   Reply With Quote
Old 07-04-2008   #7 (permalink)
b0ib0ii!
 
Rank: Member +
Join Date: Apr 2008
Location: I'm in RaGEZONE
Posts: 273
Thanked 0 Times in 0 Posts

Re: {release} Morphs

Quote:
Add this after the if(skill) block in loadFromData


if(ret.isMorph())
statups.add(new Pair<MapleBuffStat, Integer>(MapleBuffStat.MORPH, Integer.valueOf(ret.getMorph())));
Kinda don't understand this paragraph.
b0ib0ii is offline   Reply With Quote
Old 07-04-2008   #8 (permalink)
G1b mah h4x pl0x
 
Rank: Member +
Join Date: Apr 2008
Posts: 282
Thanked 0 Times in 0 Posts

Re: {release} Morphs

what is morph
boy toy is offline   Reply With Quote
Old 07-04-2008   #9 (permalink)
Moderator
 
ch1nkayy's Avatar
 
Rank: Moderator
Join Date: Apr 2008
Posts: 2,508
Thanked 24 Times in 13 Posts

Re: {release} Morphs

Originally Posted by b0ib0ii View Post
Kinda don't understand this paragraph.
that means like...

if (skill) {
blajklgadfgsgs
blajlbajlbajlabja
blaklbkalbkalbk
}
add it right here

ch1nkayy is offline   Reply With Quote
Old 07-04-2008   #10 (permalink)
FacePalm yourself please.
 
scarlet12379's Avatar
 
Rank: Member +
Join Date: Mar 2008
Location: Peoria, Illinoi
Posts: 331
Thanked 5 Times in 5 Posts

Re: {release} Morphs

Originally Posted by boy toy View Post
what is morph

morph can turn you into monsters or if it works for .57 supersayan
__________________

scarlet12379 is offline   Reply With Quote
Old 07-04-2008   #11 (permalink)
Member
 
Rank: Hobbit
Join Date: Apr 2008
Posts: 48
Thanked 0 Times in 0 Posts

Re: {release} Morphs

Code:
   applyto.getClient().getSession().write(MaplePacketCreator.giveBuff((skill ? sourceid : -sourceid), localDuration, localstatups));
                                                                                 ^
1 error
BUILD FAILED (total time: 0 seconds)

This is because adding boolean morph into giveBuff function contradicts this line where only 3 variables are mentioned. And i don't know how to fix it :P
nettie is offline   Reply With Quote
Old 07-04-2008   #12 (permalink)
RaGEZONER
 
Sparkey's Avatar
 
Rank: Hobbit
Join Date: Mar 2007
Location: Netherlands
Posts: 99
Thanked 0 Times in 0 Posts

Re: {release} Morphs

I have it already working at my server... It's coded wrong it can be easier research and u will find the errors
__________________
[SIGPIC][/SIGPIC]
Sparkey is offline   Reply With Quote
Old 07-04-2008   #13 (permalink)
Account Upgraded | Title Enabled!
 
Rank: Member +
Join Date: Apr 2008
Posts: 911
Thanked 0 Times in 0 Posts

Re: {release} Morphs

is not coded wrong, you just have to make extra changes
__________________
MS beta xD
robtbs is offline   Reply With Quote
Old 07-04-2008   #14 (permalink)
Member
 
Rank: Hobbit
Join Date: Apr 2008
Posts: 48
Thanked 0 Times in 0 Posts

Re: {release} Morphs

i have it working but only the person casting it can see it.

Is that my fault or the code's fault? :P
nettie is offline   Reply With Quote
Old 07-04-2008   #15 (permalink)
RaGEZONER
 
Sparkey's Avatar
 
Rank: Hobbit
Join Date: Mar 2007
Location: Netherlands
Posts: 99
Thanked 0 Times in 0 Posts

Re: {release} Morphs

Originally Posted by nettie View Post
i have it working but only the person casting it can see it.

Is that my fault or the code's fault? :P
Code's fault i have the same to my matty is fixing it :P i will post a tip
__________________
[SIGPIC][/SIGPIC]
Sparkey is offline   Reply With Quote
Old 07-05-2008   #16 (permalink)
Victor
 
PixmaDragon's Avatar
 
Rank: Member +
Join Date: Apr 2008
Location: Planet Earth
Posts: 578
Blog Entries: 1
Thanked 0 Times in 0 Posts

Re: {release} Morphs

wow morph's must get for my server
__________________

PixmaDragon is offline   Reply With Quote
Old 07-05-2008   #17 (permalink)
i R lucky!?
 
CioNide's Avatar
 
Rank: Alpha Member
Join Date: Jun 2008
Location: localhost
Posts: 1,945
Thanked 40 Times in 14 Posts

Re: [release] Morphs

Finally.
__________________



CioNide is offline   Reply With Quote
Old 07-05-2008   #18 (permalink)
Newbie
 
Rank: Hobbit
Join Date: Jun 2008
Location: USA
Posts: 6
Thanked 0 Times in 0 Posts

Re: [release] Morphs

Nice release, lil bit of a scripting error.
jmsk864 is offline   Reply With Quote
Old 07-05-2008   #19 (permalink)
Account Upgraded | Title Enabled!
 
airflow0's Avatar
 
Rank: Member +
Join Date: Sep 2006
Posts: 648
Thanked 0 Times in 0 Posts

Re: [release] Morphs

You seem to be missing some changes for the latest rev..

In MapleStatEffect.java
Change
Code:
applyto.getClient().getSession().write(MaplePacketCreator.giveBuff((skill ? sourceid : -sourceid), localDuration, localstatups));
to
Code:
applyto.getClient().getSession().write(MaplePacketCreator.giveBuff((skill ? sourceid : -sourceid), localDuration, localstatups, isMorph));
In MapleCharacter.java
Change (Theres 2 you must change.)
Code:
getClient().getSession().write(MaplePacketCreator.giveBuff(1111002, duration, stat));
to
Code:
getClient().getSession().write(MaplePacketCreator.giveBuff(1111002, duration, stat, false));
airflow0 is offline   Reply With Quote
Old 07-05-2008   #20 (permalink)
aka xXMaxxyXx aka PIAMP
 
-Jay's Avatar
 
Rank: Member +
Join Date: Dec 2007
Posts: 1,186
Blog Entries: 3
Thanked 16 Times in 13 Posts

Re: [release] Morphs

I can't find "if(skill) block in loadFromData" in MapleSkillEffect.java, Someone care to help?
__________________
I fart in your General Direction.


[img]http://i35.tinypic.com/jt5kt5.jpg[img]
-Jay is online now   Reply With Quote
Old 07-05-2008   #21 (permalink)
=)
 
Rank: Member +
Join Date: Apr 2008
Location: Far, far away
Posts: 1,387
Thanked 1 Time in 1 Post

Re: [release] Morphs

Originally Posted by xXMaxxyXx View Post
I can't find "if(skill) block in loadFromData" in MapleSkillEffect.java, Someone care to help?
MapleStatEffect

and what he means is, find the void "loadFromData" and go down and find if(skill) {.

After the }, then add what he said.
RMZero213 is offline   Reply With Quote
Old 07-05-2008   #22 (permalink)
Account Upgraded | Title Enabled!
 
airflow0's Avatar
 
Rank: Member +
Join Date: Sep 2006
Posts: 648
Thanked 0 Times in 0 Posts

Re: [release] Morphs

Angel was talking about the code block. Add it after if (skill) { }.

RMZero213 posted at the same time XD XD
airflow0 is offline   Reply With Quote
Old 07-05-2008   #23 (permalink)
wan2change display name..
 
Rank: Member +
Join Date: Jul 2005
Location: i live in a bu
Posts: 561
Thanked 0 Times in 0 Posts

Re: [release] Morphs

Horrible Explanation, use codeboxs like airflow0 please..
__________________
NoobsNoobs is offline   Reply With Quote
Old 07-05-2008   #24 (permalink)
=)
 
Rank: Member +
Join Date: Apr 2008
Location: Far, far away
Posts: 1,387
Thanked 1 Time in 1 Post

Re: [release] Morphs

Originally Posted by NoobsNoobs View Post
Horrible Explanation, use codeboxs like airflow0 please..
Then how come me and airflow0 could understand it? It's all still correct.
RMZero213 is offline   Reply With Quote
Old 07-05-2008   #25 (permalink)
wan2change display name..
 
Rank: Member +
Join Date: Jul 2005
Location: i live in a bu
Posts: 561
Thanked 0 Times in 0 Posts

Re: [release] Morphs

I didnt said somethings wrong with it, I said the explanation was horrible cause he just use a
Code:
[quote /quote]
and dump every lines there which explained almost everyone is not getting it.


I did not said the release is a 'con'
__________________
NoobsNoobs is offline   Reply With Quote
 

Bookmarks

Thread Tools


LinkBacks (?)
LinkBack to this Thread: http://forum.ragezone.com/f427/release-morphs-425276/
Posted By For Type Date
OdinMS Source Releases,Guides,Repacks,Revs,Tutorials,HTML-PHP,Tools,Handbook - GameCheetah This thread Refback 03-31-2009 10:25 PM
[OdinMS]Releases,Guides,Repacks,Revs,orials,HTML-PHP,Tools,Handbook - Maplestory Releases - ServerFiles.org This thread Refback 03-28-2009 04:49 AM



Translated by Google
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Taiwanese Thai Turkish Ukrainian Vietnamese
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274